gammapy/enrico — pull request #19 by zblz (2013-08-28 13:17:27+00:00)
Title: XML: add target spectrum from catalog if available

If a cospatial source (r<0.1) with the same spectral type as the target is found, copy its spectrum properties instead of using a blank spectrum. In this way the first model fit is faster as the values are likely closer to the best-fit ones.