A&A 411, L257-L260 (2003)
DOI: 10.1051/0004-6361:20031226
N. J. Westergaard 1 - P. Kretschmar 2,3 - C. A. Oxborrow 1 - S. Larsson 4 - J. Huovelin 5 - S. Maisala 5 - S. Martínez Núñez 6 - N. Lund 1 - A. Hornstrup 1 - S. Brandt 1 - C. Budtz-Jørgensen 1 - I. L. Rasmussen 1
1 - Danish Space Research Institute
Juliane Maries Vej 30,
2100 Copenhagen, Denmark
2 -
Max-Planck-Institut für Extraterrestrische Physik
Giessenbachstrasse,
85748 Garching, Germany
3 -
INTEGRAL Science Data Centre,
Chemin d'Écogia 16,
Versoix, Switzerland
4 -
Stockholm University
Roslagstullgatan 21, Stockholm, Sweden
5 -
Observatory, PO Box 14,
00014, University of Helsinki, Finland
6 -
GACE, Instituto de Ciencias de los Materiales, Universidad de Valencia,
PO Box 20085, 46071 Valencia, Spain
Received 7 July 2003 / Accepted 8 August 2003
Abstract
The science analysis of the data from JEM-X on INTEGRAL is performed through
a number of levels including corrections, good time selection, imaging
and source finding, spectrum and light-curve extraction.
These levels consist of individual executables and the running of the
complete analysis is controlled by a script where parameters for
detailed settings are introduced. The end products are FITS files
with a format compatible with standard analysis packages such as
XSPEC.
Key words: software - X-ray data analysis - INTEGRAL satellite - JEM-X
JEM-X (Joint European Monitor for X rays) is the X-ray monitor onboard INTEGRAL (Lund et al. 2003). Its primary purpose is to extend the energy coverage for the targets observed by INTEGRAL's prime instruments, IBIS (the Imager onBoard the INTEGRAL Satellite) (Ubertini et al. 2003) and SPI (the Spectrometer aboard INTEGRAL) (Vedrenne et al. 2003). The observations are composed of a number of science windows that typically are the periods of stable pointing with durations from 1800 s to 3600 s. These pointings are organized in a dither pattern around the prime target to enhance the imaging capability of SPI.
The standard data analysis is done at the INTEGRAL Science Data Centre (ISDC) at Versoix, Switzerland (Courvoisier et al. 2003). The data is taken through a series of steps in pipeline processes. The most comprehensive description of the pipelines and the executables can be found in Oxborrow et al. (2002). At present the JEM-X data analysis is done for each science window individually. Analysis of entire dither patterns will be added later on.
The first major steps as part of ISDC's technical processing are the preprocessing unpacking the telemetry format into FITS format and calculation of event onboard times in a format shared by all instruments.
Subsequently, the data are analysed by the Quick-Look and Standard Analysis pipelines which both use the same set of instrument specific software tools but with different parameter choices and range of analysis steps. Finally the data can be analysed offline with the full range of tools. The following sections describe the analysis steps that are presented in a diagram in Fig. 1. The acronyms for the analysis levels are given both in this figure and in the headline of each section.
JEM-X can operate in imaging and non-imaging modes and the selection of analysis levels depends on this. In almost all observation situations the choice of an imaging mode is most appropriate (Lund et al. 2003).
Two programs handle the energy conversion, position determination and corrections to the raw event data: j_cor_gain and j_cor_position. The first of these converts the raw Pulse Height Amplitude (PHA) values of each event from the telemetry values (256 bins covering 4096 onboard ADC channels in a non-linear fashion reflecting the energy resolution of the instruments) to Pulse Invariant (PI) values (256 bins covering 0-80 keV non-linearly). Time variations in the instrument gain are derived using the onboard radioactive calibration sources by first fitting gaussian lineshapes to the 109Cd and 55Fe calibration spectra. Spatial variations in gain are corrected using a table of pre-flight calibration data and a table of secondary corrections determined by offline analysis of flight data. The gain conversion program also flags all events that have poor time correlation, poor gain determination, or other deficiences.
The position determination program uses a lookup table to find the mapping between telemetry raw X and Y co-ordinates and absolute positions measured from the centre of the detector in millimeters. This program uses an image of the detector showing inactive areas outside the microstrip plate, hotspots, dead anode strips and calibration spectra overspill areas, to flag every event according to the behaviour of the detector at the detection position. Events are also flagged for having a poor position determination.
Programs further down the pipeline can choose to ignore events flagged for a problem that may affect the program's output and keep those which may be less than ideal, but will not adversely affect the output.
Good-Time intervals are calculated separately for: housekeeping parameters within given limits, stable attitude and data gaps. In addition, users can provide their own choice of good or bad time intervals. All these are then merged into a single GTI table which is used by the analysis tools in the subsequent analysis steps.
In the pipeline processing the instrument deadtime is determined from the instrument housekeeping data. This limits the time resolution to 8 s - the housekeeping cycle time. In the offline analysis the possibility exist to elaborate deadtime corrections with finer resolution.
Each event producing a hardware trigger on-board requires
a certain processing time. This time varies from a minimum
of 16 s for events rejected by the grey filter mechanism
to 179
s for good events which pass successfully the entire
onboard analysis chain. A number of intermediate cases exist,
and their relative frequencies is available through the
information in the housekeeping packet
(see also Brandt et al. 2003).
![]() |
Figure 1: Overview of JEM-X Scientific Analysis Pipeline: Processing levels are shown at the left in the order in which each is performed. To the right of these are the basic input and output data for each level. The arrows from each data box indicates the last level in which a particular type of data is used. Data in double boxes are final data products of the analysis. |
Open with DEXTER |
A list of sources in the FOV is extracted from a reference catalog maintained by ISDC. Currently it includes around 1500 sources. This serves for comparison either in the automatic checks of Quick-Look Analysis or offline by the user. Users can also supply personal catalogs and mark the sources for which the analysis software is forced to derive fluxes even if they are not detected by the source finding algorithm.
The background models for JEM-X observations are determined for two background components, diffuse background and instrument background. The latter includes the particle background. The goal is to obtain good estimates of both these components at any time for any position and energy channel. The determination includes first the selection of most suitable normalised background model for each of the above components, and then scaling of these models to fit the selected data.
The selection is made from separate background source catalogues, which have been generated externally using background simulations and blank field observations (Huovelin et al. 2003). In the catalogues, there are models for various spatial and spectral distributions of background. The selection of diffuse background model is made according to the sky coordinates of the observation, and the instrument background model is selected according to orbital phase, attitude parameters, and radiation monitor level during the observation.
The scaling is made using scaling factors, with the purpose of fitting the equally normalised background models obtained with the above selection process to the associated set of observations. The parameters for the scaling factor determination are the same as those of the background models. The scaling factors are defined for each 8 s interval in OBT format, thus allowing the modelling of even rapidly variable instrumental background.
The final result of the background determination process is an estimate of the diffuse and instrument background counts for the specified time interval in each spectral channel and spatial coordinate on the detector. The specific files supplied include
The use of a background model is not enforced although there is a default pipeline for background modelling. If the user chooses to reduce the background from his/her JEM-X data, it can be done using either the default background model, or a model created with the interactive background software, where model parameters can be adjusted with full flexibility.
A shadowgram is a 2D histogram of the distribution of counts on the detector. For the basic image reconstruction algorithm (see next section) the pixels of the shadowgram are organized as the hexagonal cells of the coded mask (Lund et al. 2003). This is done in a skew coordinate system so that the correlation with the mask is straightforward. The binning process introduces corrections for deadtime and grey filter value for each event since these corrections can vary rapidly with time. The time and energy interval can be selected by means of parameters.
The pixel size of the detector is 1 mm in both directions which is finer than the mask cell size (3.3 mm). A shadowgram with full resolution and normal cartesian coordinates can also be produced.
This step consists of image reconstruction, source finding, source flux determination and correction.
The current image reconstruction algorithm is a standard correlation of the shadowgram with the coded mask pattern. The effect of the collimator is disregarded.
The source finding consists of a blind search in the reconstructed image. Each source candidate is characterized by a detection significance and a limit for acceptance can be defined as a parameter. The accepted sources are organized in a list with a flux value derived from the peak size in the image for the same energy intervals as given for the shadowgram binning.
Finally the image and flux values can be corrected for the vignetting.
Spurious sources may appear in particular at the rim of the image where the sensitivity is very low but the noise level is high.
Future developments: A refined image reconstruction taking into account the presence of the collimator is underway.
The source data extraction is based on an algorithm, which is similar to photon tagging (Fenimore 1986). Each detected photon is backprojected through the mask and its contribution to the source and background flux estimates for the particular source is computed. The spectrum is built up by the net contribution from all detected photons.
The computational efficiency compared to image deconvolution is high because few sources are involved and for JEM-X the number of resolution elements (mask and detector) is large while the event rate is still modest. Furthermore, the execution time depends only weakly on the number of time and spectrum bins.
Any flat background component is automatically subtracted by the analysis procedure.
A single response matrix, RMF (Redistribution Matrix file), is used for all sources. The RMF is part of the calibration data and may evolve with time. When extracting source spectra from a science window an Ancillary Response Function, ARF, is produced for each source. The ARF contains the effective area as function of energy, taking various efficiency factors, e.g. vignetting, into account. All energy redistribution information is kept in the RMF. The data formats are compatible with XSPEC.
The algorithm used for source light curve extraction is almost identical to that for spectral extraction. The essential differences are in the time-energy bins and the data format used and that no response files are written.
For the JEM-X datamodes without position information spectra of the whole detector area can be generated. Time and phase resolved binning is possible. The binned fluxes are corrected for exposure, grey filter and deadtime effects. If background model data (see section BKG) is available it is binned accordingly. If the datamode is imaging then it is possible to bin a subset of events, e.g. only part of the detector area via a selection parameter.
Similarly to the detector spectra (BIN_S above), energy resolved light curves can be generated from the whole detector area. Again with a provision for phase resolved binning and including folding of background model data.
A number of files describing the properties of the instrument are supplied to ISDC by the instrument team. At ISDC they are organized in the socalled ic_tree where the times of validity are indicated. Several of the properties change with time and it is ensured that the appropriate IC file for the time frame of the data is selected.
The "JMXi-IMOD-GRP'' contains information for the event corrections such as position and spatial gain correction. Material properties and binning information is also found here as well as a map of the quality of the individual detector pixels.
The "JMXi-RMF-GRP'' holds the redistribution matrix (RMF) and the auxiliary (on-axis) response function (ARF) in the OGIP format.
The background associated files in the data are identified by extension -DBG for diffuse background, and -BKG for instrument background. There are two different types of background files for each of the two background components in the external background source catalogue. The types in the catalogue are associated with different spatial and spectral distributions of background, and each type can be selected independently to allow maximum flexibility for the modelling. The mapping of spectral models is handled by index tables providing the identification of a spectral model for each position on JEM-X. The models are applied to shadowgrams, not reconstructed images. At present the model catalogue is under evaluation, and details of the modelling can be found in Huovelin et al. (2003).
A JEM-X element for the IBAS Burst Alert System is in preparation. In addition to the improved positioning accuracy offered by JEM-X it will also open the opportunity to search for very soft bursts, "X-ray flashes''.
The source detection algorithms developed for IBAS differs from those described in Sect. 8 in several respects, of which the following two are of particular importance:
The basic pipeline processing runs smoothly as well as the standard scientific analysis. The verification of the results is ongoing but so far the results are grossly correct. The current developments are focussed on better imaging, better modelling of the background, and improved source spectrum/lightcurve extraction.
Acknowledgements
Authors from the Observatory, University of Helsinki acknowledge the Academy of Finland, TEKES, and the Finnish space research programme ANTARES for financial support in this research.