Bugs: addresp
Table of Contents
Bugs
The tool SegVs if the phasfile parameter is blank
(01 Feb 2012)The output combined RMF file is missing the TLMIN keyword for the F_CHAN column
(09 Feb 2012)
Bugs
Extra space added to dmhistory entry
(11 Jan 2012)
The addresp history entry in the file header has an extra space at the end of the lookupTab entry. The space has to be removed before running the tool or addresp will fail with:
ERROR Could not open the lookup table : /soft/ciao/data/addresp_header_lookup.txt
Workaround:
unix% dmhistory combined.arf addresp action=pset
unix% pset addresp lookupTab=${ASCDS_INSTALL}/data/addresp_header_lookup.txt
The tool SegVs if the phasfile parameter is blank
(01 Feb 2012)
unix% addresp infile="" arffile="1.arf,2.arf" phafile="" ... # addresp (CIAO): ERROR: no inputs of PHA files. # 27321: Received error signal SIGSEGV-segmentation violation. # 27321: An invalid memory reference was made. # 27321: segmentation fault: addresp (1) is: exit_upon_error->NULL
The output combined RMF file is missing the TLMIN keyword
for the F_CHAN column
(09 Feb 2012)
The missing keyword means that the RMF cannot be used in Sherpa:
sherpa> load_pha("ngc6300_src.pi")
read ARF file ngc6300_src.arf
ERROR: Failed to locate TLMIN keyword for F_CHAN column in RMF file
'ngc6300_src.rmf'; Update the offset value in the RMF data set to
appropriate TLMIN value prior to fitting
read RMF file ngc6300_src.rmf
Workaround:
Add the missing keyword with dmhedit. The F_CHAN column has TLMIN4=1 for Chandra RMFs:
unix% chmod +w ngc6300_src.rmf unix% dmhedit ngc6300_src.rmf f="" key=TLMIN4 op=add value=1
Bugs fixed in CIAO 4.4
The following is a list of bugs that were fixed in the CIAO 4.4 software release.
addresp fails with grating input
The addresp tool is only tested and recommended for use with imaging data. If grating files are input, the tool fails instead of erroring out nicely.
unix% addresp infile=@heg_rmfs.lis arffile=@heg_arfs.lis \
outfile=ciao_sum.rmf outarf=ciao_sum.arf
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
sh: line 1: 19224 Aborted

![[CIAO Logo]](../imgs/ciao_logo_navbar.gif)