Robust errant beam prognostics with conditional modeling for particle accelerators | Synapse