Development of compact ion gun under atmospheric pressure X-rays