Is the Fossa a primitive cat, or is its cat like appearance the result of convergent evolution?

see
https://en.wikipedia.org/wiki/Fossa_(animal)