The Zener diode is an LM385-BZ 2.5. I could not find that SPICE model, so the circuit is running on standard values.
The first picture below with Vout = 0-3.3 V is what I am trying to get, but the second picture is what I got.
Does anyone know how to fix this?