However, I'm a little bit confused... You are mixing checkpoint files and "restore" statements bit...
In the script which does the self-consistent calculation, you had a checkpoint file statement. This is not needed anymore, for the analysis. So, in the long script (22.py) remove this line (it's not critical, but not needed).
In the short script (11.py), you don't need it either, but also you are not using "restoreSelf..."?
So, the "checkpointfile" statements are only used when SAVING the file, in the scf loop. The "restore" statements are used to READ them, in the post-scf analysis.