Text this: Large deviations techniques and applications / Amir Dembo, Ofer Zeitouni.