Try swapping the coil packs with other cylinder coils and see if the misfire follows the coils to the different cylinders.

Did you do a compression check before you pulled the heads?
I'm sort of wondering why you started by pulling the heads?
Did you do other tests before you pulled the heads?
Change the exhaust manifold studs while the heads are off.