The non-dispersive high-resolution spectroscopy offered by the Resolve instrument onboard XRISM allows observation of extended sources (e.g., clusters of galaxies, supernova remnants) with an unprecedented spectral resolving power (Chapter 5). Xtend can be used for the imaging of these sources and for the spectral analysis, albeit at lower spectral resolution (Chapter 6). Given the spatial resolution permitted by the observatory, and Resolve pixel and field of view (FOV) size, the region of interest may be affected by leaked photons from elsewhere, causing Spatial-Spectral Mixing (SSM). Apart from extended sources, crowded fields with bright point sources in or near the field of view can also be affected by SSM. Therefore, caution is warranted for both the observation planning and the data analysis of extended sources and crowded fields.
In this chapter, we provide guidance on the observation planning and proposal preparation for extended sources and crowded fields that may warrant careful considerations regarding SSM, especially for Resolve. Firstly, we briefly describe SSM in Section 7.1. In Section 7.2, we provide a general guidance on which cases require careful simulations at a reasonable degree of confidence as well as strategies on how to mitigate the issue. In Section 7.3, we demonstrate how to conduct spatially-resolved feasibility studies.
In Section 7.4, we refer to tools to account for the background that becomes significant for weak sources, then in Section 7.5, we caution proposers on the accurate assessment of the pointing coordinates and branching ratios. We conclude the chapter with Section 7.6, providing considerations for observation planning that may help proposers configure their feasibility studies.
We leave theoretical and detailed practical considerations on SSM to Chapter 9.
The Resolve FOV size (
) is comparable to the Point Spread Function (PSF) (HPD
1.3' ; Chapter 4), while pixel size (
) is sub-PSF. While Xtend FOV is much larger, the PSF size can still be large compared to regions of scientific interest. As a consequence, in both instruments, photons will be scattered by the PSF to and from regions of interest, resulting in angular distance and azimuth dependent “contamination". In the following, we refer to this process as “Spatial-Spectral Mixing" (SSM).
Source definition: The portion of the astrophysical source covered by the Resolve FOV.
Internal SSM occurs when a source has spatially-resolved spectral features that lie within the field of view, which intermix across pixels.
External SSM occurs when emission from unwanted/“contamination" sources outside the sky region of the detector and/or the extension of the source beyond the Resolve sky region that end up inside the FOV.
Examples of the internal SSM can be e.g. a supernova remnant hosting clumps and/or hot spots with specific spectral features such as bright metal lines; a complex star-forming region with several spatially-resolved stars; or a galaxy cluster emission that varies with location across the FOV. In all these examples photons generated by different physical processes will end up contributing to pixels that do not correspond to their location in the sky.
As shown in the Flow Chart, Figure 7.1, in case the proposers intend to observe a point source or a mainly uniformly distributed extended source whose extent is smaller than Resolve FOV, where the source is at/near Resolve aimpoint, a simple approach of spectral simulation using XSPEC tool FAKEIT may suffice, with case dependent caveats. For the extended source case above, a point source Ancillary Response File (ARF) that is provided on the XRISM Website
(https://heasarc.gsfc.nasa.gov/docs/xrism/proposals/responses.html)
can be used.
The website also provides an ARF for a circular region with a radius of r=5
and with flat source distribution that is intended for spectral simulations of the sky background. If the source is marginally larger than the FOV, this flat ARF can be used by scaling it for the source at hand, i.e., the model normalization has to be multiplied by (
5
)/([area of source from which flux was derived in arcmin
]).
|
In cases where there are multiple sources within FOV, and/or Resolve FOV is surrounded by sources whose emission has non-negligible SSM contribution, and/or sub array analysis is intended, and/or spatially-resolved analysis with the prospective data is intended, spatially-resolved simulations, e.g., heasim, will yield the most accurate errors on the model parameters of interest.
In this section, we illustrate the SSM contamination and provide a spatially-resolved spectral simulation walk-through. In light of the information given, proposers may then decide whether their science goals would be affected by the contamination or not, and if so, learn how they can perform tailored simulations.
The external and internal SSM are illustrated in Figure 7.2 for the simple case of photons from a single point-like source spreading over the detector.
Resolved point sources within and outside Resolve FOV may require careful feasibility analysis. In Figure 7.2, the fraction of the XMA PSF that falls onto Resolve FOV is visualized for a point source like emission at 1.5 keV and 6.0 keV, and at various angular distances from the aimpoint, i.e., panel corresponding to 2
then represents the case of a point-like source that lies just outside/near the FOV, an example of external SSM. This simulation puts the optical axis at the aimpoint. Resolve optical axis is tilted about 15
with respect to the nominal aimpoint direction (Section 4.2.1), hence an observation of a standard point source at the aimpoint will have an off-axis angle of
0.25
.
|
|
| PSF Fraction on Resolve (%) | ||
| Distance from aimpoint (arcmin) | 1.5 keV | 6.0 keV |
| 0 (aimpoint) | 91.2 | 86.5 |
| 1 | 87.9 | 83.3 |
| 2 | 63.2 | 59.8 |
| 2.5 | 24.2 | 23.0 |
| 3 | 9.3 | 8.9 |
| 3.5 | 4.4 | 4.4 |
| 4 | 2.5 | 2.6 |
| 5 | 1 |
1.1 |
| 6 | 1 |
1 |
). We emphasize that azimuthal dependence on the PSF fraction is strong and non-linear. For some roll angles, at the distance from the aimpoint of 3.0
), the scattered PSF fraction may reach fractions as high as factor of three of the reported values in Table 7.1. The user may estimate the fraction by setting the roll angle to their desired setting and run XRTRAYTRACE.
We present the results of the PSF fraction falling on the detector with respect to the full PSF in Table 7.1 and in Figure 7.3. These fractions are obtained by dividing the photons within the Resolve FOV by the total number of focal-plane photons (NRESPLN keyword of the output event file). As stated earlier, the PSF does not have azimuthal symmetry and the simulations presented here use only “roll=0.0". As demonstrated in Figure 7.3 the energy dependence of the PSF fraction is expected to be weak. With this information, the proposers can decide whether SSM affects their science case or not.
One of the most comprehensive tools for observation simulations that may be affected by the SSM is heasim (part of HEASoft). This software can simulate cases where e.g. the extended source has multiple sources with distinct emission features within FOV, the region of interest is a fainter portion of the source, the full extent of the source does not fit in the Resolve FOV and/or subarray Resolve analysis is intended. Simplifying assumptions are typically made regarding source geometry and spectral properties. The simulation responses and auxiliary files, spectral fitting responses and files (specfiles_v003.tar.gz), as well as tailored heasim XRISM quick start guide (xrism_sim_quickguide_20250312.pdf) can be obtained from XRISM Proposal Tools Webpage.
https://heasarc.gsfc.nasa.gov/docs/xrism/proposals/xrism_tools.html
Instructions for downloading and installing heasim can be found at
https://heasarc.gsfc.nasa.gov/docs/software/lheasoft/help/heasim.html
Other tools for simulating SSM in Resolve include “SIXTE”
https://www.sternwarte.uni-erlangen.de/sixte/
and “simx”
https://hea-www.harvard.edu/simx/
heasim allows simulation of multiple distinct emission sources within and outside the Resolve FOV as well as subarray analysis to account for the potential internal and external SSM. An example can be Resolve pointing to a galaxy cluster center with multi temperature intracluster medium plasma (extended source) as well as an AGN (point source). Below, we briefly describe the process using heasim and HEASoft tools. Proposers are encouraged to refer to the comprehensive heasim guides for parameter descriptions.
heasim calculates simulated events for each input source in the “source definition file". This source definition file contains spatial, spectral, and temporal characteristics of the source.
The theoretical model in
as a .qdp file, sky position coordinates, sky distribution; either as an image/sub-image input obtained from an instrument that has much better angular resolution (i.e., Chandra), or with available analytical models should be provided for the heasim run. Note that heasim will include the non-X-ray background in its simulations, by default. You can configure this setting, as discussed later in the text.
After the simulation is complete, spectra can be extracted from the event file for a specific region of interest, which should be fitted with the responses specific to heasim, i.e., specfiles_v003.tar.gz and not the canned responses that are generated for XSPEC FAKEIT simulations.
|
In the following, we describe heasim steps for a case study of a circular extended source (r=8
, thermal plasma kT=4 keV intracluster medium; ICM) with another concentric plasma distribution (r=1
, thermal plasma kT=1 keV Cool-core: CC) where there is also a point source (AGN) at the center.
Consider investigating the velocity broadening in the r=1
plasma, a cool core as illustrated in the cartoon presented in Figure 7.4.
STEP 1 - Construct spectral models for each source and save them as a QDP file.
To do so; in XSPEC use the model that best describes your source (e.g., TBabs*apec for ICM) with the estimated model parameter values, i.e.,
XSPEC>model TBabs*apec Input parameter value, delta, min, bot, top, and max values for ... 1 0.001( 0.01) 0 0 100000 1e+06 1:TBabs:nH>0.02 1 0.01( 0.01) 0.008 0.008 64 64 2:apec:kT>4 1 -0.001( 0.01) 0 0 5 5 3:apec:Abundanc>0.3 0 -0.01( 0.01) -0.999 -0.999 10 10 4:apec:Redshift>0.02 1 0.01( 0.01) 0 0 1e+20 1e+24 5:apec:norm>1
Check the model flux and adjust the norm parameter to match the expected flux of the source.
XSPEC>flux 1.8 12. Model Flux 0.13962 photons (8.085e-10 ergs/cm^2/s) range (1.8000 - 12.000 keV)
Adjust the norm parameter to a value that yields the predicted flux. E.g. for a 1.8-12 keV flux of 2
10
erg cm
s
:
XSPEC>newpar 5 2.47e-3 XSPEC>flux 1.8 12. Model Flux 0.00034485 photons (1.997e-12 ergs/cm^2/s) range (1.8000 - 12.000 keV)
Then convert and save them into a model:
XSPEC>data none XSPEC>energ 0.1 12.1 12000 XSPEC>cpd /xs XSPEC>setplot comm wdata cluster-icm-mod.qdp XSPEC>plot model
In our case study, there will be two more models for an AGN and a cool-core generated following the steps above with their own parameter values and predicted fluxes. Most simply, TBabs*powerlaw for the AGN and TBabs*bapec, to study line broadening in the cool-core. If the models are obtained from .qdp files as demostrated above, the spec_mod parameter in the source definition file (STEP 2) will be set to “user". For the case at hand, two more models for the other sources will be generated: i.e., cluster-agn-mod.qdp, cluster-CC-mod.qdp.
Alternative STEP 1- heasim can also be run using spectral definition keywords (spec_mod, spec_par, flux, and bandpass) directly in the source definition file where spec_mod parameter will be set to the desired model allowed by heasim, which are quite limited, instead of using user option.
STEP 2 - Make source definition files.
Make a “.dat" file, e.g CC-cluster-AGN.dat that describes all source position in the sky, and source characteristics. This file enables the definition of multiple sources.
The parameters are: ra, dec, NH, spec_mod, spec_par, flux, bandpass, filename, format, units, source_spec.
First entry describes an r=8' beta-model surface brightness distribution isothermal temperature
Second one, a r=1' beta-model surface brightness distribution w/ isothermal temperature, velocity broadening
The third, the AGN
49.95,41.51,0.0,user,0.,0.,0.-0.,cluster-icm-mod.qdp,2,2,extmod(beta,0.53,1.26,0.0,0.0,0.0,8.0)
49.95,41.51,0.0,user,0.,0.,0.-0.,cluster-CC-mod.qdp,2,2,extmod(beta,0.53,0.3,0.0,0.0,0.0,1.0)
49.95,41.51,0.0,user,0.,0.,0.-0.,cluster-agn-mod.qdp,2,2
Please note that the parameters of the beta model above is for demonstration purposes only.
While selecting ra and dec keywords as the center of the astrophysical sources, check Section 7.5 for possible pitfalls about source center coordinates.
Alternative STEP 2 - Use an input image from existing X-ray data from Chandra with smaller PSF than XRISM instead of a spatial distribution model.
STEP 3 - Create mock event lists and spectra with heasim (and Xselect)
Download, and untar the heasim files in some directory (heasimfilesdir). For convenience, set an environment variable:
setenv HEASIM_SUPPORT <heasimfilesdir> (C-shell) or export HEASIM_SUPPORT=<heasimfilesdir> (Bash)
Below, we are putting the Resolve at the center of this cluster indicated by rapoint and decpoint parameters, for 200ks exposure time, with roll angle 0.
term> punlearn heasim term> heasim \ mission=xrism \ instrume=resolve \ rapoint=49.95 \ decpoint=41.51 \ roll=0.0 \ exposure=200000. \ insrcdeffile=CC-cluster-AGN.dat \ outfile=CC-cluster-AGN.fits \ psffile=$HEASIM_SUPPORT/xrism/resolve/psf/sxs_psfimage_20140618.fits \ vigfile=$HEASIM_SUPPORT/xrism/resolve/vignette/SXT_VIG_140618.txt \ rmffile=$HEASIM_SUPPORT/xrism/resolve/response/\ resolve_h5ev_2019a.rmf \ arffile=$HEASIM_SUPPORT/xrism/resolve/response/\ resolve_pnt_heasim_withGV_20190701.arf \ intbackfile=NONE \ flagsubex=no \ seed=1234567890 \ clobber=yes
Please see Section 7.4 on how to treat the background instead of using heasim background files called by intbackfile keyword directly. Although valid for a crude estimation, since heasim background files are made for Hitomi and there are differences with Resolve NXB. Therefore, users are encouraged to use methods tailored for Resolve NXB as referenced in Section 7.4 especially for faint extended sources.
Important note: The responses used here are heasim responses and not the canned responses prepared for XSPEC. In addition, while running heasim simulation as well as fitting the spectra extracted from the heasim events, one should use the point source ARF, i.e., resolve_pnt_heasim_withGV_20190701.arf for heasim run and resolve_pnt_spec_withGV_20190701.arf for spectral fitting regardless of the source spatial distribution, unless the user can make a tailored ARF specific to their source's spatial distribution. STEP 4 discusses the implications of using the point source ARF on the estimated flux.
Variations on STEP 3 - Shift and roll Resolve FOV.
Proposers may need to shift and roll the instrument to avoid a bright point source right on the edge of Resolve, or distinct temperature clumps within FOV that require special orientation. In which case rapoint decpoint, roll, parameters should be adjusted accordingly.
STEP 4 - Calculate branching ratios.
XRISM's superiority lies in the excellent spectral resolution. In most cases, the scientific goal of XRISM proposals will be constraining line features, which require high resolution primary (Hp) events and maybe in combination with the medium resolution primary (Mp) events.
RSLBRANCH tool computes branching ratios for each event resolution grade – for each pixel, and over the entire array. It statistically estimates these quantities using Poisson statistics, based on some count distribution in pixels and produces a more realistic version of the event file by populating the PIXEL, and ITYPE columns with the grade (ITYPE = 0:HP, 1:MP, 2:MS, 3:LP, 4:LS).
While running rslbranch using heasim-simulated Resolve event file
(filetype=sim), do not point ctelpixfile to the pixmap.fits file inside folder:
$HEASIM_SUPPORT/xrism/resolve/sxsbranch/.
That file carries TELESCOP = `HITOMI' in its first extension, and rslbranch stops with the error:
calbranch::mkproxmat() -> telescop keyword is not XRISM; this tool is for XRISM data only.
In the default set-up for rslbranch the pixel map parameter ctelpixfile is taken from the calibration database (CALDB).
In the example below, we explicitly show “ctelpixfile=CALDB" only to emphasize that this parameter should not point to the heasim package.
Futhermore, note that for the right branching ratio calculations, “calpixrate" should be set to “0.0". Unless it is specifically set to this value, the parameter will assume the default value of “6.0", which will result in incorrect branching ratio calculations. Please read the help file regarding detailed explanations of the parameters of the tool:
https://https://heasarc.gsfc.nasa.gov/docs/software/lheasoft/help/rslbranch.html.
term>punlearn rslbranch term>rslbranch \ infile=CC-cluster-AGN.fits \ filetype=sim \ outfile=CC-cluster-AGN_branch.out \ pixfrac=$HEASIM_SUPPORT/xrism/resolve/sxsbranch/pixfrac.txt \ pixmask=none \ ctelpixfile=CALDB \ ctphafrac1=0.0 \ ctphafrac2=0.0 \ calpixrate=0.0 \ debin=1.0
The new event file will then have a secondary extension .out, appended to the input event file, e.g., CC-cluster-AGN.fits.out. This output file is generated and named implicitly by the run and this file will be used for the spectral extraction. The CC-cluster-AGN_branch.out file is an event file that writes the estimated ratios and cannot be used for spectral extraction. The branching ratio can be obtained from the RSLBRANCH tool (for instance, for Hp events: BRANCHHP header keyword in the BRANCHCALC extension of the xxx_branch.out file).. To make pixel and/or grade selections, in XSELECT run the following:
term> xselect Enter session name >cluster cluster:XRISM > read events CC-cluster-AGN.fits.out . cluster:XRISM-RESOLVE-AC_NORMAL > filter column "PIXEL=0:11,13:26,28:35" cluster:XRISM-RESOLVE-AC_NORMAL > filter column "ITYPE=0:0" cluster:XRISM-RESOLVE-AC_NORMAL > extract spectrum cluster:XRISM-RESOLVE-AC_NORMAL > save spectrum CC-cluster-AGN_branch.pi
Above, the spectrum is extracted from only the Hp events and uses the full Resolve FOV without the calibration pixel (12) and pixel 27 that has the gain issue. Furthermore, for sub-array analysis, the user may extract spectrum with the desired pixels by changing the pixel parameter above.
STEP 5 Fitting the mock spectra with XSPEC
While fitting the spectrum and deriving errors, source spectrum will be convolved with spectral responses (best to move the necessary spectral fitting responses from the heasim directory “specfiles_v003" folder into the working directory) and will be fit with respective models. These responses are different from the ones that are used for the heasim run.
Furthermore, since heasim was run with the background included, the spectral fit should also include the background file in the aforementioned folder.
Start a new terminal session:
XSPEC12> data 1:1 CC-cluster-AGN_branch.pi XSPEC12> response 1:1 resolve_h5ev_2019a.rmf XSPEC12> arf 1:1 resolve_pnt_spec_withGV_20190701.arfNote: The point-source ARF used above is for spectral fitting and is different from what is used for the heasim run. In this step, user can include a tailored NXB and sky background (Section 7.4) to assess the affect of background in case of faint sources.
XSPEC12> show XSPEC12>model TBabs*(apec+bapec+powerlaw) Input parameter value, delta, min, bot, top, and max values for ... 1:TBabs:nH>0.02 -1 2:apec:kT>4 3:apec:Abundanc>0.3 4:apec:Redshift>0.02 5:apec:norm>2.47e-3 6:bapec:kT>1 7:bapec:Abundanc>1 8:bapec:Redshift>0.02 9:bapec:Velocity>200 10:bapec:norm>2.47e-3 11:powerlaw:PhoIndex>2 12:powerlaw:norm>2.47e-5
Ignore the data beyond the Resolve operating band, set statistics and plot.
XSPEC>ig **-1.8 12.0-** XSPEC>statistic cstat XSPEC>cpd /xs XSPEC>setpl e XSPEC>pl ld rat XSPEC>setpl rebin 100 100 XSPEC>pl
Then fit and derive errors.
Important note: The point-source ARF used above will end in wrong flux estimates but with the right count-rate which will enable correct statistics on the models parameters except for the normalization. If the objective of the proposal is to report fluxes, a rigorous tailored ARF generation is required. For the ARK/RPS form, proposers should not use the flux that is obtained from simulated spectrum.
6.6
10
counts s
keV
over 1-12 keV. Weak extended sources, such as outskirts of galaxy clusters, have lower count rates, therefore accurately estimating NXB becomes more important.
Furthermore, for very faint sources, the sky background may also be relevant.
Proposers should take special care to simulate the NXB and sky background following guidance on https://heasarc.gsfc.nasa.gov/docs/xrism/proposals/nxb_sky_rsl_bgd.html or using the NXB spectrum provided with the canned simulation files on the XRISM Proposal Planning subpage: https://heasarc.gsfc.nasa.gov/docs/xrism/proposals/responses.html.
If WebPIMMS or rslbranch run outputs show high Hp fraction for an extended source, no further action is necessary. However, if Hp fraction is below 90%, then a detailed simulation is necessary for a quantitative assessment of the exposure time needed to achieve science goals.
Most extended sources and crowded fields are affected by SSM. The best way to assess its impact is from existing X-ray data. Below we list a few things to consider while investigating whether SSM is important.
vs
), single pixel analysis is strongly recommended against. Using a minimum of
wide regions for SSM analysis will greatly reduce systematic errors coming from our imperfect knowledge of the XMA. It is therefore recommended to plan on observing regions of this size with spectral characteristics with as uniform as possible.