Petrobras posted a R$446 million loss in 2017, but continued to improve its operating results, and it was the smallest loss in the last four years.