Gold futures gap up 1.01%, close near session low at $4,042