SAS Release Notes - SAS 6.5.0

	             Release Note for SAS 6.5.0
		     ==========================

		   Carlos Gabriel & Eduardo Ojero 
	    (with inputs from John Hoar and Antonio Talavera)
	                 XMM-Newton SOC



* Contents

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

* SAS releases covered by this note


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

			      sasversion

This version (6.5.0): xmmsas_20050815_1803

Last public version  (6.1.0): xmmsas_20041122_1834


* 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.1.0 are

- upgraded EPIC MOS calibration, including modelling of spatial and temporal
  response dependencies. This, together with calibration improvements in new
  released PN calibration files, has as result a much better cross calibration 
  among the EPIC instruments.
  
- upgraded EPIC source detection tasks, more robust and efficient, with correct
  detection likelihoods.
  
- upgraded EPIC MOS bad pixel finding task.     

- refurbished EPIC metatasks emproc and epproc, which include now all the
  functionalities and filtering possibilities present in the PERL scripts
  emchain and epchain.  

- the new RGS tasks rgscombine and rgssuperrmf, which make possible the
  combination of spectrum and response files. A final combined spectrum file 
  can be obtained, together with response matrix and background files, for a 
  particular RGS instrument and order. 
  
- the implementation of an OM sensitivity degradation correction in the SAS OM
  image processing. This correction amounts to 2.8% per year in the UV filters,
  and less than 2% in the optical filters.
    
- improved OM source detection algorithms. They produce better resuls,
  especially in the presence of straylight artifacts and for extended sources. 

- modifications and improvements of the OM grism data analysis tasks for
  facilitating interpretation and increase the quality. A slight drawback,
  however:an error of a few pixels may occur in the measurement of the zero 
  order position, translating into a shift in the wavelength scale. This will 
  be corrected in the very near future.
  
- the Reconstructed Time Correlastion (TCX ODF constituent) is now used by
  default in SAS tasks.
  
- odfingest has improved mode and filter determination and more accurate
  observation timespan calculation. It includes the recognition of all "Non 
  scientific modes" observations. 

- the package lccorr has been momentarily removed from the public distribution,
  due to deficiencies. These will be corrected in the near future and the task
  will be again available. 


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


In addition, changes have been introduced making the SAS installation and 
startup procedures more comfortable and simple. Operating system determination
and sanity checks are performed at the time of configuring / installing SAS, and
a startup script is created.  


CCF:
----

Please notice that new calibration constituent files are needed for the large
improvement achieved by the EPIC MOS response determination. These CCFs
containing the spatial and temporal redistribution dependency are
EMOS[1-2]_REDIST_00[57-60].CCF, which will be made public within days after this
SAS version is public. 
Another calibration file, (EMOS1_BADPIX_0032.CCF) has been released together
with SAS 6.5.0. You can follow the CCF download instructions at 
http://xmm.esac.esa.int/external/xmm_sw_cal/calib/ccf.shtml


=========================================================================
* Package manifest for SAS version 6.5.0

Package arfgen: version 1.66.4 [was 1.65.16]
Package asmooth: version 2.22.1 [was 2.22]
Package attcalc2: version 1.0 [was 0.5]
Package backcorr: version 3.5.1 [was 3.3]
Package backscale: version 1.3.2 [was 1.3]
Package badpixfind: version 1.36.1 [was 1.36]
Package cal: version 3.175.3 [was 3.174.3]
Package caloalutils: version 1.98 [was 1.95.3]
Package colimplot: version 3.10.5 [was 3.10.4]
Package deceit: version 1.18.2 [was 1.18]
Package dsslib: version 5.5.6 [was 5.5.2]
Package ebadpixupdate: version 1.7.1 [was 1.6.1]
Package eboxdetect: version 4.15.1 [was 4.15]
Package eexpmap: version 3.37.3 [was 3.37.2]
Package efftplot: version 2.16.1 [was 2.12]
Package eimchip2sky: version 1.7.1 [was 1.7]
Package ekstest: version 2.1 [was 1.3.6]
Package elcplot: version 2.1 [was 1.2.6]
Package embadpixfind: version 2.1.1 [was 1.20.1]
Package emchain: version 11.12 [was 11.4.7]
Package emenergy: version 8.5 [was 8.1.2]
Package emevents: version 8.2.5 [was 8.2.4]
Package emldetect: version 4.44.11 [was 4.44.1]
Package emsaplib: version 2.28 [was 2.27.2]
Package epchain: version 8.57.1 [was 8.53]
Package epevents: version 6.42 [was 6.41]
Package epexposure: version 0.6.2 [was 0.6.1]
Package epframes: version 8.71.7 [was 8.71.4]
Package epicproc: version 2.9.10 [was 2.9.4]
Package eposcorr: version 3.9.2 [was 3.9.1]
Package epreject: version 5.7 [was 5.3.1]
Package especget: version 1.19 [was 1.18]
Package esplinemap: version 4.2.1 [was 4.2]
Package evselect: version 3.58.7 [was 3.58.5]
Package flspec: version 3.1 [was 2.42]
Package gtialign: version 2.9 [was 2.8.1]
Package hello: version 1.17.2 [was 1.17.1]
Package hkgtigen: version 1.14.2 [was 1.14.1]
Package imgdisplay: version 1.45.3 [was 1.45]
Package implot: version 2.11.5 [was 2.11.4]
Package layout: version 1.6.1 [was 1.6]
Package lccorr: version 2.22.2 [was 2.17.1]
Package lcplot: version 1.18.1 [was 1.18]
Package mssllib: version 2.43.13 [was 2.43.6]
Package oal: version 3.113.2 [was 3.111.6]
Package odfcheck: version 0.18.2 [was 0.18.1]
Package odffix: version 2.6.2 [was 2.6]
Package odfingest: version 3.25 [was 3.23.5]
Package omatt: version 2.39.7 [was 2.39.5]
Package omcomb: version 2.4.1 [was 2.4]
Package omcosflag: version 1.25.2 [was 1.25.1]
Package omdetect: version 5.0.7 [was 4.19.5]
Package omfchain: version 1.31.8 [was 1.31.6]
Package omgchain: version 1.0.12 [was 1.0.9]
Package omgprep: version 1.0.4 [was 1.0.3]
Package omgrism: version 1.1.30 [was 1.1.20]
Package omgrismplot: version 1.0.6 [was 1.0.5]
Package omgsource: version 1.2.18 [was 1.2.16]
Package omichain: version 1.45.14 [was 1.45.10]
Package ommag: version 3.4.5 [was 3.4.3]
Package ommodmap: version 2.15.4 [was 2.15.3]
Package ommosaic: version 1.11.7 [was 1.11.4]
Package omprep: version 2.34.5 [was 2.34.2]
Package omsource: version 1.9.11 [was 1.9.8]
Package omsrclistcomb: version 2.0.3 [was 1.30.4]
Package omthconv: version 1.31.1 [was 1.31]
Package rgsbkgmodel: version 1.1.6 [was 1.1.5]
Package rgscombine: version 1.0.3 [NEW]
Package rgsevents: version 3.12.2 [was 3.12.1]
Package rgsfluxer: version 1.7 [was 1.6]
Package rgsproc: version 1.19.10 [was 1.19.6]
Package rgssuperrmf: version 1.0.4 [NEW]
Package rmfgen: version 1.53.5 [was 1.52.4]
Package sas: version 1.443 [was 1.431]
Package saslib: version 1.85 [was 1.84.1]
Package slconv: version 2.0 [was 1.9]
Package srcmatch: version 3.15.9 [was 3.15.1]
Package ssclib: version 3.24 [was 3.16.1]
Package tabgtigen: version 2.12.3 [was 2.12.1]
Package testccf: version 1.111.5 [was 1.111.4]
Package tools: version 1.61.1 [was 1.58.1]
Package utils: version 1.109.3 [was 1.109.2]
Package xcolorcod: version 1.20.1 [was 1.20]
Package xmmselect: version 2.64.9 [was 2.64.6]


* New and withdrawn packages

New:

Package rgscombine: version 1.0.3 [NEW]
Package rgssuperrmf: version 1.0.4 [NEW]

Withdrawn:

Packages lccorr has been taken out of the public distribution



* Detailed list of changes between SAS 6.1.0 and SAS 6.5.0

Package arfgen: version 1.66.4 [was 1.65.16]

ChangeLog

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

Version 1.66.3 - 2005-08-04 (RDS)
------------
        + Copy of 1.67 for thre release track.

Version 1.67 - 2005-08-01 (RDS)
------------
        + (src/CalCoreData.cc)        Fixes bug where an include and exclude
                                      circle are treated as an annulus even when
                                      their centres are distant (SPR-2624)

Version 1.66.2 - 2005-07-04 (RDS)
------------
        + (src/DetmapFilter.cc)       Uses an object for attcalc parameters
                                      to avoid having to close down and reopen
                                      parameters from calling task

        + (src/OffCCDPixelIterator.cc/h, Includes or excludes area
           ConcreteArfDataServer.cc,     out of the FOV depending on
           config/arfgen.par/lyt)        command line parameter ignoreoutoffov
                                         (SPR-2622)

Version 1.66.1 - 2005-06-28 (RDS)
------------
        + (src/DatafileAttributes.cc) Sets the instrument before the
                                      window mode to avoid warning message.

Version 1.66 - 2005-06-15 (RDS)
------------
        + (src/BadPixelCorrector.cc)  Correctly interprets FLAG=0 value for
                                      bad pixels (SPR-2609)

        A side benefit of this change is that pixels which are included
        in bad pixel AND bad column extensions are now only counted once
        in the effective area generation, whereas before they were included
        twice.

Version 1.65.18 - 2005-02-25 (RDS)
------------
        + (src/DatafileAttributes.cc) Interprets mode properly for outer
                                      CCDs odf timing mode MOS obs (SPR-2601)

Version 1.65.17 - 2004-12-21 (RDS)
------------
        + (DEPEND)                    Added selectlib dependancy (SPR-2569)

Version 1.65.16 - 2004-08-13 (RDS)
------------
        + (config/arfgen.par)         Changed photon energy to 2 keV (SPR-2528)
                                      Also changes useodfatt default from 
                                      true to false (SPR-2544) 
          (src/ConcreteArfDataServer.cc,
           src/CheckExpr.cc/h)        Added code to handle a sky or DETX/Y mask.
                                      NB: ARF generation is supported but the
                                      BACKSCAL value will be wrong for
                                      masked regions (SPR-2090)

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

ChangeLog

Version 2.22.1 - 2005-04-06 (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.

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

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

ChangeLog

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...

Version 0.9 - 2005-02-21 (IMS/LUX)
------------------------------
- noEvents error of evproject changed to a warning (for easier running in scripts).
- Changed printEvery in attbin to sprintEvery.
- Removed a print statement from attbin.

Version 0.8 - 2004-11-29 (IMS/LUX)
------------------------------
- Corrected mistake in which pixel size in arcsec was multiplied rather than divided by 3600 to get the size in deg.
- evproject now no longer copies the DETX/Y TCDLT keyword values to the X/Y TCDLT values: instead the task uses the 'hard-wired' value of 0.05 arcsec.

Version 0.7 - 2004-11-01 (IMS/LUX)
------------------------------
- Fixed SPR 3413 on evproject. X/Y values are now being written to file.

Version 0.6 - 2004-10-12 (IMS/LUX)
------------------------------
- Fixed SPR 3411 - in binned_att.f90:sampleBinnedAttitude, array endsUnbounded was being accessed with the wrong variable as index.

Version 0.5 - 2004-09-15 (IMS/LUX)
------------------------------
- Fixed problem with 'percent' prints.

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

ChangeLog

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

        Change to DEPEND for releasetrack version
	

Version 3.5 - 2004-11-26 (NW)
        -------------------------------

        Included dsslib' in DEPEND, as requested in SSC-SPR-3420.

	
Version 3.4 - 2004-11-02 (NW)
        -------------------------------

        Fixed a small bug that could result in a divide by zero in some cases.

=========================================================================
Package backscale: version 1.3.2 [was 1.3]

ChangeLog

Version 1.3.2 - 2005-08-04 (RDS)
-----------
	+ Documentation upgrade
	
Version 1.3.1 - 2005-07-04 (RDS)
-----------
	+ added extra parameter options from arfgen    (SPR-2622)
	
=========================================================================
Package badpixfind: version 1.36.1 [was 1.36]

ChangeLog

Version 1.36.1 - 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
		
=========================================================================
Package cal: version 3.175.3 [was 3.174.3]

ChangeLog

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

Version 3.176 - 2005-08-03 (RDS)
---------------
	+ (src/Redistribution.cc)   - fixed bug in the threshold calculation
                                  code for MOS

Version 3.175.2 - 2005-07-22 (RDS)
---------------
	+ (src/Redistribution.cc)   - fixed bug in the Spatial region
                                  averaging algorithm

Version 3.175.1 - 2005-06-15 (RDS)
---------------
	+ (src/Redistribution.cc)   - remove excessive debug

Version 3.175 - 2005-06-14 (RDS)
---------------
	+ (src/Redistribution.cc/h) - new structure including region specification
                                  for MOS redistribution parameters
                                  (SPR-2515)

Version 3.174.6 - 2005-05-26 (RDS)
---------------
	+ (src/CalAtomsMisc.h,      - now returns frameTime as a double precision
       f90/CalF90cxxGlue.cc,      number (rather than float) from 
       CalF90cxxGlue.h,           CAL_getModeParameters both Fortan and C++
       caltypes.f90,              interfaces (SPR-2615)
       f90test/calexample_epn.f90) ! Test updated to include frame time             
Version 3.174.5 - 2005-01-27 (RDS)
---------------
	+ (src/EnergyCorrector.cc   - simplified CAL_piToeV to return the
                                  PI channel number * 1.0 (SPR-2424)

Version 3.174.4 - 2005-01-18 (RDS)
---------------
	+ (f90test/vigtest.f90,   -   fixed bug with getVignettingFactor which
       f90/CalF90cxxGlue.cc)      returned the same value when the instrument
                                  was changed but not the theta,phi and
                                  added new test (SPR-2594)

Version 3.174.3 - 2004-11-22 (RDS)
---------------
	+ (f90test/caltest_epn.f90) New values for test of distribution CCFs

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

ChangeLog

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

Version 1.95.4 - 2005-06-30 (JSH)
------------
	+ Copy of 1.97 for the release track

Version 1.97 - 2005-06-27 (JSH)
------------
	+ Add modes
		- MOS Diag 1x1 RPP
		- RGS Spectroscopy Baseline, Spectroscopy 1x1 and Readout Storage
		Section
		- PN Prime FF Low Gain, and FF Masked
	+ RGS HTR Mode now defaults to MULTI
	+ OM E2/E4 FW=Blocked mode recognition
	+ OM E3/E7 mode recognition

Version 1.96 - 2004-09-21 (RDS)
------------
	+ copy of 1.95.3 for the dev track.

Version 1.95.3 - 2004-07-16 (RDS)
------------
	+ added support for RGS_TEMPLATEBCKGND files

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

ChangeLog

Version 3.10.5 - 2005-04-07 (IMS/LUX)
----------------------------
- Changed datatype of 3rd argument of calls to valueAtHistoFraction to reflect changes in ssclib-3.24. DEPENDency of ssclib upgraded to 3.24.

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

=========================================================================
Package deceit: version 1.18.2 [was 1.18]

ChangeLog

Version 1.18.2 - 2005-08-14 (EO)
--------------
	+ Previous change was not done actually. Now it is done.

Version 1.18.1 - 2005-08-13 (EO)
--------------
	+ Change distribution from "world" to "soc".

=========================================================================
Package dsslib: version 5.5.6 [was 5.5.2]

ChangeLog

Version 5.5.6 - 2005-08-04 (AI)
-------------
	+ (DSgtiBlock.cc) level warning message changed. 

Version 5.5.5 - 2005-06-09 (AI)
-------------
	+ (DataSubspace.cc) Removed some auxiliary variables.

Version 5.5.4 - 2005-05-31 (AI)
-----------
	+ (DataSubspace.cc) Fix a bug in Data subspace keywords (MTYPE).
	   Closes SOC-SPR-2613.
	
Version 5.5.3 - 2005-05-26 (AI)
-----------
	+ (DataSubspace.cc) Check that the DSS component vector has
	  at least one component. Closes SOC-SPR-2583

Version 5.5.2 - 2004-11-17 (AI)
-----------
	+ (DSgtiBlock.cc) Identical STDGTI extensions are now written to the 
	  final event file (SPR-2578). A warning message appears if two or more
	  STDGTI are identical.

=========================================================================
Package ebadpixupdate: version 1.7.1 [was 1.6.1]

ChangeLog

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

        Changes made to the DEPEND for the releasetrack version
	
Version 1.7 - 2005-04-19 (NW)
	-------------------------- 

	- Now call selectReleaseMemory only once in evflagImage to avoid
 	the program crashing when there are no rows in the event file.  A
 	new if loop was all added to avoid looping over -1 rows
 	(SSC-SPR-3442 - `Task crashes if event list is empty') and changed
 	ccd_id to NumBadPixExt in the error string `bad pixels read in the
 	CCF for CCDNR' for now as the ccd_id is not yet defined for the
 	pn, in response to the SSC-SPR-3441 (`Unitialized variable used in
 	message').
	

Version 1.6.1 - 2004-02-06 (JB)
--------------------------
- Do not call CAL_setState when fromccf=N.

=========================================================================
Package eboxdetect: version 4.15.1 [was 4.15]

ChangeLog

Version 4.15.1 -  2004-01-20 GL
-------------------------------	

Same as 4.17 - for release track
Removed test output
	
	
Version 4.17 -  2004-12-21 GL
-------------------------------	

Changed ebox_io.f90 (subroutine wr_stab) to enable raster scans.
	
Version 4.16 -  2004-12-02 GL
-------------------------------

Improve resolution of closeby sources in 5x5 box mode:
     - Smooth SN map lfeld with tapered 5x5 kernel instead box average.
     - Always use 3x3 box in soubroutine 'match' to find local maxima.
	
=========================================================================
Package eexpmap: version 3.37.3 [was 3.37.2]

ChangeLog

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

Same as 3.40, for development track
	
Version 3.40 -  2004-02-17 (GL)
------------------------------	

Increase maximum number of attitude bins: nattmax=10000
	
Version 3.39 -  2004-11-25 (GL)
------------------------------	

Change default of parameter "useoffset" to "yes"
	
	
Version 3.38 -  2004-08-20 (GL)
------------------------------	

Correct reading of WCS header in case 
primary coordinate system is "DETX_ANG,DETY_ANG".
Close SSC-SPR-3335
Close SSC-SPR-3379
	

	

Version 3.37.2 -  2004-03-02 (GL)
------------------------------

- Accept "DETX_ANG,DETY_ANG" as CTYPE values
- Correct value in output header keyword OOTCORR by factor 1.E3	
	

=========================================================================
Package efftplot: version 2.16.1 [was 2.13]

ChangeLog

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

	
Version 2.16 - 2005-03-03 (NW)
        -------------------------------

        New error (NotEnoughBins) introduced that ensures that no plot is
	produced if there are too few bins to create the power density
	spectrum.  Documentation has been updated.
	

Version 2.15 - 2005-01-28 (NW)
        -------------------------------

        Efftplot now reads and plots the corrected source RA and DEC.
	

Version 2.14 - 2004-12-15 (NW)
        -------------------------------

        Efftplot now reads the new FITS keywords SRCNUM, SRC_RA, SRC_DEC
	written into the lccorr output and writes these values on the plots
	produced.


Version 2.13 - 2004-11-01 (NW)
        -------------------------------

        New development track version.  Changes made to the presentation
	of the header and title of the power spectrum.  The linear plot is
	now shown with the same size gap between the left and right frame.
	The default is that net counts are used for the fourier transform.

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

ChangeLog

Version 1.7.1 - 2005-04-06 (IMS/LUX)
----------------------
- Upgraded DEPEND of attcalc2 to 1.0 to fix build problem.

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

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

ChangeLog

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.
		
Version 2.0 -  2004-11-26 (NW)
----------------------------

	Added several new variability tests (flare and variation tests)
	along with parameters to control these tests.  The chi-squared
	test has been modified by S. Mateos.  The documentation has been
	rewritten.

Version 1.3.6 -  2004-09-03 (NW)
----------------------------

	Small code change so that ekstest deals with the NULLS in the same
	way as elcplot (version 1.2.6).

=========================================================================
Package elcplot: version 2.1 [was 1.2.6]

ChangeLog

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).
	

Version 2.0 - 2005-01-28 (IMS/LUX, NW)
----------------------------	

	Elcplot now reads and plots the corrected source RA and DEC.
	Header spacings changed.  Made documentation updates with regards
	to all the changes made below.  Updated the test harness, again
	with regards to all the changes made below.

- Corrected a bug in which the time axis was always shown in seconds, regardless of the value of --units.
- FRACEXP axis label now gets plotted in same colour as data points (dark blue).
- Main header character height reduced to 0.9.

- Plot header printing now copes with negative MJD value.

- Fixed bugs in which (i) fracexp values were not being binned properly; (ii) null bkg values were being plotted as 0; (iii) funny plotting occurred when offsets were large. Number (iii) cannot be fully fixed in a simple fashion as part of the problem is pgplot's requirement for single-precision arguments.
- Made parameter --tscaleoffset mandatory.
- Added a warning to check --ounits when abs(tscaleoffset) > 10^5.
- Changed the functioning of the --offsetstyle=user behaviour back to the way it was before.
- Added a warning when the task decides to alter the value of --binsize.
- Some errors and warning calls had the task name instead of the error summary in the first field. This now fixed.
- Changed size of numeric labels from 0.9 to 0.7.

- Code rearrangement by IMS (& 1 extra parameter, --offsetstyle). cal has also been added to DEPEND. elcplot_ims may replace elcplot, this will be up to the task maintainer. Until this is decided, this package should NOT be uploaded into the official SAS.

	
Version 1.2.7 - 2004-09-10 (NW)
----------------------------

        Default is now usegtiset=no and useflareset=no.  Changed the
	aesthetics of the plot as well as added further information to the
	top of the plot (obs. ID, Exp. ID, Source no., original bin size).
	Fixed bug that existed when using the task on Solaris (x-axis data
	incorrectly plotted).  Also included a new parameter - forcestart
	- that the user may flag if they wish to plot the data set from
	the very beginning, regardless if the observation has started yet,
	and finish at the very end.  Further, the RA and dec are now
	written as HH:MM:SS.S and +/-DD:MM:SS.SS on the outplut plot.


Version 1.2.6 - 2004-09-03 (NW)
----------------------------

        Fixed a small bug that caused the program to take the wron
	Time_Vect value when there were a lot of NULL values in the file.

=========================================================================
Package embadpixfind: version 2.1.1 [was 1.20.1]

ChangeLog

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

Version 2.1 - 2005-01-13 (JB)
-----------
- Remove two useless residual development files under src.

Version 2.0 - 2005-01-11 (JB)
------------
- Remove PSF factor in favor of local dispersion.
- Add halfwidth2d, halfwidth1d, minratio parameters.
- Remove medianset parameter (compute median internally)
- Relax stopping criterion to avoid missing bright pixels.
- Use new statistic (Li&Ma or binomial) to test faint pixels.

Version 1.21 - 2004-12-23 (JB)
------------
- Fixed SPR 3414: Blank segments in MOS images.
- Do not reject columns/rows when local dispersion is large.
- Modify findBadSeg so that pixrate is a vector.
- Always call findBadCol and findBadRow for both positive and negative peaks.
- Always detect dark columns/rows internally whatever maxratio.
- Modify findBad1D to account for the brightness profile along the projection
  direction.
- Change findBadPix11, findBad1D11, getMedian11 warnings into messages.

Version 1.20.1 - 2004-03-16 (JB)
--------------
- Bug fix on bad pixel type.

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

ChangeLog

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.

Version 11.11  -  2005-04-20 (JB)
-------------
- Check that number of events is > 1 when building light curve.

Version 11.10  -  2005-02-04 (JB)
-------------
- Add writeccdbackground parameter for offset calibration.

Version 11.9  -  2005-01-13 (JB)
------------
- Remove medianset argument to embadpixfind 2.0.

Version 11.8  -  2004-12-23 (JB)
------------
- Prevent too small statistics for flare screening.
- More robust test harness for wc (HB).

Version 11.7  -  2004-11-10 (JB)
------------
- Allow entering exposures as a single number.

Version 11.6  -  2004-11-08 (JB)
------------
- Change tolerance to allow flare screening on CCD 1 only in SW mode.
- Remove useless switch parameters after param 2.
- Modify test harness to be in synch with emenergy 8.1.3

=========================================================================
Package emenergy: version 8.5 [was 8.1.2]

ChangeLog

Version 8.5 - 2005-07-25 (JB)
-----------
- Write the XMMEA_SM keyword.

Version 8.4 - 2005-02-08 (JB)
-----------
- Write the CCD background file only at the last call to CCDBKG.

Version 8.3 - 2004-11-16 (JB)
-----------
- Add 3 sigma clipping on E4 for computing CCD background
  (related to SPR 3414).

Version 8.2 - 2004-11-09 (JB)
-----------
- Correct bug in estimating CCD background for small number of counts
  (related to SPR 3414).

Version 8.1.2 - 2004-07-23 (JB)
-------------
- Could not apply CTI correction and gain correction in successive calls.

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

ChangeLog

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

Version 8.2.4 - 2004-10-11 (JB)
-------------
- Fix SPR 3402 (emevents failure by solveOffsets) by deactivating
  the bad offsets detection in Small Window mode (too much noise).
- Add new detectbadoffsets parameter to allow manual deactivation.

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

ChangeLog

Version 4.44.11 - 2005-08-04 GL
------------------------------	

Fixed small syntax error, 4.44.10 did not compile.

	
Version 4.44.10 - 2005-08-03 GL
------------------------------	

Avoid condition, where uninitialized index nsrc is used in subroutine emldetect.
	Close SSC-SPR-3496
Increase the minimum extent to 1.5 pix and the minmum distance of multiple PSF fits
to 1.5 pix.
        Close SSC-SPR-3497
	
	
=========================================================================
Package emsaplib: version 2.28 [was 2.27.2]

ChangeLog

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

Version 2.27.2 - 2004-04-27 (IS)
--------------
- Add sequence qualifier to type definitions used for passing arguments
  between C and F95 in edusoft_mod.f90 (required by NAg F95 5.0).

=========================================================================
Package epchain: version 8.57.1 [was 8.53]

ChangeLog

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

- (DEPEND): epreject version nr. changed to 5.7 	
	
Version 8.57 - 2005-05-30 (HB)
------------------------------	

- (src/epchain): new options "odfaccess=all" and "datamode=ALL" to process 
	         all exposures or all exposures with the selected mode
	         in one call to epchain (previous versions only processed
	         one exposure); "saslocate" call removed (SSC-SPR-3454)
- (doc/epchain_description.tex): new options added
	
Version 8.56 - 2005-03-31 (MJF)
---------------------------------
- (src/epchain): allow "withoffsetmap=Y" call to task "epreject"
- (src/epchain): reduce verbosity of calls to background "badpixfind" calls

Version 8.55 - 2004-12-06 (MJF)
-------------------------------
- (src/epchain): column PHA_GAIN added to list of columns which can be
  copied to final event list; useful mainly for calibration purposes;
  default behaviour unchanged
- (src/epchain): added new parameters of "epevents", "withphagaincolumn=N" and
  "lowgainenergyscale=N"; default behaviour unchanged
- (src/epchain): call "epevents" with "withgaineff=Y" as new default (old: "N")
- (config/epchain.*): as above
- (doc/epchain_description.tex): as above
- (DEPEND): needs `epevents-6.42'

Version 8.54 - 2004-11-02 (HB)
-------------------------------	

- (src/epchain): parameter "set" added to call of task epreject; needed
	         to support new functionality of epreject-5.4
	
Version 8.53 - 2004-09-19 (MJF)
-------------------------------
- (src/epchain): added special mode-dependent gain correction for FF and eFF modes
- (config/epchain.*): added optional parameters "withgainff" and "withgaineff",
   defaults are "N" (i.e. keep current behaviour and do not use new calls)
- (doc/epchain_description.tex): as above
- (DEPEND): needs `epevents-6.40', added `epreject-5.1'

=========================================================================
Package epevents: version 6.42 [was 6.41]

ChangeLog

Version 6.42 - 2004-12-06 (MJF)
-------------------------------
- (src/epevents_mod.f90): create intermediate column PHA_GAIN if new parameter
  "withphagaincolumn" is set to "Y" (default: "N")
- (src/epevents_mod.f90): initial low-gain mode energy correction, 
  can be switched on via new parameter "lowgainenergyscale=Y" (default: N)
  NOTE: when switching on the low-gain energy correction then most of the
  events fall outside the 2-byte-limit for the PI column (i.e. > 32757 eV)
  as the energy range is then about 2-280 keV; if one is interested in this
  full range the setting "N" should be used and energy values be multiplied
  later with 18.4 to obtain "real" event energies. The new parameter is only
  effective in case of low-gain mode data, of course.
- (config/epevents.*): as above
- (config/epevents.*): changed default for "withgaineff" from "N" to "Y"
- (doc/epevents_description.tex): as above

Version 6.41 - 2004-09-20 (MJF)
-------------------------------
- (DEPEND): corrected typo (epmpelib-0.5 -> 0.4)

=========================================================================
Package epexposure: version 0.6.2 [was 0.6.1]

ChangeLog

Version 0.6.2 - 2005-06-07 (MJF)
--------------------------------
- (src/epexposure_mod.f90): added checks on presence of extensions and columns,
  open input file in USE_ENVIRONMENT memory model

Version 0.6.1 - 2004-03-16 (HB)
-------------------------------
- (src/epexposure_description.tex): parameters section updated	
	
=========================================================================
Package epframes: version 8.71.7 [was 8.71.4]

ChangeLog

Version 8.71.7 - 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.                                                    [DT 8.78]
closed SPR:
- SSC-SPR-3484: Onboard watchdog function causes non-constant filter values

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

Version 8.71.5 - 2005-01-20 (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) [DT 8.75]
- (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"    [DT 8.76]

Version 8.71.4 - 2004-10-17 (MJF)
---------------------------------
- (src/epframes_mod.f90): changed "intent" of data variables in routine
  "determineWindow" from "out" to "inout"

=========================================================================
Package epicproc: version 2.9.10 [was 2.9.4]

ChangeLog

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

Version 2.9.9 - 2005-07-22 (AI)
-----------
        + New two parameters added to emproc: correctcti and correctgain.
	Both parameters belong to emenergy task. SPR-SOC-2623 fixed.
	
Version 2.9.8 - 2005-06-13 (AI)
-----------
	+ (Proc.cc) The signal call to trap SIGABRT doesn't work in 
	Mac OSX 10.3. Both epproc and emproc applications  hang at execution 
	time and the processes remain consuming computer resources. We have introduced
	a MACOSX macro statement to fix the problem in this architecture.
	
Version 2.9.7 - 2005-06-09 (AI)
-----------
	+ Major upgrade of epproc and emproc done in order to add 
	the same functionality as epchain and emchain.
	+ Method that is not longer shared between both tasks: processExposure.
	+ Epproc.cc: 
	epreject task has been added to the process. 
	New parameter "runepreject" added (set to no by default).
	epexposure task has been added to the process.
	New parameter runepexposure added (set to "yes" by default).
	Some of the default values for the parameters were changed.
	Documentation updated.
	+ Emproc.cc:
	The main CCD process has been completely updated 
	(see flow chart in the documentation). 
	New parameter "embadpixfindalgo" added. This parameter allows 
	the user to select  "embadpixfind" task or "badpixfind" task.
	New methods added to handle with bad pix search using "embadpixfind" algorithm 
	(The methods are: badpixelsSearch, findFinalBadPixels)
	New functionality added for GATTI flare screening. 
	(The methods are: mergeIntermediateResults, badPixupdate, makeFlareTs, 
	addFracExp, tsToGTI, testFlareGTI)
	emeventsproj, embadpixfind, ebapixupdate, tabgtigen, tasks have added to the process.
	New parameter "findlowener" to enable an additional run of 
	"embadpixfind" below 500 eV (set to "yes" by default).
	Documentation updated.
	
Version 2.9.6 - 2005-01-12 (AI)
-----------
	+ Documentation updated.

Version 2.9.5 - 2004-12-22 (AI)
-----------
	+ New parameter analyzingSciSimdata added to analyze SciSim data. 
	
Version 2.9.4 - 2004-10-05 (AI)
-----------
	+ CALINDEX check test removed from checkpn.cc, checkpn_timing.cc, 
	checkpn_burst.cc.

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

ChangeLog

Version 3.9.2 - 2004-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
	

	
Version 3.10 - 2004-03-19 GL
-----------------------------	

Fixed problem that caused segmentation fault, when
no error column was present in optical catalogue.

Version 3.9.1 - 2002-03-02 GL
-----------------------------

Change coordinates in matchtable to double precision.

=========================================================================
Package epreject: version 5.7 [was 5.3.1]

ChangeLog

Version 5.7 - 2005-04-26 (HB)
-----------------------------

+ (src/epreject_mod.f90): if noise screening is not yet calibrated:
	                  skip noise screening, only perform offset 
	                  correction
	
Version 5.6 - 2005-04-18 (HB)
-----------------------------

+ (test/epreject_test): test harness fixed	
	
Version 5.5 - 2005-03-23 (MJF, HB)
----------------------------------	
	
+ (src/epreject_mod.f90): if uncalibrated mode do nothing
+ (src/epreject_mod.f90): check for (yet) uncalibrated modes, issue warnings
+ (src/epreject_mod.f90): added/modified diagnostic output
+ (config/epreject.par): changed default of "withoffsetmap" from "N" to "Y"

Version 5.4 - 2004-11-08 (HB)
-------------------------------

+ (src/epreject_mod.f90): calculation of offset correction directly from
	                  offset maps (new default); old method (offset
	                  correction based on 20 adu images) still available
	                  for datasets where no offset maps are available;
	                  new task parameter: -set, -withoffsetmap
+ (config/epreject.par): new task parameters added
+ (config/epreject.lyt): new task parameters added
+ (doc/epreject_description.tex): new algorithm and task parameters added

Version 5.3.1 - 2004-01-29 (HB)
-------------------------------	

+ (doc/epreject_description.tex): included soft flare screening code in
	                  description

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

ChangeLog

Version 1.19 - 2005-06-15 (RDS)
-----------
      + src/FindBestRmfName.cc         - updated to use new rmfgen 
                                         calling interface

Version 1.18.1 - 2005-02-08 (RDS)
-----------
      + src/FindBestRmfName.cc         - updated to use latest MOS and PN
                                         naming conventions
      + src/Imageregion.cc             - Ensures that RA is between +-90
                                         in celestialCoords()

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

ChangeLog

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


Version 4.2 - 2004-10-07 (EO)
-----------
        + Copy of 4.0.5 that will enter into release track builds.

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

ChangeLog

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).

Version 3.58.6 - 2005-05-31 (AI)
------------
	+ (src/image.cc) Fix problem with filtering images. 
	  Closes SOC-SPR-2551
	
Version 3.58.5 - 2004-11-04 (AI)
------------
	+ (src/histo.cc) the definition of the vairable "histoZero" 
	  back to its old value.

=========================================================================
Package flspec: version 3.1 [was 2.42]

ChangeLog

Version 3.1 - 2005-05-26 (MC)
--------------
	+(src/flspec.pl): closes SSC-SPR-3460:"flspec crashes when the 
	                  source list is empty".
		- It now does not run 'region' when the source list is empty.
                  Calculations are the same but no sources are removed from the
	          images before the extraction of fluctuations spectra.
	
Version 3.0 - 2004-10-21 (MC)
--------------
	+(config/flspec.par): 
		- replace parameter 'spectrumset' by parameter 'spectrumsets' 
		  (list of output spectral sets) 
		- added new parameter noffaxis (number of equal-area offaxis 
		  regions)
	+(src/flspec.pl):
		- replace output multiple spectral file by list of spectral 
		  sets (one for each offaxis value)
	        - remove hard-coded number of offaxis values
		- remove call to 'specadd' task
	+(doc/flspec_description): updated to account for changes
	+(test/testval.f90): adapted to the changes in output products
	
Version 2.43 - 2004-05-21 (MC)
--------------
	+ (src/flspec.pl): add lost attributes to fluctuations spectra: use 
	  cphead to propagate attributes from positive and negative spectra 
	  extracted with evselect. Closes SSC-SPR:3325
	+ (test): remove temp files from test directory
	+ (doc/flspec_description.tex): updated

Version 2.42 - 2004-05-14 (MC)
--------------
	+ (src/flspec.pl): use standard binsize and spectral ranges in 
	                   spectral extraction instead of TLMIN/TLMAX values 
			   from input event list.
			   Closes SSC-SPR:3322
	
=========================================================================
Package gtialign: version 2.9 [was 2.8.1]

ChangeLog

Version 2.9 - 2004-09-07 (IMS SSC/LUX)
-------------
	+ Rearranged the code a bit and introduced new parameters to allow the task to be of more general use. The default behaviour should remain unchanged however (for backward compatibility).
	+ Added .lyt file.
	+ Documentation updated to describe the new parameters.

Version 2.8.1 - 2004-02-26 (CG)
-------------
	+ Update DOCU info - SPR 2468

=========================================================================
Package hello: version 1.17.2 [was 1.17.1]

ChangeLog

Version 1.17.2 - 2005-08-15 (EO)
--------------
	+ No changes to code. Uploaded to align mac and release 
	  track manifests to date, for SAS 6.5.0 release.

Version 1.17.1 - 2004-03-04 (EO)
--------------
	+ No changes.

=========================================================================
Package hkgtigen: version 1.14.2 [was 1.14.1]

ChangeLog

Version 1.14.2 - 2005-01-27 (CG)
------------
	+ dsslib added to DEPEND (SPR 2574)

Version 1.14.1 - 2004-03-15 (CG)
------------
	
=========================================================================
Package imgdisplay: version 1.45.3 [was 1.45]

ChangeLog

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.
	
Version 1.45.2 - 2005-06-20 (AI)
--------------
	+ (Ds9.cc) Bug fixed on Mac OSX.

=========================================================================
Package implot: version 2.11.5 [was 2.11.4]

ChangeLog

Version 2.11.5 - 2005-04-06 (IMS SSC/LUX)
--------------------------
- Changed datatype of 3rd argument of calls to valueAtHistoFraction to reflect changes in ssclib-3.24. DEPENDency of ssclib upgraded to 3.24.

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

=========================================================================
Package layout: version 1.6.1 [was 1.6]

ChangeLog

Version 1.6.1 - 2004-11-25 (EO)
-------------
	+ Added explicit reference to selectlib 4.68, caloalutils 1.95 
          and dal 1.181 in DEPEND file.
	  Fixes SOC-SPR 2570.
	  According to the "SAS Developers Guide", we should add 
          the corresponding package into the DEPEND file for each
          entry in USEDLIBS.
	  However, sometimes this is not sctricly needed since 
          the required dependencies are fulfilled throughtout other
          dependencies. 
	  That is the case here where DEPEND included already sas 1.304,
          error 1.39, utils 1.88 and param 2.1. But param DEPEND file
	  contains selectlib and caloalutils, and both list in their 
	  DEPEND file, dal.

Version 1.6 - 2002-08-29 (JBa)
-----------
	+ Using latest insight to standard c++ library, while keeping
	  backwards compatible to GCC-2.95.3

=========================================================================
Package lccorr: version 2.22.2 [was 2.17.1]

ChangeLog

Version 2.22.2 - 2005-08-12 (EO)
--------------
	+ No code changes. Modified DISTRIBUTION, replacing "world"
	  by "ssc" to avoid public distribution of this package in
	  inmediate release of SAS 6.5.0.

Version 2.22.1 - 2005-04-06 (IMS/LUX)
----------------------
- Upgraded DEPEND of 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'.

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

ChangeLog

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.

	
Version 1.18 - 2004-19-14 (NW)
        -------------------------------
 
        Small changes introduced to allow lcplot to read the source RA and
	DEC from the headers correctly and thus plot the correct
	information on the the output plot (SPR-3282).

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

ChangeLog

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.

Version 2.43.12 - 2005-06-28 (CB)
-----------------------------	
        Modified subroutines addvectorcolumn, in omutility_mod,
	to return without attempting to do anything if either
	the number of columns or the number of rows is zero
	(this fixes the omichain low-memory test failure,
	at least here - SPR 3485). Also removed the redundant
	modules minim_mod and usnocat_mod.

Version 2.43.11 - 2005-06-10 (CB)
-----------------------------	
        Modified module omsourceflags_mod to reduce cpu-time
	when checking for star diffraction spikes (SPR 3478).

Version 2.43.10 - 2005-06-09 (CB)
-----------------------------	
        Modified module omsrctable_mod to not output column
	TOT_RATE in source tables (SPR 3470) and also modified
	it to add some comments to the table.
	
Version 2.43.9 - 2005-06-07 (CB)
-----------------------------	
	Replaced some forall statements by do statements to
	fix run-time crash by omdetect on xmm-ssc.

Version 2.43.8 - 2005-05-18 (CB)
-----------------------------	
	Ammendment to omnumerics_mod to fix
	possible run-time problems.

Version 2.43.7 - 2005-05-18 (CB)
-----------------------------	
	Ammended module omcoincorr_mod to
	compute the OM sensitivity degradation correction
	factor and correct the count-rates (for SPR 3449).

	
Version 2.43.6 - 2004-05-28 (CB)
-----------------------------	
	Ammended module omastromcorrect_mod to check
	computed paramters errors to ensure plate-solution
	meets the required error tolerances (for SPRs 3329 and 
	3330).
	
	
=========================================================================
Package oal: version 3.113.2 [was 3.111.6]

ChangeLog

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

Version 3.113.1 - 2005-02-21 (RDS)
---------------
        copy of 3.113 for the release track

Version 3.113 - 2004-12-21 (RDS)
---------------
                + src/AttitudeLocator.cc     -  removed problem when attitude
                                        interpolation occurs with points
                                        crossing the 360.0 - 0.0 RA
                                        boundary (SPR-2589)

Version 3.112 - 2004-12-16 (RDS)
---------------
		+ src/AttitudeLocator.cc -  added code to allow the gap between
		data and attitude records to be 20 times longer for 
		slew observations.

Version 3.111.6 - 2004-07-27 (JSH)
---------------
		+ Time Correlation processing for SAS 6.0.5 defaults to TCS
		+ Fix problem determining obs boundaries for TCX records
		for in case of multiple exposures present for instrument being
		processed
		

=========================================================================
Package odfcheck: version 0.18.2 [was 0.18.1]

ChangeLog

Version 0.18.2 - 2004-12-22 (JSH)
------------
	+ Correct errors in calculation 0.18.1.

Version 0.18.1 - 2004-08-23 (JSH)
------------
	+ Update Attitude Diagnostics as per Quality Check URD
	(XMM-SOC-USR-URD-0003) ( r.m.s(DIFFVRA|DIFFVDEC) < 5", for
	stable pointing periods)

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

ChangeLog

Version 2.6.2 - 2005-01-12 (AI)
-----------
	+ Documentation updated.
	
Version 2.6.1 - 2004-12-22 (AI)
-----------
	+ Extract filter keyword information from AUX file.

=========================================================================
Package odfingest: version 3.25 [was 3.23.5]

ChangeLog

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

Version 3.24 - 2005-07-01 (JSH)
------------
	+ Recognition of Non-Scientific modes (SCR 117) via CAL
	+ Recognition of 'odd' modes e.g. PN FF Low Gain, PN FF Masked (SCR 192)
	+ Recognition of PN eFF in odfingest
	+ Robust FW recognition for PN - Use FW Hardware position
	+ Fix OM Mode detection with missing EXP_START/EXP_END pairs (SPR 2550)
	+ Add new IPPVs to Summary File (e.g. OM Flood LED Bias, PN BP Info)
	+ Do not consider HDI files when calculating Exposure time
	+ For exposures wholly outside the HK window, bring them within the HK window
	(mainly ODI files) (SPR 2592)

Version 3.23.6 - 2005-03-02 (JSH)
------------
        + SPR2571 (Makefile) Don't need slatec or selector

Version 3.23.5 - 2004-07-15 (JSH)
------------
        + Fix stupid bug introduced in 3.23.3.

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

ChangeLog

Version 2.39.7  - 2005-06-06 (CB)
------------------  	
	Added check to prevent source position angles from exceeding 360 degrees.
	
Version 2.39.6  - 2005-05-23 (CB)
------------------  	
	Removed ssc from Makefile to fix build problem.
	
Version 2.39.5  - 2004-06-01 (CB)
------------------  
	A small correction to the configuration file has been made for SPR 3329.
=========================================================================
Package omcomb: version 2.4.1 [was 2.4]

ChangeLog

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)
Version 2.4 - 2003-03-27 (CB)
-----------
	Uploaded into development track 
=========================================================================
Package omcosflag: version 1.25.2 [was 1.25.1]

ChangeLog

Version 1.25.2  -  2005-06-07  (CB)
--------------------------	
	Replaced a forall statement by do statement to fix
	run-time crash on xmm-ssc

Version 1.25.1  -  2004-05-28  (CB)
--------------------------	
	Modified to check image for columns of zero-count
	pixels and set quality flag accordingly (fixes SPR 3327)

=========================================================================
Package omdetect: version 5.0.7 [was 4.19.5]

ChangeLog

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.
Version 5.0.6 - 2005-06-10 (CB)
--------------------------------
        Additional line of code added to subroutine mergeextendedsources
	in omdetect_mod.f90 to fix SPR 3477 (extended sources being 
	misclassified)..

Version 5.0.5 - 2005-06-09 (CB)
--------------------------------
        Reduced image size in test harness and increased parameter nsigma to 
	prevent test-harness failure due to timing-out (fixes SPR 3475)

Version 5.0.4 - 2005-06-08 (CB)
--------------------------------
        Added a call to subroutine aperturephotometry in suboutine
        fastdetection to make the fast-mode source-list files
	similar to those produced by earlier versions (fixes SPR 3466)

Version 5.0.3 - 2005-05-24 (CB)
--------------------------------
        Further small mod to  fix SPR 3459.

Version 5.0.2 - 2005-05-24 (CB)
--------------------------------
        Added check to prevent an array-bound error when a source is detected close
	to edge (fixes SPR 3459).

Version 5.0.1 - 2005-05-23 (CB)
--------------------------------
        Ammended Makefile in config directory to fix SPR 3456.
	
Version 5.0 - 2005-05-20 (CB)
--------------------------------
        Incorporates many improvements - better detection of faint-
	sources, sources with close neighbours and extended sources.
	Better classification of sources and additional flags set.
	A background image is produced which can be viewed.
	

Version 4.19.5 - 2004-03-02 (CB)
--------------------------------
        Made a minor modification to subroutine imagedetection to fix
	a failure when the parameter detectextended=false (couldn't raise 
	an SPR because netscape not working here).
	
=========================================================================
Package omfchain: version 1.31.8 [was 1.31.6]

ChangeLog

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)
Version 1.31.7 - 2005-05-23 (CB1) Ammended DEPEND file to fix build problem.
Version 1.31.6 - 2004-05-28 (VNY) +(src/omfchain.pl) The subroutine
	GetCurrentDirectory is modified in order to protect 
        it from a failure during the test in Mac-machines 
=========================================================================
Package omgchain: version 1.0.12 [was 1.0.9]

ChangeLog

Version 1.0.12 - 2005-06-09 (VNY) +(test/testomgchain) Test harness is 
	optimised to fit in the time slot for tests
Version 1.0.11 - 2005-05-23 (CB) Removed some commented-out line in perl script.
Version 1.0.10 - 2005-05-23 (CB) Ammended DEPEND file to fix build failure.	
Version 1.0.9 - 2004-09-08 (VNY) +(src/omgchain.pl) The spectra list file 
	is generated for both values of the parameter extractfieldspectra.
	That is, when extracting even a single (target) spectrum the 
	the SPECLI-file will contain only one line. But having always 
	the same set of the output files would simplify understanding 
	the results by the user (SSC-SPR-3382).
=========================================================================
Package omgprep: version 1.0.4 [was 1.0.3]

ChangeLog

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)
Version 1.0.3 - 2004-07-26 (VNY) (+src/omgprep_mod.f90) 
	The WSC keywords are removed from the output
	file, because they were causing the appearence of a
	very odd coordinate grid when working with ds9 and fv
	tools (SSC-SPR-3363)
=========================================================================
Package omgrism: version 1.1.30 [was 1.1.20]

ChangeLog

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.
Version 1.1.29 - 2005-06-10 (VNY) (+src/findsourceslist_mod.f90,
	omgrism_mod.f90) Additional check is introduced in order to ensure 
	that the bright zero-order features have right coordinates 
	(they could be erroneous because of numerous bright spots
	due to coincidence losses and modulo-8 noise). Fixed SSC-SPR-3479
Version 1.1.28 - 2005-06-10 (VNY) (+src/findsourceslist_mod.f90)
	A bug introduced in the previous version is fixed
Version 1.1.27 - 2005-06-09 (VNY) (+src/findsourceslist_mod.f90,
	omgrism_mod.f90, omgextraction_mod.f90) Cleaned out of the unused
	variables (to reduce the number of warnings durung the compilation)
Version 1.1.26 - 2005-06-08 (VNY) (+src/findsourceslist_mod.f90) 
	Protected against excessive nesting of stack memory, which 
	was causing a crash on some mashins (SSC-SPR-3468)
Version 1.1.25 - 2005-06-06 (VNY) +(src/omgrism_mod.f90, 
	omgextraction_mod.f90, marq_mod.f90)
 	Additional checks are introduced to ensure the correct extraction
	of the target spectra in the cases when its zero-order image is 
	badly affected by the modulo-8 noise (SSC-SPR-3465). The common
	block is deleted from marq_mod.f90 (this was not used but caused
	a build failure on the Mac).
Version 1.1.24 - 2005-05-23 (CB1) +(src/omgextraction_mod.f90
	Ammended routine to fix build problem.	
Version 1.1.23 - 2005-02-22 (VNY) +(src/omgextraction_mod.f90): 
	the negative counts that could appear when subtracting the 
	background from a faint spectrum are taken into account. 
	Omitting the negative counts might result in a slight overestimation
	of the spectrum (SSC-SPR-3444)
Version 1.1.22 - 2005-01-27 (VNY) +(src/omgextraction_mod.f90): 
	correction of an additional small (logical) bug related
	to the background interpolation limits across the spectrum
	(SSC-SPR-3433)
Version 1.1.21 - 2005-01-25 (VNY) +(src/omgextraction_mod.f90): 
	a small bug related to wrong background interpolation 
	limits across the spectrum is fixed (SSC-SPR-3433).
Version 1.1.20 - 2004-10-18 (VNY) +(src/omgrism_mod.f90) The bug 
	related to the missed target on the full-frame low-resolution
	images is fixed (SSC-SPR-3408)
=========================================================================
Package omgrismplot: version 1.0.6 [was 1.0.5]

ChangeLog

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.
Version 1.0.5 - 2004-10-02 (VNY) +(src/omgrismplot_mod.f90)
	The contaminating sources are masked to avoid the 
	excessive scale of the plot in the vertical axis
	when some zero-order images overlap the 
	target spectrum (SPR-3396)
=========================================================================
Package omgsource: version 1.2.18 [was 1.2.16]

ChangeLog

Version 1.2.18 - 2005-05-23 (CB)
--------------------------------
	Ammended DEPEND file (changed omdetect 4.0 to omdetect 5.0 to
	fix build problem)
Version 1.2.17 - 2005-05-20 (CB) 
--------------------------------
	 Removed function ModifiedJulianDate to fix build problem

Version 1.2.16 - 2004-10-22 (CB) 
--------------------------------
	 Made minor modifications (ammended help text, fixed problem
	 of regions not being erased properly and ammended parameters to 
	 to omgrism) to OmsourceAddsourcedlg.cc to fix SPR 3412.
	 SPR 3412.
=========================================================================
Package omichain: version 1.45.14 [was 1.45.10]

ChangeLog

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

Version 1.45.13 - 2005-05-23 (CB) 
--------------
	Ammended DEPEND file to fix build failure.
Version 1.45.12 - 2004-06-01 (CB) 
--------------
	Changed the output line "Processing exposure no .. (RUDI5)"
	to  "Processing exposure no .. (IMAGING)- further fix to
	SPR 3446.


Version 1.45.11 - 2004-06-01 (CB) 
--------------
	Changed the name of the combined source-list file to contain the
	string "COMBINED" instead of "RUDI5".  (fixes SPR 3446)

Version 1.45.10 - 2004-06-01 (CB) 
--------------
	Ammended documentation and replaced imaging-chain diagram with
	two new ones.  (fixes SPR 3328)
	
=========================================================================
Package ommag: version 3.4.5 [was 3.4.3]

ChangeLog

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). 
	

	
Version 3.4.4 -  2005-05-18 (CB)
-------------------------------
	Modified to correct the count-rates for the OM sensitivity
	degradation (fixes SPR 3449)
	
Version 3.4.3 -  2004-09-28 (CB)
-------------------------------
	Minor ammendment to ommag_mod.f90 to fix build problem
	after fixing SPR 3391
=========================================================================
Package ommodmap: version 2.15.4 [was 2.15.3]

ChangeLog

Version 2.15.4 - 2005-02-23 (VNY) +(/src/ommodmap_mod.f90): The value 
	of MJDREF is set to 50814, in accordance with the changes 
	made 04.06.2004 in OMFASTSHIFT, SSC-SPR-3333. 
	The old value (5.08140007312960D+04) was only used in 
	rare occasions when the MJDREF key was abscent in the header.
	So, this change practically does not affect the performance 
	of the task.	
Version 2.15.3 - 2004-06-09 (VNY) A bug causing problem of subscript 
	in mod8TileDX and mod8TileDY mask arrays is fixed, SSC-SPR-3336
        (the meaning of the variables xmax and ymax has been changed 
	since long ago, but in a piece of code they still were understood 
	as dx and dy) 	
=========================================================================
Package ommosaic: version 1.11.7 [was 1.11.4]

ChangeLog

Version 1.11.7 - 2005-06-07 (CB) 
-------------------------
        Replaced for all statements by do statements to fix run-time
	crash on xmm-ssc
	
Version 1.11.6 - 2005-05-21 (CB) 
-------------------------
	Further small ammendment made to stop run-time failure
	on some machines.
Version 1.11.5 - 2005-05-21 (CB) 
-------------------------
	Small ammendment made to stop run-time failure
	on some machines.
	
Version 1.11.4 - 2004-03-15 (CB) 
-------------------------
	Small ammendment made to stop array data going out of bounds.
        (fixes SPR 3275).
	
=========================================================================
Package omprep: version 2.34.5 [was 2.34.2]

ChangeLog

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)
Version 2.34.4 - 2005-03-02 (cv)
--------------------------------	
	+(src/omprep_mod.f90) Further Minor modification made 
	 to fix SPR 3438 (CB)

Version 2.34.3 - 2005-02-21 (VNY)
--------------------------------	
	+(src/omprep_mod.f90): The task
	is adjusted to work woth the Engineering-4 data (SSC-SPR-3443)
        Minor modification also made to fix SPR 3438 (CB)

Version 2.34.2 - 2004-06-29 (VNY)
---------------------------------
	A bug is fixed, which was leading to a wrong window sizes 
	in the DETSEC-keyword (SSC-SPR-3345).
	
=========================================================================
Package omsource: version 1.9.11 [was 1.9.8]

ChangeLog

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. 

Version 1.9.10 -  2005-05-23 (CB)
--------------------------------
        Ammended DEPEND file (changed omdetect 4.0 to omdetect 5.0) to fix build        problem.

Version 1.9.9 -  2005-05-19 (CB)
--------------------------------
        Ammended to compute and display the OM sensitivity degradation
	(fixes SPR 3451)
Version 1.9.8 -  2004-09-28 (CB)
--------------------------------
        Ammended OmSourceBrowser.cc to remove leading blank
	characters from image file name (fixes SPR 3393)
	
=========================================================================
Package omsrclistcomb: version 2.0.3 [was 1.30.4]

ChangeLog

Version 2.0.3  - 2005-08-08 (CB) 
-----------------------------
	Improved documentation and comments added to the output source-list file.
	
Version 2.0.2 - 2005-06-28 (CB) 
-----------------------------
	Removed redundant code to help fix low-memory test failure of omichain (SPR 3485).

Version 2.0.1 - 2006-06-09 (CB) 
-----------------------------
	Ammended program so that the correct colour combinations
	for the standard magnitudes are given in the table (SPR 4374).

Version 2.0 - 2005-05-21 (CB) 
-----------------------------
	Introduced vector columns into table and fluxes.
	
Version 1.30.4 - 2004-06-01 (CB) 
-----------------------------
        Made small ammendement to configuration file for SPR 3330.
=========================================================================
Package omthconv: version 1.31.1 [was 1.31]

ChangeLog

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



Version 1.31 - 2003-12-01 (CB)  
--------------------------------
	Variable OBTStart initialised to 0 to fix test-harness failure
	in low-memory test.
	
=========================================================================
Package rgsbkgmodel: version 1.1.6 [was 1.1.5]

ChangeLog

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.
	
Version 1.1.5 - 2004-11-18 (AI)
-----------
	+ Test shell interpreter changed.  

=========================================================================
Package rgscombine: version 1.0.3 [NEW]

ChangeLog

Version 1.0.3 - 2005-08-10 (AI)
-------------
	+ (rgscombine.cc) small bug fixed (to take into account 
	the all the channels (3400)).
	+ (runrgscombine) parameters to call rgscombine task changed.

Version 1.0.2 - 2005-07-11 (JAC-EO)
-------------
	+ Fix runrgscombine to work on Solaris

Version 1.0.1 - 2005-06-28 (CG)
----------------------------
- Necessary fixes for Sun versions. 

	
Version 1.0 - 2005-03-30 (JAC)
----------------------------
- Directory structure created by pkgmaker.

=========================================================================
Package rgsevents: version 3.12.2 [was 3.12.1]

ChangeLog

Version 3.12.2 - 2005-06-14 (CG)
--------------
	+ TUNIT keyword added to TIME in event list (SPR 2606)

Version 3.12.1 - 2004-02-16 (CG)
--------------
	+ TSTART and TSTOP events list keyword (SPR 2480) - copied from PIXELS
	+ MJDREF added to events list (SPR2481) - copied from PIXELS Table

=========================================================================
Package rgsfluxer: version 1.7 [was 1.6]

ChangeLog

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

Version 1.6 - 2003-10-20 (CG)
-----------
	+ bug in initialisation of _qualityRank fixed

=========================================================================
Package rgsproc: version 1.19.10 [was 1.19.6]

ChangeLog

Version 1.19.10 - 2005-08-04 (AMTP & AI)
--------------
	+ rgsfluxer bkg logic.
	
Version 1.19.9 - 2005-02-02 (CG)
--------------
	+ small correction in documentation  

Version 1.19.8 - 2005-01-27 (CG)
--------------
	+ inclusion of ssclib, slatec, emsaplib, tabgtigen, dsplot in DEPEND 
	  (SPR 2575 - forgotten in 1.19.7) 

Version 1.19.7 - 2005-01-27 (CG)
--------------
	+ inclusion of dsslib in DEPEND (SPR 2575) 

Version 1.19.6 - 2004-11-12 (AI)
--------------
	+ use of parameter "withbackgroundmodel" documented. 

=========================================================================
Package rgssuperrmf: version 1.0.4 [NEW]

ChangeLog

Version 1.0.4 - 2005-06-28 (CG)
----------------------------
- Comments changed / removed by Jenny

Version 1.0.3 - 2005-06-24 (CG)
----------------------------
- Bug fixes done by Jenny 

Version 1.0.2 - 2005-06-15 (CG)
----------------------------
- Using putenv instead of setenv (defined only for Linux)
- Remove unused variable bkgMI 
	
Version 1.0.1 - 2005-06-11 (CG)
----------------------------
- Dependency of rgsrmfgen added  

Version 1.0 - 2005-04-12 (JAC)
----------------------------
- Directory structure created by pkgmaker.

=========================================================================
Package rmfgen: version 1.53.5 [was 1.52.4]

ChangeLog

Version 1.53.5   - 2005-08-05 (RDS)
------------
        Documentation update

Version 1.53.4   - 2005-08-04 (RDS)
------------
        + (config/rmfgen.par)       - Changed detxbins, detybins defaults
                                      from 5 to 20.

                                    - Updated documentation and added in 
                                      changes from 1.54 

Version 1.54   - 2005-08-03 (RDS)
------------
        + (config/rmfgen.par)       - Changed default for withbadpixcorr to no
                                      to avoid a spurious warning

Version 1.53.3   - 2005-07-19 (RDS)
------------
        + (config/rmfgen.par)       - Changed default for detmaptype parameter
                                      to 'psf'

Version 1.53.2   - 2005-07-05 (RDS)
------------
        + (config/rmfgen.par)       - Added new parameter ignoreoutoffov

Version 1.53.1   - 2005-06-17 (RDS)
------------
        + (src/Rmfgen.cc,rmfgen,cc) - Removed symbol definition for
                                      arfDataServer

Version 1.53   - 2005-05-30 (RDS)
------------
        + (src/Detmap.cc/h,         - Produces an RMF which is spatially 
           src/Rmfgen.cc/h,           averaged. This uses the filtered 
           src/CalMOSResponse.cc/h,   detector map concept of arfgen
           src/CalPNResponse.cc/h,    and uses ConcreteArfDataServer directly
           src/CalResponse.cc/h,      (SPR-2515)
           test/mosspectrum.ds)
                                      
Version 1.52.7   - 2005-02-25 (RDS)
------------
        + (src/CorePosData.cc/h)    - Uses the DatafileAttributes object
          (src/Rmfgen.cc/h)           from arfgen to simplify code and
                                      solve SPR-2601.

Version 1.52.6   - 2005-01-14 (RDS)
------------
        + (src/CorePosData.cc)      - Added a fix for source areas where
                                      the pnline number can appear to be
                                      greater than 199 (SPR-2591)
 
Version 1.52.5   - 2004-12-21 (RDS)
------------
        + (DEPEND)            - Added selectlib,attcalc,oal,emsaplib,
                                datautils,rgslib to DEPEND (SPR-2572)
 
Version 1.52.4   - 2004-10-03 (RDS)
------------
        + (src/CorePosData.cc) - Added support for image masks (cf SPR-2090)
 
=========================================================================
Package sas: version 1.443 [was 1.431]

ChangeLog

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)

Version 1.442 - 2005-07-12 (EO)
-------------
	+ Version for the development track
	  SHAREDVERSION=no (configure.in)
	  AKA := dt (Make.include.in)

	  Table of sas package versions 1.440-1.442 :
	  - 1.440 - release     - SAS 6.5.0-Beta
	  - 1.441 - mac         - SAS 6.5.0-Beta on Mac OS X
	  - 1.442 - devloment   - dt

Version 1.441 - 2005-07-12 (EO)
-------------
	+ Version for the mac track
	  SHAREDVERSION=no (configure.in)
	  AKA := 6.5.0-Beta (Make.include.in)

Version 1.440 - 2005-07-12 (EO)
-------------
	+ Previous 1.438 and 1.439 were wrong concerning AKA
	  so they are re-uploaded properly.

	+ Version for release track
	  SHAREDVERSION=yes (configure.in)
	  AKA := 6.5.0-Beta (Make.include.in)


Version 1.439 - 2005-07-12 (EO)
-------------
	+ Version for mac track
	  SHAREDVERSION=no (configure.in)

Version 1.438 - 2005-07-12 (EO)
---------------
	+ Include soft link from SAS_DIR to packages/sas/configure_install
	  into install script.
	+ Version for the release track
	  SHAREDVERSION=yes (configure.in)

Version 1.437.1 - 2005-07-09 (EO)
---------------
	+ Introduced new script configure_install in the installation top dir
	  After the SAS public release archives are downloaded, the 
	  script can be run to help create SAS generic setup scripts
	  named setsas.sh (sh/bash/ksh) and setsas.csh (csh/tcsh).
	  These scripts set SAS_DIR and SAS_PATH for the installation
	  together with other relevant details required for SAS to work.
	  
	  The scripts can be taken as templates for the complete setup
	  of SAS from the very moment of the installation.
	  The definition of SAS_CCFPATH, SAS_CCF and SAS_ODF within these
	  scripts is left to the user.

	  The configure_install script makes some sanity checks on the
	  SAS installation.


Version 1.437 - 2005-06-13 (EO)
-------------
	+ Development track.
	  SHAREDVERSION=no (configure.in)
	  AKA := dt        (Make.include.in)

	  Table of sas package versions 1.435-1.437 :
	  - 1.435 - release     - SAS 6.5.0-Beta
	  - 1.436 - mac         - SAS 6.5.0-Beta on Mac OS X
	  - 1.437 - devloment   - dt

Version 1.436 - 2005-06-13 (EO)
-------------
	+ Mac track frozen; entering release mode.
	  SHAREDVERSION=no  (configure.in)
	  AKA := 6.5.0-Beta (Make.include.in)
	  
Version 1.435 - 2005-06-13 (EO)
-------------
	+ Release track frozen; entering release mode.
	  SHAREDVERSION=yes (configure.in)
	  AKA := 6.5.0-Beta (Make.include.in)

Version 1.434 - 2004-11-17 (EO)
-------------
	+ For the development track. SHAREDVERSION=no, AKA := dt
	  Table of sas versions 1.430-1.434:
	  - 1.430 - publicrt    - SAS 6.1.0 public release
	  - 1.431 - release     - SAS 6.5.0-Alpha release track
	  - 1.432 - publicmac   - SAS 6.1.0 public release on Mac OS X
	  - 1.433 - mac         - SAS 6.5.0-Alpha release track on Mac OS X
	  - 1.434 - development - development

Version 1.433 - 2004-11-17 (EO)
-------------
	+ For the mac track. SHAREDVERSION=no, AKA :== 6.5.0-Alpha

Version 1.432 - 2004-11-17 (EO)
-------------
	+ For the publicmac track. SHAREDVERSION=no, AKA := 6.1.0

Version 1.431 - 2004-11-17 (EO)
-------------
	+ For the release track. SHAREDVERSION=yes, AKA := 6.5.0-Alpha.

=========================================================================
Package saslib: version 1.85 [was 1.84.1]

ChangeLog

Version 1.85 - 2005-07-06 (JSH)
------------
	+ SCR 198 - Add MOS_SPECTRAL_MASK and supporting functions

Version 1.84.1 - 2004-02-05 (JSH)
------------
        + SCR 127 - Add documentation for ON_BADOFFSET Event Attribute

=========================================================================
Package slconv: version 2.0 [was 1.9]

ChangeLog

Version 2.0 - 2005-02-07 (MC/IFCA)
------------------------
- DS9 region colour now written for each source instead of writting it in the header of the region file.
- Added new parameter 'shape' for DS9 regions
- Updated documentation
	
Open SPRs:
----------
3129

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

=========================================================================
Package srcmatch: version 3.15.9 [was 3.15.1]

ChangeLog

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.

	
Version 3.15.8 - 2005-04-08 (GL)
--------------------------------- 

Fixed problem with compilation of test harness.
	
Version 3.15.7 - 2005-04-07 (GL)
--------------------------------- 

Fixed problem with compilation of test harness.
	

	
Version 3.15.6 - 2005-04-04 (GL)
--------------------------------- 

Avoid abort of program, when XID list 
input is combined with allepicmode=no 
Close SSC-SPR-3447
Set source indices EP_2_ML_ID, EP_2_BOXID to "NULL",
if no matching source is present.
Correct error that caused "Internal file overflow"
in some cases in writing HTML output list.



	
Version 3.15.5 - 2005-02-10 (GL)
--------------------------------- 

Introduce new boolean parameter "allepicmode" to 
indicate multi-camera input lists.
No vector columns created, if multi-camera list is merged with XID band list.
New columns HR_4, HR_4_ERR, EP_XID_ML
Changed HTML output for 2XMM style source lists.
	


	
Version 3.15.4 - 2005-02-10 (GL)
--------------------------------- 

Add columns pn_maskfrac, m1_maskfrac, m2_maskfrac
	    pn_cts,pn_cts_err, m1_cts,m1_cts_err,  m2_cts, m2_cts_err
Add column pn_flag, m1_flag, m2_flag (replacing old string columns)

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

Add 15  colums __VIG 
Add 5   columns _ONTIME
Add 3   columns _XID_ML
	
Version 3.15.2 - 2005-01-21 (GL)
--------------------------------- 	

Replace NaN positional errors from input list by 0.0 
	
	
Version 3.15.1 - 2004-03-16 (GL)
--------------------------------- 	

Correction to documentation

	
=========================================================================
Package ssclib: version 3.24 [was 3.16.1]

ChangeLog

Version 3.24 - 0000-00-00 (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.

Version 3.23 - 2005-02-21 (IMS/LUX)
----------------------
- Added brentsMethod and powellsMethod to minimizations.f90.
- Type of the 'equivalent' argument of wcs_aux.f90:checkImageEqivalence changed from logical(bool) to logical. This only seems to affect package edetect, which has been modified accordingly.
- Added chi2Unlike to detection_stats.
- Added optional intent(in) argument maxNumIterationsArg to minimizations.f90:simplexMinimization.

Version 3.22 - 2004-11-29 (IMS/LUX)
----------------------
- dal_aux:readGtis now checks to see if the table is present before trying to open it. If not, it issues a warning and allocates the gti pointer vector to size 0.
- The array-argument array_utils:median overloads failed if the optional mask argument was not present. This has now been corrected.
- Added function findUniqueValues to array_utils.
- Corrected an error in rebinners in which vectors of uncertainties were not being initialized.
- Overloaded ssc_misc:orLists to int8, int16 and int32.
- Overloaded sort_mod:quickSort to int8.
- random_aux:getPoissonRandoms overloaded to take either 1D or 2D array arguments.
- Fixed bug in math_utils:incompleteGammaQ and :incompleteGammaP in which the status return integer could in some circumstances be uninitialized.

Version 3.21 - 2004-11-18 (IMS/LUX)
----------------------
- Overloaded detection_stats:pearsonsChi2 to take either 2D or 1D array arguments.
- readGtis with several overloads introduced into dal_aux. The two subroutines readGtis and readGtisFromDss in dss_aux have been condensed into a single (overloaded) routine readGtisFromDss.
- The changes to coordinate:raDecToTel and :tanToTel done in version 3.18 introduced errors, which have now been fixed.
- Introduced a workaround in coordinate:cc1ToRawMasterCcd to avoid trouble associated with SOC SPR 2586. This should fix SSC SPR 3354 on esky2det.

Version 3.20 - 2004-11-14 (IMS/LUX)
----------------------
- Now making sure that values of phi returned from coordinate:raDecToTel and :tanToTel are between 0 and 2*pi (fixes SPR 3427 on lccorr).

Version 3.19 - 2004-11-10 (IMS/LUX)
----------------------
- Overloaded ssc_misc:isNaN also to single or double 2D array arguments.

Version 3.18 - 2004-11-08 (IMS/LUX)
----------------------
- Added routines intBitMaskToBinaryStr, intBitMaskToHexStr, binaryStrToIntBitMask and hexStrToIntBitMask to ssc_misc.
- Changed ssc_misc:isNaN function data type from logical(bool) to logical (doesn't seem to break anything) and overloaded it to single/double precision, scalar or vector arguments.
- Modified the real-valued routines in sort_mod so that they test the input for NaN values before attempting to sort. These subroutines now return a non-zero (optional) status return if any NaNs are found. This should close SPR 3123.
- Slight mods to some routines in coordinate, to remove duplicated code, also so that all chip<->sky routines now access the boresight information via coordinate:ims_getBoresightMatrix.
- Fixed SPR 3423 (TELCOORD theta was not being converted to radians in coordinate:telToRaDec).
- Some unnecessary pointer arrays changed to allocatables in module coordinate.

Version 3.17 - 2004-10-28 (IMS/LUX)
----------------------
- Added RootFive, RootSeven and GoldenRatio to constants.
- Added function chooseRandomNewColName (and so also 'use random_aux') to dal_aux.
- Added subroutine writeColData to dal_aux.
- Added optional argument integerNullValue to dal_aux:addOrOpenColumn.
- Added double-precision overload to array_utils:median and array_utils:valueAtHistoFraction.
- Mask argument to array_utils:median and array_utils:valueAtHistoFraction changed from logical(bool) to logical.
- Changed name of detection_stats:chi2Prob to integratedChi2Prob, and added new chi2 probability-density routine which will now take the name of chi2Prob.
- Added subroutine pearsonsChi2 to detection_stats.
- Overloaded ssc_misc:swap function to 3 integer and 3 real types.
- Fixed error in detection_stats:minDetPoissonCountsScalar in which total counts was used instead of the correct src counts.

Version 3.16.1 - 2004-10-20 (IMS/LUX)
----------------------
- Fixed SPR 3410 by including selector in the USEDLIBS line of the makefile.

=========================================================================
Package tabgtigen: version 2.12.3 [was 2.12.1]

ChangeLog

Version 2.12.3 - 2005-06-20 (CG)
--------------
	+ Solving still (SPR2580) but with better approach for bins. 

Version 2.12.2 - 2005-06-17 (CG)
--------------
	+ Bug for negative time differences fixed (SPR2580)

Version 2.12.1 - 2004-02-17 (CG)
--------------
	+ Take TIMEREF and TIMESYS keywords from input file (SPR2490)

Open SOC-SPRs/SCRs:
	*none*

=========================================================================
Package testccf: version 1.111.5 [was 1.111.4]

ChangeLog

Version 1.111.5 - 2005-06-09 (RDS)
-------------
	+ constituents/ccf.cif updated:
         Changed version of OM_PHOTONAT fom 2 to 3 (SPR-2614)

Version 1.111.4 - 2004-11-19 (RDS)
-------------
	+ constituents/ccf.cif updated:
         Fixed error with EPN_REDIST and EPN_QUANTUMEF

=========================================================================
Package tools: version 1.61.1 [was 1.58.1]

ChangeLog

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.

Version 1.61 - 2004-10-20 (IMS/LUX)
------------
        + Fixed (SOC) SPR 2555

Version 1.60 - 2004-04-02 (IMS/LUX)
------------
        + Added tasks in subdirectory imageutils.

Version 1.59 - 2004-04-02 (IMS/LUX)
------------
	+ Upload of patches to devtrack.

Version 1.58.1 - 2004-03-05 (JSH)
------------
        + SPR2479 Increase precision of timecalc

=========================================================================
Package utils: version 1.109.3 [was 1.109.2]

ChangeLog

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).

Version 1.109.2 - 2004-05-07 (EO)
---------------
	+ In order to make daltools independent of interpr, added the following
	files from interpr/src:
		* scanner.cc	* scanner.h
		* file.cc	* file.h
		* token.cc	* token.h
		* StreamT.cc	* StreamT.h
				* Vec.h
				* binary_tree.h

	+ Modified src/Makefile to build the above referred new files.
	+ Since scanner.cc depend on errstr.h, remove such dependency since utils
	can not depend on error.
		

=========================================================================
Package xcolorcod: version 1.20.1 [was 1.20]

ChangeLog

Version 1.20.1 - 2005-02-22 (AI)
------------
	+ DEPEND file updated.

Version 1.20 - 2003-11-03 (AI)
------------
	+ changed USEDLIBS in src/Makefile for static builds.
	
Open SPRs/SCRs:
	*none*

=========================================================================
Package xmmselect: version 2.64.9 [was 2.64.6]

ChangeLog

Version 2.64.9 - 2005-08-09 (AI)
------------
	+ (TaskLauncher.cc) filterTable now calls evselect with the parameter
	"updateexposure" set to "yes".
	
Version 2.64.8 - 2005-08-04 (AI)
------------
	+ Xmmselect documentation updated.

Version 2.64.7 - 2005-02-22 (AI)
------------
	+ Updated DEPEND file.
 
Version 2.64.6 - 2004-05-11 (AI)
------------
        + (TaskLauncher.cc) fixed a problem related to xmmselect and grace.
	  Now, when xmmselect is closed, we call the Grace::killAll()
	  method that close all Grace subprocess.
	
=========================================================================