Fortran Runtime Error
Posted: Sun Apr 21, 2024 5:58 pm
Hello all,
When I run the following set of commands:
erbox
compress_flag="N"
detmask_flag=Y
expima_flag=Y
emin=500
emax=10000
bkgima_flag=N
ecf=1
boxsize=20
images="image_comb.fits"
boxlist="boxlist_comb.fits"
expimages="expmap_comb.fits"
detmasks="detmask_comb.fits"
I am just selecting a region of interest and generating an image, exposure map, and detmask, then running the erbox command with the specified files and receiving this error.
Index '10' of dimension 1 of array mask above upper bound of 9
Error termination. Backtrace:
#0 0x55aad1faed8d in ???
#1 0x55aad1faefc5 in ???
#2 0x55aad1faf397 in ???
#3 0x55aad1f1b593 in __eboxdet_MOD_msrbkg
at ../../task/erbox/eboxdet_mod.f90:1300
#4 0x55aad1f20cf8 in __eboxdet_MOD_mdetec
at ../../task/erbox/eboxdet_mod.f90:942
#5 0x55aad1ef2883 in erbox
at ../../task/erbox/erbox_main.f90:89
#6 0x55aad1ef2883 in main
at ../../task/erbox/erbox_main.f90:33
Thank you
Garrett
When I run the following set of commands:
erbox
compress_flag="N"
detmask_flag=Y
expima_flag=Y
emin=500
emax=10000
bkgima_flag=N
ecf=1
boxsize=20
images="image_comb.fits"
boxlist="boxlist_comb.fits"
expimages="expmap_comb.fits"
detmasks="detmask_comb.fits"
I am just selecting a region of interest and generating an image, exposure map, and detmask, then running the erbox command with the specified files and receiving this error.
Index '10' of dimension 1 of array mask above upper bound of 9
Error termination. Backtrace:
#0 0x55aad1faed8d in ???
#1 0x55aad1faefc5 in ???
#2 0x55aad1faf397 in ???
#3 0x55aad1f1b593 in __eboxdet_MOD_msrbkg
at ../../task/erbox/eboxdet_mod.f90:1300
#4 0x55aad1f20cf8 in __eboxdet_MOD_mdetec
at ../../task/erbox/eboxdet_mod.f90:942
#5 0x55aad1ef2883 in erbox
at ../../task/erbox/erbox_main.f90:89
#6 0x55aad1ef2883 in main
at ../../task/erbox/erbox_main.f90:33
Thank you
Garrett