If the ozone machine doesn't work the first time you might want to take the carpet out completely, take it over to a self service wash, high pressure it thoroughly, let drip dry. After it dries reinstall the carpet.
Then re-ozone the car overnight again.
I used to use a fogger device sometimes...