Let $X^n=(X_1,X_2,...,X_n)$ denote a sample where
(1) $X_i=\mathbf 1_{(\epsilon_i + \mu \geq 0)}(\mu+\epsilon_i)+\mathbf 1_{(\epsilon_i + \mu \leq 1)}(\mu+\epsilon_i)+\mathbf 1_{(\epsilon_i + \mu > 1)}$, $i=1,2,...,n$;
(2) $\epsilon_i \sim F(\cdot\,;\,\theta)$, iid, where $F$ admits a smooth density $f(\cdot\,;\,\theta)$;
(3) $\mu \in M$, $M$ being a known closed interval on the real line.
For concreteness, let's assume $\epsilon_i \sim N(0,\theta)$, $\theta >0$, and $M=[0,1]$.
In sum, $X_i$ is censored data; in this example, censored in the unit interval. This is not the same thing as estimating the parameters of a truncated distribution because there are (potentially, depending on $F$ and $M$) two mass points at the limits of the censoring.
I want to estimate $\mu$ and $\theta$ using a ML estimator, knowing $f$ and given $X^n$.
It seems like a way to do it is to focus on $X_i \in (0,1)$ in which case $X_i$ is distributed according to a truncated normal, for which it is fairly straightforward to estimate the parameters.
However, this estimating procedure may leave out quite a bit of observations, so I was wondering how to deal with the mass points arising from the censoring in the data.
Other estimation suggestions (not MLE-based) are also welcome.