Localization of superconductivity in superconductor-electromagnet hybrids — arXiv2