Modeling of LaB6 hollow cathode performance and lifetime