Significance in gamma ray astronomy with systematic errors