Measurement of the motional heating of a levitated nanoparticle by thermal light