Asymptotic expansions of finite theta series