/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 43 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7354
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0909.1+0121_daily_bin181
RA = 137.297, Dec = 1.3557
tmin = 286243201, tmax = 286502401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='24902', job_status='RUN', time_executed='2021-08-31 01:34:28.190735', time_epoch_executed='1630398868.19' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='181'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24902

Creating custom pfile directory:
/scratch/kocevski/24902/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=286243201.0 && nMetStart<286502401.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=286243201.0 && nMetStart<286502401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24902/ft1_4FGL_J0909.1+0121_daily_bin181.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=286243201.0 && nMetStart<286502401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24902/ft1_4FGL_J0909.1+0121_daily_bin181.fits outfile=/scratch/kocevski/24902/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin181.fits ra=137.297 dec=1.3557 rad=12.0 tmin=286243201.0 tmax=286502401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.12
user 3.22
sys 1.39

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/24902/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin181.fits evtable="EVENTS" outfile="/scratch/kocevski/24902/ft1_filtered_4FGL_J0909.1+0121_daily_bin181.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 5.82
user 0.32
sys 1.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24902/ft1_filtered_4FGL_J0909.1+0121_daily_bin181.fits" evtable="EVENTS" scfile=/scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits sctable="SC_DATA" outfile=/scratch/kocevski/24902/ltcube_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits
.....................!
real 17.12
user 14.08
sys 1.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24902/ft1_filtered_4FGL_J0909.1+0121_daily_bin181.fits evtable="EVENTS" scfile=/scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits sctable="SC_DATA" expcube=/scratch/kocevski/24902/ltcube_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.fits outfile=/scratch/kocevski/24902/expmap_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/24902/ltcube_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.fits
.....................!
real 195.74
user 185.12
sys 6.61

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J0909.1+0121 @ 137.297 1.3557

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/24902/ft1_filtered_4FGL_J0909.1+0121_daily_bin181.fits scfile=/scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits outfile=/scratch/kocevski/24902/cmap_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=137.297 yref=1.3557 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.86
user 0.36
sys 1.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24902/ft1_filtered_4FGL_J0909.1+0121_daily_bin181.fits scfile=/scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits outfile=/scratch/kocevski/24902/cmap_HighResolution_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=137.297 yref=1.3557 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.91
user 0.40
sys 1.28

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/24902/ft1_filtered_4FGL_J0909.1+0121_daily_bin181.fits evtable="EVENTS" scfile=/scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/24902/Model_4FGL_J0909.1+0121_daily_bin181.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/24902/ft1_filtered_4FGL_J0909.1+0121_daily_bin181.fits.....................!
real 58.46
user 53.92
sys 2.69

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/24902/ft1_filtered_4FGL_J0909.1+0121_daily_bin181.fits', '/scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits', expMap='/scratch/kocevski/24902/expmap_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.fits', expCube='/scratch/kocevski/24902/ltcube_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/24902/Model_4FGL_J0909.1+0121_daily_bin181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0909.1+0121'

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  5.916e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.491e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/24902/ft1_filtered_4FGL_J0909.1+0121_daily_bin181.fits
Spacecraft file(s): /scratch/kocevski/24902/ft2_4FGL_J0909.1+0121_daily_bin181.fits
Exposure map: /scratch/kocevski/24902/expmap_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.fits
Exposure cube: /scratch/kocevski/24902/ltcube_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/24902/Model_4FGL_J0909.1+0121_daily_bin181.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5086.15037252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5086.15034375

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3314       1.0000         .10000E-03   10000.    
     2 'norm      '    17.176       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .22305E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.000       1.0000         .10000E-03   10000.    
     5 'norm      '    8.3722       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12523E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6611       1.0000         .10000E-03   10000.    
     8 'Prefactor '    54.179       1.0000         .10000E-03   10000.    
     9 'Prefactor '    54.288       1.0000         .10000E-03   10000.    
    10 'norm      '    .90652       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.0640       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .95408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5086.150     FROM MIGRAD    STATUS=CONVERGED    231 CALLS      984 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3323        1.2409       -.13869E-07   -.58711E-03
   2  norm          17.188        10.676       -.41157E-07   -.24440E-04
   3  Prefactor     .10000E-03    5.7261        .33649E-07** at limit **
   4  norm          11.001        5.7952        .22454E-05   -.62953E-03
   5  norm          8.3677        6.3155        .10115E-05   -.23606E-03
   6  Prefactor     .10000E-03    10.050       -.10850E-06** at limit **
   7  Prefactor     2.6588        5.1791       -.17894E-05   -.52571E-03
   8  Prefactor     53.896        55.255       -.69768E-06    .43737E-05
   9  Prefactor     54.361        25.342       -.69535E-07    .12176E-04
  10  norm          .90685        .69689        .21102E-07   -.25821E-03
  11  Normalizat    1.0640        .22805       -.24091E-06    .59762E-05
  12  Prefactor     .95406        .17063       -.21381E-06    .92290E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.3323
  norm       = 17.1883
  Prefactor  = 0.0001
  norm       = 11.0009
  norm       = 8.36774
  Prefactor  = 0.0001
  Prefactor  = 2.65881
  Prefactor  = 53.8965
  Prefactor  = 54.3607
  norm       = 0.906846
  Normalizat = 1.06401
  Prefactor  = 0.954065
 **********
 **   18 **HESSE 
 **********

 FCN=   5086.150     FROM HESSE     STATUS=OK           135 CALLS     1119 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3323        1.2234        .72957E-04   -1.5477    
   2  norm          17.188        10.674        .96641E-04   -1.4879    
   3  Prefactor     .10000E-03    5.7487        .16665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.001        5.6589        .11607E-03   -1.5044    
   5  norm          8.3677        6.2752        .13855E-03   -1.5129    
   6  Prefactor     .10000E-03    10.067        .20607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6588        5.4554        .21917E-03   -1.5382    
   8  Prefactor     53.896        55.394        .54493E-04   -1.4238    
   9  Prefactor     54.361        25.358        .54439E-04   -1.4232    
  10  norm          .90685        .68672        .49458E-04   -1.5518    
  11  Normalizat    1.0640        .27085        .27858E-03   -.90916    
  12  Prefactor     .95406        .20241        .23027E-03   -.94277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09426e-10
Minuit parameter uncertainties:
  1  1.22341
  2  10.6753
  3  3.45424e-07
  4  5.6592
  5  6.27567
  6  2.77871e-07
  7  5.45646
  8  55.4472
  9  25.3634
  10  0.68673
  11  0.271202
  12  0.20257
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5086.1502578

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.100e+01  5.659e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.491e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  9.541e-01  2.026e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.064e+00  2.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.83
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 1.05e-07 +/- 5.39e-08
Energy Flux (Fixed Index): 3.16e-05 +/- 1.62e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5085.70213534
delta logL = 0.448122467916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5085.70097442
delta logL = 0.449283381702

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.738       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0057       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0968       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93572       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5085.701     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      279 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.739        8.0022        .10433E-03   -.18688E-03
   2  alpha         2.0057        .50506        .11717E-01   -.33543E-04
   3  Normalizat    1.0968        .25643        .27508E-03    .20788E-04
   4  Prefactor     .93572        .20148        .23222E-03    .30059E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.7385
  alpha      = 2.00568
  Normalizat = 1.09683
  Prefactor  = 0.935717
 **********
 **   18 **HESSE 
 **********

 FCN=   5085.701     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.739        7.9499        .41732E-05   -1.4940    
   2  alpha         2.0057        .50157        .46869E-03   -.19904    
   3  Normalizat    1.0968        .25661        .11003E-04   -.89854    
   4  Prefactor     .93572        .20165        .92888E-05   -.94904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.35904e-11
Minuit parameter uncertainties:
  1  7.95047
  2  0.505143
  3  0.256904
  4  0.201809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24902': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5085.70097442
delta logL = 0.449283384239

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.474e+01  7.950e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.006e+00  5.051e-01  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  9.357e-01  2.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.097e+00  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.72
Ra Dec: 137.297 1.356
Photon Index (Free Index): 2.01 +/- 0.51
Photon Flux (Free Index): 7.83e-08 +/- 5.22e-08
Energy Flux (Free Index): 4.31e-05 +/- 2.90e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/24902/cmap_HighResolution_286243201_286502401_4FGL_J0909.1+0121_daily_bin181.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/24902

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.05e-07', energy_flux2='4.31e-05', photon_flux_error='5.39e-08', dlogl='4.49e-01', energy_flux='3.16e-05', photon_flux2='7.83e-08', job_status='DONE', time_completed='2021-08-31 01:42:11.482825', photon_index_error2='0.51', photon_index2='2.01', ts='7.83', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.90e-05', EG='1.06', time_epoch_completed='1630399331.48', return_code='0', job_id='24902', GAL2='0.94', EG2='1.10', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='5.22e-08', ts2='8.72', photon_index='2.49' WHERE bin_id='181' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:42:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 24902: <4FGL_J0909.1+0121_daily_bin181> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin181> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 01:31:21 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:31:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 01:31:23 2021
Terminated at Tue Aug 31 01:42:12 2021
Results reported at Tue Aug 31 01:42:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin181 137.297 1.3557 286243201 286502401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0909.1+0121 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   453.32 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             214.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            651 sec.

The output (if any) is above this job summary.

