Should the flue always be open in a gas fireplace?
Your flue should always be open when the fireplace is operating.  It is a fire and smoke risk to close the flue while the fire is lit.

When not burning, the flue should be closed to prevent heat loss.