gold futures end up on bargain buys, econ outlook