If I wanted to maximum likelihood estimator for $f(x)=\frac{1}{\sqrt{\sigma^22\pi}}e^{-\frac{1}{2}(\frac{x-\mu}{\sigma})^2}$ where $-\infty\leq x \leq \infty$, my original plan was to do $\Pi^{n=\infty}f(x)$ but that really doesn't make any sense. The confusion arises since when you usually find the MLE, we' do $\Pi^{n}_{i=1}f(x)$ but I'm given the bound $-\infty\leq x \leq \infty$ so I can't just simply do the old trick of doing $\ln(L(\theta)) = ...$ and taking the derivative since there's going to be INFINITE terms
Other similar questions asked on this stackExchange has been bounded by some $n$ but what if it isn't?