gold futures gain for the day, lose for the week