Magnetic properties of superconducting tantalum