gold settles under $1,200, but scores gain for the week