Structured Estimation of Heterogeneous Time Series