Nonzero temperature variational calculation for the quantum electron gas Slater sum