gold futures log highest close in almost 4 months