Set up the NICER obsid directory

We'll assume the user has downloaded the NICER observation directory for OBSID 4142010107 in a directory called /Users/mcorcora/tmp/nicer

That is the directory /Users/mcorcora/tmp/nicer/4142010107 contains the xti, auxil and hk directories containing the standard archived data for the observation

We'll put the output from nicerl2 in an output directory separate from the input directory

Create the nicerl2 task

Extract products from cleaned events file

Analyzing NICER spectra

Plot the lightcurve