Oil heads for weekly gains on anxiety over intensifying Ukraine war