Hi Yadgyu,
I'm not sure what your definition of a "competent musician" is but I do meet or exceed all your other criteria

. All of my income is from placements of my music in tv/film (about 85%) and upfront music library production fees (about 15%).
What's important to understand about tv/film placements is that 1-it's a numbers game (you'll probably need at least 300-350 active tracks to get to the 40k level) and 2-it takes time. Obviously it takes time to write 300-350 quality tracks, but beyond that it's important to realize that your tracks usually won't start making you money the moment you finish them. You first have to strike a deal with a good publisher/library (or several) and then your music has to be released to the market place. Only then can it start generating placements. And after that it takes additional time to get paid, especially from performance royalties.
So getting to that $40k/year level requires a great deal of determination, persistance, hard work and time. Which is probably why most people give up way before getting there.
This is also why we shouldn't turn up our noses at seemingly "small" or "insignificant" successes like a placement or two or that first $50 royalty check. Because these successes are the crucial stepping stones toward that goal of making 40k/year, and celebrating them tends to give us the energy we need to keep going. It's not like the 40k is just gonna fall out of the sky and hit us on the head one year.
The good news is that if you have the stamina to get to 40k/year from film/tv placements, you're probably not gonna stay there very long. The catalog and momentum you've built up to reach that level should quickly propel you significantly higher, if you keep going.
HTH,
matto