Flex LNG posts loss due to weak market