background estimation also works with NaNs in observed SEDs