Fortran runtime error
Posted: Fri Apr 14, 2023 2:42 am
Hello everyone,
When I tried to run the command "erbox images="image_soft.fits image_hard.fits"
boxlist="boxlist_local.fits"
expimages="A3266_soft_expmap.fits A3266_hard_expmap.fits"
detmasks="detmask.fits"
emin="500 2000"
emax="2000 5000"
hrdef="1 2"
ecf="2.0E12 1.0E12"
nruns=3
likemin=6.
boxsize=4
compress_flag="N"
bkgima_flag="N"
expima_flag="Y"
detmask_flag="Y"", I encountered an error:
erbox: eSASS4EDR Mar 29 13:59:57 2023
erbox/SORT_IMA: ERROR3 No detection mask for exposure
erbox/SORT_IMA: ERROR3 No detection mask for exposure
At line 844 of file task/erbox/eboxdet_mod.f90
Fortran runtime error: Index '-1' of dimension 1 of array 'detmask%arr' below lower bound of 1
Error termination. Backtrace:
#0 0x5571928b086d in ???
#1 0x5571928b0aa5 in ???
#2 0x5571928b0e77 in ???
#3 0x557192819b03 in __eboxdet_MOD_mdetec
at task/erbox/eboxdet_mod.f90:844
#4 0x5571928098f9 in erbox
at task/erbox/erbox_main.f90:85
#5 0x5571928098f9 in main
at task/erbox/erbox_main.f90:30
Peng
When I tried to run the command "erbox images="image_soft.fits image_hard.fits"
boxlist="boxlist_local.fits"
expimages="A3266_soft_expmap.fits A3266_hard_expmap.fits"
detmasks="detmask.fits"
emin="500 2000"
emax="2000 5000"
hrdef="1 2"
ecf="2.0E12 1.0E12"
nruns=3
likemin=6.
boxsize=4
compress_flag="N"
bkgima_flag="N"
expima_flag="Y"
detmask_flag="Y"", I encountered an error:
erbox: eSASS4EDR Mar 29 13:59:57 2023
erbox/SORT_IMA: ERROR3 No detection mask for exposure
erbox/SORT_IMA: ERROR3 No detection mask for exposure
At line 844 of file task/erbox/eboxdet_mod.f90
Fortran runtime error: Index '-1' of dimension 1 of array 'detmask%arr' below lower bound of 1
Error termination. Backtrace:
#0 0x5571928b086d in ???
#1 0x5571928b0aa5 in ???
#2 0x5571928b0e77 in ???
#3 0x557192819b03 in __eboxdet_MOD_mdetec
at task/erbox/eboxdet_mod.f90:844
#4 0x5571928098f9 in erbox
at task/erbox/erbox_main.f90:85
#5 0x5571928098f9 in main
at task/erbox/erbox_main.f90:30
Peng