From reading the logfile, the issue is likely the Strategy GB5T-14G374-AF file. The original file from Ford is known to be corrupted. This will affect the loading of the Calibration GB5T-14G375-CA file.
Have you read thru this and followed the instructions?
APIM Firmware Flash Rescue - Ford / Information - CyanLabs Official Community
Also, this will tell you the files needed for the level of firmware you want to go to.
APIM Firmware Production Releases - Ford / Information - CyanLabs Official Community
From the logfile, I’m going to assume that the original files for the firmware were these or close to it.
3.0 APIM NON-NAV Unit Firmware (Production Release, 2016-Early 2017, G thru Early H Series)
Secondary Boot Loader: GB5T-14G376-AA
Strategy (F188): GB5T-14G374-AF (Use GB5T-14G374-CD to update.)
Calibration (F124): GB5T-14G375-BA or GB5T-14G375-BB
ECU Configuration/Sound Profiles (F10A): GB5T-14G379-AA
ECU Configuration/Illumination Strategy (F16B): GB5T-14G379-BA
This would tell me this is likely a G-Series APIM from a 2016 vehicle, which would be an early production APIM. These series are especially temperamental but can be upgraded. I would recommend only upgrading this unit to this level as the hardware will not support the later versions features anyways.
3.0 APIM NAV & NON-NAV Unit Firmware (Production Release, 2017-Pre-2018.5, H thru Early J Series)
(Originally Found On 2017/Early 2018 Units That Ship with 2 USB Ports on Back)
Secondary Boot Loader: GB5T-14G376-AA
Strategy (F188): HB5T-14G374-CA
Calibration (F124): HB5T-14G375-DA or HB5T-14G375-FA (NAV) / HB5T-14G375-CA (NON-NAV)
ECU Configuration/Sound Profiles (F10A): GB5T-14G379-AA
ECU Configuration/Illumination Strategy (F16B): HB5T-14G379-BA