Chandra X-Ray Observatory
Skip to the navigation links
Last modified: 2 December 2013


CIAO 4.5 Release Notes

Notable changes and improvements in CIAO 4.5:

  • The mkpsf tool has been withdrawn, as advertised in the CIAO 4.4 release notes. Users should use either ChaRT or MARX to simulate the point spread function.
  • A new tool, tg_findzo, has been released to provide an accurate 0-th order location for those datasets with heavy pileup or with 0-th order blocked.
  • The modelflux tool has updates to produce unabsorbed fluxes.
  • Updates to reproject_events and dmmerge allow for mosaics to be created that exceed the typical image sizes.
  • wcs_match now has the option of computing a simple translation only solution as well as the existing translate, rotate, and scale method.
  • Updates to the ChIPS GUI to allow annotations (lines, points, etc) to be added directly via the GUI.
  • Updates to sherpa include a comprehensive review of how grouping and filtering interact when both source and background datasets are in use. Also, a new sample_flux routine is available to allow users to compute the flux due to a sub-component of a Sherpa model.

How CALDB 4.5.9 Affects Your Analysis

CALDB 4.5.9 Release Notes (release 19 Nov 2013)

ACIS Imaging and Grating Data

  • ACIS QE Contamination Model vN0008

    The ACIS QE contamination model has been upgraded to N0008:


    This version of the file is necessary due to recent changes in the optical depth and composition of the contaminant deposited on the optical blocking filter over time, resulting in a new ACIS contamination model.

    Note that these changes do not have any effects at energies above ~1 keV (see changes in effective areas in the ACIS QE contamination model Why document)

    The new model provides significantly lower ACIS effective areas (EAs) compared to the N0007 model for present and future observations; albeit, early- and mid-mission (1999-2009) EAs are not particularly affected by the new model, except for near the carbon, oxygen, and fluorine absorption K-edges. It should be noted that changes near these edges do not significantly affect the fitting results for mid-mission (2004-2009) observations.

    The new contamination model is more realistic than previous models and provides a more accurate representation and prediction of current and future changes of effective ACIS quantum efficiency due to the contamination layer.

    The rate of contaminant build-up has increased significantly since mid-2009, and recently, has presented itself as changing more linearly with time than the previous model estimated (released as CONTAM file model version N0007), which had predicted a leveling-off of the contamination in the future. The concentration of several elemental components in the contamination layer has also been changing, requiring time-varying changes to the optical depths for the C- and F-K absorption edges with respects to the O-K edge, and changes to the spatial-dependent ACIS model, which is also included here.

    Updating the new contamination model for the full mission means that the N0008 CONTAM model is not identically backwards-compatible with the previous N0007 model, but the new model fits the mid-mission contaminant optical depths as the previous model had, indicating that the new model does not significantly affect the early- and mid-mission results.

    ACIS-S3 high CHIPY position

    When using a high CHIPY location on ACIS-S3 for imaging spectroscopy, there is some uncertainty in the new model on the depth of the contaminant layer, which may compromise fitting results at this location.

    More information can be found in the CALDB 4.5.9 Release Notes caveat.

    These CIAO response tools automatically apply the contamination file when creating ACIS response files:

    As well as the scripts which use them:

  • Time-dependent ACIS Gain (T_GAIN) Files for -120 C Data

    There are new, time-dependent ACIS Gain (T_GAIN) files for August 2013 - October 2013 (Epoch 55):


    The files are applicable to -120 C focal plane temperature only.

    Users working with ACIS data taken since 2013 May 01 may wish run chandra_repro and reprocess the data to improve the T_GAIN calibration. The DATE-OBS header keyword records the observation start date.

    Note that only spectra with several hundreds of counts and/or prominent features (in emission or absorption) will show changes from the T-gain refinement that exceed the uncertainties from the gain calibration.

HRC-I Imaging Data

  • HRC-I Gain Maps

    The latest time-dependent HRC-I Gain Map (GMAP) and the corresponding PI background spectrum—to be applied to observations after 2013 September 16, have been released.


    Note that HRC-I gain maps are only useful to observers doing hardness ratio or PI spectral analysis studies with HRC-I.

    As the HRC gain continues to slowly decline, the gain maps are updated annually. The change in gain correction is less than 1% on-axis and roughly 5-10% off-axis. Towards the edge of the microchannel plate, the change is up to 15%. Technical details on the gain maps are described in the gain maps section of the HRC calibration website and the in the HRC-I Gain Map Why Document.

    The corresponding background spectrum applicable to the same HRC-I GMAP time period have been generated.

    Users working with HRC-I data may wish run chandra_repro to reprocess the data and improve the gain calibration.

How CALDB 4.5.8 Affects Your Analysis

CALDB 4.5.8 Release Notes (release 22 Aug 2013)

ACIS Imaging and Grating Data

  • Time-dependent ACIS Gain (T_GAIN) Files for -120 C Data

    There are new, time-dependent ACIS Gain (T_GAIN) files for May 2013 - Jul 2013 (Epoch 54):


    The files are applicable to -120 C focal plane temperature only.

    Users working with ACIS data taken since 2013 Feb 01 may wish to reprocess to improve the T_GAIN calibration in their data. The DATE-OBS header keyword records the observation start date.

    Note that only spectra with several hundreds of counts and/or prominent features (in emission or absorption) will show changes from the T-gain refinement that exceed the uncertainties from the gain calibration.

How CALDB 4.5.7 Affects Your Analysis

CALDB 4.5.7 Release Notes (release 28 June 2013)

ACIS Imaging and Grating Data

  • Time-dependent ACIS Gain (T_GAIN) Files for -120 C Data

    There are new, time-dependent ACIS Gain (T_GAIN) files for Feb 2013 - Apr 2013 (Epoch 53):


    The files are applicable to -120 C focal plane temperature only.

    Users working with ACIS data taken since 2012 Nov 01 may wish to reprocess to improve the T_GAIN calibration in their data. The DATE-OBS header keyword records the observation start date.

    Note that only spectra with several hundreds of counts and/or prominent features (in emission or absorption) will show changes from the T-gain refinement that exceed the uncertainties from the gain calibration.

  • ACIS Blank-sky Background File (Group F ACIS BKGRND)

    The Group F ACIS blank-sky background files is now completed for observations starting Autumn 2009, when the particle background levels began decreasing with the receding solar cycle.


    The ACIS-5 and ACIS-7 background files included in this release are non-CTI corrected, applicable to datasets taken in GRADED mode, where CTI correction is available for back-illuminated chips.

    The CTI-corrected Group F background files previously released have been upgraded to version 2.


    These files now include populated DETX,DETY and SKYX,SKYY coordinates, making file visualization easier. The coordinates are artificial, applied only to show the non-dithered distribution of events in SKY coordinates for the convenience of the user, and meaningful coordinates can be applied with reproject_events.

    The Using the ACIS "Blank-Sky" Background Files thread contains instructions on how to select a file and match it to a specific observation.

    Note that the ACIS background files are not included in the main CALDB tarfile. There is a separate background files tarfile available via ciao-install or from the CALDB Download page.


    The time-dependent gain maps (T_GMAP) in the CalDB, since version 4.2.0, have been identified by the calibration team as not being applied to HRC-S observation when no gratings are present. Rather, the old time-independent gain maps (GMAP) have been applied by default in both chandra_repro and in the standard data processing with hrc_process_events.


    The cause have been identified in the T_GMAP CalDB files having been indexed with GRATING=LETG in the file header, causing errors in the HRC branch index.

    The time-dependent and time-indpendent gain map applied to a HRC-S events list is stored in the GAINCORF header keyword, so users may identify whether or not their data is affected by the problem.

    unix% dmkeypar *evt2.fits GAINCORF echo+

    If the results are either of the two following file names:


    the user need not do anything, as the time-dependent gain map has been applied to the dataset. If the returned filename is:


    then the old gain map is applied, and should be updated.

    Affected users may simply reprocess their data with chandra_repro to correct the problem once CalDB is upgraded to version 4.5.7 or later.

How CALDB 4.5.6 Affects Your Analysis

CALDB 4.5.6 Release Notes (release 28 February 2013)

ACIS Imaging and Grating Data

  • Time-dependent ACIS Gain (T_GAIN) Files for -120 C Data

    There are new, time-dependent ACIS Gain (T_GAIN) files for Nov 2012 - Jan 2013 (Epoch 52):


    The files are applicable to -120 C focal plane temperature only.

    Users working with ACIS data taken since 2012 Aug 01 may wish to reprocess to improve the T_GAIN calibration in their data. The DATE-OBS header keyword records the observation start date.

    Note that only spectra with several hundreds of counts and/or prominent features (in emission or absorption) will show changes from the T-gain refinement that exceed the uncertainties from the gain calibration.

  • ACIS Blank-sky Background File (Group F ACIS BKGRND)

    A new set of ACIS blank-sky background files have been released for observations starting Autumn 2009, when the particle background levels began decreasing with the receding solar cycle.


    The Using the ACIS "Blank-Sky" Background Files thread contains instructions on how to select a file and match it to a specific observation.

    Only CTI-corrected events cases have been included in this release. ACIS back-illuminated chip events, without CTI-corrections for GRADED mode data will be added in a future release.

    Note that the ACIS background files are not included in the main CALDB tarfile. There is a separate background files tarfile available via ciao-install or from the CALDB Download page.

  • ACIS Substitute CTI Files (September-October 2005)

    During the period of 2005 September 16 to 2005 October 15, there was an onboard ACIS anomaly causing an uncontrolled focal plane temperature, leading to FP_TEMP values to be to be +1.3 K than expected, affecting 71 ACIS ObsIDs, during this time period.

    While this problem is fixed in archive Reprocessing IV, two substitute temperature-dependent CTI files have been added to CALDB 4.5.6 to correct for the +1.3 K FP_TEMP discrepancy to adjust the temperature-dependent CTI corrections to their proper values.


    With the introduction of temperature-dependent CTI correction in CALDB 4.4.0, any data from the 71 ObsIDs that has been reprocessed with the CTI-correction since then, will have propagated the FP_TEMP error into their temperature-dependent CTI-corrected event lists. Users that had reprocessed any of these datasets with the correction in CIAO would have selected on of the following files from CALDB:

    acisD2002-08-01ctiN0007.fits (DATAMODE=FAINT or VFAINT)
    acisD2002-08-01ctiN0005B.fits (DATAMODE=GRADED or CC33_GRADED)

    The file used will be stored in the CTIFILE header keyword of a reprocessed L2 events list. Those users should consider reviewing their results and either reprocessing their data in CIAO with CALDB 4.5.6 or obtain the Repro IV data from the archives when available. Note that CIAO 4.5 is needed for this correction to be applied properly if reprocessing.

  • Calibration Validity End Date Correction (AFFECTS OBSID 5954 ONLY)

    The calibration validity end dates were reset in the T_GAIN files associated with five previously unidentified ACIS ObsIDs (OBS_ID 5954 and 4 calibration observations), to address a problem with these files described here. Users analyzing any of the affected observations, who have not recently reprocessed the data, should do so using CalDB 4.5.6 in order for the ACIS time-dependent gain correction to be applied during manual reprocessing with acis_process_events or through chandra_repro.

  • ACIS EVTSPLT Validity Overlap Correction (AFFECTS OBSID 6318 ONLY)

    The calibration validity dates overlapped between two existing ACIS EVTSPLT thresholds files caused T_GAIN file selection failures for ObsID 6318.

How CALDB 4.5.5 Affects Your Analysis

CALDB 4.5.5 Release Notes (release 13 December 2012)

ACIS Imaging and Grating Data

  • Time-dependent ACIS Gain (TGAIN) Files for -120 C Data

    There are new time-dependent ACIS Gain (TGAIN) files for Aug - Oct 2012 (Epoch 51):

    acisD2012-08-01t_gain_biN0002.fits (new default for SDP current processing)

    The files are applicable to -120 C focal plane temperature only.

    Users working with ACIS data taken since 01 May 2012 may wish to reprocess to improve the TGAIN calibration in their data. The DATE-OBS header keyword records the observation start date.

    Note that unless you are fitting a spectra with oxygen emission lines, the gain refinement is unlikely to have an effect on the spectrum larger than the uncertainties in determining the gain.

  • ACIS Time-varying QEU files

    The ACIS Quantum Efficiency Uniformity (QEU) has been varying over time due to event grade migration, a Charge Transfer Inefficiency (CTI) effect. This time dependence is corrected with the addition of new ACIS CALDB QEU files in 2-year intervals. This is a 3% correction for CTI-corrected S3 events (4% CTI-uncorrected) and a 1% correction for FI chips over the life of the mission.


HRC Imaging and Grating Data

  • HRC-I GMAP Upgrades

    To continue to address the decline of the gain of the HRC-I, a new set of time-dependent gain maps are available in CALDB 4.5.5 which differ from the previous set in two ways: the maps are based on (and intended for use with) the scaled sum of amplifier signals (SUMAMPS) instead of PHA, as SUMAMPS is a better proxy for spectral response than PHA; and the time dependence of the gain decline is corrected using an inverse exponential plus linear function fit to temporal correction factors derived from AR Lac, G21.5-0.9 and HZ 43, instead of a pure linear function fit to the median AR Lac PHAs.

    By default, PI is now calculated from scaled SUMAMPS ("SAMP") instead of PHA. The new gainmaps, listed below, convert SAMP to PI, correcting for the gain declines which have occurred since launch.

  • HRC-I PIBGSPEC Upgrades

    The particle background in the HRC, which had been increasing due to the drop in solar activity, has begun to decrease again. Yearly background spectra obtained from AR Lac observations with HRC-I are now available in CALDB 4.5.5; The CIAO "HRC-I Background Spectra Files" thread describes how they can be used to filter on PI and reduce background.

  • HRC-S QE version N0012 Upgrade

    On 29 March 2012, the High Voltage settings of the HRC-S microchannel plates were increased to address a loss in quantum efficiency as a function of wavelength, caused by a sag in gain over time. Analysis of data prior to and after the adjustment resulted in a wavelength-dependent correction to the HRC-S QE, now available in CALDB 4.5. Users can expect an increase in counts of 4.5-6% dependent upon wavelength, which is corrected by the revised QE map. More refinements to the QE for HRC-S will likely follow in future years.



Users should be aware of these installation items before installing CIAO 4.5. Additional problems which are seen less frequently are listed on the Installation & Smoke Tests bug page.

Supported Platforms

  • CIAO 4.5 is supported on:

    • Linux 32 bit and 64 bit (tested on CentOS 5.8 and Red Hat Enterprise 6 )
    • Mac OS X 10.6 Intel 64 bit
    • Mac OS X 10.7 & 10.8 Intel 64 bit

    The following platforms are no longer supported:

    • Mac OS X 10.5
    • Mac PPC
    • Mac 32 bit
    • Solaris 10

Updates to the ciao-install Installation Script

  • The script will not run if called with sudo, i.e. "sudo bash ciao-install". If ciao-install encounters a permissions problem, it prints instructions on what to fix in order to install CIAO and gives the user the chance to specify a different installation directory.

Remove old parameter files

  • With every new CIAO release, some parameter files have changed: new parameters may be added and occasionally old ones removed or renamed. Deleting or renaming the local parameter directory ensures that the correct parameter files will be accessed the first time a tool is run:

    unix% rm ~/cxcds_param4/*

Remove the fontconfig cache

  • The GUI applications (e.g. prism, ChIPS, ds9) used in CIAO may not run correctly if there are incompatible .fontconfig files cached on the user's system. To remove the .fontconfig cache:

    unix% rm ~/.fontconfig/*

IPython Settings

  • CIAO 4.5 now includes a newer version of IPython, 0.13. If upgrading from CIAO 4.4 or earlier, the ipython configuration files stored in the users home directory are incompatible with the new version; a new copy will be installed in a new directory: $HOME/.ipython-ciao4.5. If you have made customizations with earlier version of CIAO, you will need to manually migrate those changes to work with CIAO 4.5.



  • Updated the logic to correctly determine if an event should be removed from the search for hotpixels based on whether the pixel is part of an afterglow or not.


  • Added additional error checking to catch situation where the inputs are invalid (empty, zero row PHA file) and when various inputs are missing (lookupTab).

  • The ranges of columns in input file are now copied to the output.


  • add two command-line options, "echo_qual" and "echo_fidel", to return the values of CAL_QUAL and FIDELITY respectively.


  • The internal help failed to mention the MSC command to set mirror spherical coordinates.


  • Two new sigma-clipping filters are now available: 3sigmedian and 3sigmean.


  • PHA files made by "dmextract opt=pha1" write a BACKSCAL keyword containing a normalized extraction area. The usual normalization uses the TLMAX/TLMIN keyword values, but for ACIS a fixed value of (8192)**2 is now used in order to correctly handle the new behaviour of the reprojection tools. This value is set in the $ASCDS_INSTALL/data/cxo.mdb file.


  • Correct problem if comment contain "%" sign.


  • Set (TLMIN,TLMAX) for output SKY and POS to the union of the ranges (TLMIN,TLMAX) from each input file. Allows event files to be merged to create mosaics larger than default image sizes.


  • Fix problem when first sort column is string and multiple rows have same value.


  • Update to support gain tables with arbitrary number of rows.


  • Improved error reporting. Will now warn users when the input grid is truncated to match the calibration data.


  • Fixed units from "sec" to "s"

  • GRATING keyword is now copied from input instrument maps


  • When interpolating or extrapolating the grating efficiencies, any resulting values less than zero will be set to zero. (Change is in ardlib)

  • DETCHANS, HDUCLAS2, etc keywords were added to the EBOUNDS extension of the output file for better OGIP compliance.

  • The value of the HDUCLAS2 keyword in the output file has been corrected.


  • Users can now supply a spectrum and the psfmap will be spectrally weighted.

    By setting


    user can then set the spectrum parameter to a file name. The input is the same format as used by mkinstmap and user can use the same make_instmap_weights tool to create it.


  • Withdrawn. Users should use either ChaRT or MARX to simulate the point spread function.


  • A new option to calculate the unabsorbed flux has been added. If the user does choose this new option, then both absorbed and unabsorbed fluxes are calculated and reported to stdout, and written to the modelflux parameter file.


  • Output coordinates are now identified as having been converted to B1950

  • Fixed issue where later entries in a file of input positions were handled incorrectly


  • Update TLMIN/TLMAX for SKY and POS only, such that it represents the union of the actual data range with the "legal data range". Allows for mosaics of large datasets that exceed the standard image sizes.


  • Units on columns are copied to the output.


  • This new tool can be used to locate the 0-th order location in those observations that suffer from pileup or were performed with the 0th order events masked out.


  • Internal updates various parts of the code to increase performance and address memory leaks.

  • Wavelet scales > 100 are now fully supported.


  • A new option has been added that will compute a simple translation-only solution based on the matched sources. This can be used when the full translate, rotate, and scale solution is biased by spatial distribution of matched sources.

Parameter Files

A summary of parameter files changes is provided in this section. Refer to the Tools and Analysis Scripts sections of these release notes for complete details.

We recommend deleting all the old parameter files or renaming the parameter-file directory before running any new version of CIAO to avoid conflicts. More information is available in the FAQ.


  • The min values for alpha and beta are now set to 0


  • add two parameters, "echo_qual" and "echo_fidel", to return the values of CAL_QUAL and FIDELITY respectively.


  • The function parameter has two new options: 3sigmean and 3sigmedian.


  • New spectrum parameter allows output to be spectrally weighted.


  • A new translation only solution is available via the new method parameter. The default "rst" uses the full rotate, scale, and translate solution where as the new translation only option is selected with method=trans.

Data Model

Enhancements & Bug Fixes

  • It is now possible to discriminate between 0 and small numerical values (e.g. values smaller than ~ 10^-16) in a Data Model filter.

    With the file:

    unix% cat tst.dat

    CIAO 4.5:

    unix% dmlist "tst.dat[data = 0]" data,clean
    #  data
    unix% dmlist "tst.dat[data > 0]" data,clean
    #  data

    CIAO 4.4:

    unix% dmlist "tst.dat[data = 0]" data,clean
    #  data
    unix% dmlist "tst.dat[data > 0]" data,clean
    #  data
  • The Data Model filter expression


    where the same columns (in this case y are involved in both a spatial filter and a range filter) is ambiguous - is the combination meant to intersect or union the two filters?

    The correct form of the filter is to use the && or || terms to indicate how the filters should be combined, but this did not work in CIAO 4.4.

    It is now possible (in CIAO 4.5) to say

    unix% dmcopy "evt.fits[sky=circle(4096,4096,100)&&y=4020:4100,4250,4350]" filt1.fits
    unix% dmcopy "evt.fits[sky=circle(4096,4096,100)||y=4020:4100,4250,4350]" filt2.fits

    There was also a related problem when using && to combine filters on the same field; CIAO 4.5 allows you to use expressions like

    unix% dmlist "acisf00635_000N001_evt3.fits[(grade=2)&&(grade=0)]" counts 
  • The dmcopy tool no longer displays a warning message saying Filter data type mismatch when filtering on BIT or BOOLEAN (logical) columns.

  • Improve the error message generated if an exclude filter is used after a range filter in the same virtual file expression, since these can not be combined.

  • The FITS keywords BSCALE and BZERO have been added to the list of reserved keywords used by the Data Model.

  • Improvements have been made in reporting errors in the syntax of column filters.

  • The Ascii Kernel for the Data Model has seen improvements in the handling of quoted strings.


  • The get_filename method of a crate now returns any Data Model filter used to open the file; in CIAO 4.4 it just returned the file name.

    CIAO 4.5:

    chips-1> cr = read_file("4948.asol[#row=:100][cols ra,dec,roll]")
    chips-2> cr.get_filename()
             '4948.asol[#row=:100][cols ra,dec,roll]'

    CIAO 4.4:

    chips-1> cr = read_file("4948.asol[#row=:100][cols ra,dec,roll]")
    chips-2> cr.get_filename()
  • The add_col routine will now create a column name - of the form COLUMNm, where m is the column number - if the Crate data object has no name (in CIAO 4.4 the column would have been named "()" when the data was written out to a file).

  • The set_key routine has been added; it either creates a new keyword, or updates an existing one, in the file header.

  • The read_pha routine, and the PHACrateDataset object, now use the block called SPECTRUM as the "most-interesting block", that is, consider this the current block, regardless of its position in the file (in CIAO 4.4 the first block would be used, which could be a WMAP block).

  • There were problems writing out files if a compressed version (i.e. *.gz) of the file already existed.

  • It is no longer necessary to use the snip method of the parent object of a Crate - the object returned by the get_dataset method - to free up memory from a crate. The following code will still work, but the call to snip now does nothing and this method is deprecated, and will be removed in a forthcoming major release of CIAO.

        cr = read_file(filename)
        ... process contents ...


Major enhancements to the ChIPS GUI

  • It is now possible to add annotations - labels, lines, points, regions, or color bars - directly from the ChIPS GUI.

    Users can add an annotation by selecting the Annotation sub-menu from the Right-Mouse-Button menu of the ChIPS window:

    [A ChIPS visualization showing the Right-Mouse-Button menu and the Annotate sub-menu]

    or from the Annotate menu item in the main GUI window:

    [The ChIPS GUI showing the Annotate menu]
  • The "position" values shown in the GUI - e.g. for axis limits and for the coordinates of objects such as labels - have been updated to support scientific and sexagesimal notation and to provide better precision. Values can be adjusted with the keyboard, using the up and down buttons, or by scrolling the mouse scroll button up and down.

  • It is now possibile to change the position - and coordinate system - for most annotations, such as labels, from the main GUI window. You can still select these objects and drag them with the mouse, or move them with the arrow keys.

  • The GUI interface for using, and setting, manual (i.e. arbitrary) tick positions on axes (e.g. as can be done with the set_arbitrary_tick_positions command), has been greatly improved:

    • when a row is highlighted return or space will allow you to edit the cell, up/down arrow keys will allow you to change rows, left/right arrow keys will allow you to change column, and tab will move the focus from the columns to the Add button;
    • when editing a cell tab, return, or an arrow key will allow you commit the change;
    • and after clicking on the Add button a new row is added, the table scrolls down to that row and sets the focus to that row.

Other changes

  • In CIAO 4.4 the ~/.chips.rc file that ChIPS creates (if one does not exist) did not contain any of the GUI preference settings. To check, you can

    unix% mv ~/.chips.rc ~/.chips.rc.old
    unix% chips -b
    unix% diff ~/.chips.rc.old ~/.chips.rc

    and adjust the ~/.chips.rc file for settings that have changed and you wish to keep the old values.

    In the above, the -b option makes ChIPS run in "batch mode", where it exits after processing any command-line script; in this case as we supply no file it just runs the ChIPS set up code, which includes creating the ~/.chips.rc file, and then exits.

  • Curves containing a single point were not being displayed.

  • Support for curves containing values which vary by very small amounts, or are very small, has been improved.

  • When given a file name or a Crate, make_figure, add_curve, and add_histogram now support multiple values in a single row, as used by PHA2 files.

  • Creating images from images, Crates, or numpy arrays with single dimension will now produce a 1 x n image, where n is the number of elements in the array. For instance:

    chips> add_image(np.arange(256))
    chips> set_data_aspect_ratio('')
    chips> limits(Y_AXIS, 0.5, 1.5)
  • The add_histogram call has been fixed so that

    chips> add_histogram(x, y, ['*.color', 'red'])

    now sets the fill.color attribute.

  • Adding closed regions - i.e. those regions where the first and last coordinates are the same - caused the ChIPS server to crash.

  • The first coordinate pair returned by pick or get_pick was sometimes incorrect.

  • The boundary used to highlight a selected label was too large when the label contained greek characters, or was invalid for regions created in a world coordinate data system.

  • It was not possible to drag plots which were embedded within other plots (e.g. the smaller plot in the Placing one plot within another plot ChIPS gallery example).

  • The binary state file created by save_state now contains settings for the axis attribute. This means that CIAO 4.5 state files can not be read into earlier versions of CIAO, but earlier versions can still be read into CIAO 4.5.

  • The make_script output now uses the correct coordinate system for annotations and improvements have been made to support visualizations containing multiple data systems (e.g. multiple axis pairs in a plot).

  • The set_arbitrary_tick_positions command now works correctly when the label for the first tick mark is an empty string (e.g. see the Adjusting axis labels Gallery example).

    Axes that were set to arbitrary mode before a call to bind_axes would not update to display the correct tick positions.

    Ascii scripts created by make_script did not handle axes with arbitrary tick marks.

  • The coordsys attribute of attribute objects - such as ChipsLabel - could not be used to specify the coordinate system when creating an annotation.

    chips> lbl = ChipsLabel()
    chips> lbl.coordsys = FRAME_NORM
    chips> lbl.size = 18
    chips> lbl.color = "olive"
    chips> lbl.font = "times"
    chips> lbl.halign = 1
    chips> add_label(0.95, 0.92, "A label", lbl)
  • Improvements in the formatting of the numeric labels of axes:

    • changing the tick axis format to %Z or %# could cause array bounds errors and memory leaks;
    • binding of WCS axes and then changing the tickformat did not re-display the majorgrid lines correctly;
    • the GUI did not always display the correct setting for the tickformat in the axis properties area when sexagesimal formats such as %ra, %RA, or %DEC were used.
  • The handling of user-defined fonts - i.e. those loaded with the load_font command - has been improved in the GUI.

  • Several corner cases have been fixed that could cause invalid PDF files to be created.

  • Several minor improvements to the GUI, including:

    • there were problems in over-writing files when using the File/Save As menu item to save either Python scripts or a binary state file;
    • the color selection are has been enhanced so that - when displaying the list of color names, rather than the color wheel - the currently-selected color is highlighted (if there is a match), and information on the value of the default color is provided (when selected);
    • regions can now be deleted from the ChIPS plot by selecting the region (so that the selection handles are displayed) and then use the delete key on the keyboard;
    • the default option of "Pan mode" was not working correctly when the visualization was created (users would have to switch modes and then back to Pan mode to get it to work);
    • the show_gui command did not correctly set the path of the embedded Python console when called with an argument;
    • the interactive Python shell now traps attempts to end the shell, such as calls to quit or exit;
    • the Save Dialogs now add saved files to the Recently-Used list, which can then be viewed in later uses of Save/Open file;
    • terminology has been cleaned up to use 'Frame' consistently in the help and menus of the GUI (in CIAO 4.4 'Frame' and 'Pane' were used inter-changeably);
    • and the FAQ menu item has been removed.
  • ChIPS will now exit faster when the plot contains a large number of objects.



  • Fixes to retain filters after dynamic grouping

  • A new rule, that when a dynamic grouping scheme is applied to a data set, it is also automatically applied to all associated background data sets. Commands such as:


    now apply this grouping condition to both source and background. It is no longer necessary to manually group the background(s). The filter is also correctly updated for both source and background.

    Note that this means that source and background will have *different* arrays of grouping flags. If the background has fewer counts, for example, then it will naturally have fewer groups if all groups must meet the condition that the SNR >= 3. The user can still set a different background grouping scheme with:

    group_snr(5, bkg_id=1)

    Here, both source and background will be grouped with SNR >= 3 by the first command; but the background alone will then be grouped by SNR >= 5 by the second command.


  • The Sersic2d model has been added. This model is a generalization of the de Vaucouleurs profile (i.e., the exponent is allowed to be values other than 4).


  • fake_pha will now include simulated background in the faked dataset.

User Interface

  • A new function, sample_flux, has been added to calculate the unabsorbed energy flux due to a Sherpa model. It returns a sample of parameters with a corresponding flux and a flux uncertainty for a model component or a combination of model components. The model components have to be previously defined and used in the fit. The samples are generated from the multi-variate normal distributions with the scales defined by covariance (if at the best fit) or supplied (as "scales"). The flux is calculated for each set of new parameters. The returned flux value is given by a sample's median with the lower and upper quantiles defined by the confidence level supplied to the function.

GUIs (Graphical User Interfaces)


  • Fixed issues with some icons not displaying in prism (e.g the tab icon display the status of the file)


  • New tri-state toggle switch to identify optional ACIS CCDs.

  • New functionality was added to show and hide the target, nominal aimpoint, and optical axis markers. Toggles in the Display Parameters frame (left side of the obsvis gui above the button row) allow per FOV selection of which markers are visible. In addition, the initial settings of the markers can be specified in the Preferences dialog.

  • Changed startup script from ksh to bash

Analysis Scripts

The CIAO scripts package is considered a required part of the software installation.

Version names

  • The labeling of the scripts package has changed from a date to a numeric system; this version number is included in the $ASCDS_CONTRIB/VERSION.CIAO_scripts file - e.g.

    unix% cat $ASCDS_CONTRIB/VERSION.CIAO_scripts 
    scripts 4.5.1 Thursday, December 13, 2012


  • The script has been updated so that it will exit with an error if the input event file is missing a CTI_APP keyword (see the note on the removal of the script below).


  • The script - which is no longer needed because the data issues in the archive it was needed for have long-since been fixed - has been removed from the scripts package with the CIAO 4.5 release. Please see the CTI why topic for more information.

Deprecated: merge_all

Deprecated: and

  • The and scripts are deprecated and will be removed in a later release of CIAO. Please use the roi tool and the splitroi script since they are more powerful than the scripts they replace, as discussed in the An Image of Diffuse Emission thread.



  • The cxcparam python module has gained the plist function has been added to retrieve the list of all parameter names associated with a parameter file:

    >>> import paramio as pio
    >>> pio.plist("dmlist")
    ['infile', 'opt', 'outfile', 'rows', 'cells', 'verbose', 'mode']


  • The stack Python module has been completely re-written in CIAO 4.5. The new module is called stk and returns a native Python list of strings rather than an opaque wrapper around the underlying C structure.

    CIAO 4.5:

    >>> import stk
    >>> myfiles ="a1,b2[cols x,y],c3")
    >>> len(myfiles)
    >>> myfiles[1]
    'b2[cols x,y]'
    >>> myfiles ="")
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    Exception: Empty stack string.

    CIAO 4.4:

    >>> import stack as stk
    >>> mystk = stk.stk_build("a1,b2[cols x,y],c3")
    >>> stk.stk_count(mystk)
    >>> stk.stk_read_num(mystk, 2)
    'b2[cols x,y]'
    >>> mystk = stk.stk_build("")
    >>> stk.stk_count(mystk)
    >>> stk.stk_read_num(mystk, 1)

    The new module returns a list of strings which is easier to iterate over using native Python controls. Note that building a stack from an empty string now raises an exception that may need to be dealt with differently than before.


  • The following changes are not going to affect most users:

    • Reorganize the querying thread in the order of telescope/instrument/product and other general parameters, boundary condition parameters, start and stop date/time specification, data fidelity and data quality. The order conforms to new CALDB4 Requirements.
    • Rewrite the algorithm for extracting the largest start and smallest stop from the valid data set.
    • Modify handling of END_TIME NULL value (nullval=0.0) in key-config (internally re-assigned to nullval=999999.0).
    • Add checks of date/time formats and MJD to UTC conversions before starting any querying. Print out warnings of any inconsistency between the Indexed values and the run-time calculation.
    • Retain double precision of REF_TIME/END_TIME all the way to applications.
    • Add debug-level macros for consistent appearance of output messages.
    • Print out intermediate query results for diagnosis and understanding of the final output at high verbosity levels.
    • Make "bad" data returnable for "cal_qual=5" queries.
    • Fix the output message for "match=firstwarn" or "match=lastwarn".
    • Allow double oquted text in Index boundary condition parameters.


Off-the-Shelf (OTS) Package Versions

  • The following OTS packages are included with CIAO 4.5. For more information on how the OTS packages are built for use with CIAO, refer to the INSTALL_SOURCE file distributed with the software.


    • ds9 v7.1



    • CCfits v2.4
    • cfitsio v3.290
    • fftw v3.3.1
    • fontconfig v2.8.0
    • freetype v2.4.4
    • gsl v1.15
    • readline v6.2
    • vte v0.25.1
    • VTK v5.6.1
    • wcssubs v3.8.3
    • xpa v2.1.13
    • XSpec v12_7_1 (models only)


Analysis Threads

  • The CIAO and Sherpa Threads are in the process of being tested and updated for the CIAO 4.5 release. Please check the "Last Update" information at the top of each thread to see if it has been reviewed. The ChIPS Threads have been updated.

Last modified: 2 December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: Smithsonian Institution, Copyright © 1998-2014. All rights reserved.