/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 47 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 = 7317
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0909.1+0121_daily_bin410
RA = 137.297, Dec = 1.3557
tmin = 345600001, tmax = 345859201
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='25230', job_status='RUN', time_executed='2021-08-31 01:34:10.374838', time_epoch_executed='1630398850.37' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25230

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25230/ft1_4FGL_J0909.1+0121_daily_bin410.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25230/ft2_4FGL_J0909.1+0121_daily_bin410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25230/ft1_4FGL_J0909.1+0121_daily_bin410.fits outfile=/scratch/kocevski/25230/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin410.fits ra=137.297 dec=1.3557 rad=12.0 tmin=345600001.0 tmax=345859201.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 3.87
user 3.15
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25230/ft2_4FGL_J0909.1+0121_daily_bin410.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/25230/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin410.fits evtable="EVENTS" outfile="/scratch/kocevski/25230/ft1_filtered_4FGL_J0909.1+0121_daily_bin410.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 1.63
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25230/ft1_filtered_4FGL_J0909.1+0121_daily_bin410.fits" evtable="EVENTS" scfile=/scratch/kocevski/25230/ft2_4FGL_J0909.1+0121_daily_bin410.fits sctable="SC_DATA" outfile=/scratch/kocevski/25230/ltcube_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.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/25230/ft2_4FGL_J0909.1+0121_daily_bin410.fits
.....................!
real 12.97
user 11.11
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25230/ft1_filtered_4FGL_J0909.1+0121_daily_bin410.fits evtable="EVENTS" scfile=/scratch/kocevski/25230/ft2_4FGL_J0909.1+0121_daily_bin410.fits sctable="SC_DATA" expcube=/scratch/kocevski/25230/ltcube_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.fits outfile=/scratch/kocevski/25230/expmap_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.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/25230/ltcube_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.fits
.....................!
real 196.09
user 185.10
sys 3.93

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/25230/ft1_filtered_4FGL_J0909.1+0121_daily_bin410.fits scfile=/scratch/kocevski/25230/ft2_4FGL_J0909.1+0121_daily_bin410.fits outfile=/scratch/kocevski/25230/cmap_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.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 0.58
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25230/ft1_filtered_4FGL_J0909.1+0121_daily_bin410.fits scfile=/scratch/kocevski/25230/ft2_4FGL_J0909.1+0121_daily_bin410.fits outfile=/scratch/kocevski/25230/cmap_HighResolution_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.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 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/25230/ft1_filtered_4FGL_J0909.1+0121_daily_bin410.fits evtable="EVENTS" scfile=/scratch/kocevski/25230/ft2_4FGL_J0909.1+0121_daily_bin410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/25230/Model_4FGL_J0909.1+0121_daily_bin410.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/25230/ft1_filtered_4FGL_J0909.1+0121_daily_bin410.fits.....................!
real 64.16
user 62.69
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/25230/ft1_filtered_4FGL_J0909.1+0121_daily_bin410.fits', '/scratch/kocevski/25230/ft2_4FGL_J0909.1+0121_daily_bin410.fits', expMap='/scratch/kocevski/25230/expmap_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.fits', expCube='/scratch/kocevski/25230/ltcube_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/25230/Model_4FGL_J0909.1+0121_daily_bin410.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/25230/ft1_filtered_4FGL_J0909.1+0121_daily_bin410.fits
Spacecraft file(s): /scratch/kocevski/25230/ft2_4FGL_J0909.1+0121_daily_bin410.fits
Exposure map: /scratch/kocevski/25230/expmap_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.fits
Exposure cube: /scratch/kocevski/25230/ltcube_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/25230/Model_4FGL_J0909.1+0121_daily_bin410.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) = 5956.98218755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3953       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.8032       1.0000         .10000E-03   10000.    
     5 'norm      '    .86301       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.7031       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .70233E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10415E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .80275       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.2730       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .81838       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=   5956.960     FROM MIGRAD    STATUS=CONVERGED    212 CALLS      957 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3956        1.3531       -.18236E-06   -.35060E-03
   2  norm          .10000E-03    4.1298       -.12319E-06** at limit **
   3  Prefactor     .10000E-03    2.3235        .26071E-07** at limit **
   4  norm          3.8028        4.1029       -.32937E-06   -.25959E-03
   5  norm          .86635        4.6086        .74877E-07   -.10244E-03
   6  Prefactor     8.6886        16.476       -.19866E-04   -.31120E-04
   7  Prefactor     .10003E-03    1.7636       -.82702E-06** at limit **
   8  Prefactor     .10000E-03    17.457        .19824E-05** at limit **
   9  Prefactor     .10000E-03    7.5989        .31645E-06** at limit **
  10  norm          .80277        .56380       -.70518E-07   -.31239E-03
  11  Normalizat    1.2728        .19958        .27987E-05    .12824E-03
  12  Prefactor     .81854        .15045        .18088E-06    .30515E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.39559
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.80283
  norm       = 0.866353
  Prefactor  = 8.68858
  Prefactor  = 0.000100028
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.802771
  Normalizat = 1.27281
  Prefactor  = 0.818536
 **********
 **   18 **HESSE 
 **********

 FCN=   5956.960     FROM HESSE     STATUS=OK           131 CALLS     1088 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3956        1.3490        .64012E-04   -1.5398    
   2  norm          .10000E-03    4.1505        .15315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.3288        .11489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.8028        4.0905        .15461E-03   -1.5318    
   5  norm          .86635        8.6484        .31136E-02   -1.5522    
   6  Prefactor     8.6886        16.426        .13587E-03   -1.5118    
   7  Prefactor     .10003E-03    13.119        .19511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    17.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.6419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .80277        .54626        .46714E-03   -1.5529    
  11  Normalizat    1.2728        .23868        .24545E-03   -.84382    
  12  Prefactor     .81854        .18158        .23189E-03   -.99049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80853e-08
Minuit parameter uncertainties:
  1  1.34901
  2  1.04372e-05
  3  1.91418e-06
  4  4.09081
  5  5.47521
  6  16.434
  7  0.00121771
  8  0.00020303
  9  5.77971e-06
  10  0.546267
  11  0.238886
  12  0.181709
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  3.803e+00  4.091e+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:  8.185e-01  1.817e-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.273e+00  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.12
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 3.63e-08 +/- 3.90e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 1.17e-05

TS (Fixed Index): 1.12
Ra Dec: 137.297 1.356
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/25230/likelihoodResults_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.txt

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) = 5956.94030357
delta logL = 0.0193811316503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5956.93344609
delta logL = 0.0262386086461

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3495       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3008       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2794       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81448       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=   5956.933     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      237 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3491        5.0669        .16394E-03    .15402E-02
   2  alpha         2.3009        .80071        .18228E-01    .15370E-03
   3  Normalizat    1.2794        .23462        .24490E-03   -.23982E-03
   4  Prefactor     .81453        .18206        .23238E-03   -.32998E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.3491
  alpha      = 2.30094
  Normalizat = 1.27936
  Prefactor  = 0.814528
 **********
 **   18 **HESSE 
 **********

 FCN=   5956.933     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3491        4.9535        .65574E-05   -1.5291    
   2  alpha         2.3009        .78295        .72911E-03   -.79709E-01
   3  Normalizat    1.2794        .23472        .48979E-04   -.84185    
   4  Prefactor     .81453        .18214        .46476E-04   -.99195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61446e-09
Minuit parameter uncertainties:
  1  4.95399
  2  0.796442
  3  0.234915
  4  0.182271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25230': 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) = 5956.93344604
delta logL = 0.0262386645709

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  4.349e+00  4.954e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.301e+00  7.964e-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:  8.145e-01  1.823e-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.279e+00  2.349e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 137.297 1.356
Photon Index (Free Index): 2.30 +/- 0.80
Photon Flux (Free Index): 3.24e-08 +/- 3.91e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.32e-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/25230/cmap_HighResolution_345600001_345859201_4FGL_J0909.1+0121_daily_bin410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-05', comment='SUCCESS', photon_flux='3.63e-08', energy_flux2='1.19e-05', photon_flux_error='3.90e-08', dlogl='2.62e-02', energy_flux='1.09e-05', photon_flux2='3.24e-08', job_status='DONE', time_completed='2021-08-31 01:41:57.599626', photon_index_error2='0.80', photon_index2='2.30', ts='1.12', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='1.32e-05', EG='1.27', time_epoch_completed='1630399317.6', return_code='0', job_id='25230', GAL2='0.81', EG2='1.28', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='3.91e-08', ts2='1.16', photon_index='2.49' WHERE bin_id='410' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:41:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 25230: <4FGL_J0909.1+0121_daily_bin410> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin410> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 01:31:43 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:31:45 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:45 2021
Terminated at Tue Aug 31 01:41:59 2021
Results reported at Tue Aug 31 01:41:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin410 137.297 1.3557 345600001 345859201 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 :                                   446.12 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             322.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            616 sec.

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

