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


Performing analysis on: 4FGL_J1300.4+1416_daily_bin625
RA = 195.12, Dec = 14.2701
tmin = 401328001, tmax = 401587201
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='95605', job_status='RUN', time_executed='2021-09-06 14:38:51.792935', time_epoch_executed='1630964331.79' WHERE source_name='4FGL J1300.4+1416' and cadence='daily' and bin_id='625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/95605

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/95605/ft1_4FGL_J1300.4+1416_daily_bin625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/95605/ft2_4FGL_J1300.4+1416_daily_bin625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/95605/ft1_4FGL_J1300.4+1416_daily_bin625.fits outfile=/scratch/kocevski/95605/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin625.fits ra=195.12 dec=14.2701 rad=12.0 tmin=401328001.0 tmax=401587201.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.42
user 3.18
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/95605/ft1_filtered_4FGL_J1300.4+1416_daily_bin625.fits" evtable="EVENTS" scfile=/scratch/kocevski/95605/ft2_4FGL_J1300.4+1416_daily_bin625.fits sctable="SC_DATA" outfile=/scratch/kocevski/95605/ltcube_401328001_401587201_4FGL_J1300.4+1416_daily_bin625.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/95605/ft2_4FGL_J1300.4+1416_daily_bin625.fits
.....................!
real 13.21
user 12.80
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/95605/ft1_filtered_4FGL_J1300.4+1416_daily_bin625.fits evtable="EVENTS" scfile=/scratch/kocevski/95605/ft2_4FGL_J1300.4+1416_daily_bin625.fits sctable="SC_DATA" expcube=/scratch/kocevski/95605/ltcube_401328001_401587201_4FGL_J1300.4+1416_daily_bin625.fits outfile=/scratch/kocevski/95605/expmap_401328001_401587201_4FGL_J1300.4+1416_daily_bin625.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/95605/ltcube_401328001_401587201_4FGL_J1300.4+1416_daily_bin625.fits
.....................!
real 190.28
user 185.28
sys 4.62

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/95605/ft1_filtered_4FGL_J1300.4+1416_daily_bin625.fits scfile=/scratch/kocevski/95605/ft2_4FGL_J1300.4+1416_daily_bin625.fits outfile=/scratch/kocevski/95605/cmap_401328001_401587201_4FGL_J1300.4+1416_daily_bin625.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/95605/ft1_filtered_4FGL_J1300.4+1416_daily_bin625.fits scfile=/scratch/kocevski/95605/ft2_4FGL_J1300.4+1416_daily_bin625.fits outfile=/scratch/kocevski/95605/cmap_HighResolution_401328001_401587201_4FGL_J1300.4+1416_daily_bin625.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.56
user 0.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2285       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.631       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.078       1.0000         .10000E-03   10000.    
     7 'norm      '    5.7334       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5783       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1471       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    28.229       1.0000         .10000E-03   10000.    
    13 'norm      '    16.621       1.0000         .10000E-03   10000.    
    14 'norm      '    5.5183       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    42.429       1.0000         .10000E-03   10000.    
    17 'norm      '    11.452       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99008       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0820       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=   6379.647     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2013 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0035        .90712E-02** at limit **
   2  Prefactor     .10000E-03    21.785        .90712E-02** at limit **
   3  norm          1.2286        .33507        .52384E-02   -.49934E-04
   4  Prefactor     .10000E-03    73.816        .90712E-02** at limit **
   5  Prefactor     11.632        9.9518        .29366E-02   -.93482E-04
   6  Prefactor     25.076        31.922        .19998E-02    .62373E-03
   7  norm          5.7334        2.0509        .41937E-02    .12365E-03
   8  Prefactor     .10000E-03    29.459        .90712E-02** at limit **
   9  Prefactor     1.5786        8.4556        .84535E-02    .81356E-03
  10  Prefactor     7.1477        11.742        .37511E-02    .21102E-02
  11  Prefactor     .10000E-03    5.6159        .90712E-02** at limit **
  12  norm          28.229        6.4343        .18851E-02    .43471E-02
  13  norm          16.621        15.305        .24560E-02    .18393E-03
  14  norm          5.5187        5.5569        .42759E-02    .20657E-02
  15  Prefactor     .10000E-03    5.7472        .90712E-02** at limit **
  16  Prefactor     42.429        31.824        .15386E-02   -.26679E-03
  17  norm          11.452        7.8835        .29596E-02    .73344E-03
  18  Prefactor     .10000E-03    14.836        .90712E-02** at limit **
  19  Normalizat    .99001        .19798        .46043E-01    .67440E-05
  20  Prefactor     1.0820        .17044        .55603E-01    .14242E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.22856
  Prefactor  = 0.0001
  Prefactor  = 11.6319
  Prefactor  = 25.0762
  norm       = 5.73344
  Prefactor  = 0.0001
  Prefactor  = 1.57862
  Prefactor  = 7.14768
  Prefactor  = 0.0001
  norm       = 28.229
  norm       = 16.6214
  norm       = 5.51867
  Prefactor  = 0.0001
  Prefactor  = 42.4295
  norm       = 11.4519
  Prefactor  = 0.0001
  Normalizat = 0.990013
  Prefactor  = 1.08203
 **********
 **   18 **HESSE 
 **********

 FCN=   6379.647     FROM HESSE     STATUS=OK           287 CALLS     2300 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.0091        .78122E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2286        .33579        .23186E-04   -1.5486    
   4  Prefactor     .10000E-03    73.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.632        9.9423        .11746E-03   -1.5026    
   6  Prefactor     25.076        31.939        .79992E-04   -1.4706    
   7  norm          5.7334        2.0505        .66214E-04   -1.5229    
   8  Prefactor     .10000E-03    29.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5786        8.4069        .33814E-03   -1.5457    
  10  Prefactor     7.1477        11.777        .75023E-03   -1.5173    
  11  Prefactor     .10000E-03    5.6328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          28.229        6.4275        .75404E-04   -1.4645    
  13  norm          16.621        15.303        .98240E-04   -1.4892    
  14  norm          5.5187        5.5504        .17103E-03   -1.5238    
  15  Prefactor     .10000E-03    5.7721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     42.429        31.834        .61544E-04   -1.4404    
  17  norm          11.452        7.8847        .11838E-03   -1.5031    
  18  Prefactor     .10000E-03    14.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .99001        .23192        .28132E-03   -.93366    
  20  Prefactor     1.0820        .19961        .24585E-03   -.90043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.67919e-09
Minuit parameter uncertainties:
  1  5.77873e-07
  2  0.000157632
  3  0.335794
  4  0.000230905
  5  9.94372
  6  31.9606
  7  2.05051
  8  0.000214261
  9  7.28733
  10  11.7805
  11  3.13802e-05
  12  6.42765
  13  15.3064
  14  5.55094
  15  3.13309e-05
  16  31.8465
  17  7.88546
  18  3.28414e-05
  19  0.232157
  20  0.199748
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  3.138e-05  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.082e+00  1.997e-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:  9.900e-01  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/95605/likelihoodResults_401328001_401587201_4FGL_J1300.4+1416_daily_bin625.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) = 6379.64762142
delta logL = -0.000845445785671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6379.64677616
delta logL = -1.8679384084e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7525       1.0000          .0000       10.000    
     3 'Normalizat'    .98994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0821       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6379.503     FROM MIGRAD    STATUS=CONVERGED    149 CALLS      302 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20542        4.5394        .14661E-01    .20367E-02
   2  Index         5.9789        7.3076        .25090        .83500E-04
   3  Normalizat    .94893        .26625E-01    .28132E-03   -.21960E-03
   4  Prefactor     1.1045        .24310E-01    .24585E-03   -.33706E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.205417
  Index      = 5.97891
  Normalizat = 0.94893
  Prefactor  = 1.10453
 **********
 **   18 **HESSE 
 **********

 FCN=   6379.503     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      333 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20542        33.878        .61758E-03   -1.5617    
   2  Index         5.9789        5.6277        .14657E-01    .19706    
   3  Normalizat    .94893        .14425        .11253E-04   -.94762    
   4  Prefactor     1.1045        .12639        .49171E-04   -.89322    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03751e-06
Minuit parameter uncertainties:
  1  5.27781
  2  18.6417
  3  0.144309
  4  0.126425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/95605': 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) = 6379.50296936
delta logL = 0.143806607772

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  2.054e-01  5.278e+00  1.000e-04  1.000e+04 ( 1.000e-12)
298        Index:  5.979e+00  1.864e+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:  1.105e+00  1.264e-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:  9.489e-01  1.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/95605/cmap_HighResolution_401328001_401587201_4FGL_J1300.4+1416_daily_bin625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.86e-03', job_status='DONE', photon_flux_upper_limit='7.43e-08', time_completed='2021-09-06 14:49:11.722150', job_id='95605', GAL2='1.10', fit_tolerance='1e-08', EG2='0.95', EG='0.99', time_epoch_completed='1630964951.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.44e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='625' AND source_name='4FGL J1300.4+1416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 14:49:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 95605: <4FGL_J1300.4+1416_daily_bin625> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_daily_bin625 195.12 14.2701 401328001 401587201 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 :                                   617.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            825 sec.

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

