gold ends 3.1% lower $1,565.50 an ounce