Nonpolynomial Yang-mills Local Cohomology