Good working version, I think
Account for 1000x scaling factor
Comments constants etc
Regex match for success. Break after super long times. Handle CalledProcessError.