Fix logging in gammapy/irf/psf_analytical.py
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import, division, print_function, unicode_literals
import numpy as np
-from astropy import log
+import logging
from astropy.io import fits
from astropy.table import Table
from astropy.units import Quantity
@@ -16,6 +16,8 @@ from . import EnergyDependentTablePSF
__all__ = ['EnergyDependentMultiGaussPSF']
+log = logging.getLogger(__name__)
+
class EnergyDependentMultiGaussPSF(object):
"""
