gold futures log highest settlement in nearly two weeks