This task allows the user to produce a source spectrum, background spectrum and the OGIP-compliant ([1]) Ancillary Response File (ARF) and Redistribution Matrix File (RMF) needed to perform spectral fitting within a single procedure.
The essential input parameters are the name of the events table and a spatial selection expression for the source and background areas, e.g. srcexp="((DETX,DETY) IN circle(572,-635,1340))" backexp="((DETX,DETY) IN circle(2572,-1635,1340))". The minimum selection required in the source and background expressions is the spatial region, which may be specified in sky (X/Y) or detector coordinates. Other selections are defaulted as shown in Table 1. These defaults may be further restricted by including additional selections for these quantities in the input expressions, e.g. srcexp="((DETX,DETY) IN circle(572,-635,1340))&& PATTERN==0". NB: The source and background expressions should use the same pattern and flag selections. The expressions must be compliant with the selectlib standard.
The metatask especget runs the tasks evselect, arfgen and rmfgen. It also calculates the size of the source and background areas, a job normally performed by the task backscale but here achieved by calling arfgen directly. For more details of the processing performed by these tasks please see their respective user documentation.