Very interesting experiment. I tried different exposure/gain settings and I usually keep a gain of 60% (no gamma).
I did the same experiment at day time with a ruler to avoid atmospheric turbulence with a former camera.
Your images (which are fine !) should help us to choose the better ratio.
Nicolas.