2D CFT partition functions at late times