SAS Release Notes - SAS 7.0.0

	             Release Note for SAS 7.0
		     ========================

		   Carlos Gabriel & Eduardo Ojero 
	(with inputs from Richard Saxton, Andy Pollock and Antonio Talavera)
	                 XMM-Newton SOC



* Contents

  . SAS releases covered by this note
  . URLs
  . Summary of important changes
  . Package manifest for SAS version 7.0.0
  . New and withdrawn packages
  . Detailed list of changes between SAS 6.5.0 and SAS 7.0.0

* SAS releases covered by this note


The version of the SAS installed can be displayed with the command:

			      sasversion

This version (7.0.0): xmmsas_200606xx_1831

Last public version  (6.5.0): xmmsas_20050815_1803


* URLs

SAS pages at the XMM-Newton SOC:
   http://xmm.esac.esa.int/sas/

XMM-Newton calibration information:
   https://www.cosmos.esa.int/web/xmm-newton/calibraion
 
Pipeline configuration at the XMM-Newton Survey Science Centre:
   http://xmmssc-www.star.le.ac.uk/pipeview/prod/


*Summary of important changes

The main improvements of this release can be summarized as follows:

** General

* The main changes introduced in this version with respect to SAS 6.5.0 are

EPIC:
====
- upgraded EPIC MOS calibration, including column dependent CTI/Gain correction,
  improving line widths by upto ~15%. 
  
- improved EPIC source detection and parameterisation tasks, especially related 
  to the detection of extended sources. Robustness and efficiency have been 
  increased, to make possible the 2XMM Catalogue derivation, which is 
  in final preparation at the time of this release.  
  
- inclusion of PSF correction for EPIC timing and burst modes in response
  matrix generation.     

- support for arbitrary uniform binning of MOS and PN spectra.

RGS:
===
- introduction of a time / spectral dependent RGS effective area correction,
  which in particular accounts for a decrease with time of the long-wavelength
  sensitivity. The cross calibration of RGS with the EPIC cameras has been
  considerably improved.
  
- flagging / discarding of RGS columns showing large Charge Transfer
  Inefficiency has been implemented, including the introduction of new
  calibration files in the system, improving small scale accuracy.
  
- background modelling can be performed now for the new recommmended (and taken by
  default) regions selection areas. This requires the use of restructured
  calibration files, that accomodate template backgrounds for different selection
  criteria.   

OM:
==  
- the OM image chain (omichain) can now process full frame high resolution data, 
  which failed before because of inconsistent header keywords.

- the structure of the output source lists has been changed, mainly in the final
  combined list produced by omsrclistcomb. 

- fast mode: the time dependent sensitivity degradation correction, implemented 
  for image mode in SAS 6.5 is now also available in fast mode.

- OM grism data processing: a series of small changes mainly related to improvements in 
  the identification and extraction of the spectra and the interpretability of 
  the data. To be consistent with these changes, it has been necessary to modify 
  the flux calibration of the UV grism. Users of SAS 7.0 grism data reduction must 
  use the new OM_GRISMCAL_0004.CCF.
  For the first time, the grism processing chain includes the astrometry task
  omatt so that the sources of all extracted spectra (multiobject spectroscopy) 
  are assigned astronomical coordinates. Users should be aware that this facility 
  is still in a preliminary state, and therefore the obtained coordinates may 
  still have large errors (up to one arcmin). Note that grism astrometry requires 
  OM_ASTROMET_0012.CCF.


All other changes were either bug fixing or better handling of calibration
algorithms. 


CCF:
----

Please notice that new calibration constituent files are needed for the 
improvement achieved by the EPIC MOS CTI correction as well as by the RGS
"cool" pixels determination and temporally-dependent effective area calculation. 

The list of new CCFs follows:
- EMOS[1-2]_CTI_00[30-42].CCF containing the column dependent CTI correction 
  factors for 13 different epochs. Please note that at the time of the 
  SAS 7 release the calibration files are still in preparation. They will be released
  3-4 weeks later. In the meantime, using the current CCF elements, SAS 7 will
calculate the CTI without the column-dependent correction, as for SAS 6.5. 

- RGS[1-2]_COOLPIX_0001.CCF contain the lists of large CTI columns, which can be
  discarded by applying the new rgsbadpix (and rgsproc) parameter "keepcool=no".
- RGS[1-2]_EFFAREACORR_0003.CCF with the effective area values of 5 different
  epochs, used for interpolation.
- RGS[1-2]_TEMPLATEBCKGND_0003.CCF containing the different template backgrounds
  for different selection criteria. 
- OM_GRISMCAL_0004.CCF, which has to be used by the grism data processing
  as implemented in SAS 7.   


=========================================================================
Package addattribute: version 2.0 [was 1.9.2]
Package arfgen: version 1.70.3 [was 1.66.4]
Package asmooth: version 2.26 [was 2.22.1]
Package attcalc2: version 1.2.1 [was 1.0]
Package attmove: version 1.5 [was 1.3]
Package backcorr: version 3.6 [was 3.5.1]
Package badpixfind: version 1.37 [was 1.36.1]
Package cal: version 3.184 [was 3.175.3]
Package caloalutils: version 1.103 [was 1.98]
Package calpnalgo: version 2.44.4 [was 2.44.3]
Package colimchain: version 1.8 [was 1.6.1]
Package colimplot: version 3.13 [was 3.10.5]
Package colsmooth: version 1.7 [was 1.6.1]
Package dal: version 1.182 [was 1.181.1]
Package daltools: version 1.9 [was 1.7.3]
Package datautils: version 1.11 [was 1.10.1]
Package dpssflag: version 7.0.1 [NEW]
Package dpsssrc: version 1.1 [was 0.7]
Package dscalc: version 2.6 [was 2.4]
Package ebadpixupdate: version 1.8 [was 1.7.1]
Package eboxdetect: version 4.19 [was 4.15.1]
Package edetect_chain: version 2.16.2 [was 2.13]
Package eexpmap: version 3.41 [was 3.37.3]
Package efftplot: version 2.16.4 [was 2.16.1]
Package eimchip2sky: version 2.0.1 [was 1.7.1]
Package ekstest: version 2.2.4 [was 2.1]
Package elcplot: version 2.3 [was 2.1]
Package emask: version 2.11 [was 2.9]
Package embadpixfind: version 2.2 [was 2.1.1]
Package emchain: version 11.14 [was 11.12]
Package emevents: version 8.4 [was 8.2.5]
Package emframes: version 5.6 [was 5.3]
Package emldetect: version 4.59.1 [was 4.44.11]
Package emosaic: version 1.14 [was 1.12]
Package emsaplib: version 2.29 [was 2.28]
Package epatplot: version 1.13.7 [was 1.13.5]
Package epchain: version 8.60 [was 8.57.1]
Package epframes: version 8.86 [was 8.71.7]
Package epicproc: version 2.9.12 [was 2.9.10]
Package eposcorr: version 3.11 [was 3.9.2]
Package eptestdata: version 0.8 [was 0.7]
Package esensitivity: version 1.8 [was 1.5]
Package esky2det: version 1.12 [was 1.10]
Package esources: version 1.1.3 [NEW]
Package especget: version 1.21.3 [was 1.19]
Package esplinemap: version 4.4 [was 4.2.1]
Package esrcselect: version 3.1 [was 1.7.2]
Package evalcorr: version 0.5 [was 0.4]
Package evarimgen: version 0.7 [was 0.6]
Package evselect: version 3.59 [was 3.58.7]
Package ewavelet: version 3.8 [was 3.7]
Package imgdisplay: version 1.46 [was 1.45.3]
Package implot: version 2.17.1 [was 2.11.5]
Package inthist: version 2.17.2 [was 2.17.1]
Package lccorr: version 2.27.1 [was 2.22.2]
Package lccorr_pcms: version 1.5 [NEW]
Package lcplot: version 1.19 [was 1.18.1]
Package mssllib: version 2.46 [was 2.43.13]
Package nodfingest: version 0.9 [NEW]
Package oal: version 3.114.2 [was 3.113.2]
Package odffix: version 2.7 [was 2.6.2]
Package odfingest: version 3.27.1 [was 3.25]
Package omatt: version 2.41 [was 2.39.7]
Package omcomb: version 2.4.2 [was 2.4.1]
Package omdetect: version 5.6 [was 5.0.7]
Package omfchain: version 1.34 [was 1.31.8]
Package omgchain: version 1.2 [was 1.0.12]
Package omgprep: version 1.1.2 [was 1.0.4]
Package omgrism: version 1.9 [was 1.1.30]
Package omgrismplot: version 1.2.1 [was 1.0.6]
Package omichain: version 1.46.1 [was 1.45.14]
Package omlcbuild: version 1.28 [was 1.24.3]
Package ommag: version 3.6 [was 3.4.5]
Package omprep: version 2.36 [was 2.34.5]
Package omsource: version 1.12 [was 1.9.11]
Package omsrclistcomb: version 2.3 [was 2.0.3]
Package omthconv: version 1.32 [was 1.31.1]
Package ppssumm: version 3.3.2 [was 3.3]
Package region: version 7.9 [was 7.5]
Package regionstats: version 3.3 [was 3.2]
Package rgsbadpix: version 2.18.2 [was 2.17]
Package rgsbkgmodel: version 1.3 [was 1.1.6]
Package rgsenergy: version 2.0.4 [was 2.0.2]
Package rgsevents: version 3.12.3 [was 3.12.2]
Package rgsfilter: version 1.17.1 [was 1.17]
Package rgsfluxer: version 1.7.1 [was 1.7]
Package rgsimplot: version 1.14.3 [was 1.13.3]
Package rgsproc: version 1.24 [was 1.19.10]
Package rgsprods: version 1.10 [was 1.9.1]
Package rgsregions: version 1.19.1 [was 1.18]
Package rgsrmfgen: version 1.10 [was 1.5.3]
Package rgssources: version 5.31.1 [was 5.28]
Package rgsspecplot: version 2.18.3 [was 2.18.1]
Package rgssuperrmf: version 1.0.6 [was 1.0.4]
Package rmfgen: version 1.55 [was 1.53.5]
Package sas: version 1.452 [was 1.443]
Package slconv: version 2.1.3 [was 2.0]
Package srcmatch: version 3.15.18 [was 3.15.9]
Package ssclib: version 3.29 [was 3.24]
Package testccf: version 1.113 [was 1.111.5]
Package testodf: version 0.45.1 [was 0.45]
Package testprods: version 1.8 [was 1.6]
Package tools: version 1.63 [was 1.61.1]
Package utils: version 1.109.4 [was 1.109.3]
Package addattribute: version 2.0 [was 1.9.2]

ChangeLog

Version 2.0 - 2006-03-28 (DJF/LUX)
-----------
	+	Rewritten in C++
	+	Can now add common attributes to a list of data sets 
	+	Can now add attributes to different blocks
	+	Attributes can now be given units

Version 1.9.2 - 2004-03-01 (DJF/LUX)
-----------
	- 	Removed hardwired use of LOW_MEMORY mode

=========================================================================
Package arfgen: version 1.70.3 [was 1.66.4]

ChangeLog

Version 1.70.3 - 2006-06-07 (RDS)
------------
        + (src/CalPsfModel.cc/h,
           ConcreteArfDataServer.cc,   - Calculates burst mode psf and
           CalCoreData.cc/h,             applies a ratio correction in the
           RatioEeCorrector.cc/h,        case of an incomplete selection
           RatioPsfModel.cc)             in RAW-Y

Version 1.70.2 - 2006-06-06 (RDS)
------------
        + (doc/arfgen_desc.tex)        - Explained the difference in vignetting
                                         between point and extended sources
                                         (SPR-2519)

Version 1.70.1 - 2006-03-17 (RDS)
------------
        Copy of 1.70 for CVS.

Version 1.70 - 2006-02-21 (RDS)
------------
        + (src/CalPsfModel.cc)         - Better treatment of encircled energy 
                                         correction in rectangle or box
                                         extraction regions. Enables the
                                         PSF to be handled for Timing/Burst 
                                         mode observations (SPR-2612)

Version 1.69.1 - 2006-01-16 (RDS)
------------
        + (src/Setbackscale.cc)        - Set backscale to zero if calculated
                                         to be negative

Version 1.69 - 2005-12-21 (RDS)
------------
        + (src/OffCCDPixelIterator.cc, - event flag handling now deals with
           BadPixelCorrector.cc,       bit flags individually. This is
           ConcreteArfDataServer.cc)   primarily intended for the new #XMMEA_SM
                                       flag that includes events next to dead 
                                       pixels but excludes everything else
                                       (SCR-198).

Version 1.68.2 - 2005-12-07 (RDS)
------------
        + (src/ConcreteArfDataServer.cc) If the PPSVERS string is not set
                                         to a date then a suitable default 
                                         is selected (SPR-2644)

Version 1.68.1 - 2005-12-04 (RDS)
------------
        + (src/OffCCDPixelIterator.cc) Corrected an error introduced in V1.68
                                      where the windowing wasn't handled 
                                      properly outside the central chip
                                      (SPR-2642)

Version 1.68 - 2005-10-07 (RDS)
------------
        + (src/OffCCDPixelIterator.cc) Checks all chips for out of CCD window
                                       to cover the PN Large window case
                                       which affects all CCDs (SPR-2531)

Version 1.66.4 - 2005-08-05 (RDS)
------------
        + Documentation update

=========================================================================
Package asmooth: version 2.26 [was 2.22.1]

ChangeLog

Version 2.26 - 2005-11-15 (IMS/LUX)
----------------------
- Changed datatype of 2nd argument of calls to median to reflect changes in ssclib-3.24. 
  DEPENDency of ssclib upgraded to 3.24.
- Filled in some error messages;
- Brought documentation up to date;
- Deleted some commented-out code.
- Removed dsslib and selectlib from DEPEND.
- Rearranged code in main routine which calls the dynamic range calculation, to prevent 
  this being called twice for adaptive smoothing.

Version 2.25 - 2005-11-02 (IMS/LUX)
----------------------
- Parameters --inconvolversset, --withindeximageset and --inindeximageset changed to  
  --inconvolversarray, --withindeximagearray and --inindeximagearray (to allow the arrays to 
  have any name).
- Replaced code which was inadvertently left commented out (effect was to disallow 
  normalization of convolvers). Fixes SPR 3842.

Version 2.24 - 2004-11-16 (IMS/LUX)
----------------------
- Added dss and selector to the Makefile:USEDLIBS line (task wouldn't compile in linux 
  without these) plus the corresponding DEPENDencies.

Version 2.23 - 2004-11-03 (IMS/LUX)
----------------------
- Mask argument in calls to ssclib/array_utils:median altered from logical(bool) to logical 
  (changed in ssclib-3.17).
- DEPEND on ssclib increased to 3.17.

Version 2.22 - 2004-08-04 (IMS/LUX)
----------------------
- Test harness now fails if test data not found.

Version 2.21 - 2004-06-07 (IMS/LUX)
----------------------
- Removed the requirement that the extension be names CONV_000 when --smoothstyle=withset 
  but --withindeximageset=no. Now the task attempts to read the convolver image from the 0th 
  array of --inconvolversset.
- Fixed some messages in which the space for numerals in the format was too short.

Version 2.20 - 2004-06-07 (IMS/LUX)
----------------------
- Added parameter --withindeximageset (default yes) to cater for situations in which there 
  is only one convolver for the whole field.

Version 2.19 - 2004-04-05 (IMS/LUX)
----------------------
- Fixed SPR 3291 by splitting the offending error message into 2.
- Fixed SPR 3293.
- SPR 3296 fixed by changing the task such that convolvers are now normalized before being 
  written to --outconvolverset.
- Made the code somewhat simpler (although the changes mean it uses more memory and may be 
  slower) in the process of fixing SPR 3294.
- SPR 3295: not really an error, but a result of misuse. Warning messages have been inserted 
  to deal with this situation.
- Fixes for the above two SPRs, plus normalizing the convolvers in template mode, fixed SPR 
  3292.
- The task now depends on ssclib-3.8, since additions to ssclib were needed to cope with 
  the SPRs.

Version 2.18 - 2004-04-05 (IMS/LUX)
----------------------
- Now uses test data from package testprods.
- Removed evselect and testodf from DEPEND and added testprods.

Version 2.17 - 2004-03-25 (IMS/LUX)
----------------------
- Copy of patches to devtrack.

Version 2.16.3 - 2004-03-16 (IMS/LUX)
----------------------
- Minor documentation fix (changed par --templateset to --outtemplateset).

Version 2.16.2 - 2004-01-20 (IMS/LUX)
----------------------
- Fixed the bugs mentioned in SPR 3233.
- Rewrote the documentation.

Version 2.16.1 - 2004-01-20 (IMS/LUX)
----------------------
- Fixed SPR 3222.

Version 2.16 - 2003-11-24 (IMS/LUX)
----------------------
- Removed old code and surplus files.

Version 2.15 - 2003-11-05 (IMS/LUX)
----------------------
- Split the source-mask stuff away from the basic module. This is to render the basic 
  module non-xmm-specific.
- Added facility to load indexImage + convolvers from a file.
- Fixed SPR 3072.
- Moved the logic around and simplified it. This also fixes SPR 3073.
- All read images are now checked to make sure they are the same size as the input image. 
  Fixes SPR 3074.
- Param changes: removed copydss, sigma, ngauss, minsigma, maxsigma, readtemplateset, 
  withvarianceset, varianceset; added tempset, width, nconvolvers, minwidth, maxwidth, 
  readvarianceset, invarianceset, writevarianceset, outvarianceset, convolverset.
- Option to output variance image disposes of suggestion in SPR 2829.
- Added log/sqrt/user options for inputting convolver widths.
- Changed logical-valued inmaskset to real-valued weightset.
- Temp_ssclib modules now merged into ssclib-3.0.

Version 2.14 - 2003-06-19 (GV)
------------
	+ DEPEND dsslib 5.0

Version 2.13 - 2003-06-18 (GV)
------------
	+ DEPEND dsslib 5.0
	
Version 2.12 - 2002-10-18 (IMS/LUX)
----------------------
- Oops, forgot to move back to param-2.n (and devtrack DEPEND).

Version 2.11 - 2002-10-17 (IMS/LUX)
----------------------
- No changes, just copied 2.10.2 into devtrack as 2.11.

Version 2.10 - 2002-10-17 (IMS/LUX)
----------------------
- Reinstated --minsigma parameter (requested by JBB).
- Upgraded dsslib dependency to 4.0 (but changed others back to latest releasetrack versions).

Version 2.9 - 2002-08-23 (IMS/LUX)
----------------------
- Removed sla from DEPEND - not sure why it was there.
- Shortened the gui by dividing the parameters between 2 pages.

Version 2.8 - 2002-08-23 (IMS/LUX)
----------------------
- `Detmask' split into two masks, one `in' mask which specifies which pixels can be 
  included in convolution sums, the other `out' mask which specifies for which pixels 
  convolution sums should be calculated.
- If weight is too small for an accurate convolution, width of convolver is broadened 
  at that pixel. If this doesn't help, the output is set to 0 here. Ought to fix 
  SPRs 2961, 2130.
- SPR 2176 fixed. 
- Parameters --writebadmaskset and --badmaskset allow output of remaining too-low-weight 
  pixels.
- Parameters --writecheeseset and --cheeseset allow output of mask with holes near source 
  positions.
- Parameter --minsigma deleted.
- Some other code rearrangement.

Version 2.7 - 2002-07-25 (IMS/LUX)
----------------------
- Some changes to the way the template is calculated: the template image now records the 
  sigma of the gaussian used to smooth each pixel of the input image.
- calculateConvolver() now works in double precision. Single gave values of convolverNorm 
  which were only accurate to 3 sig figs or so.

Version 2.6 - 2002-05-17 (IMS/LUX)
----------------------
- Fixed a bug that prevented images with negative values from being properly smoothed.
- Fixed SPRs 2870, 2829.

Version 2.5 - 2002-05-17 (IMS/LUX)
----------------------
- Uses param-2.0.

Version 2.4.4 - 14 Mar 2002 (IMS/LUX)
----------------------
- Upgraded documentation, small cosmetic changes in code and lyt.

Version 2.4.3 - 10 Mar 2002 (IMS/LUX)
----------------------
- Fixed some bugs in the source-map routine.

Version 2.4.2 - 08 Mar 2002 (IMS/LUX)
----------------------
- Updated DEPEND.
- Fixed two array-bound errors (SPR 2727).

Version 2.4.1 - 21 Feb 2002 (IMS/LUX)
----------------------
- Fixed SPR 2778. This was due to changes in an argument type in an ssclib routine that 
  asmooth calls.
- Fixed SPR 2729 (by adding sfftw to the EXTERNALS line in src/Makefile).

Version 2.4 - 23 Jan 2002 (IMS/LUX)
----------------------
- No longer uses wcs stuff but slalib instead. Also now needs the cal to get instrum boresight.
- Fixed some bugs so that the test harness now runs.
- Moved some sourcelist-handling routines to ssclib.

Version 2.3 - 19 Dec 2001 (IMS/LUX)
----------------------
- Fixed .par and .lyt files.
- Fixed some bugs.

Version 2.2 - 19 Dec 2001 (IMS/LUX)
----------------------
- Added some fftw test routines (maybe temporary).
- Some but not all of the 'array' header keywords (eg wcs kwds) are now copied over to the output. Can't copy them all over because many are DSS kwds and copying these over disturbs DSS matters.
- Defaults for --desiredsnr and --ngauss now 10 and 20 respectively.
- Changed CGP's getdp() and getstring() for getRealKwd(), getIntKwd() and getStringKwd() in ssclib-2.0/fitsutils_mod.
- Fixed bug (showed up on DEC) in which multiplyByGaussian() was creating lines of underflows.
- The array 'mask' is now initialised whether --withdetmask is set or not. This was done ok in <2.0 but was neglected in 2.0, 2.1. Closes SPR 2671.
- Now accesses fftw global variables and some subroutines from ssclib-2.0/fftw_aux_mod. (The type of the fftw plan variable was changed to a pointer structure to enable asmooth to run on all platforms).
- The exposure map is now used correctly (with added parameters --expmapuse and --remultiply).
- Added facility for the user to submit their own variance map (with added parameters --withvarianceset and --varianceset).
- Internal arrays now only store that rectangular part of the image into which the nonmasked pixel area just fits. This makes processing of images with large surrounding 'black' areas much quicker.

Version 2.1 - 30 Oct 2001 (IMS/LUX)
----------------------
- Fixed lyt file so GUI is correct (fixes SPR 2613).
- --copydss parameter introduced, so that asmooth can handle files (such as produced by farith) from which the dss blocks have been lopped off.
- Template file now saved before outset is.
- Bug fixed in which the task attempted to read a defunct parameter when --withboxlist=yes.

Version 2.0 - 11 Sep 2001 (IMS/LUX)
----------------------
- Iterative algorithm replaced by a simpler, faster, more elegant 2-step process.
- Added dependency on evselect (for test set).

Version 1.7 - 30 Aug 2001 (IMS/LUX)
----------------------
- Fixed dependency bug.

Version 1.6 - 23 Aug 2001 (IMS/LUX)
----------------------
- Algorithm extended to include iteration.
- Parameters --scaletype, --fluxformaxsigma and --minsigmafluxfraction suppressed: only 'constsnr' adaptive smoothing is available for the present. (This closes SPR 2292.)
- Iteration parameters --ncycles and --optimize added.
- Parameter --withtemplateset removed and replaced by --readtemplateset and --writetemplateset.
- Test set modified to fail if task not built.
- DSS now copied from inset if present.

Version 1.5.1 - 25 Jun 2001 (IMS/LUX)
----------------------
- Included missing --bkgrate parameter in .par file.

Version 1.5 - 28 Feb 2001 (IMS/LUX)
----------------------
- Removed unnecessary upper limits on some parameters.
- Fixed mismatch between code and .par
- Fixed SPR 2322

Version 1.4.1 - 2 Feb 2001 (IMS/LUX)
----------------------
- Updated DEPEND.
- Added .lyt, .info to config/Makefile.
- Fixed subroutine name mismatch.

Version 1.4 - 28 Nov 2000 (IMS/LUX)
----------------------
- Now uses wcs.f for sources coordinate transformation.
- Background map facility now works.
- Fixed bug in calc. of numDirectOps.
- New parameters bkgrate and deletebadsources.
- Parameters scut, mlmin not used.

Version 1.3.2 - 21 Nov 2000 (IMS/LUX)
----------------------
- Documentation update.

Version 1.3.1 - 16 Nov 2000 (IMS/LUX)
----------------------
- Changed order of USEDLIBS so as to static build ok.

Version 1.3 - 20 Oct 2000 (IMS/LUX)
----------------------
- Fixed bugs preventing correct smoothing.
- Changed forcecalctype, calcbyfft and nopslimit from hardwired to parameters.
- Widened the options for scaling the user-supplied template image (this introduced cal and dss calls).

Version 1.2 - 10 Oct 2000 (IMS/LUX)
----------------------
- sfftw returned to EXTERNALS and fftw deleted from USEDLIBS (on advice from GV). Asmooth doesn't build here in this state but this is probably the fault of our installation of fftw.

Version 1.1 - 9 Oct 2000 (IMS/LUX)
----------------------
- Changed parameter interface
- In makefile, fftw moved from EXTERNALS to USEDLIBS

Version 1.0 - 25 Sep 2000
----------------------
- First version delivered.

Version 0.1 - 29 Aug 2000
----------------------
- Draft documentation circulated.

=========================================================================
Package attcalc2: version 1.2.1 [was 1.0]

ChangeLog

Version 1.2.1 - 2006-05-07 (IMS/JBO)
------------------------------
- Filled in some error messages in the code.
- Slight updating of documentation.

Version 1.2 - 2005-11-16 (IMS/LUX)
------------------------------
- Made some changes to binned_att:{read/write}BinnedAttitude to accommodate a WEIGHT column.

Version 1.1 - 2005-11-07 (IMS/LUX)
------------------------------
- Changed the convention for describing binned attitudes, with flow-on changes to many of the binned_att subroutine internals and interfaces. This would break lots of things if lots of things used the routines; but no-one does, so I guess it is ok.
- Binned-attitude tables can now have any name - they're no longer constrained to be called ATT_BINS.
- Removed some obsolete code.
- Updated ssclib DEPENDency to 3.27.

Version 1.0 - 2005-04-01 (IMS/LUX)
------------------------------
- Uploaded as 1.0 rather than 0.10 because the package now seems mature enough to get out of '0.*' diapers...

=========================================================================
Package attmove: version 1.5 [was 1.3]

ChangeLog

Version 1.5 - 2004-05-03 (JSH)
-----------
        + Fix makefile + directory structure to match CVS version *sigh*

Version 1.4 - 2003-11-26 (JSH)
-----------
        + Add diagnostic information dump

Version 1.3 - 2003-11-24 (JSH)
-----------
	+ SPR 2483. Object distance must be in km, not m

=========================================================================
Package backcorr: version 3.6 [was 3.5.1]

ChangeLog

Version 3.6 - 2006-01-09 (NW)
        -------------------------------

        Corrected a small calculation error in make_backcorr that was 
	causing some values in the output (corrected background spectrum) to 
	be too small by a factor 0.5 or 0.333 as pointed out in SSC-SPR-3551.  
	The same SPR requested that the detector map used to calculate the 
	arf file for the background 
	spectrum should be a flat detector map and further parameters to be 
	added to the task so that the user can provide the eventlist, 
	required by arfgen if a bad pixel correction is to be made as well as 
	the option to keep the intermediary arf files.  RDS also suggested 
	calling arfgen with extendedsource=yes.  These have all been 
	done and the documentation has been updated.
	

Version 3.5.1 - 2005-06-07 (NW)
        -------------------------------

        Change to DEPEND for releasetrack version
	

=========================================================================
Package badpixfind: version 1.37 [was 1.36.1]

ChangeLog

Version 1.37 - 2005-06-08 (HB)
--------------------------------
- (src/badpixfind_mod.f90): missing QUADRANT (pn) and CCDNODE (MOS) keywords 
	                    copied to output badpix file, CCDID keyword (pn) 
	                    corrected, if badpixfind is run on calibrated, 
	                    multi-chip event files (SSC-SPR-3469).
	
Version 1.36 - 2003-09-16 (HB)
-------------------------------	
- (src/badpixfind_mod.f90): test output removed
		
Version 1.35 - 2003-09-16 (HB)
-------------------------------	
- (src/badpixfind_mod.f90): error in code to recognice multi-chip
	event files corrected
	
Version 1.34 - 2003-07-31 (HB)
-------------------------------
- (src/badpixfind_mod.f90): correction of v. 1.30: task parameter
	"flickertimesteps" also read for PN; crash in the case of
	empty input event list prevented
	
Version 1.33 - 2003-05-07 (HB)
-------------------------------
- (config/badpixfind.par): modified to enable param-2.0 functionality	
		
Version 1.32 - 2003-04-25 (HB)
-------------------------------
- (src/badpixfind_mod.f90): correction of v. 1.30: incorrect badpixmap
	filename in single chip mode 
	
Version 1.31 - 2003-04-22 (HB)
-------------------------------
- (src/badpixfind_mod.f90): correction of v. 1.30: event files with 
	CCDNR column but same CCDNR value for all events now treated 
	as single chip event files
	
Version 1.30 - 2003-03-21 (HB)
-------------------------------
- (src/badpixfind_mod.f90): task now also accepts merged, calibrated
 	event lists as input; new task parameter 'ccd' selects chip
	for bad pixel search
- (config/badpixfind.par, doc/badpixfind_description.tex): param. 'ccd' added
	
Version 1.29  - 2002-05-15 (MJF)
--------------------------------
- (config/badpixfind.par): updated for `param-2.0'
- (DEPEND): needs `param-2.0', updated all other entries to latest

Version 1.28 - 2002-01-16 (MJF)
-------------------------------
- (test/badpixfind): set VERBORSITY=5
- (test/pn.*): reasonable FRMTIME values written into header

Version 1.27 - 2001-10-20 (MJF)
-------------------------------
- (DEPEND): needs cal-3.121
- (src/badpixfind_mod.f90): CAL coordinate routines need double type variables
- (src/badpixfind_mod.f90): for EPN access table columns in read-only mode

Version 1.26.5 2001-04-11 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Correction to bad column searching 
	  algorithm in columnsearchlabel=total mode
        + (doc/badpixfind_description.tex) Updated

Version 1.26.4 2001-03-23 (AMR)
--------------
	+ as 1.26.3. Resubmission. Firewall/uploadsas problems

Version 1.26.3 2001-03-22 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Improvement in hot pixel finding algorithm 
	  in confused regions. 
	+ (doc/badpixfind_description.tex) Updated (warnings, recommended 
          automatic settings etc)

Version 1.26.2 2001-02-09 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Optional parameters: threshabovebackground 
          (thresholds can be set can as normal or as thresholds above the 
          b/g), withfovmask (areas outside of FOV can be masked out in bad pixel
          map). Both have default `N' - default behaviour as V.1.26.1
        + (doc/badpixfind_description.tex) Updated (new parameters/usage etc). 
        + (config/badpixfind.par & .lyt) Updated (new parameters). 

Version 1.26.1 2001-02-09 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Slight improvement in hot column/pixel 
          finding algorithm in very confused regions.  
        + (doc/badpixfind_description.tex) Updated (newer recommended pn 
          settings)

Version 1.26 2000-12-20 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Task altered so as to suppress numerous
	  and unnecessary OffaxisAngleOutsideValidityRange warning repetitions
	  - at off-axis angles greater than 15 arcminutes, the PSF *at* 15
	  arcminutes is used (no celestial sources are seen here).
	+ (doc/badpixfind_description.tex) Updated with new recommended 
	  automatic pn settings. 

Version 1.25.7 2000-11-23 (AMR)
--------------
	+ (doc/badpixfind_description.tex) Updated (SSC-SPR-2112)

Version 1.25.6 2000-11-09 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Uplinked bad pixels and badpixfind bad 
	  pixels handled correctly during PSF comparison of test pixel and 
	  neighbours (SSC-SPR-2039)
	+ (doc/badpixfind_description.tex) Updated

Version 1.25.5 2000-11-07 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Inclusion of uplinked bad pixels in map
	  (SSC-SPR-2031)
        + (doc/badpixfind_description.tex) Updated as regards above and 
	  improved pn default values (after changes in CAL PSF handling). 

Version 1.25.4 2000-10-27 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Large off-axis angle problem (at Leicester) 
	  solved (SSC-SPR-2011)
        + (config/badpixfind.info) Updated

Version 1.25.3 2000-10-26 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Handling of MOS SW data (SSC-SPR-2001)

Version 1.25.2 2000-10-20 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Warning removed (SSC-SPR-1995)
        + (doc/badpixfind_description.tex) Updated (SSC-SPR-1995)

Version 1.25.1 2000-10-20 (AMR)
--------------
	+ (config/Makefile) Added badpixfind.lyt (SSC-SPR-1991)

Version 1.25 2000-10-09 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Correct (currently wrong) CAL_getEbounds 
	  output for PN
	+ (src/badpixfind_mod.f90) Small screen ouput changes
        + (doc/badpixfind_description.tex) Updated 

Version 1.24 2000-10-06 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Energy filtering now for pn and MOS 
	+ (src/badpixfind_mod.f90) Search outside FOV performed (MOS)
        + (config/badpixfind.par) New default settings (reasonable for MOS
	  analysis, conservative for pn analysis - see documentation[comments])
        + (doc/badpixfind_description.tex) Default and suggested parameter 
          settings described
        + (test/badpixfind_test checkoutput.f90) updated (energy filtering)

Version 1.23 2000-09-29 (AMR)
--------------
        +(test/) FILTER=`NONE" changed to FILTER=`UNKNOWN' in test harness files

Version 1.22 2000-09-26 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Adapted to CAL-3.81 PSF handling (SSC-SPR-1965)
        + (test/badpixfind_test checkoutput.f90) Test harness updated
 
Version 1.21 2000-09-15 (AMR)
--------------
	+ (src/badpixfind_mod.f90) Introduced energy filtering
        + (config/badpixfind.par config/badpixfind.lyt) New optional
          energy filtering parameters: loenergythresh, hienergythresh
        + (doc/badpixfind_description.tex) Energy filtering described
        + (test/badpixfind_test checkoutput.f90) Test harness updated
 
Version 1.20 2000-08-29 (AMR)
--------------
	+ (DEPEND) emsaplib 1.7 -> 2.0
        + (src/badpixfind_mod.f90) Introduced bad pixel image map creation
        + (config/badpixfind.par config/badpixfind.lyt) New optional 
 	  map creation parameters: withbadpixmap, mappixcellsize, badpixmap
        + (doc/badpixfind_description.tex) Map creation described

Version 1.19.3 2000-06-30 (AMR)
--------------
	+ (doc/badpixfind_description.tex) Removed wrong attribute (SSC-SPR-1894)

Version 1.19.2 2000-06-21 (AMR)
--------------
	+ (DEPEND) altered to solve SOC releasetrack error

Version 1.19.1 2000-06-20 (AMR)
--------------
        + (doc/badpixfind_description.tex) Removed non-existent links (SSC-SPR-1816)
        + (config/badpixfind.par) Added new default values
        + (Changelog) Format updated
	+ (test/badpixfind_test) Updated

Version 1.19 2000-05-25 (AMR)
------------

- New Changelog format adopted, info file included
- Documentation updated (closing SPR-1689)
- Handling of extremely bright pixels altered 
- Count rate handling changed (PN exposure taken from LIVETIME)

Version 1.18  -  11-02-00
-----------

- Altered to handle new epframes output 
- Hot pixel comparison with PSF and flickering analysis updated 
- Documenataion and test harness updated

Version 1.17  -  08-02-00
-----------

- Dal-1.100 Read-only bug corrected

Version 1.16  -  27-01-00
-----------

- Small bug in output file corrected

Version 1.15  -  21-01-00
-----------

- Task now handles small windows and offset datasets (pn and MOS) [SPR]
- Detections of very large numbers of dead pixels handled properly [SPR]
- Events outside of RAWX/RAWY windows are noted. 
- More information placed in output file header. 
- Test harness and documentation updated. 

- Closed SPRs: SSC-SPR-1438, 1439

Version 1.14  -  03-12-99
-----------

- Documentation numbering changed

Version 1.13  -  26-11-99
-----------

- In PSF comparison, edge pixels handled correctly and low memory CAl used
- DISTRIBUTION file and newlines introduced
- test harness updated

Version 1.12  -  18-11-99  
-----------

- Search for flickering pixels now introduced (involving K-S and Chi2 testing). 
- Comparison of hot pixels and neighbours with PSF introduced. 
- Checking of pixels with dual entries performed. 
- Test harness updated. 
- Documentation updated. 
- DISTRIBUTION (empty) file and newline in ./Makefile added.

Version 1.11  -  24-09-99  
-----------

- Test harness updated. Exit status of each subtest program checked.

Version 1.10  -  23-09-99  
-----------

- As 1.9, with changes in DEPEND and src/Makefile (works under solaris)

Version 1.9  -  22-09-99  
-----------

- For MOS, flagged, out of CCD range events are now rejected. 
- Test harness updated. 

- Closed SPRs: SSC-SPR-1227, 1229, 1243

Version 1.8  -  16-09-99  
-----------

- In MOS case, correct backprojecting of patterns is now used. 
- Documentation updated. Also newest macros now used. 
- Test harness updated. Includes MOS pattern recognition testing. 

- Closed SPRs: SSC-SPR-1228

Version 1.7  -  03-09-99  
-----------

- Task is now completely self-contained, and does not require evselect 
  (it is now not a metatask) - this will aid future development of task.
- Because of above, no intermediate image files produced
- Task now has single default output filename
- Three SPRs have been cleared

Closed SPRs: SSC-SPR-1191, 1192, 1226

Version 1.6  -  30-08-99  
-----------

- Redelivery fixing three SPRs and discussing how two others will be solved
  in the future.

Closed SPRs: SSC-SPR-1189, 1190, 1193

Version 1.5  -  02-08-99  
-----------

- Redelivery to incorporate change in evselect

Closed SPRs: SSC-SPR-1130

Version 1.4  -  30-06-99  
-----------

- Task now works on many different array types, and on epframes, emevents and 
rgsframes output. 

- Optional parameters added to search for bad pixels. Threshold 
values can be input in terms of counts, count rates or percentages of the 
peak values in the dataset. Task can also search for whole columns (channels)
that are bad (see documentation). 

- Documentation up to date


Version 1.3  -  08-06-99  
-----------

- Use of run_badpixfind V1.2 as a template to create first proper f90 metatsk
version of badpixfind. 

- New parameters (rawxlist, rawylist, typelist, yextentlist) - These are four
individual lists of integers, specifying the user-defined bad pixel properties 
(i.e. when used in user-flagged mode [userflagbadpix=Y]).

- Documentation up to date

- The task works on the output from epframes and emevents. When ran on the 
most recent output of rgsframes that I have, I get an error - "error
(accessingAsWrongDataType), Accessing data im.PRIMARY of type 2 as int16 is
not supported". Evselect, ran on epframes or emevents output, produces type 3
images. This is fine. Evselect, ran on the rgsframes output I have, produces
type 2 (array data type) images. Hence the error.


Version 1.2  -  01-06-99 (Marco Beijersbergen)
-----------

- run_badpixfind converted into a proper metatask.

Version 1.1  -  31-05-99  
-----------

- V3 redelivery - Now works on emevents output
- Refer to Changelog for V1.0 (below) for usage of task


Version 1.0  -  27-05-99  
-----------

- First working version of approved task (submitted for V3) 

- In order that badpixfind performs to the requirements described in the task
description, it is necessary to use an f90 metatask. As even the simplest of 
f90 metasks is not as yet able to compile, the version of badpixfind
delivered here (V1.0) is a simpler script version, whereby evselect is called
only once, and only a search for hot and dead pixels is possible (i.e. when
searchbadpix=Y). Mode 2 (userflagbadpix=Y), whereby the user can flag specific
pixels or columns of pixels, works OK [see task description].

- The task works via a script, "run_badpixfind" (which is contained within
the src directory), which calls evselect and badpixfind. The script works as
follows:

run_badpixfind eventset searchbadpix userflagbadpix lothresh hithresh 
                                                             badpixset(opt)

(The output filename [badpixset] is not needed, and it is recommended to
leave it to the task to perform the naming. The values of lothresh and
hithresh are needed however, even in searchbadpix=N mode, where they just act
as dummy values, and are not used).

Examples:- 

run_badpixfind in.fits N Y 0.0 100.0 (just user-flagging, output filename
created by task, lothresh, hithresh values are dummies)

run_badpixfind in.fits Y Y 1.5 95.0 (searching for hot and dead pixels with
values above and below threshold values, user-flagging also)

run_badpixfind in.fits Y N 1.5 95.0 out.fits (searching for hot and dead 
pixels with values above and below threshold values, no user-flagging, output
file will be named out.fits)

	
Version 0.1
-----------

- Directory structure created by pkgmaker.
=========================================================================
Package cal: version 3.184 [was 3.175.3]

ChangeLog

Version 3.184 - 2006-05-17 (RDS)
---------------
	+ (src/RgsBackgroundServer.cc/h) - Mod to set the Xpsf frac to 1.0

Version 3.183 - 2006-05-15 (RDS)
---------------
	+ (src/RgsBackgroundServer.cc/h) - Upgraded to select the background
										values depending on PI and X-disp 
										psf fractions selected (SPR-2678)

Version 3.182 - 2006-04-11 (AI)
---------------
	+ (src/CcdQuantumDataServer.cc/h) - Added a new method to deal with the new 
	CCD correction factors that depend on the order. We also read the new 5 columns
	(SENS_Mx) of the QUANTUMEF CCF file.
	
Version 3.181 - 2006-03-04 (RDS)
---------------
	+ (src/RgsCoolPixDataServer.cc/h)     - Added a new atom to access RGS
											Cool pixels from the CCF. 
											(SCR-209)
 
Version 3.180 - 2006-02-22 (AI)
---------------
	+ (src/EffectiveAreaDataServer.cc/h) - Removed code to access the RGS
	effective area correction parameters from RGSn_AREACHEBY.
	+ (src/EffectiveAreaDataServer.cc/h) - Added code to access the RGS
	effective area correction from RGSn_EFFAREACORR.
	+ (src/EffectiveAreaDataServer.cc/h) - Added code to deal with the 
	time depended effective area correction. New methods added: 
	- realisticEffectiveAreaCurve
	- epochInterpolation
	
Version 3.179 - 2006-02-08 (RDS)
---------------
    + (src/EffectiveAreaDataServer.cc/h)  - Added code to access the RGS
                                          effective area correction parameters
                                          from RGSn_AREACHEBY (SPR-2658)

Version 3.178 - 2005-10-07 (RDS)
---------------
	+ (src/CcdQuantumDataServer.cc)  - Changed error status to a warning
                                       for NoQEData when part of the extraction
                                       region falls outside a small or large
                                       window (SPR-2531)

Version 3.177 - 2005-09-15 (RDS)
---------------
	+ (src/Redistribution.cc)   - updated to include support for algoid=2
                                  to avoid problems with SAS 6.1 and earlier

    + (src/OmColorTransformator.cc/h)  Added code to pass count rate to
                                       flux conversion factors (SCR-197)

Version 3.175.3 - 2005-08-04 (RDS)
---------------
	Copy of 3.176 for the release track.

=========================================================================
Package caloalutils: version 1.103 [was 1.98]

ChangeLog

Version 1.103 - 2006-04-03 (RDS)
-------------
	+ src/Ccf.h                  Added in the CoolPix CCF type (SCR-109)

Version 1.102 - 2006-02-22 (RDS)
-------------
	+ src/Ccf.h                  Moved EffAreaCorr, which replaced AreaCheby
                                 to the end of the CalDataTypes definitions 

Version 1.101 - 2006-02-22 (AI)
-------------
	+ CalDataTypes::EffAreaCorr added in Ccf.h
	+ CalDataTypes::AreaCheby removed in Ccf.h

Version 1.100 - 2006-02-21 (RDS)
------------
	+ src/Xmm.cc,h,
      Caloaldefs.f90                - added OM filters GRISM10, GRISM20 
                                      (SPR-2667)

Version 1.99 - 2006-02-08 (RDS)
------------
	+ added in Ccf.h CalDataTypes::AreaCheby  (SPR-2658)

Version 1.98 - 2005-07-11 (JSH)
------------
	+ Fix problems with HDI files (DATATYPE is 'INTEGER*2' not 'OFFSET.IM')
	in FITS files

=========================================================================
Package calpnalgo: version 2.44.4 [was 2.44.3]

ChangeLog

Version 2.44.4 - 2005-10-24 (RDS)
------------
 + (src/rmf/getpnresp.f)   - stopped the code from recalculating the
                             channel energies. It now uses the energies
                             as obtained, indirectly, from the spectrum.
                             (part of SCR-129)

Version 2.44.3 - 2004-10-28 (RDS)
------------
 + (src/rmf/getpnresp.f    - read fixed parameters from CCF
    src/rmf/pem_model.f)   - SCR-183

=========================================================================
Package colimchain: version 1.8 [was 1.6.1]

ChangeLog

Version 1.8 - 2004-08-04 (IMS/LUX)
----------------------
- Test harness now fails if test data not found.

Version 1.7 - 2004-03-25 (IMS/LUX)
----------------------
- Copy of patches to devtrack.

Version 1.6.1 - 2004-03-16 (IMS/LUX)
----------------------------
- Brought documentation up to date.

=========================================================================
Package colimplot: version 3.13 [was 3.10.5]

ChangeLog

Version 3.13 - 2004-11-03 (IMS/LUX)
----------------------
- Changed type of mask argument to ssclib/array_utils:valueAtHistoFraction from logical(bool) to logical in accordance with ssclib-3.17.
- Updated DEPEND of ssclib to 3.17.

Version 3.12 - 2004-08-04 (IMS/LUX)
----------------------
- Test harness now fails if test data not found.

Version 3.11 - 2004-03-25 (IMS/LUX)
----------------------
- Copy of patches to devtrack.

Version 3.10.4 - 2004-03-16 (IMS/LUX)
----------------------------
- Corrected param name in doc (--gain to --usergain).
- Removed obsolete --testtype param from .par file.

Version 3.10.3 - 2004-03-03 (IMS/LUX)
----------------------------
- Slight fixes to accommodate changes to ssclib-3.6.8 modules dss_aux, dss_ranges_aux and exposure.

Version 3.10.2 - 2004-01-14 (IMS/LUX)
----------------------------
- Fixed SPR 3191.

Version 3.10.1 - 2003-12-18 (IMS/LUX)
----------------------------
- Changed from using two local routines to using ssclib/array_utils.f90:valueAtHistoFraction. This in an attempt to fix SPR 3184.

Version 3.10 - 2003-11-24 (IMS/LUX)
----------------------------
- Removed old code.

Version 3.9 - 2003-11-05 (IMS/LUX)
----------------------------
- Temp_ssclib modules now merged into ssclib-3.0.
- Slight documentation fix propagated from reltrack (version 3.6.1).
- Changed from internal function bias() to ssclib function warp().
- A lot of getEnergyRanges now replaced with calls to ssclib/dss_aux.
- Home-grown intervalType replaced by dsslib RangeT.
- Some other minor replacement of local calls by ssclib calls.
- All output in test harness script now sent to STDERR.

Version 3.8 - 2003-06-18 (GV)
-----------
	+ DEPEND param 2.0, dsslib 5.0

Version 3.7 - 2002-10-18 (IMS/LUX)
----------------------------
- Back to param-2.n for devtrack upload.

Version 3.6 - 2002-10-18 (IMS/LUX)
----------------------------
- Fixed SPR 2993 (made --insets mandatory).
- Changed dependencies to be consistent with releasetrack.
- Back to pre-2.0 param.

Version 3.5 - 2002-08-12 (IMS/LUX)
----------------------------
- Fixed compile-time bug (wrong argument to a ssclib routine).

Version 3.4 - 2002-07-10 (IMS/LUX)
----------------------------
- Upgraded to param>2.0.

Version 3.3.1 - 08 Mar 2002 (IMS)
----------------------------
- Updated DEPEND.

Version 3.3 - 23 Jan 2002 (IMS)
----------------------------
- Fixed lyt file.
- Added style 'user' to the accepted --refclrstyle choices and added --refclr to cater for this style. The reference colour RGB triplet is also now printed out at noisy verbosity.
- Updated depend and fixed compile bugs.

Version 3.2 - 14 Sep 2001 (IMS)
----------------------------
- Fixed a bug that prevented non-xmm images from being used.

Version 3.1 - 11 Sep 2001 (IMS)
----------------------------
- Included evselect and testodf in DEPEND.

Version 3.0 - 11 Sep 2001 (IMS)
----------------------------
- New algorithm designed to produce pleasing colours.
- When --pgdev=ppm and --withframe=yes, the image frame info is now output to a gif, and the ppm file is scaled to fit into this frame; this is so colimchain can add them together and convert the whole thing to png. The frame pixel sizes are written to file chain_coms.dat.
- Access of PI selection ranges from the DSS is now more intelligent. The new routine requires ssclib/sort_mod.
- Constants now read from ssclib/constants.
- Fixed bugs in net flux scaling.
- Removed parameters --fluxtransformstyle, --bkglevel, --clrcontrast, --*amp, --preserveaspect.
- New parameters --negremovalstyle, --pixelfraction, --tofluxfraction.
- Renamed parameters --bbrefstyle, --internalrefstyle.

Version 2.2 - 24 May 2001 (IMS)
----------------------------
- Introduced new parameter --heatspread.
- Introduced fits output.

Version 2.1.2 - 08 May 2001 (IMS)
----------------------------
- Fixed booboo in test harness.

Version 2.1.1 - 27 Apr 2001 (IMS)
----------------------------
- Removed redundant parameters from code.
- Added 'use metatask_mod'; task version now obtained from this.

Version 2.1 - 8 Apr 2001 (IMS)
----------------------------
- Changed parameter pgdev to adhere more closely to implot style.
- Inverted sense of parameter --satatfrac and renamed it as --gain.
- Introduced parameter --gainstyle, either 'user' or 'auto'.
- Now calculate a gain corrector as a function of amount of rebinning.
- Changed reference colour parameters for consistency with task description.
- Lots of bugs fixed.

Version 2.0 - 15 Mar 2001 (IMS)
----------------------------
- Complete algorithm rewrite.

Version 1.2.5 - 1 Dec 2000 (IMS)
----------------------------
- Included .lyt, .info in config/Makefile.

Version 1.2.4 - 23 Nov 2000 (IMS)
----------------------------
- Updated documentation.

Version 1.2.3 - 16 Nov 2000 (IMS)
----------------------------
- Fixed static build problem.

Version 1.2.2 - 9 Nov 2000 (IMS)
----------------------------
- New subroutine tested that fixes some colour assignment bugs.

Version 1.2.1 - 25 Oct 2000 (IMS)
----------------------------
- Fixed some bugs.

Version 1.2 - 9 Oct 2000 (IMS)
----------------------------
- Parameter interface expanded and rationalised.

Version 1.1 - 26 Sep 2000 (IMS)
----------------------------
- Error on different image sizes changed to a warning.
- Huge test files eliminated.

Version 1.0 - 25 Sep 2000 (IMS)
----------------------------
- First delivery.

Version 0.1 - 29 Aug 2000 (IMS)
----------------------------
- Draft documentation circulated.

=========================================================================
Package colsmooth: version 1.7 [was 1.6.1]

ChangeLog

Version 1.7 - 2004-03-25 (IMS/LUX)
----------------------
- Copy of patches to devtrack.

Version 1.6.1 - 2004-03-16 (IMS SSC/LUX)
--------------------------
- Updated the documentation.

=========================================================================
Package dal: version 1.182 [was 1.181.1]

ChangeLog

Version 1.182 - 2005-06-01 (JSH)
	+ SPR2491 - (MemFitsReaderWriter.cc) Verbosity level of "Optimal number of rows" message changes
	+ SPR2417 - (dal_implementation.cc) F90 seek() rejects negative counts
	+ SPR2523 - (dal_utilities.cc) Add TCROT to ColumnKeywords

Version 1.181.1 - 2004-03-05 (JSH)
-------------
	+ SPR2478 - Fix spr2390_cfitsio test case for Tru64

=========================================================================
Package daltools: version 1.9 [was 1.7.3]

ChangeLog

Version 1.9 - 2006-01-20 (EO)
-----------
	+ Previous change forgot to apply renaming to config files. 
	dsmv.lyt, .par, .info were renamed to dsmove.lyt, .par and 
	.info respectively. Closes SPR 2640.

Version 1.8 - 2005-09-13 (EO)
-----------
	+ No changes to code in 1.7.4 but uploaded with a new version
	to diferentiate it from 1.7.3. Version 1.7.4 was rejected.
	On release track builds, the latest version appearing should 
	then be 1.7.3 as it was in SAS 6.5.0 manifest.

Version 1.7.4 - 2005-09-02 (EO)
-------------
	+ dsmv.cc reinstated into package but as dsmove.cc

Version 1.7.3 - 2004-05-12 (EO)
-------------
	+ Removed dsmv.cc from directory src.

=========================================================================
Package datautils: version 1.11 [was 1.10.1]

ChangeLog

Version 1.11   - 2006-02-02 (RDS)
-----------
        + (src/PilxelIterator.cc)       - Remove messages which tell the
                                          user to raise an SPR (SPR-2655)

Version 1.10.1   - 2004-02-27 (RDS)
-----------
        + (src/WCSConvertor.cc)       - handles detector coords defined
                                        in degrees (SPR-2509)

=========================================================================
Package dpssflag: version 7.0.1 [NEW]

ChangeLog

Version 7.0.1 - 2006-02-24 (MC)
----------------------	
- Update parameter description in dpssflag.par file
	
Version 7.0 - 2006-02-18 (MC)
----------------------	
- Correct bug in Flag 4 which was not taking into account 'brlimit' properly
- Remove flags 6,8
- Rename flags 7,9,10 --> flag 6,8,9 
- Add new flag (flag7) for "likely spurious extended source"

Version 6.0 - 2006-02-03 (MC)
----------------------	
- Added new parameter 'maxextrad' to control maximum radius for 'circle of extended emission' in Flag 3
Version 5.0.2 - 2006-01-23 (MC)
----------------------	
- Correct bug in PN bad columns definition: incorrect length for RAWX=63 column
Version 5.0.1 - 2006-01-17 (MC)
----------------------	
- Correct for unknown MOS submode FastUncompressed
- Add new PN bad columns (RAWX 63 and 64)
Version 5.0 - 2005-12-22 (MC)
----------------------	
- Add new parameter to control activation of Flag10
Version 4.0 - 2005-12-13 (MC)
----------------------	
- Correct new version number due to parameter interfaces changes (same as 3.4)
Version 3.4 - 2005-12-13 (MC)
----------------------
- Added new parameters: minrad, maxrad and op1,op2 to set the 'circle of influence' of a source (flags 2,4)
- Added check in MOS Submodes to avoid initialisation problems in raBC/decBC arrays.
- Add MOS submodes W3,W4,W6 for Flag 10 settings.

Version 3.3.4 - 2005-11-23 (MC)
----------------------
- Correct bug for distance calculation for Flag 10 in MOS camera
- Include check to avoid flagging sources with SCTS=NULL 
- Include in flagging process those sources with RAWX/RAWY/CCDNR=NULL 
  in a given instrument but with correct RA/DEC coordinates
- Propagate Flag1 value to summary row if any of the bands/instruments for
  the source has Flag1="T"
Version 3.3.3 - 2005-11-09 (MC)
----------------------
- Adapted to ssclib-3.27 (applyAttcalcFudge = .true.)
- Updated documentation	
Version 3.3.2 - 2005-11-02 (MC)
----------------------
- Solve bug in Flags 9/10 :
	- wrong distance calculation
	- incorrect flagging of idinst=0 when only 2 instruments
	- consider also adjacent CCDs for PN
- Add flags 9 & 10 also to ID_BAND=0
Version 3.3.1 - 2005-10-31 (MC)
----------------------
- Solve bug in Flags 9/10 (flags were for wrong MOS1 CCD; now it also considers adjacent CCDs)
Version 3.3 - 2005-10-27 (MC)
----------------------
- Correct bug in attribute name for MOS1 submode
Version 3.2 - 2005-10-27 (MC)
----------------------
- Modify Flag 9 and 10:
	* Flag9: ON bad PN band 1 column or M1 hot pixels
	* Flag10 : CLOSE to bad PN band 1 column or to M1 hot pixels
Version 3.1 - 2005-10-14 (MC)
----------------------
- Split Flag 9 into to Flags:
	* Flag9: ON bad PN band 1 column
	* Flag10 : CLOSE to bad PN band 1 column
Version 3.0 - 2005-10-06 (MC)
----------------------
- Adds new Flag 9: T if source in PN (band 1 or  band 0) is closer than a critical distance to a bad PN band1 column
	
Version 2.2 - 2005-09-05 (MC)
----------------------
- Solved bug in array indices

Version 2.1 - 2005-07-22 (MC)
----------------------
- Solved problem caused by a source already flagged with Flag2 (Flag3) due to a different source than that causing flagging with Flag4 (Flag5).
	
Version 2.0 - 2005-07-21 (MC)
----------------------
- Added 5 new flags for extended sources
- Parameter interface modified
	
Version 1.2 - 2005-04-05 (MC)
----------------------
- Bug corrected: 'extlimit' parameter was incorrectly named 'extfactor' inside code.
Version 1.1 - 2005-04-01 (MC)
----------------------
- Task renamed 'dpssflag' (instead of 'flag')
- Updated to be used with new format 'emldetect' source lists: VERFLAG column moved to FLAG column

Version 1.0 - 2004-11-11 (MC)
----------------------
- Main functionality - task creation

	
Version 0.1 - date
----------------------------
- Directory structure created by pkgmaker.

=========================================================================
Package dpsssrc: version 1.1 [was 0.7]

ChangeLog

Version 1.1  -  2006-03-13 (bol)
	+ adding OMSRLI file


Version 0.4.2 - 2003-01-09 (bol)
-------------
        + adding column AENPGX for flag setting selection (bol)
        + IND_SOL can be modified if it exists

Version 0.4.1 - 2001-05-09 (bol)
-------------
        + output prefix as optional parameter
	+ changed program name from flag to dpsssrc

Version 0.4 - 2000-11-23 (bol)
-----------
        + ChangeLog updated [closed SSC-SPR-2103]

Version 0.3 - 2000-11-18 (bol)
-----------
	+ upgrade due to new ML source list structure


Version 0.2 - 2000-03-09 (bol)
-----------

	+ Fixed dependency (fixes SSC-SPR-1554 and more)
	+ Fixed list of files to remove

Version 0.1
-----------

	+ first delivery as SAS tasks

=========================================================================
Package dscalc: version 2.6 [was 2.4]

ChangeLog

Version 2.6 - 2006-02-27 (AI)
-----------
	+ (phasecalc) Frame Time and period checking (related to SPR-2632).
	+ (phasecalc) New keyword (PERIOD) added to the header (related to 
	SPR-2632)
	
Version 2.5 - 2005-06-06 (JSH)
-----------
	+ SPR 2511 (phasecalc) Use TIMESYS attribute in input table to modify 
	Epoch. 
	
	The assumption is:
	* Input Epoch is UTC
	* Default Time System is TT (in case that there is no TIMESYS keyword)

Version 2.4 - 2002-09-20 (GV)
-----------
	+ It now works with gcc-3.1
	
=========================================================================
Package ebadpixupdate: version 1.8 [was 1.7.1]

ChangeLog

Version 1.8 - 2005-12-16 (JB)
------------------------

- Fixed SPR-3554: ebadpixupdate show side effect on other CCD
  Serious bug in evFlagImage which occurred when overwrite=Y.
  In that case all CCDs were cleared of their flags while only those
  defined by the user were recomputed, leaving the others unflagged.
- Cleaned up test directory.

Version 1.7.1 - 2005-06-07 (NW)
-------------------------- 

- Changes made to the DEPEND for the releasetrack version
	
=========================================================================
Package eboxdetect: version 4.19 [was 4.15.1]

ChangeLog

Version 4.19 -  2004-02-02 GL
-------------------------------	

Changed dimension of variable 'double' to max_ima

	
Version 4.18 -  2004-02-01 GL
-------------------------------	

Changed maximum number of input instruments/pointings
and max. number of input images:
max_ins = 12
max_ima = 60
	
	
Version 4.15.1 -  2004-01-20 GL
-------------------------------	

Same as 4.17 - for release track
Removed test output
	
	
=========================================================================
Package edetect_chain: version 2.16.2 [was 2.13]

ChangeLog

Version 2.16.2 - 2006-06-02 (GL)
------------	

Removed dal from Makefile
	
Version 2.16.1 - 2006-06-02 (GL)
------------	

Removed pedal from DEPEND file.

	
	
Version 2.16 - 2006-03-10 (GL)
------------	

New parameters for esplinemap:
   esp_fitmethod
   esp_withexpimage2
New parameters fo emldetect:
   eml_withtwostage
   eml_withthreshold
   eml_threshold
   eml_threshcolumn

Fixed problem with parameter esp_withcheese
Updated documentation
Closed SSC-SPR-3490
Closed SSC-SPR-3561
	

Version 2.15 - 2004-08-20 (GL)
------------
Fixed errors with new parameter "eml_maxextent"	


	
Version 2.11 - 2004-08-20 (GL)
------------	

Remove extension name (:EVENTS) from event list string.
Close SSC-SPR-3366
Add "eml_maxextent" to parameter list.
	
Version 2.10.4 - 2004-05-04 (GL)
------------	

Added pimin and pimax parameters to 
call of esplinemap.
	
Version 2.10.3 - 2004-05-04 (GL)
------------	

Removed interpr from DEPEND
	
Version 2.10.2 - 2004-02-25 (GL)
------------	

Replaced DAL call to read keywords by 'fkeypar'.
	
	
Version 2.10.1 - 2003-12-11 (GL)
------------	

identical with  v2.10
Changed version number for release track

	
Version 2.10 - 2003-12-10 (GL)
------------	

updated DEPEND file

	
Version 2.9 - 2003-11-03 (GL)
------------	
	
removed messages containing task calls.
	
	
Version 2.8 - 2003-06-27 (GL)
------------	

Closed SPR: 
  SSC-SPR-3117 - perl compilation problem on xmmps03

	
Version 2.7 - 2003-06-27 (GL)
------------	

Added parameter eml_extentmodel.
Adapted to change in DAL. 

	
Version 2.6 - 2002-11-19 (GL)
------------	

Added parameter eml_fitnegative
Don't use .TGZ or .gz extensions for uncompressed output files.

	
Version 2.5 - 2002-05-27 (GL)
------------

Closed SPR:
SSC-SPR-2839 - references in the documentation for edetect_chain
Converted .par file to XML
	
Version 2.4 - 2002-04-17 (GL)
------------

Added parameters for esplinemap: 
esp_withootset
esp_ooteventset
	
Version 2.3 - 2002-01-14 (GL)
------------
	
Fixed test harness. 
Corrected documentation.

	
Version 2.2 - 2002-01-07 (GL)
------------

Open data sets in low memory mode, release memory.
Changed default parameter values:
   eex_withpatterns=false
   esp_withdetmask=true
   esp_withexpimage=true
   eml_determineerrors=yes
Added parameters 
   eml_withdetmask
   eml_detmasksets

Version 2.1 - 2001-11-22 (JBa)
------------
        + (doc/edetect_chain_description.tex): fixed documentation

	
	
Version 2.0 (2001-08-29) GL
-------------------------------

Complete rewrite of the task in Perl.
Task now has full SAS/GUI interface. 
	
Closed SPRs:

SSC-SPR-2434: Should be VISIBLE=no
SSC-SPR-2338: make it a proper SAS task
SSC-SPR-2062: edetect_chain does not respond correctly to -v
SSC-SPR-1258: edetect_chain should check the status of each task
	
	
	
Version 1.12 (2001-04-10) GL
-------------------------------

Fixed test harness
Adjusted parameter settings
	
Version 1.12 (2001-04-03) GL
-------------------------------

Closed SPR:

+ SSC-SPR-2253 fails test harness

Updated parameter lists for latest versions of detection tasks
	
	
Version 1.11.1 (2000-11-09)
---------------------------

Closed SPR:

+ SSC-SPR-1258 edetect_chain should check the status of each task	
	
Version 1.11 (2000-10-08)
-------------------------

+ DEPEND file and test harness updated	
	
Version 1.10 (2000-07-14)
-------------------------

+ now creates exposure maps of all energy bands 
  in one call to program eexpmap	
	
Version 1.9.1 2000-07-03
------------------------

+ now uses 5 energy bands
+ test harness uses real data
+ documentation updated	

	
Version 1.9 (March 6, 2000)
---------------------------

- adjusted to work with emldetect 3.3	
	
	
Version 1.8 (February 25, 2000)
-------------------------------

- adjusted to work with new detect task versions
	
	
Version 1.7.1 (Marco Beijersbergen, 1999-12-15)
-------------
- added DISTRIBUTION


Version 1.7 (September 16, 1999)
--------------------------------

- this version now reads the attitude file format provided by 
  task atthkgen
	
	
Version 1.6 (September 14, 1999)
--------------------------------	
	
- test harness adjusted to work with new versions of tasks
  eboxdetect and emldetect	

	
Version 1.5 (August 26, 1999)
-----------------------------

- test harness adjusted to work with new versions of tasks
  eboxdetect, emldetect, and esensmap.	
	

Version 1.4 (July 13, 1999)
---------------------------
	
- task parameters changed to conform to conventions.
	
	
Version 1.3 (July 8, 1999)
--------------------------
	
- test harness changed	
	
Version 1.2 (June 18, 1999)
---------------------------

Multi band/multi instrument version. The number of bands is
hardcoded to "4" but may be edited in src/edetect_chain
to values in the range 1...18.
	
Version 1.0
----------------------

First submitted version.
=========================================================================
Package eexpmap: version 3.41 [was 3.37.3]

ChangeLog

Version 3.41 -  2004-08-24 (GL)
--------------------------------

Copy WCS header keywords into array section of header.
Close SSC-SPR-3135 

	
Version 3.37.3 -  2004-02-17 (GL)
--------------------------------

Same as 3.40, for development track
	
=========================================================================
Package efftplot: version 2.16.4 [was 2.16.1]

ChangeLog

Version 2.16.4 - 2006-03-07 (NAW)
----------------------------------

        If there were no GTIs in the GTI file, the task went ahead and 
        produced the output file regardless.  Now the task gives a warning 
        and no power spectrum plot is produced.  The documentation has 
        been updated.
    

Version 2.16.3 - 2005-11-29 (IMS/LUX)
        -------------------------------
Last mod introduced a seg fault; now fixed.


Version 2.16.2 - 2005-11-24 (NW)
        -------------------------------

  	Changed the error NotEnoughBins to a warning and kept the status 
	that no output file is produced in this case, as requested so that 
	there are fewer errors in the pipeline logfile.  The documentation 
	has also been updated. 

	
Version 2.16.1 - 2005-06-07 (NW)
        -------------------------------
  
	Changes made to DEPEND for the releasetrack version

	
=========================================================================
Package eimchip2sky: version 2.0.1 [was 1.7.1]

ChangeLog

Version 2.0.1 - 2006-05-07 (IMS/JBO)
----------------------
- Filled in a few error messages and slightly updated the documentation.
- Added an inadvertently omitted parameter --withindices to eimchip2sky.
- Renamed --withcubeindices and --cubeindices of ecubechip2sky to --withindices and --indices respectively.

Version 2.0 - 2005-11-07 (IMS/LUX)
----------------------
- Upgraded to comply with interface changes in attcalc-1.2.
- DEPENDency on attcalc2 changed to 1.2.
- DEPENDency on ssclib changed to 3.27.
- Parameter --withbinnedattset replaced by --attstyle to come into line with interfaces for ebkgmap and lccorr tasks.
- Many more options for weighting the attitude samples are now provided.
- Task eimchip2sky split into two: eimchip2sky and ecubechip2sky. These are the same, except the 1st accepts a list of chip images as input, whereas the second accepts a (list of) cube(s) as input. The previous eimchip2sky accepted either, but with the additional capability, the parameter interface was getting a bit snarled up. The split simplifies things.

Version 1.10 - 2005-11-02 (IMS/LUX)
----------------------
- Former logical(bool) overloading of subroutine cube_aux.f90:writeCubeData now requires a plain logical cube argument; it also now writes the key table.
- Changed some prints to 'call message' in chip2im and eimchip2sky_aux.
- Added some error codes.
- Now it's possible to have --withbinnedattset=no and --withgtisets=no. Task wouldn't allow this before.

Version 1.9 - 2005-04-05 (IMS/LUX)
----------------------
- Changed DEPEND on attcalc2 to 1.0 to fix build problem.

Version 1.8 - 2004-11-08 (IMS/LUX)
----------------------
- Package seems to need 'selector' in the USEDLIBS line to compile under linux.

Version 1.7 - 2004-09-06 (IMS/LUX)
----------------------
- An allocatable array was allocated within a loop but not deallocated. This is now fixed.

Version 1.6 - 2004-09-06 (IMS/LUX)
----------------------
- Rearranged the parameters a little so as to allow the task to write to several output images (of identical wcs and dimensions). This has entailed: changing --chipcubeset to --chipcubesets and --outset to --outsets; deleting --outstyle (the task now is restricted to creating new images rather than adding to existing ones); and adding --withcubeindices, --cubeindices and --indices.
- Introduced new parameters --withnodes and --nodes.
- --multiplybytime deleted and --withnormalize and --normstyle substituted.
- --withccds replaced by --ccdstyle.
- --withgtis changed to --ignorecubegtis.
- Moved gtiVecType (was intervalVecType) from cube_aux to ssclib/intervals_aux.
- attcalc2 dependency increased to 0.3; ssclib dependency increased to 3.16.
- String parameter --regridstyle replaced by boolean --conserveflux.

Version 1.5 - 2004-08-17 (IMS/LUX)
----------------------
- Added approximate rebinning algorithm (which hopefully will be faster). A new parameter --usefast has been added to access this algorithm.
- writeCubeData now takes a vector, of new type keyInfoType, which it writes to a binary table extension of the output. The rows of this link each image plane with a ccd/node number and also the name of the GTI extension.
- New routine readCubeData added to cube_aux.

Version 1.4 - 2004-08-10 (IMS/LUX)
----------------------
- Added taskmain to DEPEND.

Version 1.3 - 2004-06-28 (IMS/LUX)
----------------------
- Added patch to deal with non-zero roll angle until SOC SPR 2523 is implemented.
- In module cube_aux.f90, routine writeCubeData now overloaded to accept both real(single) and logical(bool) cube arguments.
- Now uses library binnedatt in (probably temporary) package attcalc2. attcalc2 added to DEPEND.
- Test harness now fails if test data not found.

Version 1.2 - 2004-05-03 (IMS/LUX)
----------------------
- Attitude and timestamp info is now sought in the template image rather than the cube dataset.
- Added parameter --withgtis, active when --instyle='cube'.

Version 1.1 - 2004-05-03 (IMS/LUX)
----------------------
- 'use polygon' changed to 'use regridders' and thus now depends on ssclib-3.10.
- Tasks eimpolar2sky and eimdet2polar added.

Version 1.0 - 2004-04-30 (IMS/LUX)
----------------------
- Probably about time to go to version 1.0. The name has been changed from echip2sky (SCR 2517).
- Updated the ssclib interfaces to 3.9 standard.
- Rearranged code so as to provide access to the central algorithm by other tasks.

Version 0.4 - 2004-04-05 (IMS/LUX)
----------------------
- Now uses test data in package testprods.

Version 0.3 - 2004-03-25 (IMS/LUX)
----------------------
- Copy of patches to devtrack.

Version 0.2.2 - 2003-12-17 (IMS SSC/LUX)
----------------------------
- Added 'selector' to the src/Makefile:USEDLIBS line. Without this the task wouldn't compile statically. Fixes SPR 3177.

Version 0.2.1 - 2003-12-12 (IMS SSC/LUX)
----------------------------
- Added some documentation.

Version 0.2 - 2003-12-11 (IMS SSC/LUX)
----------------------------
- Changed to reflect the movement of andIntervals from ssclib/dss_aux to ssclib/intervals_aux.

Version 0.1 - 2003-12-10 (IMS SSC/LUX)
----------------------------
- First draft.

=========================================================================
Package ekstest: version 2.2.4 [was 2.1]

ChangeLog

Version 2.2.4 -  2006-06-13 (NW)
----------------------------

      Change made to the chi-squared test (documented in the documentation 
      and the commented in the source code) as the reduced chi^2 values were 
      somewhat shifted from the expectation values in tests made with 2XMM.
       

Version 2.2.3 -  2006-03-14 (NW)
----------------------------

      Changed the version of ssclib in the DEPEND file for the release 
      track version.
       

Version 2.2.2 -  2006-03-07 (NW)
----------------------------

       Following SSC-SPR-3591 and tests carried out by AS and NAW it appears 
       that the incommplete gamma function available in the ssclib gives more 
       consistent results than the gamma_function_Q used originally in this 
       task and thus is now used in ekstest. 


Version 2.2.1 -  2006-02-03 (NW)
----------------------------

       Shortened the comments to the keywords:  KVSVSTAT, KVSVPROB, 
	CHI2PROB, FLARE, VARIATIO to have less than 40 characters, 
	following SPR-3578, where it was noted that the the comments 
	were too long for the available space.
	

Version 2.2 -  2005-09-14 (NW)
----------------------------

        Modified the chi-squared test as it was producing a negative 
	chi-squared statistics and thus incorrect probabilities, in 
	response to SSC-SPR-3516, Task generates negative chi-sq statistic.
	This occurred for datasets that were almost uniquely negative.  
	To rectify the problem, when calculating the chi-squared statistic, 
	the (O-E)**2 is divided by the absolute value of the Expected value.
	
	
Version 2.1 -  2005-04-19 (NW)
----------------------------

        Updated the documentation to make it clear that no variability
 	tests are carried out if there are insufficient good bins.
		
=========================================================================
Package elcplot: version 2.3 [was 2.1]

ChangeLog

Version 2.3 - 2005-10-21 (IMS/LUX, NW)
----------------------------	

      - The task seg faulted on some data sets (spr 3524), on entrance to
        subroutine make_one_plot. This appears to be more f95 sillies. I 
	removed some evaluations which were being done within the argument 
	list of the call to make_one_plot, which has fixed the problem for 
	the test data set in any case.

	Further testing carried out on both linux and solaris with other data 
	sets which verified that the task runs OK for this subset of datasets
 	too.
	

Version 2.2 - 2005-09-20 (NW)
----------------------------	

        Increased the y-scale range of the GTI plot following a request from 
	Leicester.  Previously the fracexp histogram plotted on the 
	same plot overlapped with the GTI points making it difficult to read.
	

Version 2.1 - 2005-02-21 (NW)
----------------------------	

        Changed the table from which the header information is read, back
	to the first extension (previous alterations having modified the
	selection of the original table).
	

=========================================================================
Package emask: version 2.11 [was 2.9]

ChangeLog

Version 2.11 - 2005-02-14 (GL)
---------------------------------

New version number due to upload problem.
	
Version 2.10 - 2005-02-14 (GL)
---------------------------------

Implement optional use of fits region file to exclude circular
regions from mask.
	

Version 2.9 - 2003-06-18 (GV)
-----------
	+ Add sas to DEPEND.
	
=========================================================================
Package embadpixfind: version 2.2 [was 2.1.1]

ChangeLog

Version 2.2 - 2005-09-12 (JB)
-----------
- Fixed SPR 3517: Task fails with SLATTEC error.

Version 2.1.1 - 2005-04-22 (JB)
-------------
- Fix bug occurring when entire CCD is set to bad (for MOS1 CCD6).

=========================================================================
Package emchain: version 11.14 [was 11.12]

ChangeLog

Version 11.14.1  -  2006-06-20 (JB)
---------------
- Do not check CALINDEX extension.

Version 11.14  -  2006-01-24 (JB)
-------------
- Adjust test harness to emframes 5.6.

Version 11.13  -  2005-08-05 (JB)
-------------
- Rename individual files with instrument and exposure when runevlistcomb=N
  to avoid overwriting one exposure with the next one.
- Parameter withemevents was inoperant.

Version 11.12  -  2005-07-26 (JB)
-------------
- Propose #XMMEA_SM for spectral selection in the documentation.
- Developments in preparation to calling lccorr for flare screening.

=========================================================================
Package emevents: version 8.4 [was 8.2.5]

ChangeLog

Version 8.4 - 2006-01-27 (JB)
-----------
- Set y_size_window to 1025 in compressed timing mode.

Version 8.3 - 2006-01-26 (JB)
-----------
- Fix SPR 3575 (Subscript 1 of OFFSETY (value 602) is out of range (0:601))
  This occurred in TIMING or COMPRESSED TIMING mode whenever no associated
  offset/variance file was present.

Version 8.2.5 - 2005-04-20 (JB)
-------------
- Bug in the rejectE3 routine when the number of events is very small.

=========================================================================
Package emframes: version 5.6 [was 5.3]

ChangeLog

Version 5.6 - 2006-01-20 (BFM)
-----------
- Missing deallocation of arrays, resulting in error in low memory mode.

Version 5.5 - 2006-01-04 (BFM)
-----------
- Slight improvement of the timing accuracy (0.2 ms at most) by correcting
  for the difference between the standard FTFINE unit (40 us) used in
  OAL_frameCounterToObt and the better one (39.99 us) used in emframes.

Version 5.4 - 2005-11-15 (BFM)
-----------
- Implemented a sort procedure in FRAMES before data handling to deal
  with files containing repeated or out of order frame IDs. The list of
  frame IDs is scanned first, and only a subset of the sequence is sorted.
  A permutation array is created to access the frames in order of increasing
  frame ID.  This preserves data and events in good frames that were
  previously rejected because they appeared out of the normal sequence.
- Divided main loop in FRAMES into three loops to improve legibility
  of code and remove some of the intermediate arrays. The first loop
  scans through all frames and flags problems in the frame numbering
  and time sequence.  The second loop deals with telemetry drops and
  event cleaning.  The third (very small) loop writes data to the output 
  arrays, skipping over bad frames.
- Added three flags: flag_badfid (64) and flag_mulfid (16) are used 
  to identify rejected and retained frames repectively in a sequence
  of duplicated frame numbers. flag_t_dec (16384) is used instead of 
  flag_t_wrong (2048, formerly named flag_time) to identify frames 
  where the time tag decreased. flag_t_wrong is now used only in cases 
  where the time tag was negative or jumped in a fashion incompatible 
  with extended frames or telemetry drops.
- removed some of the intermediate allocatable arrays.
	
Version 5.3 - 2003-07-01 (JB)
-----------
- Force clone to High Mem for compressed files.

=========================================================================
Package emldetect: version 4.59.1 [was 4.44.11]

ChangeLog

Version 4.59.1 - 2006-05-03 GL
-------------------------------

If input source is outside FOV and therefore
not fitted, do not write any entry in output table for this source.
Updated documentation.
Remove warning "Number of ECFs not equal number of images",
if parameter withxidband is not set.
		
	
Version 4.59 - 2006-05-03 GL
------------------------------

Based on v4.44.19
New parameter minextent for minimum possible 
source extent (in units of image pixels).
Avoid exit out of loop over sources, if one source
is completely out of the FOV (subroutine emldetect).ls
Close SSC-SPR-3609	
	
	
Version 4.44.19 - 2006-04-26 GL
------------------------------

Set ONTIME to 0.0, if maskfrac < psfthreshold
Correct error causing maskfrac=1.0 in single band rows,
	where it should be 0.0

	
	
Version 4.44.18 - 2006-04-21 GL
------------------------------

Throw out source in an instrument,
if min(psffrac) of all energy bands < psfthreshold.

Write min(psffrac) into energy band summary row.

New output column OFFAX.
Contains offaxis angles for each instrument in arcminutes.
	
	
Version 4.44.17 - 2006-02-27 GL
------------------------------

Subroutine emlfit: set SCTS error values to 0.0
where source was rejected due to small valid mask fraction.
This avoids wrong error values in the ID_INST=0 row of the
output table.

	
Version 4.44.16 - 2006-02-06 GL
------------------------------	

Change output of subroutine 'like'
	to double precision.
	
	
Version 4.44.15 - 2006-01-06 GL
------------------------------	

Throw out detection in an instrument only,
if (psffrac < psffthreshold) in all energy bands 
of that instrument.
Use maximum of psffrac values in summary band row
of column MASKFRAC.

	
	
Version 4.44.14 - 2005-12-05 GL
------------------------------	

Increase max number of iterations (nit) 
in subroutine felsu to 50.
-> accurate positional errors.
Close SSC-SPR-3549

	
Version 4.44.13 - 2005-11-06 GL
------------------------------	

Initialize variable nband before first use in subroutine mulsou
Close SSC-SPR-3536
Improve calculation of internal background map, extent model is 
now calculated to radius=10*sigma before folding with PSF (previously 3*sigma).
	
	
Version 4.44.12 - 2005-10-11 GL
------------------------------	

identical with version 4.57.1 
release track version
	

	
Version 4.57.1 - 2005-09-20 GL
------------------------------	

Write instrument summary row also for single instrument runs.
	
	
Version 4.57 - 2005-08-23 GL
------------------------------	

Avoid crash due to unallocated array, when input list with
non-zero EXT values and parameter fitextent=no are combined.
Close SSC-SPR-3481. 
	
Version 4.44.11 - 2005-08-04 GL
------------------------------	

Fixed small syntax error, 4.44.10 did not compile.

	
=========================================================================
Package emosaic: version 1.14 [was 1.12]

ChangeLog

Version 1.14 - 2005-11-23 (IMS/LUX)
----------------------
- Added a new parameter --forceuniformkwds in order to close SPR 3546. Default is 'no' so default behaviour of the task is unchanged.
- Made now explicit type conversions when writing from working image (4-byte real) to file.

Version 1.13 - 2005-10-31 (IMS/LUX)
----------------------
- I rejigged subroutines calculateOutputSize and addImage in an attempt to solve spr 2906, 3424, 3457 and 3458.
- DEPEND of ssclib upgraded to 3.27.
- Directory string is now truncated to leave the bare file name written to keywords EMCSFnnn. This should close spr 3068.

Version 1.12 - 2004-08-04 (IMS/LUX)
----------------------
- Test harness now fails if test data not found.

=========================================================================
Package emsaplib: version 2.29 [was 2.28]

ChangeLog

Version 2.29 - 2005-08-18 (JB)
------------
- Fixed SPR 3453 (emchain ends with error when badpixfindalgo is set to EP).
  Avoid reading BADFLAG column when it does not exist (as in output of
  badpixfind) in readBadpix (badpixutils_mod.f90).

Version 2.28 - 2005-01-10 (JB)
------------
- Add complement of Poisson cumulative distribution.
- Add cumulative binomial distribution.

=========================================================================
Package epatplot: version 1.13.7 [was 1.13.5]

ChangeLog

Version 1.13.7 - 2006-06-01 (HB)
--------------------------------	

- (src/epatplot_mod.f90): new parameter modifyInSet: skip keyword writing 
	                  to increase speed if set to "N" (default: "Y");
	                  mean RAWY calculation now correctly reflects
	                  RAWX/RAWY range set on command line
- (doc/epatplot_description): new parameter added to description	
- (config/epatplot.par): new parameter added	
         	
Version 1.13.6 - 2006-01-13 (HB)
--------------------------------

- (doc/epatplot_description.tex): images reduced in size to prevent
              	                  problems with latex to html converison; 
	                          SSC-SPR-3431 closed
	
Version 1.13.5 - 2004-07-26 (HB)
--------------------------------

- (src/epatplot_mod.f90): weights of model pattern fractions
	                  for pile-up number calculation corrected
- (src/epatplot_mod.f90): prevented division by zero in the case of 
	                  inappropriat energy band for pile-up number
	                  calculation 
- (doc/epatplot_description.tex): new warning (no signal in observed-to-
	                          model band) added	
	
=========================================================================
Package epchain: version 8.60 [was 8.57.1]

ChangeLog

Version 8.60 - 2006-02-07 (HB)
------------------------------

- (src/epchain): corrected error when run running epchain for 
	         specific exposures in odfaccess=oal mode;
	         closed SSC-SPR-3565	         
	
Version 8.59 - 2005-10-26 (HB)
------------------------------

- upload of 8.58 failed; trying again
	
Version 8.58 - 2005-10-24 (HB)
------------------------------

- (DEPEND):      task versions updated	
- (src/epchain): negative verbosity in badpixfind call prevented;	
	         SSC-SPR-3503 closed

Version 8.57.1 - 2005-06-13 (HB)
--------------------------------

- (DEPEND): epreject version nr. changed to 5.7 	
	
=========================================================================
Package epframes: version 8.86 [was 8.71.7]

ChangeLog

Version 8.86 - 2006-06-09 (AI)
-------------------------------
- (src/epframes_mod.f90): Check for NaNs in "all good AUX1 entries" loop.
		
Version 8.85 - 2006-05-01 (MJF)
-------------------------------
- (src/epframes_mod.f90): check also the other occurences of "InvalidObtValue" 
  warnings and write OBT_WARN correspondingly
additional fix to SPR:
- SSC-SPR-3594: Add LOGICAL keyword OBT_WARN to EXPOSURE extension

Version 8.84 - 2006-04-05 (MJF)
-------------------------------
- (src/epframes_mod.f90): updated quantities for non-standard BU mode exposures
- (src/epframes_mod.f90): added logical keyword OBT_WARN to EXPOSURE extension
  to indicate whether the "InvalidObtValue" feature has occured or not
- (src/epframes_mod.f90): added new parameter "withallobtgti" (default YES,
  preserves current behaviour); setting "withallobtgti=NO" will create a GTI
  file that stops at the first occurence of the "InvalidObtValue" warning,
  i.e. later times are set to BAD.
- (config/epframes.*): as above
- (doc/epframes_description.tex): as above
closed SPR:
- SSC-SPR-3594: Add LOGICAL keyword OBT_WARN to EXPOSURE extension

Version 8.83 - 2006-01-14 (MJF)
-------------------------------
- (src/epframes_mod.f90): write proper threshold and CMCORR related keywords
  to EVENTS, EXPOSURE, and GTI extensions, so that subsequent tasks could
  make use of this information (e.g. for pattern fractions, response functions)
- (test/checkoutput_OBT.f90): further diagnostic messages

Version 8.82 - 2006-01-11 (MJF)
-------------------------------
- (src/epframes_mod.f90): turned obsolete CMCORR related warning into a message
- (test/checkoutput_OBT.f90): further diagnostic messages

Version 8.81 - 2006-01-10 (MJF)
-------------------------------
- (src/epframes_mod.f90): determine proper energies from comparison of
  CMCORR_DB and CMCORR_HK

Version 8.80 - 2006-01-09 (MJF)
-------------------------------
- (src/epframes_mod.f90): read and evaluate CMCORR related IPPVs
- (test/epframes_OBT): test of platform (compiler, library, ...) dependent
  issues, re-enable test of version 8.74 (i.e. intentional verbose failure
  of just the test harness)

Version 8.79 - 2005-10-20 (MJF)
-------------------------------
- (src/epframes_mod.f90): updated the list of FF masked mode observations
  that will escape automatic detection due to lack of HK telemetry coding

Version 8.78 - 2005-06-24 (MJF)
-------------------------------
- (src/epframes_mod.f90): changed value of offset for 0026_0116160601_PNU002
  in black-list: CMCORR is 0, ODF generation had incorrectly used 512 now.
- (src/epframes_mod.f90): check if non-constant filter values for "Unknown"
  filter IPPV by `odfingest', in such a case try to diagnose real filter
  and give proper message. Such a feature usually occurs when the onboard
  watchdog function moves the filter wheel to CLOSED after longer loss of
  connection to XMM.
closed SPR:
- SSC-SPR-3484: Onboard watchdog function causes non-constant filter values

Version 8.77 - 2005-06-07 (MJF)
-------------------------------
- (src/epframes_mod.f90): allowed larger number of wrong OAL frames per
  exposure (internal parameter "mfextra" set to 500)
closed SPR:
- SSC-SPR-3428: Subscript 1 of ARREXPTIME (value 1285780) is out of range
  (0:1285779) [0624_0148170101_PNS016]

Version 8.76 - 2005-01-20 (MJF)
-------------------------------
- (src/epframes_mod.f90): check of SubscriptOutOfRange to prevent F90 error.
  Instead exit via SAS error "InconsistentTimeInfo" plus diagnostic messages.
- (doc/epframes_description.tex): added error "InconsistentTimeInfo"

Version 8.75 - 2005-01-19 (MJF)
-------------------------------
- (src/epframes_mod.f90): check for NULL attitude values in ProposalInfo
- (src/epframes_mod.f90): adjusted the internal "late-time-reset" parameter
  from 4 to 5 for LW mode (due to problems with 0596_9059600003_PNS003)
- (test/Makefile): disable epframes_test_OBT

Version 8.74 - 2004-10-18 (MJF)
-------------------------------
- (src/epframes_mod.f90): new parameter "withinvalidobt" that controls handling
  of frames with "InvalidObtValue" warning of OAL. Default = Y reproduces old
  behaviour [should not be changed]. Consequences apparently depend on platform.
- (config/epframes.*): as above
- (doc/epframes_description.tex): as above
- (test/epframes_test_OBT): run with both values of "withinvalidobt", the
  "success condition" is to have identical results with MPE (which is not
  fulfilled and thus the test harness fails and gives diagnostics)
- (test/checkoutput_OBT.f90): further diagnostic messages

Version 8.73 - 2004-10-17 (MJF)
-------------------------------
- (src/epframes_mod.f90): changed "intent" of data variables in routine
  "determineWindow" from "out" to "inout" [as in version 8.71.4]
- (test/checkoutput_OBT.f90): further diagnostic messages

Version 8.72 - 2004-10-15 (MJF)
-------------------------------
- (test/epframes_test_OBT): processing of CCD6 of "testodf/epodf_OBT/":
   this contains a time anomaly entry leading to the warning
   ** epframes: warning (InvalidObtValue), OBT vector element #6188 is invalid (-100)
   which might have platform dependent effects depending on SAS infrastructure
- (test/checkoutput_OBT.f90): checks for number of EVENTS and EXPOSURE entries
- (DEPEND): needs "eptestdata-0.8"

Version 8.71.3 - 2004-10-15 (MJF)
---------------------------------
- (src/epframes_mod.f90): added a few messages (NOISY level) to enable tracing
  of platform dependent features
- (test/epframes_test_IM): changed VERBOSITY from 5 to 6

Version 8.71.2 - 2004-10-14 (MJF)
---------------------------------
- (src/epframes_mod.f90): read masked mode related quantities from XMM_MISCDATA
- (src/epframes_mod.f90): special treatment of 4 non-standard BU mode exposures
- (src/epframes_mod.f90): updated black-list of ODFs with wrong CMCORR
- (config/epframes.par): changed default of "lowerthreshold" from 20 to 0 [adu]
- (doc/epframes_description.tex): as above

Version 8.71.1 - 2004-01-28 (MJF)
---------------------------------
- (src/epframes_mod.f90): ensure that COUNTMOD is always properly initialized
closed SPR:
- SSC-SPR-3231: apparent illegal value of COUNTMOD keyword

Version 8.71 - 2003-12-11 (MJF)
-------------------------------
- (src/epframes_mod.f90): determine CCD temperature at time of offset map
  calculation

Version 8.70 - 2003-12-10 (MJF)
-------------------------------
- (src/epframes_mod.f90): determine probability for empty quadrant frame

Version 8.69 - 2003-12-08 (MJF)
-------------------------------
- (src/epframes_mod.f90): check whether ODI files exist

Version 8.68 - 2003-12-07 (MJF)
-------------------------------
- (src/epframes_mod.f90): read FIFO quantities also from PNPMH1 table

Version 8.67 - 2003-12-06 (MJF)
-------------------------------
- (src/epframes_mod.f90): read FIFO quantities from PNAUX2 table

Version 8.66 - 2003-12-05 (MJF)
-------------------------------
- (src/epframes_mod.f90): moved some code to "epmpelib"
- (src/Makefile): added "eputils"
- (DEPEND): needs "epmpelib-0.2"

Version 8.65 - 2003-12-04 (MJF)
-------------------------------
- (src/epframes_mod.f90): prepare for FIFO GTI search
- (config/epframes.*): added new parameter "fifogtithresh" (in preparation)
- (DEPEND): added "sas" as required by new infrastructure (sas-1.302)

Version 8.64 - 2003-11-17 (MJF)
-------------------------------
- (src/epframes_mod.f90): added a few additional diagnostic keywords/messages
  and adjusted several verbosity levels
- (config/epframes.*): added new parameter "withfifogti" (in preparation)
- (doc/epframes_description.tex): corrected a few typos

Version 8.63 - 2003-08-27 (MJF)
-------------------------------
- (src/epframes_mod.f90): adjust filter wheel position sensor ranges for
  the various filters and make sure that data drop-outs do not influence
  the determination of the filter

Version 8.62 - 2003-07-14 (MJF)
-------------------------------
- (src/epframes_mod.f90): check whether offset map computation interval
  is included in HK period and immediately before current exposure
- (doc/epframes_description.tex): added missing warning "HKoffsetmap"

Version 8.61 - 2003-07-08 (MJF)
-------------------------------
- (src/epframes_mod.f90): modified a few messages
- (src/epframes_mod.f90): issue new warning "OffsetMap" if filter during
  offset map calculation interval is different during science exposure,
  write keyword OTFILTER with corresponding filter name in this case
- (doc/epframes_description.tex): added new warning "OffsetMap"

Version 8.60 - 2003-05-08 (HB)
-------------------------------
- (config/epframes.par): modified to enable param-2.0 functionality	
		
Version 8.59 - 2003-05-06 (MJF)
-------------------------------
- (src/epframes_mod.f90): fix a compiler problem on linux

Version 8.58 - 2003-05-05 (MJF)
-------------------------------
- (src/epframes_mod.f90): corrected spatial DLIMAP inhomogeneities due to
  incomplete "whole frame MIP rejection" accumulation
- (src/epframes_mod.f90): adjusted the internal "late-time-reset" parameter
  to 4 for FF and eFF modes (due to problems with 0608_0145840201_PNU014)
closed SPRs:
- SSC-SPR-3104: Whole frame MIP rejection not fully accounted for
- SSC-SPR-3121: Subscript 1 of ARRFRACEXP (value 8645) is out of range [0608_0145840201_PNU014 Q2]

Version 8.57 - 2003-03-10 (MJF)
-------------------------------
- (src/epframes_mod.f90): adjusted the internal "late-time-reset" parameter
  from 11 to 100 for SW mode (due to problems with 0583_0137750201_PNU003)
- (src/epframes_mod.f90): check against rejection of all time entries, in
  this case create empty output file
closed SPRs:
- SSC-SPR-3095: too late time reset in 0583_0137750201_PNU003
- SSC-SPR-3091: Crash if all time entries are rejected

Version 8.56 - 2003-02-14 (MJF)
-------------------------------
- (src/epframes_mod.f90): new parameter "lowerthreshold" to disregard low-energy
  events (with amplitudes < lowerthreshold [adu]) already at this stage, 
  default "lowerthreshold=0" preserves recommended (old) behaviour. This
  may be useful to compare early mission data with recent observations
  as the setup was different (lowertreshold=23 instead of 20 now)
- (src/epframes_mod.f90): updated list of "nom" values for offset columns
- (config/epframes.*): added new parameter "lowerthreshold"
- (doc/epframes_description.tex): added new parameter "lowerthreshold"
closed SPRs:
- SSC-SPR-2981: Subscript 1 of ARREXPTIME is out of range [0482_0111290601_PNS003 Q2]
- SSC-SPR-3000: Subscript 1 of ARREXPTIME is out of range [0103 0111020201_PNS003 Q1]

Version 8.55 - 2003-01-15 (MJF)
-------------------------------
- (src/epframes_mod.f90): if "withfinetime=N" then call CAL_correctTime()
  with the source Y position instead of the RAWY position for TI+BU modes

Version 8.54 - 2003-01-14 (MJF)
-------------------------------
- (src/epframes_mod.f90): new parameter "withfinetime" to switch off the fine
  time correction for TI+BU modes for easier identification of time jumps,
  default "withfinetime=Y" preserves recommended (old) behaviour. 
- (config/epframes.*): added new parameter "withfinetime"
- (doc/epframes_description.tex): added new parameter "withfinetime"

Version 8.53 - 2003-01-13 (MJF)
-------------------------------
- (src/epframes_mod.f90): access F1828,1829,F1830 and F1628,1629,1630 columns
  instead of F1528,1529,1530 to identify the uploaded BadPixelTable code,
  this automatically enables the identification of masked mode flavours
  [as in 'epframes-8.46.12' for the RT]
closed SPRs:
- SSC-SPR-2417: Inconsistent time related keywords
- SSC-SPR-3064: BadPixelTable coding accesses wrong HK columns

Version 8.52 - 2002-10-09 (MJF)
-------------------------------
- (src/epframes_mod.f90): added 0045_0120300101_PNS005 to black-list

Version 8.51 - 2002-10-03 (MJF)
-------------------------------
- (src/epframes_mod.f90): removed CATEGORY keyword from event list
- (doc/epchain_description.tex): changed \subsection{} to \taskparametersnote{}
  in the parameters section, however, the new sub-parts now do not have an
  automatic number anymore due to infrastructure definition
closed SPRs:
- SSC-SPR-2989: please remove CATEGORY keyword
- SSC-SPR-2962: HTML parameter documentation broken

Version 8.50  - 2002-08-29 (MJF)
--------------------------------
- (src/epframes_mod.f90): extract DLI rate also from PMH file as this quantity
   is not affected by counting mode (unlike the AUX2 derived values)

Version 8.49  - 2002-08-12 (MJF)
--------------------------------
- merged all fixes of releasetrack until `epframes-8.46.8', such as:
- (src/epframes_mod.f90): initialize variables at run time instead of during
  variable declaration so that metatask usage does not fail [SSC-SPR-2819]
- (src/epframes_mod.f90): enable analysis of DLI files (preliminary version)
  Note: starting with `oal-3.92' and `caloalutils-1.72' this is not a dummy
  anymore, so the same code does now really do something and is more than
  just "preliminary" as in the releasetrack
- (src/epframes_mod.f90): add warning in case of "MIP CORREC.1"
- (doc/epframes_description.tex): as above
- (src/epframes_mod.f90): adjusted the internal "late-time-reset" parameter
  from 1 to 2 for FF and eFF modes [SSC-SPR-2815], this fixes also problems
  that occured for 0032_0117500201_PNS011 (CCD 10) and 0042_0119100201_PNU003
  (CCDs 4-9), increased this parameter from 16 to 100 for TI and BU modes to
  solve a similar problem with 0411_0153750301_PNS001 (CCD 4). No changes
  for SW and LW modes (no problems known).
closed SPRs:
- SSC-SPR-2815: Event time computation fails for 2 ODFs [0193_9019300003_PNS003, 0224_0093620801_PNU003]
- SSC-SPR-2819: Implicitly saved variables cause epproc to fail

Version 8.48  - 2002-05-23 (MJF)
--------------------------------
- (config/epframes.par): updated for `param-2.0'
- (DEPEND): needs `param-2.0', updated all other entries to latest

Version 8.47 - 2002-03-20 (MJF)
-------------------------------
- (src/epframes_mod.f90): restrict warning "tooLongExposure" to cases where
   the time elapsed between the firat and last photon exceeds the exposure
   duration (DATE-OBS, DATE-END) by more than 10s [SSC-SPR-2816]
- (src/epframes_mod.f90): internal "late reset parameter" for TI and BU modes
   raised from 11 to 16 to be more robust [SSC-SPR-2776]
closed SPRs:
- SSC-SPR-2776: ARRFRACEXP out of range [0044_0119710201_PNS001]
- SSC-SPR-2816: Too many warnings in uncritical cases

Version 8.46.4 - 2002-03-08 (MJF+UL)
------------------------------------
- (src/epframes_mod.f90): resolved exposure confusion case (e.g. S003 and U003
   in ODF like 0238_0029340101, SSC-SPR-2628)
- (src/epframes_mod.f90): write warning "tooLongExposure" if the observation
   duration (DATE_END - DATE_OBS) is shorter than the elapsed time of this
   exposure (derived via TSTOP - TSTART)
- (doc/epframes_description.tex): added warning "tooLongExposure"
- (doc/epframes_description.tex): completed sections "OAL usage" and "CAL usage"
- (test/*_SW.*): added check for RA/DEC to RAWX/RAWY conversion

Version 8.46.3 - 2002-02-21 (MJF)
---------------------------------
- (test/*_SW*): added basic run for SW mode
- (src/epframes_mod.f90): made MIP rejection even more robust [SSC-SPR-2779]
- (src/epframes_mod.f90): added 0044_0119710201 (all 4 exposures) to black-list
   of incorrectly produced data sets (wrong energy scale) [SSC-SPR-2776]
closed SPR:
- SSC-SPR-2779: MIP rejection not robust against meaningless HK parameters

Version 8.46.2 - 2002-02-20 (MJF)
---------------------------------
- (src/epframes_mod.f90): slight modifications for messages in high verbosity
   levels to ease debugging of memory problems
- (src/epframes_mod.f90): made MIP rejection robust against meaningless HK
   values by using then default FF mode values [SSC-SPR-2779]
- (src/epframes_mod.f90): implemented call "OAL_addCommonAttributes()" [SCR-84]
- (DEPEND): needs `oal-3.87'

Version 8.46.1 - 2002-02-06 (MJF+UL)
------------------------------------
- (src/epframes_mod.f90): minor changes related to "OBT=-1" values [SOC-SPR-2231]
- (doc/epframes_description.tex): added error "NoGoodObtValues"

Version 8.46 - 2002-01-23 (MJF)
-------------------------------
- (src/epframes_mod.f90): minor changes related to messages
- (doc/epframes_description.tex): added a warning about the use of the default
   parameter setting "withsrcrawy=N withsrccoords=N" in the case of non-default
   pointings (source put intentionally off-axis); the occurence of this case
   cannot be determined by the software, so it is in the user's responsiblity.
   For TIMING and BURST modes offset pointings (or boresight changes) will lead
   to incorrect absolute timing and wrong energy corrections if the proper
   source coordinates are not supplied. This is irrelevant for all other modes.

Version 8.45 - 2002-01-22 (MJF)
-------------------------------
- (src/epframes_mod.f90): allow input of source position (decimal RA,DEC) and
   output of corresponding RAWX,RAWY for all modes (if "withsrccoords=Y"), used
   for time and energy corrections only for TIMING and BURST modes (as before)
- (src/epframes_mod.f90): new parameter `withsrcrawy' to enable switch-on of
   TIMING and BURST source position parameter `srcposition' in cases when there
   is no reliable attitude available but one knows where the source should be.
   The default setting is "withsrccoords=N" and "withsrcrawy=N" which means
   that the source pixel position shall be derived from RA_OBJ DEC_OBJ values
- (config/epframes.*): added new parameter "withsrcrawy"
- (doc/epframes_description.tex): extended and re-ordered parameter section,
   details about the various HK-related messages and keywords

Version 8.44 - 2002-01-18 (MJF)
-------------------------------
- (src/epframes_mod.f90): reorganized a few messages and warnings, write several
   additional keywords to exposure extension, obtain offset map parameters in a
   more robust way

Version 8.43 - 2002-01-14 (MJF)
-------------------------------
- (src/epframes_mod.f90): warning 'singleBoresightBurst' if unusual RAWY range
   occurs for BURST mode, warning 'doubleWindowTiming' if unusual RAWX range
   occurs for TIMING mode. The window parameters may then be incorrect in ODF
   and/or CCF, and consequently associated event flags. This is added to be
   prepared for a change in the window sizes during the next SAS period
- (doc/epframes_description.tex): see above

Version 8.42 - 2002-01-11 (MJF)
-------------------------------
- (src/epframes_mod.f90): a few minor changes to make the MPE optimizer happy
- (src/epframes_mod.f90): initialize EXPOSURE extension columns (e.g. FRAMELIM)
   before filling them to avoid memory corruption
closed SPRs:
- SSC-SPR-2566: FRAMELIM value incorrect [0140_0112230101_PNU014, low-gain mode, CCD 3]
- SSC-SPR-2577: FRAMELIM value incorrect [0219_0087940101_PNU002, short 26s, CCD 7]

Version 8.41 - 2001-12-21 (MJF)
-------------------------------
- (src/epframes_mod.f90): new parameter `showve' to show valid events in the
   loops where the optimizer has problems to ease the debugging on the various
   platforms, will be removed once it is obsolete (hopefully soon)
- (doc/epframes_description.tex): see above
- (config/epframes.*): see above

Version 8.40 - 2001-12-19 (MJF)
-------------------------------
- (src/epframes_mod.f90): write keyword EXPIDSTR to primary FITS header
- (src/epframes_mod.f90): write keywords REVOLUT and BPT_CODE to EVENTS header
- (src/epframes_mod.f90): moved CCD temperature parameter from task `epevents'
  to epframes, only active when no HK file (PMH) found
- (doc/epframes_description.tex): added new parameter `hcettmpfpf' (well, that
  IS the housekeeping parameter name) that is only active if PMH file is absent
- (config/epframes.*): see above

Version 8.39 - 2001-12-14 (MJF)
-------------------------------
- (src/epframes_mod.f90): implemented BadPixelTable coding, compare BPT code 
  from PAH file with ADUCONV.CCF for revolutions 293 and later (first implem.)
  and if different issue new warning (BPTcode)
- (doc/epframes_description.tex): added new warning (BPTcode)
- (test/epframes_test_IM): use in-orbit data of Rev.146 for FF mode
- (DEPEND): needs `cal-3.129' and `eptestdata-0.3'

Version 8.38 - 2001-11-21 (MJF)
-------------------------------
- (src/epframes_mod.f90): adapt to new OAL state interface
- (DEPEND): needs `oal-3.81' (probably some older version were sufficient)

Version 8.37 - 2001-11-21 (MJF)
-------------------------------
- (src/epframes_mod.f90): if "automode=Y" then try to determine the nominal 
  frametime, the frame time parameter (F1294), and the chopper value (An_CHOP)
  from the data itself which may be useful if no PMH or PAH file is available
  (PMSFITS), default "N"
- (src/epframes_mod.f90): write bad-pixel-table related HK values as keyword
  BPT_CODE into the events file (prepare for comparison with CCF)
- (src/epframes_mod.f90): rename OFFSETCO extension and its PHA column to
  OFFSETS and OFFSETX (prepare for `evlistcomb-4.17')
- (doc/epframes_description.tex): rename offset column extension

Version 8.36 - 2001-09-14 (MJF)
-------------------------------
- (src/epframes_mod.f90): new warning (invalidODF) if (DATE-OBS == DATE-END)
  or (DATE-END > last HK entry) as an attempt to avoid ODF SPRs on pn tasks
  that are due to false ODFs, but e.g. the CAL may nevertheless crash later
- (doc/epframes_description.tex): added new warning "invalidODF" and a 
  subsection how to deal with those ODFs that should not have been delivered 
  in this form
closed SPR:
- SSC-SPR-2554: Problems with ODF in Rev 185 (ODS 10.2.3)

Version 8.35 - 2001-09-01 (MJF)
-------------------------------
- (src/epframes_mod.f90): write correct FRMTIME value (as integer), this avoids
  repeated CAL warnings in subsequent tasks
- (src/epframes_mod.f90): stop with error if FRAME_TIME_PARAMETER is outside
  valid range [0..15] instead of just giving a warning (see epframes-8.31)
- (doc/epframes_description.tex): added new error message "illegalIPPVvalue"
- (config/epframes.par): add parameter "automode" (not active yet)

Version 8.34 - 2001-08-17 (MJF)
-------------------------------
- (src/epframes_mod.f90): issue (new) warning "CCDlowGain" if a CCD has a
  GAINCAME value of "LOW" instead of "HIGH"
- (src/epframes_mod.f90): check eFF/FF modes for consistency (if not issue 
  new warning "changedMode" and continue with correct value)
- (doc/epframes_description.tex): added new warnings

Version 8.33 - 2001-08-08 (MJF)
-------------------------------
- (src/epframes_mod.f90): removed obsolete section related to "maxwrong"
- (src/epframes_mod.f90): added 0026_0116160601_PNU002 to black-list
closed SPR:
- SSC-SPR-2504: error (maxwrong), More wrong events than maxwrong allows

Version 8.32 - 2001-07-17 (MJF)
-------------------------------
- (src/epframes_mod.f90): identify position of Low Gain Mode HK entries
- (src/epframes_mod.f90): if time reset at start of AUX1 file do not reject
  the following entries anymore (only relevant for `releasetrack')
- (test/check_output_*.f90): issue better error messages for OPTIMIZATION=yes

Version 8.31 - 2001-06-14 (MJF)
-------------------------------
- (src/epframes_mod.f90): give warning if the IPPV "FRAME_TIME_PARAMETER"
  has illegal values (the task may still crash as a consequence later)
- (src/epframes_mod.f90): give number of computed counting mode cycles as
  real value instead of integer to better indicate incorrect cycle times
closed SPR:
- SSC-SPR-2423: Frame time mismatch

Version 8.30 - 2001-06-11 (MJF)
-------------------------------
- (src/epframes_mod.f90): make sure that too short PNAUX2 files cannot cause
   out-of-range indices

Version 8.29 - 2001-06-08 (MJF)
-------------------------------
- (src/epframes_mod.f90): synchronize PNAUX2 NDISCLIN column with event file
   EXPOSURE extension

Version 8.28 - 2001-06-08 (MJF)
-------------------------------
- (src/epframes_mod.f90): extract offset map HK parameters for later reference
- (src/epframes_mod.f90): correct TIMEDEL keyword for imaging modes: 
                          FRMTIME_SECONDS*fc0 -> PSFTIME*1.E-3 [SSC-SPR-2417]

Version 8.27.2 - 2001-05-28 (MJF)
---------------------------------
- (src/epframes_mod.f90): do not release non-existing HK columns (PMS data)
- (test/epframes_test_*): call with setting "hkok=Y"

Version 8.27.1 - 2001-05-14 (MJF)
---------------------------------
- (src/epframes_mod.f90): write map description into output event map files
- (src/epframes_mod.f90): write offset columns to extension OFFSETCO
- (src/epframes_mod.f90): write specific warnings and error messages if
   AUX file contains garbage values [SSC-SPR-2379]
- (doc/epframes_description.tex): updated warnings
closed SPR:
- SSC-SPR-2379: frame not found

Version 8.27 - 2001-04-10 (MJF)
-------------------------------
- (src/epframes_mod.f90): corrected column offset for CCD5/Col10 for "ccfok=N"
- (src/epframes_mod.f90): removed obsolete debug statement
- (test/*): split the test harness for the various instrument modes
- (epodf/*): files moved to new package `eptestdata'
- (DEPEND): depend on `eptestdata-0.2'

Version 8.26 - 2001-03-30 (MJF)
-------------------------------
- (src/epframes_mod.f90): explicit "default" in all "select case" clauses
- (src/epframes_mod.f90): new optional parameters `eventmapset' `witheventmap'
   that will supersede the old optional `crmap' parameter [SSC-SPR-1723]
- (doc/epframes_description.tex): updated examples and parameters

Version 8.25.13 - 2001-03-15 (MJF)
----------------------------------
- (src/epframes_mod.f90): write number of time resets if more than one
- (doc/epframes_description.tex): added examples section

Version 8.25.12 - 2001-03-12 (MJF)
----------------------------------
- (src/epframes_mod.f90): write keyword FROFFMAP (number of frames used in
   calculation of offset map, might be useful later in CTI correction)
- (doc/epframes_description.tex): completed warnings section
closed SPR:
- SSC-SPR-2278: Subscript of ARREXPTIME wrong [SPR already fixed in 8.25.9]

Version 8.25.11 - 2001-03-09 (MJF)
----------------------------------
- (src/epframes_mod.f90): write keyword GAINCAME (gain mode LOW or HIGH)
- (src/epframes_mod.f90): check whether last PNAUX2 entry has valid PNAUX1 time,
   remove error PNAUX2cycleException as this case is not exceptional in pn data
closed SPR:
- SSC-SPR-2197: PNAUX2cycleException error

Version 8.25.10 - 2001-03-02 (MJF)
----------------------------------
- (src/epframes_mod.f90): new optional (temporary) parameter `ecntempqb1' to 
   mimick the HK parameter E_Cn_TEMPQB1 (ignored if "real" HK file found), 
   interface needed to prepare gain-temperature-corrections in `epevents',
   default behaviour unchanged
- (src/epframes_mod.f90): corrected units in a few header keywords
- (doc/epframes_description.tex): added parameter `ecntempqb1'
- (config/epframes.*): added parameter `ecntempqb1'
- (test/epframes_test): one call with `ecntempqb1=19.115'

Version 8.25.9 - 2001-02-27 (MJF)
---------------------------------
- (src/epframes_mod.f90): activate ON_OFFSET_COLUMN and NEXT_TO_OFFSET_COLUMN
                          event attributes for default task calling sequence
- (src/epframes_mod.f90): made estimation of number of empty frames more robust
                          to prevent out-of-range failures [SSC-SPR-2230]
- (doc/epframes_description.tex): added a few missing CAL and OAL calls
- (doc/epframes_description.tex): moved event attributes to output section
closed SPRs:
- SSC-SPR-2104: out of memory problem
- SSC-SPR-2230: error within epchain [ARREXPTIME subscript out of range]
- SSC-SPR-2222: Subscript out of range for one CCD

Version 8.25.8 - 2000-12-13 (MJF)
---------------------------------
- (src/epframes_mod.f90): update keyword LIVETIME as required by task badpixfind
                          in epchain (do not subtract counting mode twice),
                          also update of call to CAL_offsetCorrect() to have
                          correct amplitudes for bright column search in 
                          epchain [SSC-SPR-2147]
- (src/epframes_mod.f90): decrease use of memory (deallocate arrays earlier,
                          release columns earlier) [not sufficient to solve
                          SSC-SPR-2104 but works now for other problematic 
                          cases]
closed SPR:
- SSC-SPR-2147: [epchain] New recommended parameter values for task badpixfind

Version 8.25.7 - 2000-11-23 (MJF)
---------------------------------
- (src/epframes_mod.f90): add call OAL_setState(), call OAL_selectFile() 
                          before computing event times to reset OAL
closed SPR:
- SSC-SPR-2117: Event times shifted for long exposures

Version 8.25.6 - 2000-11-22 (MJF)
---------------------------------
- (src/epframes_mod.f90): improve time system related attribute comments
closed SPR:
- SSC-SPR-2102: better MJDREF attribute comment

Version 8.25.5 - 2000-11-17 (MJF)
---------------------------------
- (src/epframes_mod.f90): fix shift of GTIs and EXPOSUnn times [SSC-SPR-2044]

Version 8.25.4 - 2000-11-11 (MJF)
---------------------------------
- (src/epframes_mod.f90): handle exception if PNAUX2 extension is too small
closed SPR:
- SSC-SPR-2044: Strange behaviour of PN rate curve

Version 8.25.3 - 2000-11-09 (MJF)
---------------------------------
- (src/epframes_mod.f90): changed warning `wrongEvents' to plain message
- (src/epframes_mod.f90): fill `empty frames' into EXPOSURE extension
- (src/epframes_mod.f90): handle GTIs with help of AUX files
closed SPRs: 
- SSC-SPR-1998: `wrongEvents' should not be a warning but just a message
- SSC-SPR-2000: Handling of `empty frames'
- SSC-SPR-2002: empty gti if no events

Version 8.25.2 - 2000-10-13 (MJF)
---------------------------------
- (src/epframes_mod.f90): removed "illegal character"
closed SPR: 
- SSC-SPR-1984: compiler error due to "illegal character"

Version 8.25.1 - 2000-10-12 (MJF)
---------------------------------
- (src/epframes_mod.f90): check LOWER_THRESHOLD_Q*_CCD* consistency
closed SPR:
- SSC-SPR-1983: wrong IPPV for lower threshold

Version 8.25 - 2000-10-11 (MJF)
-------------------------------
- (src/epframes_mod.f90): change order of CAL_setstate() and output file access

Version 8.24 - 2000-10-10 (MJF)
-------------------------------
- (src/epframes_mod.f90): read correct FILTER IPPV

Version 8.23 - 2000-10-02 (MJF)
-------------------------------
- (src/epframes_mod.f90): adapt to new `caloaldefs.f90'

Version 8.22 - 2000-09-30 (MJF)
-------------------------------
- (src/epframes_mod.f90): adapt to new `caloaldefs.f90' [caloalutils-1.34]

Version 8.21 - 2000-09-29 (MJF)
-------------------------------
- (src/epframes_mod.f90): add warning if IPPV not found
- (doc/epframes_description.tex): added new warning "missingIPPV"

Version 8.20 - 2000-09-26 (MJF)
-------------------------------
- (src/epframes_mod.f90): read IPPVs from ODF summary file

Version 8.19 - 2000-09-12 (MJF)
-------------------------------
- (src/epframes_mod.f90): change TIMEDEL from column to keyword in EXPOSUnn
- (test/checkoutput.f90): update TIMEDEL existence check

Version 8.18 - 2000-09-10 (MJF)
-------------------------------
- (src/epframes_mod.f90): updated "setupbpx=nom3"

Version 8.17 - 2000-07-25 (MJF)
-------------------------------
- (src/epframes_mod.f90): change access of housekeeping files
- (epodf/): remove PEH files, update SUM file

Version 8.16 - 2000-07-21 (MJF)
-------------------------------
- (src/epframes_mod.f90): initialize FRACEXP, update TIMING fine-time correction

Version 8.15.8 - 2000-07-11 (GV/SOC)
--------------
	+ (src/epframes_mod.f90) modified the way the summary file name is
	inquired, as otherwise the state of the OAL is undefined. 

Version 8.15.7 - 2000-07-05 (MJF)
---------------------------------
- (src/epframes_mod.f90): ensure initialization of "alloc"-variables

Version 8.15.6 - 2000-06-30 (MJF)
---------------------------------
- (doc/epframes_description.tex): corrected typo in \block{}

closed SPR:
- SSC-SPR-1897: wrong \block in doc

Version 8.15.5 - 2000-06-26 (MJF)
---------------------------------
- (doc/epframes_description.tex): \param{} -> \tt{} for outdated parameters etc.

Version 8.15.4 - 2000-06-19 (MJF)
---------------------------------
- (src/epframes_mod.f90): change determination of lengths of file names

Version 8.15.3 - 2000-06-10 (MJF)
---------------------------------
- clarified time related attributes in code, now compliant with ICDs,
  added more user friendly keywords EXPSTART,EXPSTOP,OBSSTART,OBSSTOP,
  added TIMEREF, TASSIGN, CLOCKAPP to primary header
- added `SSC-SPR-' to all SPR numbers in `ChangeLog'

closed SPR:
- SSC-SPR-1718: Output has DATE_OBS, DATE_END, DATE-OBS, DATE-END keyword 
                (and the values differ)

Version 8.15.2 - 2000-06-08 (MJF)
---------------------------------
- check whether the required extensions are in the relevant file if this file
  exists (cf. SPR-1716)
- corrected a couple of typos in the documentation
- make all time attributes the same in all extensions (required by SPR-1718),
  corresponding names still under discussion

closed SPR:
- SSC-SPR-1722: showpah parameter not found in task description:
  was included but contained typo (`showpmh', therefore not `grep'ped)

Version 8.15.1 - 2000-06-02 (MJF)
---------------------------------
- check existence of CCX, AUX, PMH, and PAH files via new OAL function
  `OAL_hasAssociatedSet()' before trying to access the files

closed SPR:
- SSC-SPR-1716: task fails if CCX file belongs to different exposure:
  use new function `OAL_hasAssociatedSet()' to check existence of file

Version 8.15 - 2000-05-27 (MJF)
-------------------------------
- warning if no PNAUX2 extension in AUX file
- separate handling of PNAUX1 and PNAUX2 completely
- change initializations of several variables
- write keyword TRESET (reset time to be added to PN times)
- reduce Change History in LaTeX file

Version 8.14 - 2000-05-25 (MJF)
-------------------------------
- updated documentation: section input/output files
- updated list of ODFs with erroneous PHA values
- extended check for backjump vs. time reset
- changed default for parameter `F1294' from 3 to 0, use for `eFF' processing
- introduce again temporary EXPOSURE keyword (cf version 8.12)
- extended handling for parameter `crmap=1' or `crmap=2'
- new optional parameters to control verbosity of AUX, CCX, HK file handling

Version 8.13 - 2000-05-09 (MJF)
-------------------------------
- check for small backjumps in FTCOARSE/FTFINE and FRAME/CYCLE
- deallocate array AUX2CYCLE
- updated `epframes.info'

Version 8.12 - 2000-05-08 (MJF)
-------------------------------
- write keyword `ONTIME', remove temporary EXPOSURE keyword (cf version 8.7)
- subtract sum of `Counting Mode intervals' and write keyword LIVETIME
- change event attribute `REJECTED_BY_GATTI' to `MIP_ASSOCIATED'
- take care of erroneous PHA values in some ODFs
- updated DEPEND file

Version 8.11.2 - 2000-04-25 (GV/SOC)
--------------
+ change column names (ftcoarse/ftfine) in the testodf (PMH).
+ (epframes_test): change ODF(...) to OAL(...)
+ (DEPEND) updated

Version 8.11.1 - 2000-04-17 (GV/SOC)
--------------
+ change column names (ftcoarse/ftfine) in the testodf (PEH).

Version 8.10.1 - 2000-04-14 (UL)
--------------------------------
- brought in line with oal-3.50 (also updated DEPEND)
- in epof/*PEH*|*PMH*: replaced FTCOARSE/FTFINE with real column names
  F1030/FU036
- in test/epframes_test: changed all 'odf(...)' to 'oal(...)'

Version 8.11 - 2000-04-13 (MJF)
-------------------------------
- changed default for parameter `mipmethod' (com -> onboard)
- changed default for parameter `aneamipsel' (1 -> 2)
- extend `mipmethod=onboard' for `aneamipsel>32'
- extended `epframes.lyt', updated documentation about MIP rejection

Version 8.10 - 2000-04-13 (MJF)
-------------------------------
- added `epframes.info' to `config' subdirectory and Makefile
- moved offset correction vector after frame processing
- several new temporary HK parameters/switches (not for general use)
- improved/reduced use of message/warning/error
- added `ONBOARD' mip rejection mode

closed SPRs:
- SSC-SPR-1415: Timing mode behaviour:
- SSC-SPR-1416: srcposition parameter:
  implemented TIMING formula according to EPIC-EST-OP-002 Sect.8.3.1 (Sep.'99)
  implemented BURST formula according to EPIC-EST-OP-002 Sect.8.3.2 (Sep.'99)
- SSC-SPR-1632: 'Subscript out of range' with SAS_VERBOSITY = 10:
  corrected loop index

Version 8.9.1 - 2000-03-31 (MJF)
--------------------------------
- included check for FTCOARSE = FFFF and simultaneous error in FRAME number

Version 8.9  - 2000-03-31 (MJF)
-------------------------------
- prepare task to deal with HK data
- new optional parameters f1294, f1052, anchop (fake missing HK information)
- discarded frames with FTCOARSE = FFFF in PNAUX1 extension of auxiliary file
- change order of subroutine calls, e.g. create output file after frame loop
- warning if event times are unreasonable
- included event fine time correction for TIMING and BURST modi 
  according to EPIC-EST-OP-002 Sects.8.3.1 and 8.3.2 instead of CAL call

Version 8.8  - 2000-03-22 (MJF)
-------------------------------
closed SPRs:
- SSC-SPR-1594: Inappropriate CONTENT keyword:
  added words `INTERMEDIATE' and `SINGLE CCD' to previous CONTENT values
- SSC-SPR-1595: Missing rejection flag (XMMEA_EP):
  XMMEA_EP is now set via `call setEpnRejectionMask(outccd)'

Version 8.7  - 2000-03-10 (MJF)
-------------------------------
- write preliminary EXPOSURE keyword (will be removed again in later version)
- write also DATE_OBS (DATE-OBS is sometimes not liked by non-SAS utils)
- adopt new ChangeLog header line style

Version 8.6 (07.03.00)
-----------------------
- new optional parameter "mipdist" for cosmic ray analysis
- write several attributes also in case of empty extensions

Version 8.5 (23.02.00)
-----------------------
- replace explicit use of EPN mode numbers by `caloaldefs'
- new parameter "crmap" for cosmic ray CCD map
- fixed config-Makefile

Version 8.4 (18.02.00)
-----------------------
- added CCD-submode attribute (CCDSMODE) to exposure extension
- corrected burst mode window nominal value for NYDIM (200 -> 199 -> 179)
- empty EXPOSURE extension: check for any events

Version 8.3 (17.02.00)
-----------------------
- added window size check against nominal values

Version 8.2 (16.02.00)
-----------------------
- fixed "no events case" for EXPOSURE extension

Version 8.1 (15.02.00)
-----------------------
- new parameter "mipthreshold", updated EXPOSURE extension

Version 8.0 (02.02.00)
-----------------------
- reduced allocation of memory to handle large data sets
- changed WINDOWX0/Y0/DX/DY keywords to account for different modes
  (and e.g. bottom left corner at (1,2) for full frame IMAGING)
- created a new attribute 'SRCPOS' to propagate srcposition parameter
  on to e.g. epevents
- creates additional exposure extension columns NDSCLIN# (#1..4)  
  to store per frame info on columns containing MIPs

closed SPRs:
- SSC-SPR-1444: Keywords not written:
  set TLMIN=0 and TLMAX=4095 for PHA column

Version 7.0 (17.01.00)
-----------------------
- updated epodf test ODF for unsigned columns
- removed setting of attribute DETNAM as this is not applicable for EPN
- changed 'bad' to 'wrong' in documentation and code to avoid confusion
  with bad pixels 
- therefore also renaming of parameter 'badpixlimit' to 'wrongpixlimit'  
- removed EXPOSURE and added TELAPSE = TSTOP - TSTART attributes (following 
  proposal by JOB, 17.12.99)
- added reference to paper by M. Kuster which describes the conversion
  from FRAME to event times 

closed SPRs:
- SSC-SPR-1403: Bit code for flags
  has been removed from the documentation
- SSC-SPR-1404: Test ODF directory:
  now has different CCD/exposure numbers for imaging, timing and burst mode data
- SSC-SPR-1405: badpixlimit is mandatory:
  changed to optional in the epframes.par file
- SSC-SPR-1406: Timing keywords in GTI file:
  added TIMESYS, TIMEUNIT and MJDREF to STDGTI extension and event list
  extension
- SSC-SPR-1407: RAWX is not read as unsigned:
  RAWX is now read as unsigned
- SSC-SPR-1408: TSTART and TSTOP:
  computation has been changed to pick up start time of first frame
  and stop time of last frame
- SSC-SPR-1409: epframes takes too long:
  placed vector assignments outside of the 'per frame' loop 
- SSC-SPR-1413: Warnings depend on verbosity level:
  this has been fixed
- SSC-SPR-1414: FRMTIME has no unit:
  changed description of FRMTIME attributes in epodf example ODF
- SSC-SPR-1417: srcposition in Burst mode:
  a warning is given if srcposition < 181 for BURST mode data

Version 6.1 (20.12.99) - UL
----------------------
- in `epodf/0001_0000000000_PNS00101IME.FIT' changed values of attributes
  QUADRANT/CCDID to 0/0 to make it consistent with CCDID in set name

Version 6.0 (30.11.99)
-----------------------
- new parameter srcposition to specify source position for TIMING/BURST mode
- included CAL_correctTime for mode dependent fine time correction 
- updated creation of exposure extension 
- changed setting of EXP_ID attribute from 3 to 13 digits (including OBS_ID) 
  to be in agreement with ODF-ICD
- introduced new attribute DATASUBMODE to describe different readout submodes
- changed SAS_ODFDIR to SAS_ODF in test harness

Version 5.9 (12.10.99)
-----------------------
closed SPRs:
- SSC-SPR-1276: noEvents warning should be message
- SSC-SPR-1252: test harness fails on linux

Version 5.8 (24.09.99)
-----------------------
- minor changes in test/checkoutput.f90
- fixed test harness exit status

Version 5.7 (18.09.99)
-----------------------
- doc updated for new LaTeX macros

Version 5.6 (06.09.99)
-----------------------
- creates TSTART, TSTOP, TIMEUNIT and TIMESYS attributes
  (adopting the convention proposed by Dean Hinshaw, namely that TSTART and 
   TSTOP are the smallest and largest times of the TIME column of the event 
   list, respectively)
- writes TLMIN, TLMAX attributes for RAWX/Y columns

Version 5.5 (01.09.99)
-----------------------
- uses the OAL to inquire the number of exposures for a particular mode

closed SPR:
- SSC-SPR-1195: Problem with ODF_DIR unset

Version 5.4 (23.08.99)
-----------------------
- new epodf test directory:
  now contains TIMING and BURST mode data with bad events
  all ODF constituents have been removed which are not needed for PN tests
- now fills in TIME, TIMEDEL and FRACEXP columns in exposure extension
- changed the fine time calculation in case of TIMING and BURST mode data 

closed SPR:
- SSC-SPR-1194: BadPixLim: the task does not do a usefull job 

Version 5.3 (10.08.99)
-----------------------
- new test harness includes event file with no events
- event attributes stored as keywords

closed SPRs:
- SSC-SPR-1173: cannot handle event file with no event
- SSC-SPR-1174: wrong use of fatal

Version 5.2 (03.08.99)
-----------------------
- now adds RA_NOM and DEC_NOM attributes

closed SPR:
- SSC-SPR-1151: Does not populate (RA/DEC)_NOM from ODF

Version 5.1 (02.08.99)
-----------------------
- changed warning messages, added statistics about bad events

closed SPR:
- SSC-SPR-1138: Epchain gives repeated warnings...

Version 5.0 (08.06.99)
-----------------------
- makes use of event attributes (GV/XMM/1999-01)
- brought in line with cal v3.0
- removed offsetfile parameter and offset FITS file

closed SPR:
- SSC-SPR-0990: ad hoc calibration file

Version 4.6 (31.05.99)
-----------------------
- fixed a bug related to SAS_VERBOSITY setting

Version 4.5 (28.05.99)
-----------------------
- fixed OBS_ID attribute in primary and extension header

Version 4.4 (25.05.99)
-----------------------
closed SPRs:
- SSC-SPR-0995: cannot handle event file in other directory 

open SPRs:
- SSC-SPR-0990: ad hoc calibration file

Version 4.3 (06.05.99)
-----------------------
- changed place of 'use oal' command to fix segmentation fault under solaris
- use sas provided latex commands

Version 4.2 (03.05.99)
-----------------------
- updated for processing of TIMING and BURST mode ODF data sets
- comes with a new (epodf4) ODF example file which includes
  IMAGING and TIMING mode data

Version 4.1 (28.04.99)
-----------------------
- increased loop index to allow for processing of testodf/scisimlong

Version 4.0 (20.04.99)
-----------------------
- changed parameter names according to GV/XMM/1992-02
- changed subroutine 'offset' to 'corr_offset' to avoid redeclaration error
	
Version 3.3 (23.03.99)
-----------------------
- fixes a bug in the testing and writing of the RAWY column

Version 3.2 (22.03.99)
-----------------------
- fixes a bug in the writing of the OBS_ID keyword
- fatal error if input events list is empty

Version 3.1 (19.03.99)
-----------------------
- updated creation of mandatory keywords for PPS products
- now deallocates ixx d_rawYCol iyy for epproc

Version 3.0 (5.03.99)
-----------------------
- removed odfdir parameter (covered by taskmain functionality)
- new odf example data set in epodf subdirectory
- introduced string parameter 'offsetfile'
  It points towards a data set listing onboard PHA offsets per CCD
  and column. Offsets are needed to reconstruct the original raw energie 
  values and should become part of the CCF 
- Changed CCDID column to CCDNR column (see DCP for SSC Data Products ICD)
- FLAG column changed from Int16 to Int32
- new check if events are ordered by FRAME, RAWY, RAWX (TBC)
- changed GTI extension name to STDGTIxx where xx is the overall CCD number
  (01 - 12)
- CCD modes extension created - as part of the EXPOSURE extension (TBC)
- GUI layout file config/epframes.lyt created

Version 2.0 (23.11.98)
-----------------------
removed redundant parameters datamode, expnr, ccdnr

closed SPRs:
- SSC-SPR-0875: Task requires CCD & exposure number as parameter 
- SSC-SPR-0866: should not write messages with (*,*)
- SSC-SPR-0714: Reaction to wrong input files - see SPR 477 on oal v2.2
- SSC-SPR-0700: The parameter datamode seems redundant

Version 1.9 (30.10.98)
----------------------
- epframes now adds 1 to the X and Y raw coordinates from the ODF
  to create RAWX and RAWY for the PPS in the range 1-64 and 1-200
- overall CCD numbering is now in agreement with CAL/SciSim standard
- the ODF summary file has been updated to be in agreement with oal-2.3
- new use of datamode parameter: 1=Imaging, 2=Timing, 3=Burst
- new input parameter 'badlimit' to trigger warning if too many
  events are bad

closed SPRs:

- SSC-SPR-0698: documentation error for RAWX and RAWY
- SSC-SPR-0699: Error "too many bad events" - handled by 'badlimit' parameter
- SSC-SPR-0701: fault on parameters missing
- SSC-SPR-0704: Problem with the interval between frames
 
open SPRs:

- SSC-SPR-0700: The parameter datamode seems redundant
- SSC-SPR-0714: Reaction to wrong input files 

Version 1.8
----------------------
- Code updated to be in agreement with F90 coding standards
- odf example now includes AUX and PMH Files in correct format
- copyAttribute replaced by setAttributes
- in agreement with new error interface v1.9
- uses new OAL_proposalInfo to add more standard primary header keywords

closed SPRs:

- SSC-SPR-0574: CAL/OAL error messages - epframes now in agreement with oal v2.2

Version 1.7
----------------------
- parameter file fixes

Version 1.6
----------------------
- new version to account for OAL v2.0 routine/type name changes
- prlev parameter replaced by global VERBOSITY variable

Version 1.5
----------------------
closed SPRs:

- SSC-SPR-0506: mssllib is missing from DEPEND

Version 1.4
----------------------
added new parameters:
'datamode', 'expnr' -  to allow for selection of different readout modes (up 
           to now only Imaging mode is supported) and exposures
'prlev'  - to switch between different levels of task verbosity
'infile' - to make use of the new oal/cal v1.2 functionality to get a valid
           ODF file name

Change in GTI calculation: startTime is outtimeCol(i) - halfdt
                           stopTime  is outtimeCol(j) + halfdt
                           where halfdt = 0.5 * FRMTIME

Closed SPRs:

- SSC-SPR-0353: use type f for file names
- SSC-SPR-0354: remove memdal from USEDLIBS
- SSC-SPR-0355: do not use goto and labels
- SSC-SPR-0142: Test harnesses are base tests
- SSC-SPR-0012: GTI output
- SSC-SPR-0011: Behaviour for wrong CCD number

	
Version 1.3
----------------------

ChangeLog added
DEPEND edited

Closed SPRs:
 
- SSC-SPR-0140: file permissions fixed
- SSC-SPR-0141: config/epframes.msg and reference in config/Makefile removed
- SSC-SPR-0143: call error now used instead of 'stop'
- SSC-SPR-0144: source code improved (to implement nested loops)
- SSC-SPR-0145: epframes.par file fixed
- SSC-SPR-0146: make test passed on SSC system (ermintrude)

Version 1.2
----------------------------

- Original version submitted to the SOC
=========================================================================
Package epicproc: version 2.9.12 [was 2.9.10]

ChangeLog

Version 2.9.12 - 2006-02-22 (AI)
-----------
	+ "runhkgtigen" parameter default value set to "yes". 
	
Version 2.9.11 - 2005-11-29 (AI)
--------------
	+ (doc/pn/epproc_description.tex, 
	doc/mos/emproc_description.tex) Problem with "latex2html" fixed.

Version 2.9.10 - 2005-08-03 (AI)
-----------
	+ (Epicproc.cc) Check the instrument name in the "evlistcomb" call. 
	Fixed SPR-SOC-2625.  

=========================================================================
Package eposcorr: version 3.11 [was 3.9.2]

ChangeLog

Version 3.11 - 2006-05-23 GL
----------------------------------- 

Copy of 3.9.3 for SAS 7
	
	
Version 3.9.3 - 2006-02-07 GL
-----------------------------------

Updated documentation

	
	
Version 3.9.2 - 2005-06-21 GL
-----------------------------------

Changed column names containing "-" in match table:
 X-INDEX -> X_INDEX
 X-RA ->    X_RA
 X-DEC ->   X_DEC
 O-INDEX -> O_INDEX
 O-RA ->    O_RA
 O-DEC ->   O_DEC

 Look for RA_PNT/DEC_PNT in both PRIMARY array and source list extension.	
 Write axis information of the likelihood image as physical coordinate system.
 (see SSC-SPR-3305) 

 Improve efficiency by a large factor 
   a) by reusing results of rotational coordinate transformations.
   b) by reducing the input list to 1 row per source already on
      reading the source list.
 Write likelihood bias expected due to optical background source density 
   into keyword LIK_NULL of the corrected source list.
  (see SSC-SPR-3493)
 Update test harness
	

	
=========================================================================
Package eptestdata: version 0.8 [was 0.7]

ChangeLog

Version 0.8  - 2004-10-15 (MJF)
-------------------------------
- (epodf_OBT): new directory contains parts of 0185_0133120101_PNS003
- (doc/eptestdata_description.tex): as above

Version 0.7  - 2003-04-24 (MJF)
-------------------------------
- (epintermediate/rawevents_no.dat): corrected SUBMODE keyword
- (epintermediate/rawevents_IM.dat): corrected SUBMODE keyword

=========================================================================
Package esensitivity: version 1.8 [was 1.5]

ChangeLog

Version 1.8 - 2005-11-17 (IMS/LUX)
----------------------
- Parameter --withboresightfudge (default 'yes') added to econvolverprep (until sign of boresight psi is corrected).

Version 1.7 - 2005-11-07 (IMS/LUX)
----------------------
- Changed calls to asmooth in src/esensitivity.pl in order to keep up with changes in asmooth parameters. DEPEND on asmooth thus also upgraded to 2.25.
- Slightly changed test harness.

Version 1.6 - 2004-11-09 (IMS/LUX)
----------------------
- Fixed SPR 3421 by adding dsslib to the DEPEND file (also saslib & oal!)

Version 1.5 - 2004-08-04 (IMS/LUX)
----------------------
- Test harness now fails if test data not found.

=========================================================================
Package esky2det: version 1.12 [was 1.10]

ChangeLog

Version 1.12 - 2005-11-17 (IMS/LUX)
----------------------
- Parameter --withboresightfudge (default 'yes') added to esky2det (until sign of boresight psi is corrected).

Version 1.11 - 2004-11-25 (IMS/LUX)
----------------------
- Updated ssclib DEPENDency to 3.21 (should fix SPR 3354).

Version 1.10 - 2004-04-19 (IMS/LUX)
----------------------
- Brought the ssclib interfaces up to 3.9 standard.

=========================================================================
Package esources: version 1.1.3 [NEW]

ChangeLog

Version 1.1.3 - 2006-05-07 (IMS/JBO)
----------------------------
- Error text upgrades.
- Task description written.

Version 1.1.2 - 2005-12-01 (IMS/LUX)
----------------------------
- The task now (optionally) sets the SPECTRA and TSERIES flag columns of the input source list to indicate those sources chosen for source-specific products. This has necessitated a new parameter --setflags.

Version 1.1.1 - 2005-11-07 (IMS/LUX)
----------------------------
- Now also transcribes the EP_1_ML_ID column value if it is available.

Version 1.1 - 2005-11-07 (IMS/LUX)
----------------------------
- Test harness added.

Version 1.0 - 2005-11-02 (IMS/LUX)
----------------------------
- Fixed a bug which was writing backward hex numbers plus nonsense to the file.
- Added new parameter --instweights.
- Task now writes src counts for each instrument and the equivalent epic counts.
- Task now writes RA_CORR and DEC_CORR columns.
- Task was trying to read source list columns PN_SCTS etc whereas the real names are PN_CTS etc. This now fixed.
- Task was trying to read TSTART, TSTOP keywords from event list dataset header rather than (the correct) EVENTS table header. This now fixed.
- Task now checks for null values in *_ONTIME columns as well as *_CTS columns.
- Directory structure created by pkgmaker.

=========================================================================
Package especget: version 1.21.3 [was 1.19]

ChangeLog

Version 1.21.3 - 2006-04-11 (RDS)
-----------
      + src/echeckregion.cc       - add an option to output check
        config/echeckregion.par     result to a text file

Version 1.21.2 - 2006-03-23 (RDS)
-----------
      + src/echeckregion.cc       - fix a problem with PN small window mode 
                                    (SPR-2673)

Version 1.21.1 - 2006-03-10 (RDS)
-----------
      + src/FindBestRmfName.cc    - solves a problem where the RESPFILE
                                    keyword was not set at all when a
                                    suitable canned matrix filename couldn't 
                                    be found. Now it is set to 
                                    NoCannedMatrixForThisSpectrum (SPR-2670)

Version 1.21 - 2006-02-21 (RDS)
-----------
      + src/RmfMaker.cc,h         - passes the extendedsource and detmaptype
            especget.cc             parameters to rmfgen (SPR-2668)              

Version 1.20.1 - 2006-02-14 (RDS)
-----------
      + src/FindBestRmfName.cc         - uses generic canned matrix names 
                                         without version unmbers to avoid
                                         confusing the user when they try 
                                         and find the corresponding matrix.
                                         The web-site will handle this with
                                         soft links (SPR-2666)

Version 1.20 - 2006-02-14 (RDS)
-----------
      + echeckregion                   - new task added to determine whether
                                         an input rgion lies on an exposed
                                         part of the detector (SPR-2665)

Version 1.19.1 - 2006-02-10 (RDS)
-----------
      + src/LightCurveMaker.cc         - fixed problem with the timerange
                                         paremeters not being passed correctly
                                         to evselect (SPR-2659)

=========================================================================
Package esplinemap: version 4.4 [was 4.2.1]

ChangeLog

Version 4.4 - 2005-09-14 GL
-------------------------------	

Remove test output files 'binned0.dat', 'binned.dat'

	
Version 4.3 - 2005-08-22 GL
-------------------------------	

Remove dss from 'USEDLIBS' line in Makefile
(Close SSC-SPR-3422)

	
Version 4.2.1 - 2005-08-03 GL
-------------------------------	

Reduce dynamic range of fitted data by 
       transformation f'(x,y)=(f(x,y))**0.1
Set weight of the excluded bins to 0.1, not to 0.0.
Close SSC-SPR-3498


=========================================================================
Package esrcselect: version 3.1 [was 1.7.2]

ChangeLog

Version 3.1 - 2005-11-07 (IMS/LUX)
----------------------
- Updated test harness to use the new esrcselect parameters.
- Removed some obsolete files from test.

Version 3.0 - 2005-11-02 (IMS/LUX)
----------------------
- Parameter interface to esrcselect changed (added functionality and made more like evselect)
- New task esrcfetch added.

Version 2.2 - 2005-04-01 (IMS/LUX)
----------------------
- New task esrcmerge introduced.

Version 2.1 - 2004-11-16 (IMS/LUX)
----------------------
- 'NoSources' type errors have all been changed to warnings, so that it is easier to run the task within a script.
- Function chooseRandomNewColName removed since it is available in ssclib>3.16. ssclib DEPENDency increased accordingly.

Version 2.0 - 2004-09-24 (IMS/LUX)
----------------------
- Parameter interface (and the internals of the task) changed completely to allow more generic use of the algorithm (see SCR 177).

Version 1.10 - 2004-08-04 (IMS/LUX)
----------------------
- Test harness now fails if test data not found.

Version 1.9 - 2004-03-25 (IMS/LUX)
----------------------
- Copy of 1.7.2 patch to devtrack.

Version 1.8 - 2004-03-25 (IMS/LUX)
----------------------
- Copy of patches to devtrack.

Version 1.7.2 - 2004-06-07 (IMS/LUX)
----------------------
- Changed the test harness so that it uses testprods rather than deceit in its test harness, and altered the DEPEND accordingly.

=========================================================================
Package evalcorr: version 0.5 [was 0.4]

ChangeLog

Version 0.5 - 2006-02-08 (DJF)
-----------
+ Added additional test #LIK_HOOD > intercept + gradient * #LIK_NULL
+ Tests are controlled via a selection expression where the test result will be substituted for the test names.
+ Removed unnecessary command line options.
+ Added option to record result of individual tests as keywords.
+ Test harness updated.

Version 0.4 - 2003-06-18 (GV)
-----------
+ (Evalcorrc.cc,h) Make use of proper string stream headers.
	
=========================================================================
Package evarimgen: version 0.7 [was 0.6]

ChangeLog

Version 0.7 - 2004-08-04 (IMS/LUX)
----------------------
- Test harness now fails if test data not found (also if task itself fails).

Version 0.6 - 2003-11-24 (IMS/LUX)
----------------------------
- Removed old files.

=========================================================================
Package evselect: version 3.59 [was 3.58.7]

ChangeLog

Version 3.59 - 2006-02-27 (AI)
------------
	+ (src/eveselect.cc & src/xmmexposure.cc) Update LIVETInn keywords also when 
	PHASE filtering is applied. Fixes SOC-SPR-2632.
	
Version 3.58.7 - 2005-06-21 (AI)
--------------
	+ (config/evselect.par) "default" keyword added to dssblock
	parameter (Mac OSX 7.3 crashed because of that).

=========================================================================
Package ewavelet: version 3.8 [was 3.7]

ChangeLog

Version 3.8 - 2005-03-02  (GL)
------------------------------

Remove "delete" of pointers in  Sourcelist::readset 
Close SSC-SPR-3445: (Segmentation fault, when reading source lists)



	
Version 3.7 - 2003-12-08  (GL)
-----------

Change name of counts column in output list
from "SCNTS" to "SCTS" for compatibility
with eboxdetct/emldetect
	
	
=========================================================================
Package imgdisplay: version 1.46 [was 1.45.3]

ChangeLog

Version 1.46 - 2006-03-01 (AI)
------------
	+ (Ds9.cc) switchSignalHandlers function removed. 
	
Version 1.45.3 - 2005-08-04 (AI)
--------------
	+ (Ds9.cc) The excluded regions cannot be managed from Ds9.cc. It 
	is not possible to distinguish between background region and an 
	excluded regions. Back to the original behavior.
	
=========================================================================
Package implot: version 2.17.1 [was 2.11.5]

ChangeLog

Version 2.17.1 - 2006-05-07 (IMS/JBO)
----------------------
- Slight documentation upgrade.

Version 2.17 - 2005-02-21 (IMS/LUX)
----------------------
- Changed the noSourcesSelected error to a warning (for nicer running within a script).

Version 2.16 - 2004-11-03 (IMS/LUX)
----------------------
- Changed type of mask argument to ssclib/array_utils:valueAtHistoFraction from logical(bool) to logical in accordance with ssclib-3.17.
- Updated DEPEND of ssclib to 3.17.

Version 2.15 - 2004-08-04 (IMS/LUX)
----------------------
- Test harness now fails if test data not found.

Version 2.14 - 2004-04-19 (IMS/LUX)
----------------------
- Brought the ssclib interfaces up to 3.9 standard. This just involved removing the now unneeded l_source_cutouts.f90 module.

Version 2.13 - 2004-04-05 (IMS/LUX)
----------------------
- Now uses test data in package testprods.

Version 2.12 - 2004-03-25 (IMS/LUX)
----------------------
- Copy of patches to devtrack.

Version 2.11.4 - 2004-03-16 (IMS SSC/LUX)
--------------------------
- Fixed SPR 3277.

Version 2.11.3 - 2004-03-02 (EO)
--------------
	+ On behalf of IMS SSC/LUX, set "world" in DISTRIBUTION, to make implot public.

Version 2.11.2 - 2004-01-16 (IMS SSC/LUX)
--------------------------
- implot now handles blank images in a more friendly manner (closes SPR 3046).
- The position of the sidebar text is now controlled more strictly (fixes SPR 3092).
- Fixed a bug that made the src labels too far from the sources (closes SPR 3218).
- Fixed the bugs that caused crashes (SPR 3219).

Version 2.11.1 - 2003-12-19 (IMS SSC/LUX)
--------------------------
- Removed unnecessary prints (SPR 3190).
- Changed default of --radiusstyle from 'expr' to 'user'. Less annoyance to the user this way.

Version 2.11 - 2003-12-08 (IMS SSC/LUX)
--------------------------
- Added 'user' as a possible value of --radiusstyle and an associated parameter --userradius.
- Fixed bugs in the way --ncutsortstyle and --labelstyle were read.
- Fixed bug which was inverting RA scale.

Version 2.10 - 2003-11-24 (IMS SSC/LUX)
--------------------------
- Changed TAN---RA to RA---TAN and TAN--DEC to DEC--TAN.
- Removed old files.

Version 2.9 - 2003-11-10 (IMS SSC/LUX)
--------------------------
- Now doesn't require wcs keywords in the image file unless (i) an ra/dec grid is required; (ii) source plots are required.
- Temp_ssclib modules now merged into ssclib-3.0.
- Changed incorrect 'logical(boolean)' to 'logical(bool)'.
- Added metatask to USEDLIBS.
- Some DEPEND updates.
- Small amount of parameter rearrangement and renaming, so as to make full use of param>2.0 interface.

Version 2.8 - 2003-10-24 (EO)
-----------
	+ Test harness failure due to wrong fits files. Files replaced.

Version 2.7 - 2003-01-23 (IMS SSC/LUX)
--------------------------
- Added facility for real-, string- or boolean-valued labels.
- Fixed SPR 3076.
- Changed variable pgplotDevice from character(20) to (255).
- Modified test harness slightly in an attempt to fix SPR 3042.
- Updated documentation (also fixes SPR 3021).
- Fixed SPR 3022 by improving the handling of NaN values.
- Changed --labelstyle default from 'expr' to 'none'. This was an irritating default.
- (Temporarily) removed ssclib from depend.

Version 2.6 - 2002-10-18 (IMS SSC/LUX)
--------------------------
- Copy (compatible with param-2.n) to devtrack.

Version 2.5 - 2002-10-18 (IMS SSC/LUX)
--------------------------
- Added parameters --imagestyle, --contourstyle, --ncontours and --contourseparation to allow contour plots of FITS images.
- Changed --*srclistset to --*srclisttab.
- Went back to 2.0.
- SPR 2873 closed.

Version 2.0 - 2002-05-17 (IMS SSC/LUX)
--------------------------
- Heaps of new functionality added. Was implot_b but renamed as implot for soc ruminations. None of the changes as yet accepted by ccb.

Version 1.4.2 - 2001-10-12 (CGP)
   Changed annotation: "lowest" when select on magnitudes
Version 1.4.1 - 2001-10-12 (CGP)
   Cleaned up code; supports OM combined source list overlay.
Version 1.4   - 2001-8-14 (CGP)
   Added parameters pmin, pmax so user can set pixel levels shown
Version 1.3.8 - 2001-5-21 (CGP)
   Can use EPIC Summary source list for source annotation
Version 1.3.7 - 2001 March (CGP)
   Fixed message reporting wrong number of sources
Version 1.3.6 - 2001-2-19 (CGP)
   Fixed crashes when only 1 source in source-list
Version 1.3.5 - 2001-2-14 (CGP)
   Repositioned FITS header annotations so better in all cases
Version 1.3.4 - 2001-2-2  (CGP) 
   Source overlay message made visible again.
Version 1.3.3 - 2001-2-1  (CGP)
   Fixed bug causing PGPLOT errors mainly in OM images
   Minor improvements to scaling and annotation
Version 1.3.2 - 2000-12-11 (CGP)
   Improved data scaling, annotation, bigger viewport size.
Version 1.3.1 - 2000-12-4 (CGP)
   Fixed bug in DEC labelling by using new pgsbox.f from Mark Calabretta
Version 1.3   - 2000-11-22 (CGP)
   Improved pixel range setting
Version 1.2.2 - (CGP)
   No changes, but distribution now "world"
Version 1.1.1 - 2000-10-16 (CGP)
   Changed wcs.f code to get around bug in some versions of NAG f90 
Version 1.1 - (CGP)
   Fixed bug if no RATE column available in source list
Version 1.0.1 - (CGP)
   Searches for GITS keywords in main header and primary image array   
Version 0.1 - 2000-5-26 (CGP)
   Initial version uses WCS library.

Open SPRs: none

	
=========================================================================
Package inthist: version 2.17.2 [was 2.17.1]

ChangeLog

Version 2.17.2 - 2005-11-03 (MC)
--------------------------
	+ src/intmakehist_mod.f90: temporary workaround to solve SSC-SPR-3531
	  (waiting for SOC solving SRP-2633: it now writes band information as
	  "Band number ...(1,2,3...)"
Version 2.17.1 - 2004-06-08 (MC)
--------------------------
	+ DEPEND : removed pedal dependency
	
=========================================================================
Package lccorr: version 2.27.1 [was 2.22.2]

ChangeLog

Version 2.27.1 - 2006-04-10 (MAS/LUX)
----------------------
- Changed lc*_mod.f90 so as to fix SPR 3595 ('noSrcArea': error -> normal exit with warning)
	
Version 2.27 - 2006-02-22 (IMS/LUX)
----------------------
- Changed exposure_aux.f90 so as to fix SPR 3585 (GTI edge bug)
- Removed everything but correctForGtiAndAlias from exposure_aux.f90 (fixes SPR 3586: duplicated exposure routines)
- Dependency on ssclib increased to 3.29.

Version 2.26 - 2005-12-20 (IMS/LUX)
----------------------
- 'Fixes' SPR 3555.

Version 2.25 - 2005-11-23 (IMS/LUX)
----------------------
- Fixed a slight bug in evigmap in which the array binnedScAtt was allocated twice.

Version 2.24 - 2005-11-17 (IMS/LUX)
----------------------
- Upgraded eexpchipmap and evigmap to be consistent with changes in attcalc2-1.2 and eimchip2sky-2.0.
- DEPEND changed to attcalc2-1.2, eimchip2sky-2.0 and ssclib-3.27.
- Added evigmap parameters --weightstyle, --gtistyle, --tstart, --tstop, --kwdtab, --tstartkwd, --tstopkwd, --ra, --dec and --apos, and more choices for parameter --attstyle.
- Parameter --withboresightfudge (default 'yes') added to lccorr, eexpchipmap and evigmap (until sign of boresight psi is corrected).

Version 2.23 - 2005-04-05 (IMS/LUX)
----------------------
- Changed DEPEND on attcalc2 to 1.0 to fix build problem.

Version 2.22 - 2005-02-01 (IMS/LUX)
----------------------
- Fixed SPR 3435 (a typo in subroutine lccorr_mod.f90:writeWeights).

Version 2.21 - 2004-12-01 (IMS/LUX)
----------------------
- Source and background CCD weight values are now written as keywords to the RATE extension.
- eexpchipmap now deals with the situation in which readGtisFromDss returns an empty vector.
- Call to exposure_aux:readGtis changed to readGtisFromDss in accordance with the change in name in ssclib-3.21. ssclib DEPENDency has been upgraded accordingly.
- Ditto re lccorr_corrector.
- Test harness for eexpchipmap temporarily disabled - the task is seg faulting on linux.

Version 2.20 - 2004-11-16 (IMS/LUX)
----------------------
- lccorr and eexpchipmap now call the same version of exposure_map:getEnergyBounds, which has been rewritten as a function.
- In evigmap, changed a print of image number to 'call message'.

Version 2.19 - 2004-11-04 (IMS/LUX)
----------------------
- SPR 3405 on lccorr fixed: TIMEZERO now written to gti extensions, regardless of whether present in RATE extension or not.

Version 2.18 - 2004-10-08 (IMS/LUX)
----------------------
- Removed a lot of obsolete code files.
- Task now copies MJDREF and TIMEZERO keywords from the RATE table to the src and bkg gti tables (closes SPR 3400).

Version 2.17 - 2004-09-20 (IMS/LUX)
----------------------
- Modified exposure_aux.f90 so as to fix SPR 3387.
- Deleted some obsolete routines from exposure_map.f90.
- Fixed SPR 3384 by enforcing normalization of the ccd weights in lccorr under all circumstances.
- Fixed SPR 3383 - lccorr now renames the temp outset rather than cloning it.
- SPR 3347: lccorr was subtracting centre times of adjacent frames to estimate the frame length on a frame-per-frame basis. However, in PN, frames may be missing, which buggered up the calculation. Task now uses modeParams%frameTime from CAL_getModeParameters.
- Messages altered slightly to provide better indication of the start of lengthy stages.
- Fixed an error in lccorr in which CAL_setState was being called with ccdChipId=0 when the CHANTYPE keyword ='PHA'.
- Fixed SPR 3353 on lccorr: the task was counting only those frames whose centre times fell within a bin, where it should have been counting all frames which overlapped the bin.
- Fixed SPR 3386 on lccorr. The task had assumed that all bins would be full of frames (yes I know this was stupid): bins which overlapped the start and end of the frame sequence were not being handled correctly.
- Added new parameter --treatalias. When 'no', time series made from event lists in which the events were not dithered within the frames are left with the resulting aliasing uncorrected.
- Resolved SPR 3385 by replacing --srcweights by three parameters: --srcweightsnode0, --withsrcnode1 and --srcweightsnode1. Same also for bkg weights.
- Ratio of bkg to src collection area is now printed (at 'verbose' verbosity).
- Added new task to the package: 'etimedither'.

Version 2.16 - 2004-09-16 (IMS/LUX)
----------------------
- Fixed error in evigmap where theta was being sampled twice, in different ways.

Version 2.15 - 2004-09-15 (IMS/LUX)
----------------------
- exposure_map.f90 can now deal with older-format PN offset extensions.
- Included .par, .lyt and .info for evigmap.

Version 2.14 - 2004-09-03 (IMS/LUX)
----------------------
- ssclib module exposure.f90 copied to lccorr as exposure_aux.f90 and 'use' statement lines in all other lccorr modules modified accordingly. Since lccorr and eexpchipmap seem to be the only tasks which use this module it seems to make more sense to have it in the lccorr package. Later I'll delete it from ssclib.
- Fixed a bug in eexpchipmap in which chip RAWX/Y arrays were not being initialized.
- Fixed a bug in exposure_aux:interpolateVigMap in which the same value was being given to every element of the output.
- Brought into line with ssclib-3.16, attcal2-0.3 and eimchip2sky-1.6 and DEPEND updated accordingly.
- Added new task evigmap.
- Added parameters --withvigexpmapset and --withvigexpcubeset to eexpchipmap.

Version 2.13 - 2004-08-17 (IMS/LUX)
----------------------
- eexpchipmap was dumping a test image to disk. This has now been stopped.
- eexpchipmap now writes the cube with a 'key' table and without any blank image planes (dependency on eimchip2sky also increased to 1.5).
- Output of vignetted exposure map now implemented in eexpchipmap.

Version 2.12 - 2004-08-10 (IMS/LUX)
----------------------
- In DEPEND, cal version reduced to 3.172, so the task will build in reltrack.

Version 2.11 - 2004-08-02 (IMS/LUX)
----------------------
- Task eexpchipmap added (per SCR 168). Libraries binnedatt and chipcube have been added to the Makefile:USEDLIBS line, and thus packages attcalc2 and eimchip2sky have been added to DEPEND.
- testprods version in DEPEND upgraded to 1.3.

Version 2.10 - 2004-07-26 (IMS/LUX)
----------------------
- Non-devtrack library names inadvertently left in USEDLIBS. These have now been removed.
- Output TS only had a HDUCLAS2 keyword if a background TS was also supplied. This is now rectified (input source kwd is retained if no bkg).
- Added 'epic' and 'timing' to config/lccorr.info.
- Test harness has been temporarily weakened (it now only checks that the task has been built) until the compiler issues which seem to be causing seg faulting have been sorted out.
- Documentation has been brought up to date.

Version 2.9 - 2004-06-29 (IMS/LUX)
----------------------
- Overloaded exposure_map:readCcdExposureInfo so it will take either the name of the event list or the dataset pointer as arguments.
- Fixed SPR 3348 by making the calculation of average TIMEDEL in a sensible fashion which retains all the precision available.
- Fixed SPR 3349 by only asking the cal for ccdNodeId if instrument != EPN.
- Fixed SPR 3350 by changing the constraints on --srcweights and --bkgweights from >0 to >=0.
- Now prints a list of calculated background weights when --bkgweightstyle=flat.
- Fixed SPR 3352 by adding new parameters --bkgarea and --srcarea for when, respectively, --bkgweightstyle and --srcweightstyle = 'user'; also these areas are now set to 1 if 'none' is selected for these styles.
- The total-source-region and total-bkg-region gtis which were introduced in version 2.7 have been modified a bit. Tables SRC_GTIS and BKG_GTIS now contain gtis which are set to exclude only and all null values of, respectively, the source and background count rate columns.

Version 2.8 - 2004-06-15 (IMS/LUX)
----------------------
- Changed the name of parameter --weights to --srcweights; changed --weightstyle to srcweightstyle; introduced analogous parameters --bkgweightstyle and --bkgweights.
- Fixed SPR 3340.

Version 2.7 - 2004-06-10 (IMS/LUX)
----------------------
- Now again calling emsaplib/badpixutils_mod:readBadOffsets since it was fixed. The fixed version however only has a minor version no. increment so I can't ensure the fixed version is used via dependencies.
- Some rearrangement of code to (a) reduce the number of global variables, (b) to allow other tasks access to some of the algorithms, and (c) to speed things up a bit.
- GTIs for all the CCDs which intersect the extraction region are now ORed and written to extensions of the output (SCR 162).
- Now supports CHANTYPE='PHA'.
- Removed prints of test output which were inadvertently left in v-2.6.
- Fixed SPR 3306 (ssclib-3.10/exposure:constructQeArray now takes rawX/rawY arguments).
- 'use polygon' changed to 'use regridders'.
- Pointer piRanges in exposure_map.f90:calcPnCcdExpMap now deallocated (fixes SPR 3314).
- Added parameters --weightstyle and --weights. This should fix SPR 3111 (see also SOC SCR 162).
- Removed redundant calls to checkRangeOverlap in exposure_map:getEnergyBounds.
- Included oal, selectlib in DEPEND and brought all versions up to date.
- lccorr_mod:getCcdNumFromDssComp, lccorr_mod:attemptToGetSrcPosFromDss and lccorr_mod:getSrcPositions slightly modified to lessen their use of global variables.
- Removed redundant 'use array_utils' from lccorr_mod header.
- Removed energy-dependent factors from BKGRATIO calculation (fixes SPR 3310).

Version 2.6 - 2004-04-19 (IMS/LUX)
----------------------
- Interfaces to ssclib brought up to 3.9 standard.
- Removed dumpBounds from exposure_map.f90 (now in ssclib/dss_ranges_aux).
- Fixed SPR 3302. This was an incorrectly sized array in exposure_map.f90:calcMosCcdExpMap.

Version 2.5 - 2004-04-06 (IMS/LUX)
----------------------
- Added to the test harness an explicit test on the presence of the link to the input data in package testprods.

Version 2.4 - 2004-04-05 (IMS/LUX)
----------------------
- Now uses test data in package testprods. (Added testprods to DEPEND.)

Version 2.3 - 2004-03-25 (IMS/LUX)
----------------------
- Copy of patches to devtrack.

Version 2.2.8 - 2004-03-17 (IMS/LUX)
-------------------------
- Fixed SPR 3280.
- Put in a temporary trap (with explanatory message) to work around SPR 3281 on ssclib.

Version 2.2.7 - 2004-03-16 (IMS/LUX)
-------------------------
- 'Slight change to error doco' appears to have been made to the wrong file: it doesn't seem to have appeared in the uploaded 2.2.6. Let's try again!

Version 2.2.6 - 2004-03-15 (IMS/LUX)
-------------------------
- Fixed SPR 3272.
- Slight change to error documentation and also to the .lyt file, to be more user-friendly.
- Added work-around for an error discovered in emsaplib.
- Lccorr now rescales the background to the source collection area whether the background is subsequently subtracted or not. This was not really an error so much as an ugliness.

Version 2.2.5 - 2004-03-04 (IMS/LUX)
-------------------------
- The text for some warnings and errors had been missing; these have now been filled out.
- The documentation has been brought up to date.

Version 2.2.4 - 2004-01-29 (IMS/LUX)
-------------------------
- Upgraded to handle PN. New module exposure_map contains stuff that used to be in ssclib/exposure.

Version 2.2.3 - 2004-01-29 (IMS/LUX)
-------------------------
- Changed call to instToRaw to cope with changes in ssclib-3.6.4 (see SSC SPR 3217).
- ...however this introduced another bug which caused the test harness to fail (SPR 3237). This has now been fixed. It necessitated some changes to ssclib/exposure.f90.

Version 2.2.2 - 2003-12-18 (IMS/LUX)
-------------------------
- Changed subroutine interpolatePsfCubeToCcd so that ssclib regridding routine used instead (fixes SPR 3189).

Version 2.2.1 - 2003-12-17 (IMS/LUX)
-------------------------
- Added oal, dss and sasdal to the USEDLIBS line. Task won't compile statically without them. Fixes SPR 3179.

Version 2.2 - 2003-11-24 (IMS/LUX)
-------------------------
- Temp_ssclib modules now merged into ssclib-3.0.
- (from 2.0.4): Documentation update.
- (from 2.0.3): Fixed SPR 3028.
- (from 2.0.3): Added some more messages and utility routines.
- (from 2.0.3): Added parameters --srcposstyle and --srcposset to allow the source position to be obtained either from keywords SRC_RA, SRC_SET in the designated dataset or from the centre of the selection region as stored in the DSS (if this is possible).
- (from 2.0.3): Allowed sources on CCD other than 1 to be processed.
- (from 2.0.3): Slightly altered lccorr_test.
- (from 2.0.3): Fixed SPR 3043.
- (from 2.0.1): Now depends explicitly on sas.

Version 2.1 - 2002-11-07 (IMS/LUX)
-------------------------
- Same as 2.0 but uses param>2.0 for devtrack upload.

Version 2.0 - 2002-10-17 (IMS/LUX)
-------------------------
- Major rewrite. Also now needs dsslib-4.0.

Version 1.7.4 - 12 Mar 2002 (IMS/LUX)
-------------------------
- Distribution changed temporarily from 'world' to 'ssc' until some of the bugs are weeded out.

Version 1.7.3 - 10 Mar 2002 (IMS/LUX)
-------------------------
- Closed SPR 2703.

Version 1.7.2 - 08 Mar 2002 (IMS/LUX)
-------------------------
- Updated DEPEND.

Version 1.7.1 - 07 Mar 2002 (IMS/LUX)
-------------------------
- Rearranged some expressions to avoid a rounding error that made the testset fail on some platforms.

Version 1.7 - 24 Jan 2002 (IMS/LUX)
-------------------------
- Updated DEPEND.

Version 1.6 - 30 Oct 2001 (IMS/LUX)
-------------------------
- Updated dependencies.
- Changed cal coord variables to type double to conform with cal-3.121.
- Fixed test harness.

Version 1.5 - 14 Sep 2001 (IMS/LUX)
-------------------------
- Fixed another depend error.

Version 1.4.5 - 17 May 2001 (IMS/LUX)
-------------------------
- Fixed depend error.

Version 1.4.4 - 16 May 2001 (IMS/LUX)
-------------------------
- Fixed some bugs. There are plenty more.
- Updated DEPEND.

Version 1.4.3 - 1 Dec 2000 (IMS/LUX)
-------------------------
- Added .lyt to config/Makefile.

Version 1.4.2 - 23 Nov 2000 (IMS/LUX)
-------------------------
- Updated documentation.
- Broken html links fixed.

Version 1.4.1 - 9 Nov 2000 (IMS/LUX)
-------------------------
- Fixed SPRs 2019 and 2027.

Version 1.4 - 10 Oct 2000 (IMS/LUX)
-------------------------
- Updated dependencies.
- Reduced size of test files.

Version 1.3 - 9 Oct 2000 (IMS/LUX)
-------------------------
- Changed mode etc names to accord with caloalutils v 1.34.

Version 1.2.1 - 5 Jul 2000 (GV/SOC)
----------------------
- add taskmain to DEPEND.
- SPR deprecating use of caps in taskname macro fixed.
	
Version 1.2 - 27 May 2000 (GV/SOC)
----------------------
- updated DEPEND

Version 1.1 - 26 May 2000 (IMS/LUX)
----------------------
- Now using /usr/local/bin/perl in lccorr_test

Version 1.0 - 15 May 2000 (IMS/LUX)
----------------------
- Initial version for SAS v5.
=========================================================================
Package lccorr_pcms: version 1.5 [NEW]

ChangeLog

Version 1.5 - 2006-04-12 (MAS/LUX)
----------------------
- Changed exposure_map*.f90 so as to fix SPR 3596 (MOS pheripheral chips NOT processed when the central chip is in the timing mode).
- Note: Now, instead of relying on CAL_getState() for getting the informaion of the CCDMODE, now it is got directly from the FITS header of the input file.
- Note: This change has been made so far only in lccorr_pcms (not lccorr).

Version 1.4.1 - 2006-04-10 (MAS/LUX)
----------------------
- Changed lc*_mod.f90 so as to fix SPR 3595 ('noSrcArea': error -> normal exit with warning)

Version 1.4 - 2006-02-22 (IMS/LUX)
----------------------
- Changed exposure_aux.f90 in line with lccorr-2.27.
- Dependency on ssclib increased to 3.29.

Version 1.3 - 2005-12-01 (IMS/LUX)
----------------------
- Improved some error messages.
- Added 2 lines of message output.
- Fixed a bug: fine-scale pseudo-event filtering had been left commented out, so that areas of extraction regions were too small.
- Fixed another bug: the hexadecimal parameter --flagmask was not being transmitted to the exposure-correction machinery.

Version 1.2 - 2005-11-17 (IMS/LUX)
----------------------
- Parameter --withboresightfudge (default 'yes') added to lccorr_pcms and eexpchipmap_pcms (until sign of boresight psi is corrected).
- DEPENDency on attcalc2, eimchip2sky and ssclib all brought up to date (1.2, 2.0 and 3.27 respectively).
- Made other changes to eexpchipmap_pcms so it conforms with latest attcalc2 and eimchip2sky.

Version 1.1 - 2005-11-07 (IMS/LUX)
----------------------
- Added a test harness.

Version 1.0 - 2005-11-02 (IMS/LUX)
----------------------
- Contains versions of eexpchipmap and lccorr (but no other lccorr tasks) which have been kludged in an attempt to circumvent F95 compiler problems. This package was modified from lccorr-2.21.
- Added new parameter --srcdeducestyle and rearranged the parameter tree structure (to help support --srcweightstyle='events').
- Fixed a bug in exposure_map_pcms in which the task was failing if any CCD had no overlap from the src or bkg extraction region.
- --srcweightstyle='events' is now supported.
- Added new parameter --tempeventset to both lccorr_pcms and eexpchipmap_pcms.
- Added two new parameters --srcregiontab and --bkgregiontab, plus necessary changes to lccorr_include.f90, lccorr_pcms_mod.f90, lccorr_corrector.f90 and exposure_map_pcms.f90 to make use of them. This is necessary to convey region filtering data to the exposure calculator.
- Changed DEPEND of attcalc2 to 1.0 to overcome linux build problem.
- DISTRIBUTION changed from world to ssc.

=========================================================================
Package lcplot: version 1.19 [was 1.18.1]

ChangeLog

Version 1.19 - 2005-09-06 (NW)
        -------------------------------

	Added a new parameter 'tests' which allows the user to decide if 
	they want to carry out both probability of constancy tests or 
	just the chi-squared test or the Kolmogorov-Smirnov test.  The 
	documentation has also been updated.


Version 1.18.1 - 2005-01-28 (NW)
        -------------------------------
 
        Changes made to identifying NULLS and some arithmetic changes
	made to stop lcplot crashing with NULL and negative values.

	
=========================================================================
Package mssllib: version 2.46 [was 2.43.13]

ChangeLog

Version 2.46 - 2006-05-30 (CB)
-----------------------------	
         Ammended module omastromcorrect_mod.f90
	 to work with fewer stars and to better
	 weed out bad catalogue mismatches. Modified
	 omcoinccorr_mod to compute a significance based
	 on a filter-dependent aperture.
	 



Version 2.45.6 - 2006-02-22 (CB)
-----------------------------	
         Ammended module leastsuares_mod to fix 
	 build failure.


Version 2.45.5 - 2006-02-17 (CB)
-----------------------------	
         Ammended the way the SPB_CORR (source+background)
	 coincidence-loss correction is computed for extended
	 sources to make it consistent with the definition  
	 in the header of the source-list file. (Fixes SPR 3582).


Version 2.45.4 - 2005-11-24 (CB)
    Further ammendment for (SPR 3547).

Version 2.45.3 - 2005-11-23 (CB)
    Ammended valuse of astrometry correction values so that they are not corrected for
    declination	(SPR 3547).

	
Version 2.45.2 - 2005-11-16 (CB)
-----------------------------	
         Ammended code that sets the source-confusion flag in omphotometry_mod (SPR 3543).

Version 2.45.1 - 2005-09-012 (CB)
-----------------------------	
         Deleted code in omastroncorrect_mod.90 that was producing some 
	 ps files (SPR 3269 again).

	
Version 2.45 - 2005-09-012 (CB)
-----------------------------	
         Made very minor modifications to omskybackground_mod.90.

Version 2.44 - 2005-09-02 (CB)
-----------------------------	
         Made minor modifications to omsourceflags_mod.90, in relation
	 to source flagging. Renamed module minim_mod to omminim_mod to
	 prevent conflict with minimim_mod in sciam library.
	
Version 2.43.13 - 2005-08-08 (CB)
-----------------------------	
        Fixed compilation  warning about unused variables in getstartendexp_mod 
	(SPR 3495). Made some minor mods to omsourceflags_mod.f90 to improve
	reliablity of source flagging.

=========================================================================
Package nodfingest: version 0.9 [NEW]

ChangeLog

Version 0.9 - 2004-05-20 (JSH)
----------------------------
	+ Separate nodfingest from odfingest. See odfingest changelog for
	updates prior to this point (Version 3.23.1 was last version of
	odfingest with nodfingest included)
=========================================================================
Package oal: version 3.114.2 [was 3.113.2]

ChangeLog

Version 3.114.2 - 2006-01-10 (RDS)
---------------
		+ f90/OalF90cxxGlue.cc/h - added routines to access IPPV values
          f90/oal.f90              which are observation rather than 
          f90test/oaltest.f90      exposure specific (OAL_hasconfIPPV and
          odf/0010_PPPPPPOOLL_SCX00000SUM.SAS       
                                   OAL_getconfIPPV). A new test harness
                                   has been added (SPR-2649)

Version 3.113.4 - 2005-12-10 (RDS)
---------------
        + src/Odf.cc             - solves problem with RGS diagnotic maps
                                   for the second exposure (SPR-2645)
                                                                                
Version 3.113.3 - 2005-12-05 (RDS)
---------------
        + src/Odf.cc             - release track version of fix for problem
                                   with the wrong expanded
                                   filename being returned for ODFs containing
                                   a scheduled and unscheduled exposure with
                                   the same number
                                                                                
Version 3.114.1 - 2005-12-02 (RDS)
---------------
		+ src/Odf.cc             - fixed a problem with the wrong expanded 
                                   filename being returned for ODFs containing
                                   a scheduled and unscheduled exposure with
                                   the same number

Version 3.114 - 2005-06-08 (JSH)
---------------
        copy of 3.113.2 for the development track

Version 3.113.2 - 2005-06-08 (JSH)
---------------
		Default to use TCX file in Time Correlation

=========================================================================
Package odffix: version 2.7 [was 2.6.2]

ChangeLog

Version 2.7 - 2005-03-02 (JSH)
-----------
	+ SPR2202 - (ahfgen.par, odffix.par) Tasks now accept Position Angle between 0 and 360

Version 2.6.2 - 2005-01-12 (AI)
-----------
	+ Documentation updated.
	
=========================================================================
Package odfingest: version 3.27.1 [was 3.25]

ChangeLog

Version 3.27.1 - 2006-05-31 (AI)
------------
	+ (src/odfingest.cc) Check the two possible values of 
	"SCATS" ATS keyword (SOC-SCR-214).	
	
Version 3.27 - 2005-09-12 (JSH)
------------
	+ Put metadata keywords in right place

Version 3.26 - 2005-09-12 (JSH)
------------
	+ Add Date and odfversion information as Keywords (SCR 192)

Version 3.25 - 2005-07-12 (JSH)
------------
	+ Fixed HDI calibration mode and time handling

=========================================================================
Package omatt: version 2.41 [was 2.39.7]

ChangeLog

Version 2.41 - 2006-05-30 (VNY)
------------------------------
	introduced the calculation of RA and DECs for Grisms 
	(the modifications will be noticeable only when processing 
	the observations with the grism filter since corresponding
	flags are introduced in order to distinguish in between the 
	other filters - old code - and the grism filters - the modified 
	code). The changes correspond to SSC-SPR-3605.
Version 2.40  - 2005-09-02 (CB)
------------------  	
        Made a minor modification to subroutine modifypositionangles
	to prevent source position angles exceeding 180 degrees when
	transformed to celestial equator coordinate system.
Version 2.39.7  - 2005-06-06 (CB)
------------------  	
	Added check to prevent source position angles from exceeding 360 degrees.
	
=========================================================================
Package omcomb: version 2.4.2 [was 2.4.1]

ChangeLog

Version 2.4.2 - 2006-01-07 (CB) A kewword "IMGGAP" has been added to the header-
------------ 0=no image segment missing, 1 segment 1 missing, 2 segment 3
	     missing and 4 segment 4 missing (SSC-SPR-3579)
	
Version 2.4.1 - 2005-06-01 (VNY) The bug provoking a crash on the full-frame
	low-resolution images is fixed (SSC-SPR-3461)
=========================================================================
Package omdetect: version 5.6 [was 5.0.7]

ChangeLog

Version 5.6 - 2006-05-31 (CB)
--------------------------------
        Removed some test write statements
	
Version 5.5 - 2006-05-30 (CB)
--------------------------------
        Made a small modification to the way the background
	image is computed to reduce the cpu time. Also made
	a minor change the faint-source detection algorithm



Version 5.4.3 - 2005-12-01 (CB)
--------------------------------
        Small bug fixed on omdetectdetection_mod.f90 in
	subroutine isvalidfirstordersource to fix
	crash processing a grism image(to fix SPR 3558)
	
Version 5.4.2 - 2005-12-01 (CB)
--------------------------------
        Made small modification to background estimation in
	central enhancement region (to fix SPR 3528)
Version 5.4.1 - 2005-10-07 (CB)
--------------------------------
        Removed a subroutine call that masks
	out the centre region prior to extended-source
	detection (to fix SPR 3527)
	
Version 5.4 - 2005-09-12 (CB)
--------------------------------
        Updated documentation and a couple of minor tweaks
	made to module omdetecdetection_mod.
	
Version 5.3 - 2005-08-25 (CB)
--------------------------------
        Removed all mention of  minim_mod to fix build problem.
	(fixes SPR 3510).

	
Version 5.2 - 2005-08-25 (CB)
--------------------------------
        Removed module minim_mod to fix build problem.

	
Version 5.1 - 2005-08-16 (CB)
--------------------------------
        Modified subroutine fastdetection in omdetect_mod.f90
	so that point-source detection pointers only deleted
	after call to extendedsource algorithm (fixes SPR 3499)
        Ammended test harness.
Version 5.0.7 - 2005-08-09 (CB)
--------------------------------
        Made a small modification to omdetectdetection_mod.f90 to make
	the number of pixels above the background to be a minimum of 2
	for those pixels to be checked for a possible source (fixes SPR 3492).
	Also made minor modification to grism detection module to fix zeroth
	order sources lying close to first order sources being missed.
        Removed some test statements to reduce execution time. Updated
	documentation. Removed some redundant code.
=========================================================================
Package omfchain: version 1.34 [was 1.31.8]

ChangeLog

Version 1.34 - 2006-05-23 (VNY) A protection against generating an empty 
	PDF-file is introduced (SSC-SPR-3604) for the rare cases when 
	the omlcbuild task for some reason could not produce the light-curve
	PS-plot
Version 1.33.1 - 2006-05-18 (VNY) Checking for the consistency of
	the sampling and binning intervals is introduced
	(SSC-SPR-3598)
Version 1.33 - 2005-11-10 (VNY) Adjusted to the changes in the 
	source region file made by omdetect (SSC-SPR-3538)
Version 1.32 - 2005-09-09 (VNY) Dependency file updated to fit the
	changed task omlcbuild-1.25 (SSC-SPR-3507)
Version 1.31.8 - 2005-06-15 (VNY) Protected against a crash when a magnifier 
	filter exposure is found in the ODF (SSC-SPR-3480)
=========================================================================
Package omgchain: version 1.2 [was 1.0.12]

ChangeLog

Version 1.2 - 2006-05-30 (VNY) Introducing a new task into the chain:
	omatt, which will be able to produce the sky image and compute
	the right ascentiona and declinations of the zero-orders
	(SSC-SPR-3606). The version 2.41 of omatt is requires, as
	well as the calibration file OM_ASTROMET_0012.CCF with the
	corresponding untility in caloalutils-1.100.
Version 1.1 - 2005-09-07 (VNY) Documentation corrected (SSC-SPR-3508),
	the dependencies file is made consistent with the lates 
	version of omgrism.
Version 1.0.12 - 2005-06-09 (VNY) +(test/testomgchain) Test harness is 
	optimised to fit in the time slot for tests
=========================================================================
Package omgprep: version 1.1.2 [was 1.0.4]

ChangeLog

Version 1.1.2 - 2006-06-09 (VNY) (+src/omgprep_mod.f90) A small bug
	causing a subscription error message is fixed ((SSC-SPR-3607)
Version 1.1.1 - 2006-06-09 (VNY) (+src/omgprep_mod.f90)
        Introducing a flag indicating (by returning a zero or non-zero value) 
	that the spectrum is extractable from the grism-image or not (SSC-SPR-3606).
Version 1.1 - 2005-09-28 (VNY) (+src/omgprep_mod.f90) : fixed a problem
	of propagation of keywords in the header of the output file
	(SSC-SPR-3525)
Version 1.0.4 - 2005-06-01 (VNY) (+src/omgprep_mod.f90): the moire
	pattern, which appeared due to undistortion of the image 
	is removed (fixing SSC-SPR-3462)
=========================================================================
Package omgrism: version 1.9 [was 1.1.30]

ChangeLog

Version 1.9 - 2006-02-27 (VNY) +(scr/omgrism_mod.f90, omgextraction_mod.f90)
	The slight inconsistency between the code for scaling the spectrum 
	counts and the wavelength calibration file is removed 
	(this problem was reported in SSC-SPR-3588).
Version 1.8 - 2005-12-12 (VNY) +(src/omgrism_mod.f90, findsourceslist_mod.f90)
	The algorithms for spectra identification and classification 
	are improved (SSC-SPR-3552)
Version 1.7 - 2005-10-30 (VNY) +(src/omgrism_mod.f90) Production of empty 
	spectra fits-files in the case of too small windows is suppressed
	(SSC_SPR-3534)
Version 1.6.1 - 2005-10-27 (VNY) +(src/omgrism_mod.f90) The previous bug
	is finally fixed (SSC-SPR-3535) - it was found still revealing itself
Version 1.6 - 2005-10-25 (VNY) +{src/omgrism_mod.f90) A bug introduced
	during the previous upload of the task was fixed (SSC-SPR-3533)
Version 1.5 - 2005-10-18 (VNY) +(src/omgrism_mod.f90) A warning 
	message is introduced in the case of impossibility of 
	extraction the spectrum due to the smallness of the 
	window (SSC-SPR-3526)
Version 1.4 - 2005-09-26 (VNY) (+src/findsourcelist_mod.f90, 
	omgexcratcion_mod.f90, omgrism_mod.f90) Fixing a small bug,
	which could lead to a crash when working with some non-standard
	data sets (SSC-SPR-3522)
Version 1.3 - 2005-09-12 (VNY) (+src/findsourcelist_mod.f90) reducing the 
	used stack memory, since in some systems this resource is limited>
	This change is additional to fixing SSC-SPR-3515.
Version 1.2 - 2005-09-07 (VNY) (+src/omgrism_mod.f90, omgextraction_mod.f90)
	The computation of the coordinates of the zero-order spectrum
	is made the same for all the possible cases (SPR-3515)
Version 1.1.30 - 2005-07-14 (VNY) (+src/omgextraction_mod.f90) 
	A bug in the Marquardt optimisation code is fixed. This was 
	affecting the optimal extraction mode (SSC-SPR-3434). The main
	(default) extraction mode remaines unchanged.
=========================================================================
Package omgrismplot: version 1.2.1 [was 1.0.6]

ChangeLog

Version 1.2.1 - 2005-11-15, 2005-05-23 (VNY) 
	+(src/omgrismplot_mod.f90) The X- and Y- 
	coordinates are introduced into the plot header; strange symbols
	at the top of the plot are eliminated (this version is
	not uploaded yet - VNY 15.11.2005)
Version 1.2 - 2005-10-18 (VNY) +(src/omgrismplot_mod.f90) A small bug
	introduced during the previous upload is fixed
Version 1.1 - 2005-10-18 (VNY) +(src/omgrismplot_mod.f90) A warning
	message is included in the case of no spectral data in the
	input file (fixed SSC-SPR-3526)
Version 1.0.6 - 2005-06-03 (VNY) +(src/omgrismplot_mod.f90)
	A bug is fixed (SSC-SPR-3436) which was leading to the 
	task failure in the Full-Frame Low-Resolution mode when
	extracting field spectra. The failure was cause by some
	unexplicable manipulation of memory by the Fortran compiler:
	coding the same thing in slightly different way has fixed
	the problem.
=========================================================================
Package omichain: version 1.46.1 [was 1.45.14]

ChangeLog

Version 1.46.1 - 2006-02-17 (CB) 
--------------
        Ammended perl script so that the input directory name is not
	prefixed to the usno catalogue name when no catalogue name is 
	given (fixes SPR 3584).
	
Version 1.46 - 2005-09-14 (CB) 
--------------
	Increased the default value of omdetectnsigma to 4.0

Version 1.45.14 - 2005-06-09 (CB) 
--------------
	Increased the value of omdetectnsigma in the test
	harness to fix time-out failures on some platforms
	(SPR 3476)

=========================================================================
Package omlcbuild: version 1.28 [was 1.24.3]

ChangeLog

Version 1.28 - 2006-02-21 (VNY) +(src/omlcbuild_mod.f90) In the 
	computation of the average magnitude the negative counts 
	are taken into account, thus, removing a possible small
	bias in the magnitude (SSC-SPR-3587)
Version 1.27 - 2006-02-10 (VNY) +(src/omlcbuild_mod.f90) The computed time-
	dependent sensitivity correction factor is shown in the 
	header of the output file (SSC-SPR-3580)
Version 1.26 - 2006-02-10 (VNY) +(src/omlcbuild_mod.f90) Introduced 
        the time-dependent sensitivity correction (SSC-SPR-3580)
Version 1.25 - 2005-09-09 (VNY) +(src/omlcbuild_mod.f90) Protected 
	against the possible crash when using the extractions 
	region radius expressed in FWHM-units (SSC-SPR-3507)
Version 1.24.3 - 2004-05-15 (VNY) +(/src/omlcbuild_mod.f90) introduced 
	a rigorous algorithm for computing error bars for count rates
	(subroutine by S.Rosen) - fixed SSC-SPR-3337
=========================================================================
Package ommag: version 3.6 [was 3.4.5]

ChangeLog

Version 3.6 -  2005-09-12 (CB)
-------------------------------
	Made minor modification to the positioning of the magnitude
	columns in the source-list table.
	
Version 3.5 -  2005-09-02 (CB)
-------------------------------
	Removed line of code that recomputes source significances.
	
Version 3.4.5 -  2005-06-28 (CB)
-------------------------------
	Ammended routine ommagnitude_mod in mssllib to set default 
	polynomial coefficents to 1.0 and 0.0 (fixes SPR 3483 - mssllib
	version 2.43.12 has this fix)	
	Also replaced source-list file in test directory with a more
	recent one to fix problem of negative magnitudes which cause
	a test-failure on one system.
	Also introduced Simon Rosen's algorithm for calculating more
	accurate source-rate error bars for high count-rates (an SPR
	3337 was raised for this some time ago, but unfortunately it was't
	included in ommag). 
	

	
=========================================================================
Package omprep: version 2.36 [was 2.34.5]

ChangeLog

Version 2.36 - 2005-11-10 (vny)
-------------------------
	+(src/omprep_mod.f90) Protected against oscillating sign
	of FTFINE caused by telemetry drops (FAST-regime, SSC-SPR-3505)
	
Version 2.35.1 - 2005-10-25 (cb1)
--------------------------------
       +(src/omprep_mod.f90) Ammended program so that Engineering-4
	data only the keywords BINAX1, BINAX2, BINBPE, WINDOWDX and
	WINDOWDY are set to what they should be, thus overcoming
	problems with missing/incorrect attributes in the input
	image header. (fixes SPR-3532)
	
Version 2.35 - 2005-08-17 (cb1)
--------------------------------
       +(src/omprep_mod.f90) minor modifications to the way the exposure-
	identifier string is obtaine (fixesSSC-SPR-3502)

Version 2.34.5 - 2005-06-09 (vny)
--------------------------------
	+(src/omprep_mod.f90) minor modifications to the warning messages 
	(some of them contained undefined strings - SSC-SPR-3472)
=========================================================================
Package omsource: version 1.12 [was 1.9.11]

ChangeLog

Version 1.12 -  2006-05-30 (CB)
--------------------------------
        Small mods made to region interface to ds9 (SPR 3583).
	A number of other small improvements have been made.

	
Version 1.11 -  2005-09-14 (CB)
--------------------------------
        Small correction made to raw-count rates corrections factors
	in OmPhotometryDlg.cc.

	
Version 1.10 -  2005-09-14 (CB)
--------------------------------
        Updated to use mssllib code to draw regions, to be consistent 
	with omdetect. Updated OmPhotometryDlg.cc to list new
	raw-rate correction factors.
	
Version 1.9.11 -  2005-08-05 (CB)
--------------------------------
        Replaced code that uses class "Info" in OmSourceBrowser.cc to run
	omdetect and ommag with a call to "system" and removed "try" and "catch" blocks
	to fix SPR 3486. 

=========================================================================
Package omsrclistcomb: version 2.3 [was 2.0.3]

ChangeLog

Version 2.3  - 2005-09-14 (CB) 
-----------------------------
        Corrected Vega flux constants (not actually used)
	and an AB flux conversion constant.
	
Version 2.2  - 2005-09-12 (CB) 
-----------------------------
        Removed vector tables.
	
Version 2.1  - 2005-09-02 (CB) 
-----------------------------
        Ammended subroutine addsourceids in omsrclistcomb_mod.f90 to
	fix SPR 3513. Made minor modifications to subroutine
	aligncoordinateaxes. Added extra keywords to SRCLIST table
	to give conversion factors from ergs/s/cm**2/A to Janskys.
	
Version 2.0.3  - 2005-08-08 (CB) 
-----------------------------
	Improved documentation and comments added to the output source-list file.
	
=========================================================================
Package omthconv: version 1.32 [was 1.31.1]

ChangeLog

Version 1.32 - 2005-08-17 (CB)  
--------------------------------
	Made a minor modification to get the exposure identifier
	from the header from the thxset file (fixes SPR 3501)

	
Version 1.31.1 - 2005-03-02 (CB)  
--------------------------------
	Made a minor modification to fix SPR 3439



=========================================================================
Package ppssumm: version 3.3.2 [was 3.3]

ChangeLog

Version 3.3.2 - 2005-11-10 (DJF)
-----------
	+ Now also processes EPICSRC table in PINDEX file.

Version 3.3.1 - 2005-11-09 (DJF)
-----------
	+ Fix lost first character from Data Mode column of the observation summary page (SPR 3520).
	+ HHhMMmSS.Ss representation of RA wrongly assumes it was in degrees rather than hours (SPR 3529).
	+ .FTZ files will now be hyperlinked from the summary pages.

=========================================================================
Package region: version 7.9 [was 7.5]

ChangeLog

Version 7.9 - 2005-11-17 (IMS/LUX)
----------------------
- Swapped order of CAL_setState(accuracyLevel=ACCURACY_MEDIUM)and call to CAL_psfValidityRanges(). Fixes SPR 3542/3544.
- Warning messages in subroutine getEncircEnergyRadii a bit expanded.
- Parameter --withboresightfudge (default 'yes') added to region (until sign of boresight psi is corrected).

Version 7.8 - 2005-10-25 (IMS/LUX)
----------------------
- Some code rearrangement
- Mode --bkgratestyle='image' is now supported.

Version 7.7 - 2005-06-09 (IMS/LUX)
----------------------
- Added new parameter --tempset (fixes SPR 3471).
- SCTS, BG_MAP columns are now only required if --radiusmode eq 'contour' (fixes SPR 3473)
- ID_INST, ID_BAND columns now required only if --radiusmode ne 'userfixed'.

Version 7.6 - 2005-02-21 (IMS/LUX)
----------------------
- Changed the noSourcesSelected error to a warning (for nicer running within a script).

Version 7.5 - 2004-08-04 (IMS/LUX)
----------------------
- Test harness now fails if test data not found.

=========================================================================
Package regionstats: version 3.3 [was 3.2]

ChangeLog

Version 3.3 - 2005-09-20 (RDS)
-----------
	+ documentation updated to refer to correct parameters (SPR-2566)
	
Version 3.2 - 2003-06-19 (GV)
-----------
	+ DEPEND on param 2.0
	
=========================================================================
Package rgsbadpix: version 2.18.2 [was 2.17]

ChangeLog

Version 2.18.2 - 2006-05-19 (CG)
--------------
	+ minor docu fix

Version 2.18.1 - 2006-04-06 (CG)
--------------
	+ "cool" columns through call to function calCPDS (using new CCF files
	RGS COOLPIX)

Version 2.18 - 2006-03-10 (CG)
------------
	+ "cool" columns can now be also flagged as bad, new parameter
	"keepcool" 

Version 2.17 - 2003-02-24 (CG)
------------
	+ new version necessary because of problems with upload of former one.

=========================================================================
Package rgsbkgmodel: version 1.3 [was 1.1.6]

ChangeLog

Version 1.3.2 - 2006-06-27 (AI)
-----------
	+ (config/rgsbkgmodel.par) "pdistincl" constraint keyword updated.
	
Version 1.3.1 - 2006-06-16 (AI)
-----------
	+ (src/Factor.cc) Ligth Curve binSize value changed to 100. SOC-SPR-2685 Closed
	
Version 1.3 - 2006-05-17 (AI)
-----------
	+ (Model.cc, Factor.cc & rgsbkgmodel.par) New parameter "pdistincl" added. This
	is the percentage of PI distribution included.
	
Version 1.2 - 2006-05-09 (AI)
-----------
	+ (Model.cc & Factor.cc) Code refractoring.
	
Version 1.1.7 - 2006-01-16 (AI)
-----------
	+ New tool "rgsbkgmodelTest" added to the package. This tool checks 
	if the CCD9 of the input table is not empty, and also checks if 
	the number of beta channels are equal to 3400. The tool exits with 
	a error code equal to 1 if any of these checks fail.
	+ Documentation updated.

Version 1.1.6 - 2005-05-30 (AI)
-----------
	+ (Model.cc) POISSERR keyword removed. Closed SOC-SPR-2597.
	+ (Model.cc) New error algorithm. Closed SOC-SPR-2598.
	+ (Factor.cc) Check if CCD 9 data is empty. SOC-SPR-2600.
	+ (test/runrgsbkgmodel) typo bug fixed.
	
=========================================================================
Package rgsenergy: version 2.0.4 [was 2.0.2]

ChangeLog

Version 2.0.4 - 2006-05-25 (CG)
-------------
	+ Recognition of Spectroscopy 1x1, and consequent avoidance of 
	  Pixel-to-Pixel subtraction (SPR 2682) 

Version 2.0.3 - 2005-10-27 (CG)
-------------
	+ Bug introduced with 2.0.2. (not performing Pixel-to-pixel subtraction)
	  fixed (SPR 2634) 

Version 2.0.2 - 2004-11-20 (CG)
-------------
	+ Exposure extension keyword added indicating type of offset subtraction
	  performed
	+ Documentation update

=========================================================================
Package rgsevents: version 3.12.3 [was 3.12.2]

ChangeLog

Version 3.12.3 - 2006-06-09 (CG)
--------------
	+ TSTART, TSTOP and MJDREF not copied from PIXELS by HTR mode (SPR 2683)

Version 3.12.2 - 2005-06-14 (CG)
--------------
	+ TUNIT keyword added to TIME in event list (SPR 2606)

=========================================================================
Package rgsfilter: version 1.17.1 [was 1.17]

ChangeLog

Version 1.17.1 - 2006-05-30 (AI)
--------------
	+ (SOC-SCR-215) New keyword ONTIME added to the EVENTS table of the
	rgsfilter output (src/rgsfilter.cc).
	+ New item added to the "rejflags"  parameter.
	
Version 1.17 - 2002-08-19 (UL)
------------
	+ now DEPENDs on package sas
	+ a few transparent changes to improve C++ standard compliance

=========================================================================
Package rgsfluxer: version 1.7.1 [was 1.7]

ChangeLog

Version 1.7.1 - 2006-01-20 (CG)
-------------
	+ Wrong model background subtraction fixed (SPR 2643)
	+ Non-subtraction and warning added if background subtraction asked
	  (background files present) but Spectrum already bck-subtracted
	

Version 1.7 - 2005-04-20 (JAC)
-----------
	+ adapted to cope with TOTAL spectra, removing backcounts
	+ if no background given, no change to previous algorithm
	+ adapted to deal with background spectra as produced by rgsbkgmodel
	+ error calculations updated for new background consideration

=========================================================================
Package rgsimplot: version 1.14.3 [was 1.13.3]

ChangeLog

Version 1.14.3 - 2005-11-18 (CB)
--------------------------------	
	Further mod to fix SSC-SPR-3545.
Version 1.14.2 - 2005-11-18 (CB)
--------------------------------	
	Modified a warning call to fix SSC-SPR-3545.
Version 1.14.1 - 2005-10-26 (VNY)
--------------------------------	
	Further fixing of the array-bound
	erros (SSC-SPR-3523), which was not completely resolved 
	during the previous upload
	
Version 1.14 - 2005-10-06 (CB) 
---------------------------------
        Made minor modification to fix array-bound error
	(SPR  3523)
Version 1.13.3 - 2004-05-18 (CB) 
---------------------------------
	Further modification to src Makefile fix run-time bus-error
	problem on mac.
=========================================================================
Package rgsproc: version 1.24 [was 1.19.10]

ChangeLog

Version 1.24.1 - 2006-06-23 (CG)
--------------
	+ Default value for "withmlambdacolumn" set to "yes". 
	
Version 1.24 - 2006-05-23 (AI)
------------
	+ Default values for parameters "xpsfincl", "xpsfexcl",
	"pdistincl" and "rejflags" changed.
	
Version 1.23 - 2006-05-22 (AI)
------------
	+ Parameter "withneweffare" changed for "withdyneffare"
	Documentation updated.
	
Version 1.22 - 2006-05-17 (AI)
------------
	+ Parameter "pdistincl" now also uses in rgsbkgmodel.
	  (test/ccf.cif) New entry EFFAREACORR CCF file.
	
Version 1.21 - 2006-03-10 (CG)
------------
	+ New parameter "keepcool" added (for calling rgsbadpix).
	
Version 1.20 - 2006-02-22 (AI)
------------
	+ New parameter "withneweffarea" added.
	
Version 1.19.20 - 2005-11-11 (CG)
--------------
	+ test harness EPIC SRCLIST file replaced due to change in rgssources:
	extra column required 

Version 1.19.11 - 2005-10-27 (AI)
--------------
	+ withdiagoffset default value changed to "yes" to follow the 
	pipeline default values.

Version 1.19.10 - 2005-08-04 (AMTP & AI)
--------------
	+ rgsfluxer bkg logic.
	
=========================================================================
Package rgsprods: version 1.10 [was 1.9.1]

ChangeLog

Version 1.10 - 2004-03-25 (IMS/LUX)
----------------------
- Copy of patches to devtrack.

Version 1.9.1 - 2004-03-17 (IMS SSC/LUX)
----------------------
- Fixed SPR 3278.
- Updated the documentation.

=========================================================================
Package rgsregions: version 1.19.1 [was 1.18]

ChangeLog

Version 1.19.1 - 2006-02-17 (CG)
--------------
	+ re-submission after cleaning directories

Version 1.19 - 2005-01-12 (BC + CG)
------------
	+ updated for extended source analysis
        + see TN (XMM-SOC-SW-TN-0020)
	+ Wavelength/Energy conversion accuracy fix - SPR2549

Version 1.18 - 2003-06-30 (CG)
------------
	+ broken link in documentation fixed

=========================================================================
Package rgsrmfgen: version 1.10 [was 1.5.3]

ChangeLog

Version 1.10 - 2006-05-22 (AI)
-----------
	+ (src/calib.cc) Parameter "neweffarecorr" changed for 
	"dyneffarecorr". Parameter "corrType" removed. 
	Documentation updated.
	
Version 1.9 - 2006-04-11 (AI)
-----------
	+ (src/calib.cc) New call to the CcdQuantumDataServer 
	method "ccdCorrFactors(order)" added. This call allows cal to deal
	with the new CCD correction factors.
		
Version 1.8 - 2006-02-22 (AI)
-----------
	+ config/rgsrmfgen.par keyword typo fixed.
	
Version 1.7 - 2006-02-22 (AI)
-----------
	+ New parameter "neweffareacorr" "corrtype" added. These parameters
	enable the new effective area correction in the cal.
	
Version 1.6 - 2005-09-13 (CG)
-----------
	+ energy/wavelength conversion accuracy fixed - SPR 2549

Version 1.5.3 - 2004-03-15 (CG)
-------------
	+ parameter name update in docu (ebins >> rows) 
	
=========================================================================
Package rgssources: version 5.31.1 [was 5.28]

ChangeLog

Version 5.31.1 - 2006-03-10 (MAS/LUX)
--------------------------
- Fixed SPR 3592.

Version 5.31 - 2005-11-17 (IMS/LUX)
----------------------
- Parameter --withboresightfudge (default 'yes') added to rgssources (until sign of boresight psi is corrected).

Version 5.30 - 2005-11-14 (IMS/LUX)
----------------------
- (Same as 5.29.1) Fixed SPR 3539 by deallocating the weights array after use.

Version 5.29 - 2005-10-17 (IMS/LUX)
----------------------
- The task can now cope with multi-instrument epic source lists. In this case a weights average is made of SCTS, RATE and BG_MAP. New code requires dependency on ssclib to be upgraded. An extra parameter --instweights has also been added; an ID_INST columns has also been added to the epic dataset in the test directory.

Version 5.28 - 2004-04-19 (IMS/LUX)
----------------------
- Slight change in interface to ssclib/coordinate.f90:raDecToInst to bring it up tp ssclib-3.9 standard.

=========================================================================
Package rgsspecplot: version 2.18.3 [was 2.18.1]

ChangeLog

Version 2.18.3 - 2005-11-28 (NW)
        -------------------------------
  
        Added a third type of  spectrumtype to the labels (SRC+BKG) at 
	the request of IMS and have also added a further label to the 
	plot with information about the source.


Version 2.18.2 - 2005-11-21 (NW)
        -------------------------------
  
        Changed the limit of the number of sources allowed to 999 (from 100) 
	in the rgsspecplot.par file as the new pipeline was falling over 
	with such a low limit.


Version 2.18.1 - 2002-07-25 (NW)
        -------------------------------
  
        Only uses poissonian errors if there is no STAT_ERR column


=========================================================================
Package rgssuperrmf: version 1.0.6 [was 1.0.4]

ChangeLog

Version 1.0.6 - 2006-06-05 (CG)
----------------------------
- cif in test updated to cope with new RGS calibration files

Version 1.0.5 - 2006-01-23 (CG)
----------------------------
- Processing of 2nd order spectra and responses enabled - SPR 2652
  Documentation update included
  [implemented by Jenny]

Version 1.0.4 - 2005-06-28 (CG)
----------------------------
- Comments changed / removed by Jenny

=========================================================================
Package rmfgen: version 1.55 [was 1.53.5]

ChangeLog

Version 1.55   - 2005-11-09 (RDS)
------------
        + (config/rmfgen.par)       - Changed detxbins, detybins defaults
                                      from 20 to 160.

Version 1.53.5   - 2005-08-05 (RDS)
------------
        Documentation update

=========================================================================
Package sas: version 1.452 [was 1.443]

ChangeLog

Version 1.452 - 2006-06-13 (EO)
-------------
	+ Version for the release track
	+ SHAREDVERSION=yes (configure.in)
	  AKA := 7.0.0-Alpha (Make.include.in)
	+ Modified in doc/lib/sasglobal.tex the definition of \url
	  command by using \renewcommand instead \newcommand, 
	  to avoid conflict with latex2html prior definintion of \url.
	+ Added SASLDFLAFS="-flat_namespace" in *darwin* section of 
	  configure.in to avoid NAG Fortran undefined symbols in 
	  Mac OS X 10.4.X (Tiger).


Version 1.451 - 2006-06-02 (EO)
-------------
	+ Version for the development track
	  SHAREDVERSION=no (configure.in)
	  AKA :== dt (make.include.in)

	  Table of package versions 1.449-1.451:
	  - 1.449 - release       - SAS 7.0.0-Alpha
	  - 1.450 - mac           - SAS 7.0.0-Alpha
	  - 1.451 - development   - dt

Version 1.450 - 2006-06-02 (EO)
-------------
	+ Version for the mac track
	  SHAREDVERSION=no (configure.in)
	  AKA :== 7.0.0-Alpha (make.include.in)


Version 1.449 - 2006-06-02 (EO)
-------------
	+ Version for the release track - Start of next public release.
	+ SHAREDVERSION=yes (configure.in)
	  AKA := 7.0.0-Alpha (Make.include.in)
	+ Replaced path variable by binpath in sas-setup.sh.in 
	  to avoid the problem of nullifying PATH in Z-shell
	  when path= in current script (SCR-207).

Version 1.448 - 2005-09-15 (EO)
-------------
	+ Version for the development track.
	  SHAREDVERSION=no (configure.in)
	  AKA :== dt (make.include.in)

	  Table of sas package versions 1.446-1.448:
	  - 1.446 - release       - SAS 6.6.0
	  - 1.447 - mac           - SAS 6.6.0 on Mac OS X
	  - 1.448 - development   - dt

Version 1.447 - 2005-09-15 (EO)
-------------
	+ SAS 6.6.0 for the mac track
	  SHAREDVERSION=no (configure.in)
	  AKA :== 6.6.0 (Make.include.in)

Version 1.446 - 2005-09-15 (EO)
-------------
	+ SAS 6.6.0 for bulk pipeline reprocessing and 2XMM catalogue
	  building.
	  Its manifest baseline is SAS 6.5.0 with new versions for
	  16 tasks. These tasks were uploaded with version numbers
	  of the form M.m, not patching versions.
	+ SHAREDVERSION=yes (configure.in)
	  AKA := 6.6.0 (Make.include.in)

Version 1.445 - 2005-08-12 (EO)
-------------
	+ Version for the development track
	  SHAREDVERSION=no (configure.in)
	  AKA := dt (Make.include.in)

	  Table of sas package versions 1.443-1.445 :
	  - 1.443 - release      - SAS 6.5.0
	  - 1.444 - mac          - SAS 6.5.0 on Mac OS X
	  - 1.445 - development  - dt

Version 1.444 - 2005-08-12 (EO)
-------------
	+ SAS 6.5.0 for mac track
	  SHAREDVERSION=no (configure.in)
	  AKA := 6.5.0 (Make.include.in)

Version 1.443 - 2005-08-12 (EO)
-------------
	+ bin/saslibs: Included support to save libfftw3 and libfftw3f
	  shared libs into libextra tar.gz archive. It was missing.

	+ SAS 6.5.0 
	  SHAREDVERSION=yes (configure.in)
	  AKA := 6.5.0 (Make.include.in)

=========================================================================
Package slconv: version 2.1.3 [was 2.0]

ChangeLog

Version 2.1.3 - 2006-05-23 (IMS/LUX)
------------------------
- Slight documentation upgrade.

Version 2.1.2 - 2005-11-28 (IMS/LUX)
------------------------
- The change in the previous version introduced a bug. Now fixed.

Version 2.1.1 - 2005-11-25 (IMS/LUX)
------------------------
- Error 'noSourcesSelected' changed to a warning for better pipeline running.

Version 2.1 - 2005-11-02 (IMS/LUX)
------------------------
- Rearranged entries in this ChangeLog.
- Fixed SPR 3307.
- Added new parameters --outfilestyle and --outfile to allow the task to be used in the pcms.

Version 2.0 - 2005-02-07 (MC/IFCA)
------------------------
- DS9 region colour now written for each source instead of writing it in the header of the region file.
- Added new parameter 'shape' for DS9 regions
- Updated documentation
	
=========================================================================
Package srcmatch: version 3.15.18 [was 3.15.9]

ChangeLog

Version 3.15.18  - 2006-06-12 (GL)
--------------------------------- 

Correct error causing zero det_ml values
to be written as NULL values.
Close SSC-SPR-3612
	
	
Version 3.15.17  - 2006-03-22 (GL)
--------------------------------- 

New columns PN_OFFAX, M1_OFFAX, M2_OFFAX
(copied from emldetect OFFAX columns)
	
Version 3.15.16  - 2006-03-06 (GL)
--------------------------------- 	

Fix wrong values in EP_HR_2, EP_HR2_ERR, EP_HR4,  EP_HR4_ERR
	
	
Version 3.15.15  - 2006-01-03 (GL)
--------------------------------- 

Calculate EPIC hardness ratios averaged
over all 3 cameras in "allepic" mode.
Calculate EPIC fluxes averaged 
over all 3 cameras in "allepic" mode.
New output table columns:
   EP__FLUX  (band=1..5)
   ERR_EP__FLUX
   EP_TOT_FLUX
   ERR_EP_TOT_FLUX
   EP_XID_FLUX
   ERR_EP_XID_FLUX

	
	
Version 3.15.14  - 2005-12-05 (GL)
--------------------------------- 

Ignore XID band list for  EP_TOT values.  
	
	
	
Version 3.15.13  - 2005-11-11 (GL)
--------------------------------- 

Change RA, DEC output in HTML list to h:m:s d:m:s format. 
In "allepic" mode, write only only flag column "EP_FLG" to html file.
In "allepic" mode, write 4 flag columns _FLAG, EP_FLAG to
fits output file.
	
Version 3.15.12  - 2005-10-19 (GL)
--------------------------------- 

Put keywords EP_SET into 
header of extension #0
	
Version 3.15.11  - 2005-10-18 (GL)
--------------------------------- 	

Correct error in copying values for M1_4_ML, M1_5_ML
Close SSC-SPR-3528
	
	
	
Version 3.15.10  - 2005-10-11 (GL)
--------------------------------- 

Handle new emldetect lists with  ID_INST=0  for single instrument.
Add 15 columns for individual energy band  likelihoods 
  (only if one input list is an XID band list, i.e. 2XMM type source lists :)
  PN__ML
  M1__ML	
  M2__ML
	

	
Version 3.15.9 - 2005-04-12 (GL)
--------------------------------- 

Corrected *_CTS_ERR values for all-epic mode
Copy all-epic filter, submode, and exposure keywords
from emldetect list to srcmatch output list.

	
=========================================================================
Package ssclib: version 3.29 [was 3.24]

ChangeLog

Version 3.29 - 2005-12-02 (IMS/LUX)
----------------------
- Changed dss_aux.f90 slightly to fix a funny problem seemingly related to interaction with dsslib.
- Removed correctForGtiAndAlias from exposure.f90 and updated other of its routines from their lccorr equivalents (fixes SPR 3586: duplicated exposure routines)
- Fixed typos in Bessel function routines added in previous version.

Version 3.28 - 2005-12-02 (IMS/LUX)
----------------------
- Added Bessel function routines to math_utils.
- Fixed bug in minimizations:powellsMethod in which the optional input argument axisIsPinned is unilaterally accessed (ie without being first tested for presence).
- Filled in most of the error/warning messages in the code.

Version 3.27 - 2005-11-01 (IMS/LUX)
----------------------
- Overloaded wcs_aux:pixelsToTan to accept 2D array arguments.

Version 3.26 - 2005-09-14 (IMS/LUX)
----------------------
- Fixed a problem in writeColDataInt8 and writeColDataInt16 in which an attempt was made to access a non-present optional argument.
- Fixed a division by zero in ssc_misc.f90:sprintEvery when total==1.
- Fixed a problem in array_utils:findUniqueValues in which optional mask argument was being unilaterally accessed.

Version 3.25 - 2005-09-07 (IMS/LUX)
----------------------
- Added public logical applyAttcalcFudge to module coordinate.f90. When this is set .true., the sign of the boresight psi is inverted.
- Added some checks on array size in array_utils:median.
- Overloaded all coordinate:tanTo* or *ToTan routines to take a wcs argument instead of refRa and refDec.
- Optional mask() argument added to array_utils:findUniqueValues.
- Some new (private) subroutines, + additional optional arguments to existing subroutines, added to minimizations.f90 so as to enable rudimentary constraint handling in multi-dimensional minimization.
- dss_ranges_aux:swapRangeBounds made public.
- Added dss_ranges_aux:compareRangeBounds + some more public constants.
- Overloaded dss_ranges_aux:initializeRangeT to take scalar and vector arguments. (Vector should be enough! Deprecate the scalar.)
- In dss_ranges_aux:initializeBoundT bound%type is now set to UNDEFINED (was INCLUSIVE).
- Made coordinate:ims_getFocalLength public.
- Overloaded rebinners:rebinImage to take cubes as arguments as well as images.

Version 3.24 - 2005-04-01 (IMS/LUX)
----------------------
- Added subroutine tanRadiusToPixelsEllipse to wcs_aux with overloading to scalar and vector arguments.
- Overloaded detection_stats.f90:pearsonsChi2 to take 3D array arguments.
- Added hasWcsColumnsName, hasWcsColumns to wcs_aux.
- Overloaded detection_stats.f90:chi2Prob, integratedChi2Prob and chi2Unlike to take either integer or real(single) degfree argument.
- Added inverseIntChi2Prob to detection_stats.

=========================================================================
Package testccf: version 1.113 [was 1.111.5]

ChangeLog

Version 1.113 - 2006-04-03 (RDS)
-------------
	+ constituents/ccf.cif updated. New files
	RGS1_COOLPIX_0001.CCF
	
Version 1.112 - 2006-02-22 (AI)
-------------
	+ constituents/ccf.cif updated. New files
	RGS1_EFFAREACORR_0001.CCF, RGS2_EFFAREACORR_0001.CCF
	
Version 1.111.5 - 2005-06-09 (RDS)
-------------
	+ constituents/ccf.cif updated:
         Changed version of OM_PHOTONAT fom 2 to 3 (SPR-2614)

=========================================================================
Package testodf: version 0.45.1 [was 0.45]

ChangeLog

Version 0.45.1 - 2005-11-10 (RDS)
------------
	+ Changed 0001_0000010010_R1X00000OFX.FIT to include all CCDs

Version 0.45 - 2004-09-10 (IMS SSC/LUX)
------------
	+ Added attcalc2 test odfs.

=========================================================================
Package testprods: version 1.8 [was 1.6]

ChangeLog

Version 1.8 - 2005-11-07 (IMS/LUX)
----------------------------
- Added imageutils_data directory.

Version 1.7 - 2004-10-07
----------------------------
- Added eimsim_data directory.

Version 1.6 - 2004-09-14
----------------------------
- Added some columns to ebkgmap_data/src_list.ds.

=========================================================================
Package tools: version 1.63 [was 1.61.1]

ChangeLog

Version 1.63 - 2005-11-07 (IMS/LUX)
------------
        + Added inadvertently missed out imweightadd files in imageutils/config, imageutils/test and imageutils/doc.
        + The imageutils test harness now looks for test files in testprods. Thus testprods-1.8 added to DEPEND.

Version 1.62 - 2005-11-02 (IMS/LUX)
------------
        + Added parameters to imcrop as follows: --cropstyle with options 'fraction' (the default) plus 'pixel'; --xlo, --xhi, --ylo and --yhi. This change is to enable the user to define the cropping region by pixels as well as by fractions.
        + Added imageutils tasks immedian, impoissprob and imweightadd (the last was formerly in edetect).
	+ imageutils/imrebin no longer needs l_wcs_aux module.
	+ Changed test harness slightly so that imsample is no longer modifying test/infiles/srclist.ds.

Version 1.61.1 - 2005-06-08 (IMS/LUX)
------------
        + Put in a work-around for SSC SPR 3467: the offending calls to isNull and setToNull in imgrad have been commented out for the time being. imgrad therefore does not at the moment deal in a sensible fashion with images containing nulls.

=========================================================================
Package utils: version 1.109.4 [was 1.109.3]

ChangeLog

Version 1.109.4 - 2006-01-27 (EO)
---------------
	+ Same change introduced in previous version was added to code
	  STime.cc in function LeapSeconds, leapSecsSince72 vector.

Version 1.109.3 - 2005-08-02 (EO)
---------------
	+ Added a line to leapsecdata/leapsec.dat to account for an
	  additional difference of a single second between the TAI
	  (Temps Atomique International) and the UTC.
	  Such line specifies that at MJD 53736.0 (2006-01-01) 
	  the TAI - UTC = 33 s (it has been 32 s since 1999-01-01).

=========================================================================