From Anna’s answer:
One does not start from mathematical impulses to generate models. In physics the process is data driven, there exist data that the standard model cannot fit. This starts a search for a mathematical model that could do so. It is not always a different Lagrangian.
Sometimes the search for a mathematical model is the second step. The first step is the pure imagination of how something should work. Maxwells work is a good examples for that. Before developing the math he introduced a mechanical model of how electromagnetism works:

From this model to the math it was a long way.
Why I'm writing this. Because we use virtual photons to describe field interactions (which are never real or exist, as so often written on PSE). The quantization of these fields, let's say along field lines, is never envisaged at any time. Research into this will explain the understanding of subatomic processes - the stopping of the approach of electrons near the nucleus as opposed to the annihilation of a particle and its antiparticle.
Why I'm writing this. Because I'm like a musician who can't write notes. I'm not capable of writing high-level equations. There is a theory [Are photons composite particles] (https://www.academia.edu/11805855/Are_photons_composed_particles) only. This theory is based on a very dry written treatise on how field lines could be imagined as real with an inner structure, Complex one-dimensional structures of space.
The results are surprising and the predictions fit the Standard Model. The new point is the exchange of virtual photons by real interactions for electric fields, magnetic fields and the consistency of photons.