Question and Answer

Question ID

0027

Language

English

Assigned Member

T. Yoshida

Category

xtend analysis

Name

M. Ishida

Institute

ISAS/JAXA

Question

One of my colleagues in the SS Cyg team tried to make an RMF of the Xtend with a spectrum fi le as an input, but the soft"xtdrmf" failed with the error messages below;
> % xtdrmf
> Input PHA fi le with WMAP[q_src.pi]
> Output response fi le[q_src.rmf]
> xtdrmf: ERROR: During main: ahfi ts::getKeyValStr() -> q_src.pi[HDU1]: failed to read header keyword: MTYPE1 [CFITSIO202:
> keyword not found in header]
She looked into the spectrum fi le "q_src.pi" and found the keyword "MTYPE1" was missing, as the software told. We do nhow to resolve this issue. So please help us for creating the RMF fi le for starting our spectral analysis.
The xselect log at the time of generating the spectrum fi le in the question is as follows. The event fi le for input is the one tincluded in the distribution package.
Thank you very much for your help in advance.


--- log start ---
xrismsrv01:~/SSCyg_xtend/300042020/xtend/event_cl> xselect
** XSELECT V2.5b **
> Enter session name >[xsel]
xsel:SUZAKU > read event xa300042020xtd_p031100010_cl.evt
> Enter the Event fi le dir >[./]
Got new mission: XRISM
> Reset the mission ? >[yes]
Notes: XSELECT set up for XRISM
Time keyword is TIME in units of s
Default timing binsize = 16.000
Setting...
Image keywords = X Y with binning = 1
Energy keyword = PI with binning = 1
Getting Min and Max for Energy Column...
Got min and max for PI: 0 4095
Got the minimum time resolution of the read data: 0.46312 MJDREF = 5.8484000800741E+04 with TIMESYS = TT Number of fi les read in: 1
******************** Observation Catalogue ******************** Data Directory is: /home/takeo/SSCyg_xtend/300042020/xtend/event_cl/
HK Directory is: /home/takeo/SSCyg_xtend/300042020/xtend/event_cl/
OBJECT TELESCOP INSTRUME DETNAM DATAMODE DATE-OBS DATE-END
1 SS_CYGNI XRISM XTEND CCD12 WINDOW2 2024-05-15T00:14:18.234375 2024-05-18T06:37:27.999965
xsel:XRISM-XTEND-WINDOW1 > set image det
xsel:XRISM-XTEND-WINDOW1 > fi lter region q_src.reg
xsel:XRISM-XTEND-WINDOW1 > extr spectrum extractor v6.10 20 Jan 2023 Getting FITS WCS Keywords Doing fi le:/home/takeo/SSCyg_xtend/300042020/xtend/event_cl/xa300042020xtd_p031100010_cl.evt[regfi lter("xsel_region.xsl",DE 100% completed Total Good Bad: Time Phase Grade Cut
1939827 1939827 0 0 0 0
===============================================================================
Grand Total Good Bad: Time Phase Grade Cut
1939827 1939827 0 0 0 0
in 1.40806E+05 seconds
Spectrum has 1939827 counts for 13.78 counts/sec Keyword DATE-OBS has two values: '2024-05-14T23:58:04' and '2024-05-15T00:14:18.234375'
Keyword DATE-END has two values: '2024-05-18T07:10:04' and '2024-05-18T06:37:27.999965'
... wrote the PHA data Extension
xsel:XRISM-XTEND-WINDOW1 > save spectrum q_src.pi Wrote spectrum to q_src.pi
--- log end ---

Answer from

T. Yoshida

Institute

ISAS/JAXA

Answer

Could you please try HEASFT ver6.34 or Build8 tool ? (or later)
When we tested it with these tools, the process was completed successfully without the xtdrmf error.

We have confirmed that the xtdrmf error is reproduced when the MDB (Mission DataBase) file is incorrect.
The incorrect log (your log) says:
=================
Setting...
Image keywords = X Y with binning = 1
Energy keyword = PI with binning = 1
=================
However, the correct log includes the "WMAP keywords" as follows:
=================
Setting...
Image keywords = X Y with binning = 1
WMAP keywords = DETX DETY with binning = 1
Energy keyword = PI with binning = 1
=================

Status

Accept 2024-09-05

Close 2024-09-18