Barge fire 'virtually extinguished'