Experimental results of a YBCO bulk superconducting undulator magnetic optimization