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


Performing analysis on: 4FGL_J1300.4+1416_daily_bin1248
RA = 195.12, Dec = 14.2701
tmin = 562809601, tmax = 563068801
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='97884', job_status='RUN', time_executed='2021-09-06 14:41:27.813715', time_epoch_executed='1630964487.81' WHERE source_name='4FGL J1300.4+1416' and cadence='daily' and bin_id='1248'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/97884

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/97884/ft1_4FGL_J1300.4+1416_daily_bin1248.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/97884/ft2_4FGL_J1300.4+1416_daily_bin1248.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/97884/ft1_4FGL_J1300.4+1416_daily_bin1248.fits outfile=/scratch/kocevski/97884/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin1248.fits ra=195.12 dec=14.2701 rad=12.0 tmin=562809601.0 tmax=563068801.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.75
user 3.41
sys 0.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/97884/ft1_filtered_4FGL_J1300.4+1416_daily_bin1248.fits" evtable="EVENTS" scfile=/scratch/kocevski/97884/ft2_4FGL_J1300.4+1416_daily_bin1248.fits sctable="SC_DATA" outfile=/scratch/kocevski/97884/ltcube_562809601_563068801_4FGL_J1300.4+1416_daily_bin1248.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/97884/ft2_4FGL_J1300.4+1416_daily_bin1248.fits
.....................!
real 21.37
user 20.95
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/97884/ft1_filtered_4FGL_J1300.4+1416_daily_bin1248.fits evtable="EVENTS" scfile=/scratch/kocevski/97884/ft2_4FGL_J1300.4+1416_daily_bin1248.fits sctable="SC_DATA" expcube=/scratch/kocevski/97884/ltcube_562809601_563068801_4FGL_J1300.4+1416_daily_bin1248.fits outfile=/scratch/kocevski/97884/expmap_562809601_563068801_4FGL_J1300.4+1416_daily_bin1248.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/97884/ltcube_562809601_563068801_4FGL_J1300.4+1416_daily_bin1248.fits
.....................!
real 201.04
user 195.15
sys 5.30

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/97884/ft1_filtered_4FGL_J1300.4+1416_daily_bin1248.fits scfile=/scratch/kocevski/97884/ft2_4FGL_J1300.4+1416_daily_bin1248.fits outfile=/scratch/kocevski/97884/cmap_562809601_563068801_4FGL_J1300.4+1416_daily_bin1248.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.67
user 0.40
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/97884/ft1_filtered_4FGL_J1300.4+1416_daily_bin1248.fits scfile=/scratch/kocevski/97884/ft2_4FGL_J1300.4+1416_daily_bin1248.fits outfile=/scratch/kocevski/97884/cmap_HighResolution_562809601_563068801_4FGL_J1300.4+1416_daily_bin1248.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.68
user 0.43
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.825       1.0000         .10000E-03   10000.    
     3 'norm      '    .12799E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17008E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1639       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27693E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.356       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.6181       1.0000         .10000E-03   10000.    
    12 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    16.892       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.7148       1.0000         .10000E-03   10000.    
    18 'Prefactor '    55.223       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0970       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1556       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=   7572.298     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     2174 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0741        .74594E-07** at limit **
   2  Prefactor     12.802        30.547       -.33119E-05   -.20526E-03
   3  norm          .12815E-01    .75313E-01    .12866E-06   -.20038E-02
   4  Prefactor     .10132E-03    1207.8       -.44562E-04** at limit **
   5  Prefactor     .10000E-03    3.2207       -.22356E-07** at limit **
   6  Prefactor     .10000E-03    27.197       -.60508E-06** at limit **
   7  norm          1.1633        1.4524        .14961E-06    .75134E-04
   8  Prefactor     .10000E-03    28.824        .77299E-06** at limit **
   9  Prefactor     .10000E-03    3.2556        .24920E-06** at limit **
  10  Prefactor     24.340        13.248        .40579E-06    .14093E-03
  11  Prefactor     3.6361        10.382        .15325E-05    .24032E-03
  12  norm          .10000E-03    1.7337       -.87418E-07** at limit **
  13  norm          16.885        14.762       -.61351E-06   -.33853E-03
  14  norm          .10000E-03    2.9860       -.99138E-06** at limit **
  15  Prefactor     .10000E-03    6.3397        .17264E-06** at limit **
  16  Prefactor     .10000E-03    21.798        .40117E-06** at limit **
  17  norm          3.7140        5.4546        .69987E-05   -.76154E-03
  18  Prefactor     55.075        45.771        .18034E-05    .38007E-03
  19  Normalizat    1.0970        .17244       -.98656E-06   -.11721E-03
  20  Prefactor     1.1556        .15322       -.91191E-06   -.74046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.8022
  norm       = 0.0128154
  Prefactor  = 0.000101319
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.16328
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 24.3402
  Prefactor  = 3.63608
  norm       = 0.0001
  norm       = 16.8847
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.71404
  Prefactor  = 55.0747
  Normalizat = 1.097
  Prefactor  = 1.15556
 **********
 **   18 **HESSE 
 **********

 FCN=   7572.298     FROM HESSE     STATUS=OK           291 CALLS     2465 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7659        .17520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.802        30.597        .11185E-03   -1.4992    
   3  norm          .12815E-01    .14964        .45886E-03   -1.5685    
   4  Prefactor     .10132E-03    1248.9        .18216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.2298        .15251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    27.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1633        1.4205        .11326E-03   -1.5492    
   8  Prefactor     .10000E-03    28.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.544        .29846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.340        13.230        .81167E-04   -1.4721    
  11  Prefactor     3.6361        10.358        .21241E-03   -1.5327    
  12  norm          .10000E-03    1.7985        .22359E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          16.885        14.782        .97448E-04   -1.4886    
  14  norm          .10000E-03    3.0427        .14741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.3675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    21.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.7140        5.4907        .10476E-02   -1.5323    
  18  Prefactor     55.075        46.069        .26989E-03   -1.4222    
  19  Normalizat    1.0970        .20256        .26630E-03   -.89848    
  20  Prefactor     1.1556        .18276        .23688E-03   -.87710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80004e-08
Minuit parameter uncertainties:
  1  1.56845e-05
  2  30.6346
  3  0.0872424
  4  0.0829532
  5  5.55852e-06
  6  0.000239759
  7  1.42053
  8  0.000291255
  9  0.000139016
  10  13.2311
  11  10.3634
  12  4.00222e-06
  13  14.7855
  14  6.71563e-05
  15  6.56285e-06
  16  8.82644e-05
  17  5.49142
  18  46.0988
  19  0.202704
  20  0.182857
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  3.636e+00  1.036e+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:  1.156e+00  1.829e-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.097e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 195.120 14.270
Photon Flux Upper Limit: 9.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/97884/likelihoodResults_562809601_563068801_4FGL_J1300.4+1416_daily_bin1248.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) = 7572.21898196
delta logL = 0.0792802487786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7572.21529402
delta logL = 0.082968189975

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8115       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2051       1.0000          .0000       10.000    
     3 'Normalizat'    1.1024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1505       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=   7572.215     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      267 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8027        13.736         .0000        .28167E-02
   2  Index         2.2053        1.1045         .0000       -.27576E-04
   3  Normalizat    1.1026        .16715         .0000        .80762E-04
   4  Prefactor     1.1503        .15347         .0000        .37270E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.80274
  Index      = 2.2053
  Normalizat = 1.10265
  Prefactor  = 1.15028
 **********
 **   18 **HESSE 
 **********

 FCN=   7572.215     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8027        9.9513        .91703E-03   -1.5270    
   2  Index         2.2053        1.0819        .16269E-01   -.59311    
   3  Normalizat    1.1026        .19949        .26569E-03   -.89667    
   4  Prefactor     1.1503        .18239        .23732E-03   -.87875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41944e-11
Minuit parameter uncertainties:
  1  9.95475
  2  1.09458
  3  0.199624
  4  0.182494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/97884': 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) = 7572.21529269
delta logL = 0.0829695223683

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  4.803e+00  9.955e+00  1.000e-04  1.000e+04 ( 1.000e-12)
298        Index:  2.205e+00  1.095e+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:  1.150e+00  1.825e-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.103e+00  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/97884/cmap_HighResolution_562809601_563068801_4FGL_J1300.4+1416_daily_bin1248.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.84e-03', job_status='DONE', photon_flux_upper_limit='9.94e-08', time_completed='2021-09-06 14:54:19.006495', job_id='97884', GAL2='1.15', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630965259.01', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='8.30e-02', ts2='0.31', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1248' AND source_name='4FGL J1300.4+1416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 14:54:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 97884: <4FGL_J1300.4+1416_daily_bin1248> in cluster <slac> Done

Job <4FGL_J1300.4+1416_daily_bin1248> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep  6 14:41:06 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 14:41:08 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:41:08 2021
Terminated at Mon Sep  6 14:54:19 2021
Results reported at Mon Sep  6 14:54:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_daily_bin1248 195.12 14.2701 562809601 563068801 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 :                                   714.53 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            793 sec.

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

