Probe gain in two-photon pumped three-level system