An analytical model for top-hat long transient mode-mismatched thermal lens spectroscopy