Two-Stage Deep Anomaly Detection with Heterogeneous Time Series Data