Oil price settles slightly higher but posts weekly decline