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


Performing analysis on: 4FGL_J1300.4+1416_daily_bin721
RA = 195.12, Dec = 14.2701
tmin = 426211201, tmax = 426470401
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='95755', job_status='RUN', time_executed='2021-09-06 14:38:45.895238', time_epoch_executed='1630964325.9' WHERE source_name='4FGL J1300.4+1416' and cadence='daily' and bin_id='721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/95755

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/95755/ft1_4FGL_J1300.4+1416_daily_bin721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/95755/ft2_4FGL_J1300.4+1416_daily_bin721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/95755/ft1_4FGL_J1300.4+1416_daily_bin721.fits outfile=/scratch/kocevski/95755/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin721.fits ra=195.12 dec=14.2701 rad=12.0 tmin=426211201.0 tmax=426470401.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.60
user 3.37
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/95755/ft2_4FGL_J1300.4+1416_daily_bin721.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/95755/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin721.fits evtable="EVENTS" outfile="/scratch/kocevski/95755/ft1_filtered_4FGL_J1300.4+1416_daily_bin721.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.51
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/95755/ft1_filtered_4FGL_J1300.4+1416_daily_bin721.fits" evtable="EVENTS" scfile=/scratch/kocevski/95755/ft2_4FGL_J1300.4+1416_daily_bin721.fits sctable="SC_DATA" outfile=/scratch/kocevski/95755/ltcube_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.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/95755/ft2_4FGL_J1300.4+1416_daily_bin721.fits
.....................!
real 12.31
user 11.91
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/95755/ft1_filtered_4FGL_J1300.4+1416_daily_bin721.fits evtable="EVENTS" scfile=/scratch/kocevski/95755/ft2_4FGL_J1300.4+1416_daily_bin721.fits sctable="SC_DATA" expcube=/scratch/kocevski/95755/ltcube_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.fits outfile=/scratch/kocevski/95755/expmap_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.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/95755/ltcube_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.fits
.....................!
real 191.07
user 185.79
sys 4.88

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/95755/ft1_filtered_4FGL_J1300.4+1416_daily_bin721.fits scfile=/scratch/kocevski/95755/ft2_4FGL_J1300.4+1416_daily_bin721.fits outfile=/scratch/kocevski/95755/cmap_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/95755/ft1_filtered_4FGL_J1300.4+1416_daily_bin721.fits scfile=/scratch/kocevski/95755/ft2_4FGL_J1300.4+1416_daily_bin721.fits outfile=/scratch/kocevski/95755/cmap_HighResolution_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.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.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/95755/ft1_filtered_4FGL_J1300.4+1416_daily_bin721.fits', '/scratch/kocevski/95755/ft2_4FGL_J1300.4+1416_daily_bin721.fits', expMap='/scratch/kocevski/95755/expmap_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.fits', expCube='/scratch/kocevski/95755/ltcube_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/95755/Model_4FGL_J1300.4+1416_daily_bin721.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/95755/ft1_filtered_4FGL_J1300.4+1416_daily_bin721.fits
Spacecraft file(s): /scratch/kocevski/95755/ft2_4FGL_J1300.4+1416_daily_bin721.fits
Exposure map: /scratch/kocevski/95755/expmap_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.fits
Exposure cube: /scratch/kocevski/95755/ltcube_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/95755/Model_4FGL_J1300.4+1416_daily_bin721.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) = 6727.27484796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10418E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3114       1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.492       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.158       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .82823E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10500E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1130       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2682       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3375       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7314       1.0000         .10000E-03   10000.    
    13 'norm      '    7.6817       1.0000         .10000E-03   10000.    
    14 'norm      '    6.6870       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .51796E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0956       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96626       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=   6727.267     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     2040 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5532       -.25383E-08** at limit **
   2  Prefactor     .10000E-03    16.751       -.15135E-05** at limit **
   3  norm          3.3115        .51405        .33522E-07   -.25359E-03
   4  Prefactor     42.402        69.906        .17514E-04    .14045E-03
   5  Prefactor     11.160        12.419        .29166E-06    .35003E-04
   6  Prefactor     .10000E-03    24.101       -.93758E-06** at limit **
   7  norm          .10000E-03    .64799        .28609E-07** at limit **
   8  Prefactor     .10000E-03    78.170        .13766E-05** at limit **
   9  Prefactor     3.1143        6.2310        .58529E-06   -.15928E-05
  10  Prefactor     1.2423        40.297        .25368E-04   -.11468E-03
  11  Prefactor     2.3420        43.536        .70405E-05    .11197E-03
  12  norm          1.7315        1.9306        .25522E-07   -.18660E-04
  13  norm          7.6825        12.540        .15238E-06   -.18236E-05
  14  norm          6.6900        6.3910        .50043E-06    .87217E-05
  15  Prefactor     .10000E-03    6.6936        .81879E-07** at limit **
  16  Prefactor     .10000E-03    12.967        .12409E-06** at limit **
  17  norm          .10000E-03    6.7632       -.12581E-06** at limit **
  18  Prefactor     .10000E-03    20.816        .14921E-05** at limit **
  19  Normalizat    1.0955        .19680       -.42920E-05    .82272E-04
  20  Prefactor     .96618        .15898        .88256E-06   -.76318E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.31145
  Prefactor  = 42.4017
  Prefactor  = 11.1604
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.11434
  Prefactor  = 1.24235
  Prefactor  = 2.34202
  norm       = 1.73151
  norm       = 7.6825
  norm       = 6.69003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09552
  Prefactor  = 0.96618
 **********
 **   18 **HESSE 
 **********

 FCN=   6727.267     FROM HESSE     STATUS=OK           295 CALLS     2335 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5767        .99797E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.3115        .51537        .22300E-04   -1.5344    
   4  Prefactor     42.402        69.891        .30749E-03   -1.4405    
   5  Prefactor     11.160        12.402        .11993E-03   -1.5040    
   6  Prefactor     .10000E-03    24.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.0013        .12717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    78.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1143        6.2112        .22981E-03   -1.5355    
  10  Prefactor     1.2423        41.220        .19766E-02   -1.5485    
  11  Prefactor     2.3420        41.233        .13409E-02   -1.5402    
  12  norm          1.7315        1.9331        .11723E-03   -1.5445    
  13  norm          7.6825        12.530        .14469E-03   -1.5154    
  14  norm          6.6900        6.3850        .15517E-03   -1.5191    
  15  Prefactor     .10000E-03    24.548        .40627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.8388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    20.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0955        .23433        .26746E-03   -.89896    
  20  Prefactor     .96618        .19080        .24345E-03   -.93865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.30952e-10
Minuit parameter uncertainties:
  1  1.11876e-06
  2  0.00016014
  3  0.515371
  4  70.0261
  5  12.4053
  6  8.84826e-05
  7  1.41973e-05
  8  9.20342e-05
  9  6.21245
  10  14.3223
  11  19.6694
  12  1.93316
  13  12.5345
  14  6.38563
  15  3.10541e-05
  16  3.14941e-06
  17  1.06521e-05
  18  6.56507e-05
  19  0.234551
  20  0.19093
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  2.342e+00  1.967e+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:  9.662e-01  1.909e-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.096e+00  2.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/95755/likelihoodResults_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.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): 102
logL (Free Index) = 6727.06704884
delta logL = 0.199630097387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6727.03654548
delta logL = 0.230133454137

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9503       1.0000         .10000E-03   10000.    
     2 'Index     '    4.6067       1.0000          .0000       10.000    
     3 'Normalizat'    1.0416       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99533       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=   6727.037     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      271 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8919        50.761        .74289E-02    .88502E-03
   2  Index         4.6324        4.0858        .29319        .50816E-04
   3  Normalizat    1.0403        .37475E-01    .61899E-01   -.16943E-04
   4  Prefactor     .99649        .32482E-01    .46209E-01   -.21383E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89193
  Index      = 4.63236
  Normalizat = 1.04031
  Prefactor  = 0.996487
 **********
 **   18 **HESSE 
 **********

 FCN=   6727.037     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      304 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8919        175.83        .15181E-03   -1.5433    
   2  Index         4.6324        5.1597        .10223E-01   -.73595E-01
   3  Normalizat    1.0403        .17833        .27377E-03   -.91692    
   4  Prefactor     .99649        .15344        .24019E-03   -.92847    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.43988e-07
Minuit parameter uncertainties:
  1  36.5878
  2  15.2503
  3  0.178434
  4  0.153511
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/95755': 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): 102
logL (Free Index) = 6727.03651924
delta logL = 0.230159691542

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  1.892e+00  3.659e+01  1.000e-04  1.000e+04 ( 1.000e-12)
298        Index:  4.632e+00  1.525e+01  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:  9.965e-01  1.535e-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.040e+00  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/95755/cmap_HighResolution_426211201_426470401_4FGL_J1300.4+1416_daily_bin721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-06 14:49:05.024736', job_id='95755', GAL2='1.00', fit_tolerance='1e-08', EG2='1.04', EG='1.10', time_epoch_completed='1630964945.02', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.30e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='721' AND source_name='4FGL J1300.4+1416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 14:49:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 95755: <4FGL_J1300.4+1416_daily_bin721> in cluster <slac> Done

Job <4FGL_J1300.4+1416_daily_bin721> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Sep  6 14:35:38 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 14:35:40 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:40 2021
Terminated at Mon Sep  6 14:49:05 2021
Results reported at Mon Sep  6 14:49:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_daily_bin721 195.12 14.2701 426211201 426470401 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 :                                   616.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            807 sec.

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

