Pathfinder Adventure, Adventure Path, Lost Omens, PF Special Edition, Starfinder Adventure Path Subscriber
You missed the -1 size modifier for being Large. So it's 2 (BAB) + 4 (Str) - 1 (size) = +5 for the bite, and then -5 on the tail for being a secondary natural attack for a +0.