Title: Theory of Thermodynamic Measurements of Quantum Systems Far from Equilibrium