Time-frequency analysis of atomic clock anomalies