This function is positive from 0 to inf, why give larger than 1000 will yield to 0, not reasonable.
import scipy.integrate as integrate
from math import *
integrate.quad(lambda x: x*exp(-x**2/2)/sqrt(2*pi), 0.0, 1000)
Out[52]:
(0.3989422804014328, 1.6471510195390376e-11)
integrate.quad(lambda x: x*exp(-x**2/2)/sqrt(2*pi), 0.0, 100000)
Out[54]:
(0.0, 0.0)