The federal government likely failed to keep its deficit below the promised $40-billion cap in the last fiscal year, the parliamentary budget officer said on Thursday.