Study of characteristics of 4-GEM detector prototype