XMM-Newton Science Analysis System
espfilt (espfilt-5.1.2) [22.0.0-9173c7d25-20250127]
Main loop
This task assumes that SAS tasks cifbuild, odfingest
and
one of the event-list producing EPIC MOS or PN tasks (emchain,
epchain, emproc, epproc) have previously been run,
or the PPS data is present.
An error will result if the odfingest ASCII output file or the
cifbuild FITS file are not present and set using the proper SAS
environment variables or command line options.
- The task checks to see if event list is present and has the requisite keywords.
- Define corner selection criteria for evselect calls.
- Create allim and allev (full CCD) images and event lists.
- Create corev, corim, corlc (corner event lists, images, lightcurves)
- Create fov (Field of view only) lightcurves.
- Depending on the method selected, the proper subroutine for processing via that method is envoked.
For the Histogram method:
Clean lightcurve in subroutine clean_lc.
Clean the light curve by creating a histogram of rate values from
the light curve, finding the most likely value, assuming that to be
similar to the mean of the quiescent rate, then fitting a Gaussian
(or poissonian) to a small window around that value in the histogram
to determine the true mean and dispersion of the quiescent
background rate. Excludes time intervals with rate higher than a
multiple of the dispersion above the mean quiescent background and
excludes good regions shorter than some (currently hardcoded)
limit.
For the Ratio Method:
- Create FOV annulus and corner annulus images and lightcurves.
- Determine Counts per pixel Ratio between the FOV annulus and corners.
- For Time Intervals within user-selected ratio threshold ranges, select data using evselect.
- Create an ASCII QDP format file (histogram method only)
- Run gtibuild.
- Run evselect to produce filtered, flare-free events file.
- Run evselect to produce filtered, flare-free image.
- Run evselect to produce corner-only events file.
- Run evselect to produce corner-only image.
- If PN, run evselect to produce cleaned OOT event file.
XMM-Newton SOC -- 2025-01-27