Analysis of a mean field model of superconducting vortices