I need to find the maximum likelihood for $\theta$ given the following:
$X_1, ..., X_n$ are sampled i.i.d from a population with the following density: $$ f(x | \theta) = \begin{cases} e^{-(x-\theta)} & x \geq \theta \\ 0 & \text{otherwise} \end{cases} \tag*{where $\theta > 0$} $$
I begin by writing the likelihood... $$ L(\theta; x_1, ..., x_n) = \prod_{i=1}^{n} e^{-(x_i-\theta)} = e^{n\theta - \sum_{i=1}^{n} x_i}\prod^n_{j=1}\mathbb{1}_{[\theta,\infty)}(x_j) $$ and the log likelihood... $$ \ell(\theta; x_1, ..., x_n) = \log e^{n\theta - \sum_{i=1}^{n} x_i} = n\theta - \sum_{i=1}^{n} x_i $$ and setting the derivative of the log likelihood to zero... \begin{align*} 0 &= \frac{\partial}{\partial \theta} \ell(\theta; x_1, ..., x_n) \\ 0 &= \frac{\partial}{\partial \theta} \big(n\theta - \sum_{i=1}^{n} x_i\big) \\ 0 &= n \ \ \ \ \text{(?)} \end{align*} That I where I get confused, given that the standard procedure for finding the MLE estimator does not seem to give a valid expression. Where am I going wrong? What is the appropriate method for finding the MLE estimator in this situation?
It's clear that $L(\theta; x_1, ..., x_n) = 0$ where $\theta > \min\{x_1, ..., x_n\}$, but I'm not sure if/how this fact is useful.