Gasket matching

From the looks of your photos. The gasket clearly fits the head. But the gasket doesn't fit the head so well. I would trim the gasket to match the header so it doesn't interfere with the entrance to the header.