Photoionization study of HgAr