Chandra X-Ray Observatory (CXC)
Skip to the navigation links
Last modified: 9 November 2011

URL: http://cxc.harvard.edu/ciao4.4/bugs/dmextract.html

Bugs: dmextract


Table of Contents

Bugs


Bugs

dmextract requires a "sky" vector to bin on x and y

If the x and y columns are not associated as a "sky" vector, dmextract can't bin on them:

unix% dmextract infile="img.fits[bin (X,Y)=@ann.reg]" ...

# dmextract (CIAO): dsDMEXTRACTREGWCSWERR -- WARNING: Expected 2 dimensions for the sky descriptor. Skipping translation of region to WCS. 
or
# dmextract (CIAO): dsFINDCOLUMNERR -- ERROR: Column 'sky' was not found
in file 'HDU2'.

Workaround:

Edit the file header to create a sky vector.

unix% cat dmhedit.lis
#add
MTYPE1 = POS
MFORM1 = X,Y

unix% punlearn dmhedit
unix% dmhedit img.fits dmhedit.lis

dmextract gets the exposure wrong when it's using a DTF file and the time bins are larger than two bins of the DTF file (~2 sec)  (09 Feb 2011)

The tool is shifting the value by one record of the DTF file.

If a bin exceeds the time range in the DTF file, the exposure values are incorrect as well.

Users can still do this analysis with dmextract if the DTF values are nearly constant. Any bins outside the boundaries of the file should be ignored.


Bugs fixed in CIAO 4.4

The following is a list of bugs that were fixed in the CIAO 4.4 software release.

DM Error: No kernel found for dataset <exposure map>  (19 Aug 2011)

When running dmextract with an exposure map and a large stack of source and/or background regions, the tool may fail with the error:

# dmextract (CIAO): dsDMBLOCKOPENERR -- ERROR: Failed to open the DM
data block in dataset '<exposure map>'. DM Error: 'No kernel
found for dataset <exposure map>'.

This is due to the tool running out of memory from opening the exposure map once per region.

Workaround:

Create smaller stacks and run dmextract more than once to analyse all the regions.

dmextract gets the exposure wrong when it's using a DTF file and the time bins are smaller than the resolution of the DTF file (~2 sec)  (03 Nov 2010)

The effect is that instead of just selecting the DTF record that covers the lightcurve bin, it's incorrectly adding/averaging such that an extra DTF record's time on either side.

If the lightcurve time bins overlap one or more DTF boundaries, all is well. The problem only occurs when the lightcurve bin is entirely inside a DTF bin.

Incorrect bg_exposure when bkgexp file is provided.  (09 Feb 2011)

If a background exposure file is provided in the bkgexp parameter, the values in the output bg_exposure column are wrong.

NaN counts if region includes a NaN pixel  (03 May 2011)

The output COUNTS column will be NaN if the region encloses a NaN-value pixel. The tool checks for integer NULLs, but support for floating-point NaNs has not yet been added.


Last modified: 9 November 2011
CXC logo

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