Ion source with combined cathode and transfer line heating