Magnetic-field configuration fitted to the microwave ion-source plasma