PA is imposing a penalty due to a sale of home in another state

I sold a home in NJ but when I do my PA return, it is imposing a penalty due to not pre-paying state tax.  How can this be correct?  I didn't sell the home until Oct.  

 

Thanks,