A log-likelihood function generator given data `x` for the weibull distribution.
Source:R/mle_weibull.R
weibull_loglike.Rd
The returned log-likelihood function takes a single vector `par` of size `2` (at least) where the first component is the shape parameter `k` and the second component is the scale parameter `lambda` such that E[X] = lambda * GAMMA(1 + 1/k).