Auto Focus Fails in 3.1.0.544

Hi there - I recently upgraded from the terminal release of 2.6 to latest version and I’m not sure if this is a bug or if I have SGP misconfigured but when I run autofocus, it never seems to work. (My equipment is Celestron Edge 1100HD using a Starizona Microfocuser. I’ve configured it with bigger steps to get the “V” shaped curve and SGP runs the routine 3 times and as I watch the graph, it seems to identify usable values, but then at the end of the routine SGP issues an error “Smart focus failed (too many range shifts)” and then just moves focuser back to original position. I get that if it fails, it should revert to original state, but what I’m really wondering is, why does it keep failing? The starting position isn’t that far off, but as I watch the graph, auto focus seems to come up with good guesses and so when it’s done, I usually just set focus manually, but I’m not at the desk the entire time during an all-night run. I’ve included the relevant lines from the log for an AF routine from this morning. I’ve got autofocus set to bin 2x2 and included the other settings from the logfile, along with the ending message where the routine fails. A link to the logfile itself is at the end of the post.

Thanks in advance

[08/09/20 04:04:31.704][DEBUG][Camera Thread][SQ;AF;] MoveFocuserAbs: End, move complete, at 33103…
[08/09/20 04:04:31.704][DEBUG][Camera Thread][SQ;AF;] Emit AFPack screenshot: Points: 9; Final: True
[08/09/20 04:04:31.707][ERROR][Camera Thread][SQ;AF;] Smart focus failed (too many range shifts), moving focuser to starting position. : Smart focus failed (too many range shifts), moving focuser to starting position.
at qr.a(AutoFocusData A_0, sz& A_1, sz A_2)
[08/09/20 04:04:31.709][DEBUG][Main Thread][SQ;AF;] Adding sequence level notification: Smart focus failed (too many range shifts), moving focuser to starting position.
[08/09/20 04:04:31.764][DEBUG][Camera Thread][SQ;AF;] Sending Notification: Error - Smart focus failed (too many range shifts), moving focuser to starting position.
[08/09/20 04:04:31.764][DEBUG][Camera Thread][SQ;AF;] MoveFocuserAbs: Start, move to 33103…
[08/09/20 04:04:31.764][DEBUG][Camera Thread][SQ;AF;] ASCOM Focuser: MoveSync - start…
[08/09/20 04:04:31.764][DEBUG][Camera Thread][SQ;AF;] Focuser moving to 33103
[08/09/20 04:04:31.771][DEBUG][Camera Thread][SQ;AF;] Focuser move call complete
[08/09/20 04:04:31.771][DEBUG][Move Monitor Thread][SQ;AF;] ASCOM Focuser: Move monitor thread is started…
[08/09/20 04:04:32.772][DEBUG][Move Monitor Thread][SQ;AF;] ASCOM Focuser: Move monitor thread → movement complete
[08/09/20 04:04:32.778][DEBUG][Camera Thread][SQ;AF;] ASCOM Focuser: MoveSync - Focuser reports it is done moving, continuing…
[08/09/20 04:04:32.783][DEBUG][Camera Thread][SQ;AF;] MoveFocuserAbs: End, move complete, at 33103…
[08/09/20 04:04:32.784][DEBUG][Camera Thread][SQ;AF;] Auto focus (finally): closing dialog…
[08/09/20 04:04:43.528][DEBUG][Camera Thread][SQ;AF;] Auto focus complete…
[08/09/20 04:04:43.538][DEBUG][Camera Thread][SQ;] SGM_FOCUSER_AUTO_FOCUS complete…
[08/09/20 04:04:43.538][DEBUG][Camera Thread][SQ;] Camera thread is IDLE…
[08/09/20 04:04:43.544][DEBUG][Sequence Thread][SQ;] BlockUntilFocuserMovementDone: Focuser reports it is done moving, continuing…
[08/09/20 04:04:43.545][DEBUG][Sequence Thread][SQ;] AF is complete, continuing sequence…Log File

Throwing an RTFM on myself here (blush) - I will review the documentation tonight for training the autofocuser and post an update tomorrow