NICER Response Common IssuesReturn to: Analysis Threads | Analysis Main Page
OverviewNICER provides a sophisticated way to estimate ARF and RMF responses for a particular spectrum. However, there may be issues or problems encountered. This thread discusses various issues encountered when generating NICER responses, and how they can be corrected. Read this thread if you want to: Understand and correct NICER response calculation issues. Last update: 2022-04-28 IntroductionStarting with HEASoft 6.29, NICER provided a new way to generate responses for NICER spectra. These tools, nicerarf and nicerrmf, and very powerful because they can calculate responses which are tailored to the specific conditions encountered by NICER when observing the spectrum. In previous software releases, NICER supported precomputed responses, which were designed for the specific case of an on-axis point-like target, observed in benign conditions. The new response calculators take into account the possibility of an off-axis target, enabled and disabled detectors, and the possibility of enhanced optical loading conditions, which may slightly change the NICER spectral resolution. Because these types of conditions are not constant, and indeed may vary even during a single observation, the response calculator tools must use recorded housekeeping data in order to estimate the impacts to the responses. The response tools must have accurate target coordinate, timestamps, housekeeping and detector enable/disable information in order to estimate an accurate response. To read more about the response calculators, please see the NICER ARF & RMF analysis thread for more information. The following sections will discuss problems commonly encountered when generating NICER responses. Response Calculator Inputs Must All Be UnbarycenteredThe NICER ARF and RMF tools are not compatible with barycentered data. The event list and spectrum used as input to nicerarf and nicerrmf must not be barycentered. The reason for this restriction is accurate timestamp matching. There are multiple inputs that are used by 'nicerarf' which contain timestamps and GTIs. This includes the filter file, the event list, the event file's FPM selection data, and the spectrum's GTI. All of these sets of information must be recorded in the same time system, i.e. the unbarycentered time system. Using barycentered event files as direct input to nicerarf will lead to incorrect results. The same is true if a spectrum generated from barycentered data is provided to nicerarf. The problem is that, while the event file and/or spectrum's GTIs are barycentered, the filter file and FPM selection information are NOT barycentered. This will cause nicerarf to cross-index to the incorrect values. In some cases it will APPEAR that nicerarf produced a response file when using barycentered inputs, but this result may not be correct. This would happen when nicerarf was still able to find matching barycentered and non-barycentered timestamps, but the refer to the wrong measurements. REMEDY: The remedy for this condition is to use non-barycentered files for ALL inputs to the response calculators. This includes the spectrum, which should have been generated from non-barycentered event files. As of HEASoft 6.30, warning / error messages are produced in most circumstances when the user attempts to use barycentered spectra. The Correct Target Coordinates Must be UsedOne of the powerful benefits of nicerarf is that it can compute the response for off-axis sources. For this capability to work properly, the correct target coordinates must be used. If one uses incorrect target coordinates, it is possible that the response will be considered off-axis, which will bias the fitted fluxes high.
In the cases of extreme errors (erroneous positions >6 arcseconds),
the NICER response tools may report zero response. This is because
the erroneous position is so far outside the NICER field of view that
there is no response. As of HEASoft 6.30, nicerarf may report such
problems with the following warning,
Please consider the following important notes:
REMEDY: enter correct target coordinates in decimal J2000 degrees to all NICER tools. The NICER Spectrum Must Have Non-Zero ExposureThis may seem obvious, but when requesting responses for a spectrum the spectrum must have non-zero exposure. During automated processing, the screening criteria may produce no good time. It is perfectly legal to extract a spectrum with no good time. The result will be a spectrum with zero counts and zero exposure. When nicerarf attempts to estimate responses for the spectrum, it will not find any matching timestamps (since there is no good time).
To check this, one can use the following command: REMEDY: there is no remedy for this situation without changing screening criteria. Users should not expect valid responses for a spectrum with good exposure time. However, users can check whether changing the screening criteria can select more data. The NICER Spectrum Must Have Some Detectors SelectedThis may also seem obvious, when requesting responses for a spectrum you must have at least some detectors enabled and selected. If you have deselected all detectors using nifpmsel (see Screening Data with FPM Selections thread) then there will be no good exposure for any detector, and you will get an error when trying to generate an ARF or RMF.
To check the per-detector exposure, you can use the NICER niexposum
task. It will print the exposure of each detector during a time
interval of interest, such as the good time intervals of a spectrum.
Use the following command:
Always be sure you have at least some detectors selected before trying to extract a spectrum or responses. Users Must Provide Files from the Same ObservationIn most cases users may be analyzing data from many observational datasets. Users should take care to provide as inputs to the response calculators files from the same observation. As noted above, the response tools require all of their inputs to match in time, and not doing so will result in incorrect results. For example, if a spectrum was extracted from from one observation but the user supplies a filter file from another observation, an ARF with all zeroes may be generated. This problem may creep in more subtly if the user has "merged" data sets. For example if they merged the event list from observations 1, 2, and 3, then the other inputs must also be merged from the same data sets. Filter files can be merged using the nimkfmerge tool, which is more flexible than ftmerge. REMEDY: always supply inputs to the response tools that match in time coverage. HEASoft 6.29c (or Higher) Must Be UsedAnalysts should use the most recent software and calibration that is available when embarking upon an analysis project. This is expecially true for response calculation. HEASoft versions 6.29, 6.29a and 6.29b contained some bugs related to response calculation. Users should use HEASoft 6.29c or later when generating responses. For more information, please see the NICER TIMEZERO Bug analysis thread. REMEDY: use the most recent version of HEASoft (6.29c or later recommended). Related Topics
Modifications
|