RickKessler / SNANA

Supernova Analysis package
38 stars 23 forks source link

FATAL ERROR ABORT called by check_SNDATA_HOSTGAL_SNSEP #1022

Closed jpierel14 closed 2 years ago

jpierel14 commented 2 years ago

Get this error when running a strong lensing simulation ($SNANA_DEBUG/Justin/host_sep_issue), reproducible with sh REPRODUCE_CMD.sh

RickKessler commented 2 years ago

There are two issues here. First, I fixed a bug so that a lens galaxy can be selected if logMass is not available to use as a weight. The other issue is that there is no Sersic profile in the HOSTLIB, and this messes up coordinates. I therefore turned off the SN-host coordinate sanity check if there is no Sersic profile.