From Chaos to Clarity: Time Series Anomaly Detection in Astronomical Observations