Nonlinear theory of the photomagnetoelectric effect with a quadratic relationship between carrier densities: spectral distribution