If the fireplace was installed correctly, you can keep it on indefinitely. Vented gas fireplaces do not have a time limit in their safety requirements. When a gas fireplace is being safety tested, it runs for days.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.