Make sure to start observations at a time respecting include_twilight.  Move survey_completed check to occur after exposure completion, to avoid large numbers of checks in dead time while nothing is happening.
Make sure to start observations at a time respecting include_twilight.  Move survey_completed check to occur after exposure completion, to avoid large numbers of checks in dead time while nothing is happening.

desihub/surveysim,desihub/surveysim