Open source software doesnt have to be free as in beer. I actually make a decent living off writing oss software. For the most part the work is like consultancy (we have paying clients request features). Despite being an oss dev I do actually pay for software I think is worth it. I think the major issue with mathematica is that it is _really_ pricy for paid software (and not great at that, ive run into many bugs with it).