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


Performing analysis on: 4FGL_J1300.4+1416_daily_bin415
RA = 195.12, Dec = 14.2701
tmin = 346896001, tmax = 347155201
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='94165', job_status='RUN', time_executed='2021-09-06 14:32:56.532104', time_epoch_executed='1630963976.53' WHERE source_name='4FGL J1300.4+1416' and cadence='daily' and bin_id='415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94165

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94165/ft1_4FGL_J1300.4+1416_daily_bin415.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94165/ft2_4FGL_J1300.4+1416_daily_bin415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94165/ft1_4FGL_J1300.4+1416_daily_bin415.fits outfile=/scratch/kocevski/94165/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin415.fits ra=195.12 dec=14.2701 rad=12.0 tmin=346896001.0 tmax=347155201.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.43
user 3.23
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94165/ft1_filtered_4FGL_J1300.4+1416_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/94165/ft2_4FGL_J1300.4+1416_daily_bin415.fits sctable="SC_DATA" expcube=/scratch/kocevski/94165/ltcube_346896001_347155201_4FGL_J1300.4+1416_daily_bin415.fits outfile=/scratch/kocevski/94165/expmap_346896001_347155201_4FGL_J1300.4+1416_daily_bin415.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/94165/ltcube_346896001_347155201_4FGL_J1300.4+1416_daily_bin415.fits
.....................!
real 193.16
user 187.55
sys 5.23

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/94165/ft1_filtered_4FGL_J1300.4+1416_daily_bin415.fits scfile=/scratch/kocevski/94165/ft2_4FGL_J1300.4+1416_daily_bin415.fits outfile=/scratch/kocevski/94165/cmap_346896001_347155201_4FGL_J1300.4+1416_daily_bin415.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94165/ft1_filtered_4FGL_J1300.4+1416_daily_bin415.fits scfile=/scratch/kocevski/94165/ft2_4FGL_J1300.4+1416_daily_bin415.fits outfile=/scratch/kocevski/94165/cmap_HighResolution_346896001_347155201_4FGL_J1300.4+1416_daily_bin415.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0135       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.569       1.0000         .10000E-03   10000.    
     7 'norm      '    3.0750       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .44906E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7961       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.3325       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.2903       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    17.889       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3034       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90331       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=   6477.996     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     1699 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4075        .10964E-06** at limit **
   2  Prefactor     .10000E-03    43.235       -.33559E-05** at limit **
   3  norm          1.0135        .31364       -.46414E-08    .33922E-04
   4  Prefactor     .10000E-03    39.620        .12645E-04** at limit **
   5  Prefactor     .10000E-03    4.4716        .25182E-06** at limit **
   6  Prefactor     12.568        14.918        .15707E-06    .45231E-04
   7  norm          3.0748        1.5341       -.92996E-08    .93291E-04
   8  Prefactor     .10001E-03    120.19       -.80675E-04** at limit **
   9  Prefactor     2.7958        6.4956       -.86621E-06   -.42755E-03
  10  Prefactor     4.2879        13.981       -.41748E-05    .33633E-03
  11  Prefactor     8.2950        13.048       -.21459E-05    .10172E-03
  12  norm          .10000E-03    .97909       -.55038E-07** at limit **
  13  norm          .10000E-03    8.2688        .24461E-06** at limit **
  14  norm          .10000E-03    9.5785        .55340E-07** at limit **
  15  Prefactor     .10000E-03    2.8815        .10828E-07** at limit **
  16  Prefactor     .10000E-03    43.109       -.27137E-05** at limit **
  17  norm          17.887        10.609        .12743E-05   -.14113E-04
  18  Prefactor     .10000E-03    32.117       -.66385E-05** at limit **
  19  Normalizat    1.3036        .19348        .10428E-05    .31753E-03
  20  Prefactor     .90313        .16162       -.17452E-06    .35331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.01347
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5676
  norm       = 3.07483
  Prefactor  = 0.000100008
  Prefactor  = 2.79584
  Prefactor  = 4.28794
  Prefactor  = 8.29498
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.8868
  Prefactor  = 0.0001
  Normalizat = 1.30361
  Prefactor  = 0.903126
 **********
 **   18 **HESSE 
 **********

 FCN=   6477.996     FROM HESSE     STATUS=OK           283 CALLS     1982 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.4286        .93218E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    43.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0135        .31352        .24120E-04   -1.5507    
   4  Prefactor     .10000E-03    39.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.4856        .16619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.568        14.924        .11299E-03   -1.4999    
   7  norm          3.0748        1.5336        .68268E-04   -1.5357    
   8  Prefactor     .10001E-03    119.16        .21210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7958        6.5110        .24331E-03   -1.5374    
  10  Prefactor     4.2879        13.815        .19353E-03   -1.5294    
  11  Prefactor     8.2950        12.979        .13924E-03   -1.5132    
  12  norm          .10000E-03    .98127        .77767E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.2788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    9.8132        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.8849        .13343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    43.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          17.887        10.614        .94696E-04   -1.4862    
  18  Prefactor     .10000E-03    32.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3036        .23080        .24767E-03   -.83459    
  20  Prefactor     .90313        .19147        .25473E-03   -.96032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.93808e-10
Minuit parameter uncertainties:
  1  1.54635e-06
  2  1.49472e-05
  3  0.313521
  4  3.01104e-07
  5  1.59799e-06
  6  14.9284
  7  1.53367
  8  0.0019807
  9  6.51262
  10  13.8248
  11  12.9838
  12  4.12132e-07
  13  8.01588e-06
  14  0.000119383
  15  1.59008e-08
  16  1.20517e-05
  17  10.6147
  18  3.28431e-06
  19  0.230979
  20  0.191613
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  8.295e+00  1.298e+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.031e-01  1.916e-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.304e+00  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.59
Ra Dec: 195.120 14.270
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94165/likelihoodResults_346896001_347155201_4FGL_J1300.4+1416_daily_bin415.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) = 6477.95564818
delta logL = 0.0405976848187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6477.95373885
delta logL = 0.0425070181946

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9450       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4183       1.0000          .0000       10.000    
     3 'Normalizat'    1.3113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89814       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=   6477.954     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9417        13.101        .33503E-02    .13112E-03
   2  Index         2.4183        1.0335        .23834E-01    .15541E-03
   3  Normalizat    1.3113        .18527        .55866E-01    .40034E-03
   4  Prefactor     .89812        .16159        .44981E-01    .18432E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.94175
  Index      = 2.41832
  Normalizat = 1.31133
  Prefactor  = 0.898121
 **********
 **   18 **HESSE 
 **********

 FCN=   6477.954     FROM HESSE     STATUS=OK            27 CALLS      232 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9417        13.200        .13401E-03   -1.5110    
   2  Index         2.4183        1.0452        .95335E-03   -.54257    
   3  Normalizat    1.3113        .21883        .24704E-03   -.83229    
   4  Prefactor     .89812        .19042        .25533E-03   -.96207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68747e-09
Minuit parameter uncertainties:
  1  13.2039
  2  1.05588
  3  0.218989
  4  0.190564
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94165': 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) = 6477.95373881
delta logL = 0.0425070540368

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  8.942e+00  1.320e+01  1.000e-04  1.000e+04 ( 1.000e-12)
298        Index:  2.418e+00  1.056e+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.981e-01  1.906e-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.311e+00  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.59
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/94165/cmap_HighResolution_346896001_347155201_4FGL_J1300.4+1416_daily_bin415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.82e-03', job_status='DONE', photon_flux_upper_limit='1.24e-07', time_completed='2021-09-06 14:42:41.170588', job_id='94165', GAL2='0.90', fit_tolerance='1e-08', EG2='1.31', EG='1.30', time_epoch_completed='1630964561.17', return_code2='0', ts='0.59', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.25e-02', ts2='0.67', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='415' AND source_name='4FGL J1300.4+1416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 14:42:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 94165: <4FGL_J1300.4+1416_daily_bin415> in cluster <slac> Done

Job <4FGL_J1300.4+1416_daily_bin415> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep  6 14:30:37 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 14:30:39 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:30:39 2021
Terminated at Mon Sep  6 14:42:41 2021
Results reported at Mon Sep  6 14:42:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_daily_bin415 195.12 14.2701 346896001 347155201 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 :                                   578.00 sec.
    Max Memory :                                 1173 MB
    Average Memory :                             266.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            724 sec.

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

