Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are some extra steps we need to make in Week 2 to prepare for running analysis tutorials and projects. Please follow the instructions below and reach out for help if needed.

Download data and configuration files

...

  • 3C 279 photon and spacecraft files, PH00.fits PH01.fits and SC00.fits.
  • Configuration file for fermipy, config.yaml
  • Jupyter notebook, LikelihoodWithFermipy2021.ipynb
  • Precomputed data files (so you can go through the example quickly the first time without waiting for calculations).

...

  • ).

Prepare FermiBottle for analysis

...

If you don't have a window open to FermiBottle, follow the instructions to start docker on your host system and attach to the FermiBottle container. Be sure Remember to activate the Fermi analysis . These steps are described in the using "conda activate fermi" when you restart the FermiBottle container. You'll know this has been done when you see the fermi prompt. The steps to start docker and set up the Fermi environment are described in Using FermiBottle instructions.

...

In the FermiBottle window

  1. Change directory to be in the make /data your working directory
  2. Make Create a directory for this tutorial in /data. Let's call it FermipyTutorial.
  3. Move fermipyTutorialData.tgz into Change directory to make /data/FermipyTutorial
  4. Change directory to /data/FermipyTutorial
  5. your working directory

Image Added

Download and unzip the tutorial file in FermiBottle

Next, in the FermiBottle window, use wget to download the data file into the tutorial directory using the command shown below.

wget https://fermi.gsfc.nasa.gov/science/mtgs/summerschool/2021/fermipyTutorialData.tgz

Image Added

Then unzip and extract the archived files.

Image AddedImage3

You should see something like this when you list the directory contents.

Image4Image Added

Start the Jupyter notebook

In that same directory, you can now run the notebook command to go through start the tutorial workbook