Thermoelectric signature of the excitation spectrum of a quantum dot