Update SN_mag.py

changed the code so that detections before the shock breakout don't register