/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 166 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 = 7539
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1300.4+1416_daily_bin655
RA = 195.12, Dec = 14.2701
tmin = 409104001, tmax = 409363201
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='95648', job_status='RUN', time_executed='2021-09-06 14:38:27.582227', time_epoch_executed='1630964307.58' WHERE source_name='4FGL J1300.4+1416' and cadence='daily' and bin_id='655'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/95648

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/95648/ft1_4FGL_J1300.4+1416_daily_bin655.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/95648/ft2_4FGL_J1300.4+1416_daily_bin655.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/95648/ft1_4FGL_J1300.4+1416_daily_bin655.fits outfile=/scratch/kocevski/95648/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin655.fits ra=195.12 dec=14.2701 rad=12.0 tmin=409104001.0 tmax=409363201.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.50
user 5.25
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/95648/ft2_4FGL_J1300.4+1416_daily_bin655.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/95648/ft2_4FGL_J1300.4+1416_daily_bin655.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/95648/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin655.fits evtable="EVENTS" outfile="/scratch/kocevski/95648/ft1_filtered_4FGL_J1300.4+1416_daily_bin655.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 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/95648/ft1_filtered_4FGL_J1300.4+1416_daily_bin655.fits" evtable="EVENTS" scfile=/scratch/kocevski/95648/ft2_4FGL_J1300.4+1416_daily_bin655.fits sctable="SC_DATA" outfile=/scratch/kocevski/95648/ltcube_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.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/95648/ft2_4FGL_J1300.4+1416_daily_bin655.fits
.....................!
real 12.69
user 11.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/95648/ft1_filtered_4FGL_J1300.4+1416_daily_bin655.fits evtable="EVENTS" scfile=/scratch/kocevski/95648/ft2_4FGL_J1300.4+1416_daily_bin655.fits sctable="SC_DATA" expcube=/scratch/kocevski/95648/ltcube_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.fits outfile=/scratch/kocevski/95648/expmap_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.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/95648/ltcube_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.fits
.....................!
real 191.68
user 186.17
sys 5.11

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1300.4+1416 @ 195.12 14.2701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/95648/ft1_filtered_4FGL_J1300.4+1416_daily_bin655.fits scfile=/scratch/kocevski/95648/ft2_4FGL_J1300.4+1416_daily_bin655.fits outfile=/scratch/kocevski/95648/cmap_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.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=195.12 yref=14.2701 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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/95648/ft1_filtered_4FGL_J1300.4+1416_daily_bin655.fits scfile=/scratch/kocevski/95648/ft2_4FGL_J1300.4+1416_daily_bin655.fits outfile=/scratch/kocevski/95648/cmap_HighResolution_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.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=195.12 yref=14.2701 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.57
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/95648/ft1_filtered_4FGL_J1300.4+1416_daily_bin655.fits evtable="EVENTS" scfile=/scratch/kocevski/95648/ft2_4FGL_J1300.4+1416_daily_bin655.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/95648/Model_4FGL_J1300.4+1416_daily_bin655.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/95648/ft1_filtered_4FGL_J1300.4+1416_daily_bin655.fits.....................!
real 51.12
user 49.80
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/95648/ft1_filtered_4FGL_J1300.4+1416_daily_bin655.fits', '/scratch/kocevski/95648/ft2_4FGL_J1300.4+1416_daily_bin655.fits', expMap='/scratch/kocevski/95648/expmap_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.fits', expCube='/scratch/kocevski/95648/ltcube_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/95648/Model_4FGL_J1300.4+1416_daily_bin655.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1300.4+1416'

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  6.920e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
298        Index:  2.738e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.431e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/95648/ft1_filtered_4FGL_J1300.4+1416_daily_bin655.fits
Spacecraft file(s): /scratch/kocevski/95648/ft2_4FGL_J1300.4+1416_daily_bin655.fits
Exposure map: /scratch/kocevski/95648/expmap_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.fits
Exposure cube: /scratch/kocevski/95648/ltcube_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/95648/Model_4FGL_J1300.4+1416_daily_bin655.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) = 5420.1408044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.491       1.0000         .10000E-03   10000.    
     3 'norm      '    5.2639       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.596       1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.912       1.0000         .10000E-03   10000.    
     7 'norm      '    1.5448       1.0000         .10000E-03   10000.    
     8 'Prefactor '    43.750       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .61493E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .75586E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.2463       1.0000         .10000E-03   10000.    
    12 'norm      '    8.2353       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.7955       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    43.932       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3581       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87217       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5420.140     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     2087 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4105        .25988E-07** at limit **
   2  Prefactor     29.489        31.810        .33651E-06    .65013E-05
   3  norm          5.2636        .72347        .60928E-08    .42046E-03
   4  Prefactor     .10000E-03    57.926        .77179E-06** at limit **
   5  Prefactor     27.600        17.644        .78051E-06    .14055E-03
   6  Prefactor     30.897        44.586       -.66268E-05    .17693E-03
   7  norm          1.5454        1.8598       -.17962E-06   -.35589E-03
   8  Prefactor     43.799        48.653        .25324E-04   -.10372E-04
   9  Prefactor     .10000E-03    6.3440        .70166E-07** at limit **
  10  Prefactor     .10143E-03    18.884       -.59816E-05** at limit **
  11  Prefactor     6.2531        19.715       -.17471E-05    .37129E-03
  12  norm          8.2341        5.1392        .67344E-08   -.14028E-04
  13  norm          .10000E-03    8.9699        .23945E-07** at limit **
  14  norm          1.7972        4.9795       -.68663E-06   -.51929E-03
  15  Prefactor     .10000E-03    10.940       -.34229E-08** at limit **
  16  Prefactor     .10000E-03    69.198       -.19869E-05** at limit **
  17  norm          .10000E-03    4.0695        .15092E-08** at limit **
  18  Prefactor     43.933        39.318        .26779E-06    .62952E-06
  19  Normalizat    1.3593        .24183        .36235E-06    .54162E-03
  20  Prefactor     .87101        .19287       -.69247E-06    .42075E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 29.4895
  norm       = 5.26362
  Prefactor  = 0.0001
  Prefactor  = 27.5996
  Prefactor  = 30.897
  norm       = 1.5454
  Prefactor  = 43.7987
  Prefactor  = 0.0001
  Prefactor  = 0.000101426
  Prefactor  = 6.25307
  norm       = 8.23411
  norm       = 0.0001
  norm       = 1.79717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 43.9328
  Normalizat = 1.35932
  Prefactor  = 0.871014
 **********
 **   18 **HESSE 
 **********

 FCN=   5420.140     FROM HESSE     STATUS=OK           297 CALLS     2384 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.4161        .85380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     29.489        31.807        .73776E-04   -1.4621    
   3  norm          5.2636        .72598        .22388E-04   -1.5249    
   4  Prefactor     .10000E-03    57.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.600        17.631        .76262E-04   -1.4657    
   6  Prefactor     30.897        44.448        .72065E-04   -1.4596    
   7  norm          1.5454        1.8412        .10615E-03   -1.5459    
   8  Prefactor     43.799        50.569        .30306E-03   -1.4383    
   9  Prefactor     .10000E-03    24.049        .35810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10143E-03    25.459        .79151E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.2531        19.710        .16062E-03   -1.5208    
  12  norm          8.2341        5.1371        .12753E-03   -1.5134    
  13  norm          .10000E-03    8.9743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7972        4.9677        .26594E-03   -1.5440    
  15  Prefactor     .10000E-03    11.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    69.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.0836        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     43.933        39.327        .60486E-04   -1.4381    
  19  Normalizat    1.3593        .29674        .27942E-03   -.81813    
  20  Prefactor     .87101        .23520        .28327E-03   -.97161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83711e-09
Minuit parameter uncertainties:
  1  1.62446e-06
  2  31.8251
  3  0.725978
  4  4.50655e-05
  5  17.6342
  6  44.4955
  7  1.84122
  8  50.6184
  9  1.67514e-05
  10  0.0120544
  11  19.7301
  12  5.13738
  13  2.90459e-06
  14  4.96886
  15  2.84409e-06
  16  0.000171212
  17  3.76936e-06
  18  39.3501
  19  0.297117
  20  0.235473
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  6.253e+00  1.973e+01  1.000e-04  1.000e+04 ( 1.000e-12)
298        Index:  2.738e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.431e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.710e-01  2.355e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.359e+00  2.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 195.120 14.270
Photon Flux Upper Limit: 1.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.30e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/95648/likelihoodResults_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.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) = 5419.84118702
delta logL = 0.29866164979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5419.82640775
delta logL = 0.313440920791

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6015       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9397       1.0000          .0000       10.000    
     3 'Normalizat'    1.3069       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89830       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5419.826     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      219 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5972        220.06        .42435E-02    .29089E-03
   2  Index         3.9406        6.8914        .20633        .25305E-04
   3  Normalizat    1.3070        .74617E-01    .64222E-01   -.24868E-04
   4  Prefactor     .89817        .62909E-01    .44983E-01    .36107E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.5972
  Index      = 3.9406
  Normalizat = 1.30698
  Prefactor  = 0.898169
 **********
 **   18 **HESSE 
 **********

 FCN=   5419.826     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5972        15.518        .16974E-03   -1.5235    
   2  Index         3.9406        2.0761        .10929E-01   -.21350    
   3  Normalizat    1.3070        .28989        .28408E-03   -.83358    
   4  Prefactor     .89817        .23597        .27916E-03   -.96205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40415e-10
Minuit parameter uncertainties:
  1  15.5296
  2  2.14422
  3  0.290247
  4  0.236237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/95648': 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) = 5419.82640736
delta logL = 0.313441308648

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  5.597e+00  1.553e+01  1.000e-04  1.000e+04 ( 1.000e-12)
298        Index:  3.941e+00  2.144e+00  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  4.431e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.982e-01  2.362e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.307e+00  2.902e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 195.120 14.270

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/95648/cmap_HighResolution_409104001_409363201_4FGL_J1300.4+1416_daily_bin655.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-02', job_status='DONE', photon_flux_upper_limit='1.65e-07', time_completed='2021-09-06 14:48:04.035675', job_id='95648', GAL2='0.90', fit_tolerance='1e-08', EG2='1.31', EG='1.36', time_epoch_completed='1630964884.04', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.13e-01', ts2='0.79', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='655' AND source_name='4FGL J1300.4+1416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 14:48:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 95648: <4FGL_J1300.4+1416_daily_bin655> in cluster <slac> Done

Job <4FGL_J1300.4+1416_daily_bin655> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Sep  6 14:35:30 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 14:35:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 14:35:32 2021
Terminated at Mon Sep  6 14:48:04 2021
Results reported at Mon Sep  6 14:48:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_daily_bin655 195.12 14.2701 409104001 409363201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1300.4+1416 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   573.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            754 sec.

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

