old_contents: import subprocess
  import click
  
  __all__ = [
      'fetch_all_data',
      'fetch_all_cats',
      'fetch_all_maps',
  ]
  
  
  def fetch_all_data():
      fetch_all_cats()
      fetch_all_maps()
  
  
  def fetch_all_cats():
      fetch_data(
          'https://github.com/gammapy/gammapy-extra/raw/master/datasets/catalogs/fermi/gll_psch_v11.fit.gz',
          '3fhl.fits.gz'
      )
      fetch_data(
          'https://github.com/gammapy/gammapy-extra/raw/master/datasets/catalogs/fermi/gll_psc_v16.fit.gz',
          '3fgl.fits.gz',
      )
      fetch_data(
          'https://github.com/gammapy/gamma-cat/raw/master/docs/data/gammacat.fits.gz',
          'gammacat.fits.gz',
      )
  
  
  def fetch_all_maps():
      fetch_data(
          'https://github.com/gammapy/gammapy-fermi-lat-data/raw/master/fermi-hgps/fermi_hgps_counts_hpx.fits.gz',
          'fermi_hgps_counts_hpx.fits.gz',
      )
      fetch_data(
          'https://github.com/gammapy/gammapy-fermi-lat-data/raw/master/fermi-hgps/fermi_hgps_exposure_hpx.fits.gz',
          'fermi_hgps_exposure_hpx.fits.gz',
      )
      fetch_data(
          'https://github.com/gammapy/gammapy-fermi-lat-data/raw/master/fermi-hgps/fermi_hgps_events_selected.fits.gz',
          'fermi_hgps_events_selected.fits.gz',
      )
  
  
  def fetch_data(url, filename):
      cmd = 'wget {} -O input_data/{}'.format(url, filename)
      click.secho(cmd, fg='green')
      subprocess.call(cmd, shell=True)
  
new_contents: import subprocess
  import click
  
  __all__ = [
      'fetch_all_data',
      'fetch_all_cats',
      'fetch_all_maps',
  ]
  
  
  def fetch_all_data():
      fetch_all_cats()
      fetch_all_maps()
  
  
  def fetch_all_cats():
      fetch_data(
          'https://github.com/gammapy/gammapy-extra/raw/master/datasets/catalogs/fermi/gll_psch_v13.fit.gz',
          '3fhl.fits.gz'
      )
      fetch_data(
          'https://github.com/gammapy/gammapy-extra/raw/master/datasets/catalogs/fermi/gll_psc_v16.fit.gz',
          '3fgl.fits.gz',
      )
      fetch_data(
          'https://github.com/gammapy/gamma-cat/raw/master/docs/data/gammacat.fits.gz',
          'gammacat.fits.gz',
      )
  
  
  def fetch_all_maps():
      fetch_data(
          'https://github.com/gammapy/gammapy-fermi-lat-data/raw/master/fermi-hgps/fermi_hgps_counts_hpx.fits.gz',
          'fermi_hgps_counts_hpx.fits.gz',
      )
      fetch_data(
          'https://github.com/gammapy/gammapy-fermi-lat-data/raw/master/fermi-hgps/fermi_hgps_exposure_hpx.fits.gz',
          'fermi_hgps_exposure_hpx.fits.gz',
      )
      fetch_data(
          'https://github.com/gammapy/gammapy-fermi-lat-data/raw/master/fermi-hgps/fermi_hgps_events_selected.fits.gz',
          'fermi_hgps_events_selected.fits.gz',
      )
  
  
  def fetch_data(url, filename):
      cmd = 'wget {} -O input_data/{}'.format(url, filename)
      click.secho(cmd, fg='green')
      subprocess.call(cmd, shell=True)
  
subject: Update 3FHL cat to latest version