The problem now looks like a permissions problem. Please make sure that the script can write to the pixels/ directory, and the admin/temp/ directory.
You can see the detailed permissions tutorial here: https://milliondollarscript.com/installation/tutorials/chmod-permissions-tutorial
If there is a main1.png file in the pixels/ directory, please delete it and try to process the pixels again.