Gamma radiations from the proton capture of Mg25