The upper critical field of an anhanharmonic superconductor