Steady state photoluminescence in one dimension