You've gotta find the source and remove it
Every odor has to have a source, and the only way to get rid of the odor is to find the source and eliminate it. An ionizer won't do that...it's just a very expensive air freshener. Odors are always strongest at their source...so let's go through the possibilities: You've removed the head, holding tank and sanitation hoses, so that rules out trapped stagnant water in the head intake and permeated sanitation hoses...but it doesn't rule out odor that's transferred itself to surfaces where the hoses passed through or where there might have a been a spill. Just cleaning usually won't get rid of that odor. This will:Buy some Raritan K.O. holding tank treatment...it's a live bacteria product that "eats" odor-producing spores (similar products are available at pet supply stores to get rid pet odor accidents, but they’re diluted and considerably more expensive). Clean the spill area with detergent and water, but don't use bleach, Lysol or any other "antibacterial" product. When the area is dry (no more than barely damp), put some K.O. in a trigger sprayer or pump-up garden spray bottle and liberally saturate the area with it. Don't rinse...let it dry, leaving that area open so that plenty of fresh air can circulate for 24 hours. If cushions were affected, clean up and saturate (not dripping wet…just saturate enough to completely penetrate the foam) with K.O., then leave outside in the sunshine to dry all day. That will get rid of the odor permanently. If you still have odor after you’ve closed everything up again, you missed a spot. Odor in the head...have you cleaned the shower sump? A dirty shower sump can smell like a sewer. If it's none of the above, it's gotta be trapped water somewhere. Stagnant water can smell just like sewer...because it generates the same sulphur compounds that sewage does. You've cleaned all the bilge areas you can reach...but that doesn't mean you've gotten rid of all the trapped water. Try again, this time with a STRONG solution of detergent and water, followed by hosing out with clean water until what's coming out the bilge pump is clean enough to drink. If a garden hose nozzle doesn't produce enough pressure to flood every area, use a power washer...my 1600 psi from Home Depot was the best $200 I ever spent for use on my boat AND at home, but if you don't want to buy one, try to borrow one. Don't rent a pressure washer...they're at least 15,000 psi, which is too powerful...it can damage something. This one is a long shot, but it did happen to a trawler owner: like you, he'd torn his hair out, along with his whole sanitation system...his bilge was clean enough to eat off of and dry...they could not get rid of the odor. I was as stumped as they were. But unbeknownst to him, water had previously leaked into the keel around the keel bolts. They never would have found it if it hadn't also caused some corrosion in the keel...when the yard drill into the keel to start repairing, about 20 gallons of water SO foul that everyone had to leave started pouring out. Once they got it all cleaned out, the odor in their boat was gone.So all I can tell you is, keep looking till you find it...and then remove it.