Demo [SOLVED]
Posted: Thu Aug 25, 2022 12:14 pm
Hi All,
When running the demo script on a (randomly chosen) file from the Early Data Release (https://erosita.mpe.mpg.de/edr/eROSITAO ... ns/EDRFWC/) I always get the same error (see below).
Any idea of what is going on? More importantly, which data files is the demo supposed to work on?
Thanks a lot.
Best,
Matteo
When running the demo script on a (randomly chosen) file from the Early Data Release (https://erosita.mpe.mpg.de/edr/eROSITAO ... ns/EDRFWC/) I always get the same error (see below).
Code: Select all
idies@acb9cac72113:~/demo$ ./demoscript_4EDR.py FWCv1.0_120_EventList.fits
Results will be saved in the current folder :
/home/idies/demo
This script will uses eSASS installed in /home/idies/sw/eSASS4EDR
and the executables in:
/home/idies/sw/eSASS4EDR/bin
/home/idies/sw/eSASS4EDR/bin/evt: eSASS4EDR Sep 02 09:43:31 2021
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: memset==.false., so memory setting for large files is used.
/home/idies/sw/eSASS4EDR/bin/evt/merge_extensions: Merging 1 files.
/home/idies/sw/eSASS4EDR/bin/evt/merge_extensions: Infiles will be read 1 extension at a time.
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: Applying filters.
/home/idies/sw/eSASS4EDR/bin/evt/apply_filter_eventfile: Creating image.
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: Writing outfile.
/home/idies/sw/eSASS4EDR/bin/evt/write_tEventFile: Writing events.
/home/idies/sw/eSASS4EDR/bin/evt/write_tEventFile: Writing events-extension extras.
/home/idies/sw/eSASS4EDR/bin/evt: DONE
/home/idies/sw/eSASS4EDR/bin/evt: eSASS4EDR Sep 02 09:43:31 2021
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: memset==.false., so memory setting for large files is used.
/home/idies/sw/eSASS4EDR/bin/evt/merge_extensions: Merging 1 files.
/home/idies/sw/eSASS4EDR/bin/evt/merge_extensions: Infiles will be read 1 extension at a time.
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: Applying filters.
/home/idies/sw/eSASS4EDR/bin/evt/apply_filter_eventfile: Creating image.
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: Writing outfile.
/home/idies/sw/eSASS4EDR/bin/evt/write_tEventFile: Writing events.
/home/idies/sw/eSASS4EDR/bin/evt/write_tEventFile: Writing events-extension extras.
/home/idies/sw/eSASS4EDR/bin/evt: DONE
/home/idies/sw/eSASS4EDR/bin/evt: eSASS4EDR Sep 02 09:43:31 2021
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: memset==.false., so memory setting for large files is used.
/home/idies/sw/eSASS4EDR/bin/evt/merge_extensions: Merging 1 files.
/home/idies/sw/eSASS4EDR/bin/evt/merge_extensions: Infiles will be read 1 extension at a time.
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: Applying filters.
/home/idies/sw/eSASS4EDR/bin/evt/apply_filter_eventfile: Creating image.
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: Writing outfile.
/home/idies/sw/eSASS4EDR/bin/evt/write_tEventFile: Writing events.
/home/idies/sw/eSASS4EDR/bin/evt/write_tEventFile: Writing events-extension extras.
/home/idies/sw/eSASS4EDR/bin/evt: DONE
/home/idies/sw/eSASS4EDR/bin/evt: eSASS4EDR Sep 02 09:43:31 2021
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: memset==.false., so memory setting for large files is used.
/home/idies/sw/eSASS4EDR/bin/evt/merge_extensions: Merging 1 files.
/home/idies/sw/eSASS4EDR/bin/evt/merge_extensions: Infiles will be read 1 extension at a time.
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: Applying filters.
/home/idies/sw/eSASS4EDR/bin/evt/apply_filter_eventfile: Creating image.
/home/idies/sw/eSASS4EDR/bin/evt/evtool_main: Writing outfile.
/home/idies/sw/eSASS4EDR/bin/evt/write_tEventFile: Writing events.
/home/idies/sw/eSASS4EDR/bin/evt/write_tEventFile: Writing events-extension extras.
/home/idies/sw/eSASS4EDR/bin/evt: DONE
['expmap', 'inputdatasets=FWCv1.0_120_EventList.fits', 'emin=0.200000 0.500000 1.000000 2.200000', 'emax=0.500000 1.000000 2.200000 10.000000', 'templateimage=./EventList_021.fits.gz', 'withvignetting=yes', 'withmergedmaps=yes', 'withdetmaps=yes', 'withfilebadpix=no', 'withcalbadpix=no', 'mergedmaps=./ExposureMap_021.fits.gz ./ExposureMap_022.fits.gz ./ExposureMap_023.fits.gz ./ExposureMap_024.fits.gz']
/home/idies/sw/eSASS4EDR/bin/exp: eSASS4EDR Sep 02 09:43:31 2021
/home/idies/sw/eSASS4EDR/bin/exp/get_evt_keywords: **ERROR2** Unrecognized value '' of FILTER keyword. The CALDB will return you files for all filters, which may not be what you want.
/home/idies/sw/eSASS4EDR/bin/exp/ero_cifsl: Accessing cal file tm1_detmap_100602v02.fits
/home/idies/sw/eSASS4EDR/bin/exp/ero_cifsl: Accessing cal file tm1_instpar_200212v09.fits
/home/idies/sw/eSASS4EDR/bin/exp/ero_cifsl: Accessing cal file tm1_instpar_200331v10.fits
/home/idies/sw/eSASS4EDR/bin/exp/ero_cifsl: Accessing cal file tm1_instpar_190701v15.fits
/home/idies/sw/eSASS4EDR/bin/exp/get_detmaps: **WARNING1** More than one GEOM found; using first.
/home/idies/sw/eSASS4EDR/bin/exp/ero_cifsl: **ERROR3** tm1_arf_filter_000101v02.fits and tm1_arf_open_000101v02.fits have identical REF_TIME
/home/idies/sw/eSASS4EDR/bin/exp/get_area: **ERROR3** Error finding cal component SPECRESP for telescope 1.
/home/idies/sw/eSASS4EDR/bin/exp/main: **STOP** Obtaining area failed
/home/idies/sw/eSASS4EDR/bin/exp: FAILED
Traceback (most recent call last):
File "./demoscript_4EDR.py", line 490, in <module>
main(sys.argv)
File "./demoscript_4EDR.py", line 481, in main
RunTasks()
File "./demoscript_4EDR.py", line 128, in RunTasks
subprocess.check_call(cmd)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['expmap', 'inputdatasets=FWCv1.0_120_EventList.fits', 'emin=0.200000 0.500000 1.000000 2.200000', 'emax=0.500000 1.000000 2.200000 10.000000', 'templateimage=./EventList_021.fits.gz', 'withvignetting=yes', 'withmergedmaps=yes', 'withdetmaps=yes', 'withfilebadpix=no', 'withcalbadpix=no', 'mergedmaps=./ExposureMap_021.fits.gz ./ExposureMap_022.fits.gz ./ExposureMap_023.fits.gz ./ExposureMap_024.fits.gz']' returned non-zero exit status 1.
Thanks a lot.
Best,
Matteo