This may sound dumb but do you spray the pan before roasting the pumpkin so it won't stick?
No spray, parchment paper! works great. Last fall I had some excess sugar pumpkins from the garden and froze several pounds of the flesh, that's what I used in the beer this year.
