Things I notice…
Your resolution is really high.. 0.5mm i use 0.1 to 0.15
Your minimum power really needs to be 0
I would dump the G28 at the beginning and set your start prior to running your job.
Your speed seems pretty quick. Slow it to 1800 to start I would say.
What is your last pic (raster.png) supposed to be?