Self-consistent theory for ferromagnetism induced by photo-excited carriers