I have a probability density function (PDF) 

```
(1-cos(x-theta))/(2*pi)

```

theta is the unknown parameter. How do I write a log likelihood function for this PDF? I am confused; the `x` will come from my data, but how do I handle the `theta` in the equation.
Thanks