Statistics for Hiflow: Generating diverse hi maps and inferring cosmology while marginalizing over astrophysics using normalizing flows