Gold edges higher for the session, falls for the week