After running frfread, this routine does the following:
All raw event files with no events are deleted. Files with empty GTI extensions are also deleted, but an error is given when this happens.
The TSTART and TSTOP keywords in the HK files are checked for sensible values. frfread errors have sometimes caused TSTART=0.0.
All of the good time intervals for a given instrument are collected into a FITS extension which is appended to the appropriate HK file. All GTIs which overlap the interval between TSTART and TSTOP of a particular HK file are included in that file's extension.
FTOOLS called:
STOOLS called:
Utility scripts called: