Hi,
There is no way to really help you until you post a picture of the frizzen and pan.
dave
Your response causes me to think there is/are other problems with pan fit to frizzen fit than just the mating surfaces being flat.
When you are assembling a lock kit like a Siler as an example, the top of the pan and the bottom of the frizzen must be dressed flat before they are assembled and the frizzen screw hole drilled. Drilling the hole poorly can upset the fit terribly. Clamping the frizzen to the pan for drilling the screw hole is an awkward job, and unless it's done perfectly, a misaligned hole will be the result. Then much tedious filing/fitting must be done to get the frizzen to mate nicely with the pan.
Learning how to file flat is a skill that is necessary for this job, and for many others too,in the gunsmithing trade. I have seen very few artisans who have the skill.
To address this, when working on the frizzen's bottom pan cover, and the top of the pan, I have found it useful to clamp a lathe file in my vise, and draw the metal part over the file in a long continuous pull or push. Even then, it is easy to rock the part you want flat, and create a roundness that is disastrous.