Errors in expmap

computes exposure maps for survey or pointed observations of one or several eROSITA telescopes and energy bands.
Post Reply
nicocappelluti
Posts: 2
Joined: Thu Sep 02, 2021 10:16 pm

Errors in expmap

Post by nicocappelluti »

Hi All,
I am trying to create the exposure map of the eFEDS field.
I Installed eSASS on Centos without error messages.
I used the following command to creare events and image and it worked

evtool eventfiles=fm00_300007_020_EventList_c001.fits outfile=evt1.fits events=yes image=yes rebin=80
evtool: eSASS4EDR Sep 02 16:01:39 2021
evtool/evtool_main: memset==.false., so memory setting for large files is used.
evtool/merge_extensions: Merging 1 files.
evtool/merge_extensions: Infiles will be read 1 extension at a time.
evtool/evtool_main: Applying filters.
evtool/apply_filter_eventfile: Creating image.
evtool/create_from_events_tImage2D_i4: **WARNING1** 1126677 out of 1831442 possible events fall outside the image bounds.
evtool/evtool_main: Writing outfile.
evtool/write_tEventFile: Writing events.
evtool/write_tEventFile: Writing events-extension extras.
evtool: DONE


Then when I try to create the expmap a get a segmentation fault error.

expmap inputdatasets="evt1.fits" emin=0.5 emax=2.0 templateimage="evt1.fits" withmergedmaps="yes" mergedmaps="expmap_0520.fits"
expmap: eSASS4EDR Sep 02 16:01:39 2021

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x7f61824292ef in ???
#1 0x7f61844893ae in faopnw_
at unx/faopnw.f:48
#2 0x7f6184469d59 in ocnfg_
at gen/ocnfg.f:62
#3 0x7f618446b4c9 in rcnfig_
at gen/rcnfig.f:133
#4 0x7f618446c9ee in rdcnfg_
at gen/rdcnfg.f:20
#5 0x45b2bf in caldb_info_
at task/gtcal/caldb_info.f:183
#6 0x45965a in gtcalf_
at task/gtcal/gtcalf.f:312
#7 0x41f8ab in __expmap_io_MOD_get_detmaps
at task/expmap/expmap_io_mod.f90:1128
#8 0x408f01 in expmap_main
at task/expmap/expmap_main.f90:312
#9 0x407d8c in main
at task/expmap/expmap_main.f90:59
Segmentation fault (core dumped)


Can you please advise?
Thanks Nico
nicocappelluti
Posts: 2
Joined: Thu Sep 02, 2021 10:16 pm

Re: Errors in expmap

Post by nicocappelluti »

Hi I worked a bit into this issue and I was able to run it with the docker. So I believe it is a distribution issue.
Thanks Nico
MiriamRamos
Posts: 23
Joined: Wed Jun 23, 2021 11:46 am

Re: Errors in expmap

Post by MiriamRamos »

Dear Nico,

Thanks for your posts and sorry for the late reply (summer vacations).

Indeed, we strongly advise using eSASS on Ubuntu systems or use Docker otherwise. It looks like that the problem on Centos is due to a lack of memory. The eFEDS data set is heavy for some machines. We are glad to know it works on Docker tough.

Best wishes,

Miriam
Post Reply