Nonparametric Estimation of a Factorizable Density using Diffusion Models (Journal of Machine Learning Research, 2026)