Analogue Hawking radiation as a logarithmic quantum catastrophe