The effect of spatially dependent temperature and carrier fluctuations on noise in semiconductor lasers