40 hours is the peak of the Laffer curve [productivity being inversely proportional to hours worked a week]. I have absolutely no data on variance for the peak of the Laffer curve (if you imagine attempting to gather this data, you'll notice it is extremely difficult). That being said, despite this lack of data, I have heard a lot of people claiming they can work a whole lot more and get more and more done. I do not believe their ad hoc methods have secretly outsmarted science. It seems more likely that they are mistaken (if only for the reason that it is very hard to measure and they universally lack specific reason to choose "my peak productivity happens at >60 hours a week" over "the volume of my work is more noticeable than the quality of my work", which is essentially universal -- but lines of code, as a metric, don't pay the bills).
Of course your point still stands, they'd just have to be even more of an outlier.