Performance optimization of indirectly heated cathode based electron gun by controlling high voltage surface flashover and beam positioning at target plane. (February 2022)