BlackBerry has almost finished its metamorphosis into a software company, and its fourth quarter results, for the first time in years, outdid analyst expectations. Having offloaded its hardware business after an overly protracted separation, the company has a far more positive outlook. It reported fourth quarter non-GAAP earnings of four cents a share (Wall Street had only expected break-even). Software and services revenue in the quarter was $193m, up 25% year-on-year, while for the year it was $687m, surpassing the target of $640m which CEO John Chen had set and also hitting his goal of increasing sales in this area by at least 30%. On the back of this, BlackBerry said it would be profitable for its entire fiscal 2018,…