I use to have Hardwood floors that I had to wash every day with my five Yorkies but the house always kept some smell, clean & doggie. Now we have carpet, it's much easier to keep smelling good with Arm & Hammer Pet Fresh Carpet Powder and a vaccume daily...we also get them shampooed every three weeks or so. My carpet guy said he couldn't guarantee he would be able to remove all the accidents my fur-babies had when we first moved but he got all the funky smell out and he said the trick is to clean and then suck out ALL the moisture from the carpet. It works on couch accidents as well.

Anyway, we are in Los Angeles if anyne needs a good carpet cleaning in our area (30 miles around us or so) P.M. me and I'll be glad to give you his number.
Good luck to get the smell out. Can you get pictures of the results with the black light??? I would love to see them, lol...