Local density of states in photonic crystal cavity