Molecular gas heating in Arp 299