End-To-End Self-tuning Self-supervised Time Series Anomaly Detection