Let $X_1,X_2,\dots,X_n$ be a random sample from a distribution with p.d.f.: $$f(x, \theta)= e^{-(x-\theta)}; \theta<x<\infty;-\infty<\theta<\infty$$ obtain the sufficient statistic for parameter $\theta$. I obtain this likelihood function $$L=\exp\left\{-\sum_1^n x_I\right\}e^{n\theta}.$$ I want to use factorization theorem (only know this rule to find sufficient statistic), but not able to factorize it into desired form as the $e^{n\theta}$ does not have any function of $x$ with it.
What should I do and how can I find the sufficient statistic in other such questions. I also know how to find maximum likelihood estimator but that also resulted in $\theta=0$ (pointless).
Write the joint distribution for an IID sample $\boldsymbol x = (x_1, x_2, \ldots, x_n)$ drawn from this distribution: $$f(\boldsymbol x \mid \theta) = \prod_{i=1}^n f(x_i \mid \theta) = \prod_{i=1}^n e^{-(x_i - \theta)} \mathbb{1} (x_i > \theta).$$ Note here I have used the indicator function $$\mathbb{1}(x_i > \theta)$$ to express the idea that each observation $x_i$ must be greater than $\theta$, otherwise the density is zero. It is not hard to see from this that $$\prod_{i=1}^n \mathbb 1(x_i > \theta) = \mathbb{1}(x_{(1)} > \theta),$$ since $x_{(1)} = \min_i x_i$ is the first order statistic of the sample, and each $x_i$ exceeds $\theta$ if and only if the smallest of the $x_i$s exceeds $\theta$. We may therefore write $$f(\boldsymbol x \mid \theta) = e^{-n(\bar x - \theta)} \mathbb{1}(x_{(1)} > \theta).$$ Note I used the fact that $$n \bar x = x_1 + x_2 + \cdots + x_n.$$ From this, I think you should be able to complete the problem: what is the appropriate factorization, and what is a sufficient statistic for $\theta$?