Printing the Bar number somwhat explains my question but leads to another question.
Without Lookback the bar that ends at 2am is 1, which is the first period that can be printed.

However any Lookback up to 7 shifts Bar by 46, i.e. the 2am Bar is 47 now. Incremental increases thereafter seem to shift Bar in non linear fashion (didnt try to figure out the pattern).

So my question now is, what the heck is Lookback doing here? I thought that integer is the number of bars prior to StartBar, which clearly is not the case here.