Fits a simulated lux profile to observed light logger data to estimate locations (parameters).
stk_fit(data, roi, loc, scale, control, step_selection)
a data frame containing date time and lux values
region of interest
location of the previous step
scale factor range due to cloudiness to use in optimization, when target values are not provided in lux this can be used to effectively implement a Hill-Ekstrom template fitting
control settings for the Bayesian optimization, forwarded by skytrackr()
a step selection function on the distance of a proposed move
an estimated illuminance based location (and its uncertainties)