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


Performing analysis on: 4FGL_J1300.4+1416_daily_bin247
RA = 195.12, Dec = 14.2701
tmin = 303350401, tmax = 303609601
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='92924', job_status='RUN', time_executed='2021-09-06 14:28:37.257803', time_epoch_executed='1630963717.26' WHERE source_name='4FGL J1300.4+1416' and cadence='daily' and bin_id='247'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92924

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92924/ft1_4FGL_J1300.4+1416_daily_bin247.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92924/ft2_4FGL_J1300.4+1416_daily_bin247.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92924/ft1_4FGL_J1300.4+1416_daily_bin247.fits outfile=/scratch/kocevski/92924/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin247.fits ra=195.12 dec=14.2701 rad=12.0 tmin=303350401.0 tmax=303609601.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.52
user 3.19
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92924/ft1_filtered_4FGL_J1300.4+1416_daily_bin247.fits evtable="EVENTS" scfile=/scratch/kocevski/92924/ft2_4FGL_J1300.4+1416_daily_bin247.fits sctable="SC_DATA" expcube=/scratch/kocevski/92924/ltcube_303350401_303609601_4FGL_J1300.4+1416_daily_bin247.fits outfile=/scratch/kocevski/92924/expmap_303350401_303609601_4FGL_J1300.4+1416_daily_bin247.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/92924/ltcube_303350401_303609601_4FGL_J1300.4+1416_daily_bin247.fits
.....................!
real 190.35
user 184.45
sys 4.87

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/92924/ft1_filtered_4FGL_J1300.4+1416_daily_bin247.fits scfile=/scratch/kocevski/92924/ft2_4FGL_J1300.4+1416_daily_bin247.fits outfile=/scratch/kocevski/92924/cmap_303350401_303609601_4FGL_J1300.4+1416_daily_bin247.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92924/ft1_filtered_4FGL_J1300.4+1416_daily_bin247.fits scfile=/scratch/kocevski/92924/ft2_4FGL_J1300.4+1416_daily_bin247.fits outfile=/scratch/kocevski/92924/cmap_HighResolution_303350401_303609601_4FGL_J1300.4+1416_daily_bin247.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43402       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.3756       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8929       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    16.197       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.951       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4954       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    51.289       1.0000         .10000E-03   10000.    
    14 'norm      '    3.3895       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.880       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2737       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .73543       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6870.727     FROM MIGRAD    STATUS=CONVERGED    436 CALLS     1776 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45262        2.2108         .0000        .63014E-03
   2  Prefactor     .10000E-03    16.639         .0000    ** at limit **
   3  norm          5.3755        .63168         .0000       -.44577E-03
   4  Prefactor     .10000E-03    90.926         .0000    ** at limit **
   5  Prefactor     2.8925        8.1182         .0000        .57196E-02
   6  Prefactor     .10000E-03    13.981         .0000    ** at limit **
   7  norm          16.197        3.0844         .0000        .16231E-03
   8  Prefactor     .10000E-03    20.279         .0000    ** at limit **
   9  Prefactor     .10000E-03    2.6794         .0000    ** at limit **
  10  Prefactor     31.959        16.688         .0000        .67479E-03
  11  Prefactor     4.4893        16.068         .0000       -.97413E-04
  12  norm          .10000E-03    .99500         .0000    ** at limit **
  13  norm          51.290        26.889         .0000       -.26308E-03
  14  norm          3.3898        3.3617         .0000       -.17204E-03
  15  Prefactor     .10000E-03    4.5158         .0000    ** at limit **
  16  Prefactor     11.881        22.046         .0000       -.32980E-04
  17  norm          .10000E-03    2.0534         .0000    ** at limit **
  18  Prefactor     .10000E-03    33.582         .0000    ** at limit **
  19  Normalizat    1.2736        .19701         .0000        .43390E-04
  20  Prefactor     .73549        .16112         .0000        .57772E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.452624
  Prefactor  = 0.0001
  norm       = 5.37553
  Prefactor  = 0.000100001
  Prefactor  = 2.89247
  Prefactor  = 0.0001
  norm       = 16.197
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.9592
  Prefactor  = 4.48932
  norm       = 0.0001
  norm       = 51.2898
  norm       = 3.3898
  Prefactor  = 0.0001
  Prefactor  = 11.8813
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.27356
  Prefactor  = 0.735491
 **********
 **   18 **HESSE 
 **********

 FCN=   6870.727     FROM HESSE     STATUS=OK           289 CALLS     2065 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45262        8.1880        .23377E-02   -1.5573    
   2  Prefactor     .10000E-03    16.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.3755        .63244        .21595E-04   -1.5244    
   4  Prefactor     .10000E-03    90.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8925        8.0962        .11946E-02   -1.5368    
   6  Prefactor     .10000E-03    13.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          16.197        3.0854        .61073E-04   -1.4903    
   8  Prefactor     .10000E-03    20.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.6933        .13250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.959        16.640        .70887E-04   -1.4577    
  11  Prefactor     4.4893        15.990        .18990E-03   -1.5284    
  12  norm          .10000E-03    .99815        .80738E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          51.290        26.898        .56000E-04   -1.4274    
  14  norm          3.3898        3.3690        .14695E-03   -1.5340    
  15  Prefactor     .10000E-03    4.5269        .17201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.881        22.047        .11622E-03   -1.5018    
  17  norm          .10000E-03    2.0562        .11599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    33.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2736        .23551        .27205E-03   -.84359    
  20  Prefactor     .73549        .19168        .29243E-03   -1.0215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06304e-10
Minuit parameter uncertainties:
  1  3.85044
  2  8.17298e-05
  3  0.632442
  4  0.000603672
  5  8.09923
  6  1.93587e-05
  7  3.08544
  8  7.78311e-05
  9  5.44599e-06
  10  16.6425
  11  16.0053
  12  2.44415e-06
  13  26.9048
  14  3.3692
  15  1.47741e-05
  16  22.0619
  17  4.84986e-06
  18  3.43616e-05
  19  0.235704
  20  0.191851
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  4.489e+00  1.601e+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:  7.355e-01  1.919e-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.274e+00  2.357e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/92924/likelihoodResults_303350401_303609601_4FGL_J1300.4+1416_daily_bin247.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) = 6870.72386288
delta logL = 0.00294296504853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6870.72329743
delta logL = 0.00350840983174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0152       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5773       1.0000          .0000       10.000    
     3 'Normalizat'    1.2753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73382       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=   6870.723     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      260 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0336        777.41        .44891E-02    .75415E-04
   2  Index         2.5847        6.2555        .50000       -.57073E-05
   3  Normalizat    1.2751        .43881E-01    .61479E-01    .55240E-05
   4  Prefactor     .73396        .39317E-01    .66158E-01    .25258E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.0336
  Index      = 2.58467
  Normalizat = 1.27508
  Prefactor  = 0.73396
 **********
 **   18 **HESSE 
 **********

 FCN=   6870.723     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0336        17.344        .17956E-03   -1.5259    
   2  Index         2.5847        1.6854        .12623E-01   -.50415    
   3  Normalizat    1.2751        .22848        .27191E-03   -.84313    
   4  Prefactor     .73396        .19172        .29271E-03   -1.0221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9506e-12
Minuit parameter uncertainties:
  1  17.3614
  2  1.73008
  3  0.228657
  4  0.191891
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92924': 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) = 6870.72328559
delta logL = 0.00352024858512

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  5.034e+00  1.736e+01  1.000e-04  1.000e+04 ( 1.000e-12)
298        Index:  2.585e+00  1.730e+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:  7.340e-01  1.919e-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.275e+00  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/92924/cmap_HighResolution_303350401_303609601_4FGL_J1300.4+1416_daily_bin247.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2021-09-06 14:38:43.002782', job_id='92924', GAL2='0.73', fit_tolerance='1e-08', EG2='1.28', EG='1.27', time_epoch_completed='1630964323.0', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='3.52e-03', ts2='0.10', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='247' AND source_name='4FGL J1300.4+1416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 14:38:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 92924: <4FGL_J1300.4+1416_daily_bin247> in cluster <slac> Done

Job <4FGL_J1300.4+1416_daily_bin247> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep  6 14:25:57 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 14:25:59 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:25:59 2021
Terminated at Mon Sep  6 14:38:43 2021
Results reported at Mon Sep  6 14:38:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_daily_bin247 195.12 14.2701 303350401 303609601 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 :                                   602.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            766 sec.

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

