If you've tried multiple times with the same results, then its most likely the camera that's not capable of doing so. The only remedy is to increase the lighting, find somewhere with more lighting or switch back to the galaxy.
I'm a G6 owner and the ff camera isn't "knock-your-socks-off" to begin with. Trying to take lowlight selfies just isn't one of the G6's strong points.