First Quantum Corrections to the Classical Partition Function for a Non-Relativistic Electrodynamical System