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


Performing analysis on: 4FGL_J0620.5-2512_daily_bin911
RA = 95.1445, Dec = -25.2129
tmin = 475459201, tmax = 475718401
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='307303', job_status='RUN', time_executed='2021-08-24 21:51:03.715447', time_epoch_executed='1629867063.72' WHERE source_name='4FGL J0620.5-2512' and cadence='daily' and bin_id='911'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307303

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307303/ft1_4FGL_J0620.5-2512_daily_bin911.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307303/ft2_4FGL_J0620.5-2512_daily_bin911.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307303/ft1_4FGL_J0620.5-2512_daily_bin911.fits outfile=/scratch/kocevski/307303/ft1_filteredMKT_4FGL_J0620.5-2512_daily_bin911.fits ra=95.1445 dec=-25.2129 rad=12.0 tmin=475459201.0 tmax=475718401.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 4.12
user 3.26
sys 0.82

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/307303/ft2_4FGL_J0620.5-2512_daily_bin911.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307303/ft2_4FGL_J0620.5-2512_daily_bin911.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/307303/ft1_filteredMKT_4FGL_J0620.5-2512_daily_bin911.fits evtable="EVENTS" outfile="/scratch/kocevski/307303/ft1_filtered_4FGL_J0620.5-2512_daily_bin911.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 1.15
user 0.32
sys 0.77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307303/ft1_filtered_4FGL_J0620.5-2512_daily_bin911.fits" evtable="EVENTS" scfile=/scratch/kocevski/307303/ft2_4FGL_J0620.5-2512_daily_bin911.fits sctable="SC_DATA" outfile=/scratch/kocevski/307303/ltcube_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.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/307303/ft2_4FGL_J0620.5-2512_daily_bin911.fits
.....................!
real 12.63
user 11.53
sys 1.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307303/ft1_filtered_4FGL_J0620.5-2512_daily_bin911.fits evtable="EVENTS" scfile=/scratch/kocevski/307303/ft2_4FGL_J0620.5-2512_daily_bin911.fits sctable="SC_DATA" expcube=/scratch/kocevski/307303/ltcube_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.fits outfile=/scratch/kocevski/307303/expmap_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.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/307303/ltcube_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.fits
.....................!
real 190.98
user 184.77
sys 5.84

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 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J0620.5-2512 @ 95.1445 -25.2129

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/307303/ft1_filtered_4FGL_J0620.5-2512_daily_bin911.fits scfile=/scratch/kocevski/307303/ft2_4FGL_J0620.5-2512_daily_bin911.fits outfile=/scratch/kocevski/307303/cmap_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.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=95.1445 yref=-25.2129 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 1.12
user 0.37
sys 0.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307303/ft1_filtered_4FGL_J0620.5-2512_daily_bin911.fits scfile=/scratch/kocevski/307303/ft2_4FGL_J0620.5-2512_daily_bin911.fits outfile=/scratch/kocevski/307303/cmap_HighResolution_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.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=95.1445 yref=-25.2129 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 1.13
user 0.36
sys 0.76

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/307303/ft1_filtered_4FGL_J0620.5-2512_daily_bin911.fits evtable="EVENTS" scfile=/scratch/kocevski/307303/ft2_4FGL_J0620.5-2512_daily_bin911.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/307303/Model_4FGL_J0620.5-2512_daily_bin911.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/307303/ft1_filtered_4FGL_J0620.5-2512_daily_bin911.fits.....................!
real 103.88
user 100.70
sys 2.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/307303/ft1_filtered_4FGL_J0620.5-2512_daily_bin911.fits', '/scratch/kocevski/307303/ft2_4FGL_J0620.5-2512_daily_bin911.fits', expMap='/scratch/kocevski/307303/expmap_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.fits', expCube='/scratch/kocevski/307303/ltcube_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/307303/Model_4FGL_J0620.5-2512_daily_bin911.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0620.5-2512'

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  2.338e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  2.546e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  2.476e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  7.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/307303/ft1_filtered_4FGL_J0620.5-2512_daily_bin911.fits
Spacecraft file(s): /scratch/kocevski/307303/ft2_4FGL_J0620.5-2512_daily_bin911.fits
Exposure map: /scratch/kocevski/307303/expmap_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.fits
Exposure cube: /scratch/kocevski/307303/ltcube_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/307303/Model_4FGL_J0620.5-2512_daily_bin911.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) = 7256.25289587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.0419       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.403       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    15.709       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.615       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.5431       1.0000         .10000E-03   10000.    
    15 'norm      '    36.304       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.4791       1.0000         .10000E-03   10000.    
    19 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13190E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    7.6718       1.0000         .10000E-03   10000.    
    22 'norm      '    14.055       1.0000         .10000E-03   10000.    
    23 'Prefactor '    21.445       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    29.289       1.0000         .10000E-03   10000.    
    27 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1135       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0354       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7256.246     FROM MIGRAD    STATUS=CONVERGED    696 CALLS     3625 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7540       -.26908E-06** at limit **
   2  norm          .10000E-03    10.928       -.68847E-05** at limit **
   3  norm          8.0401        11.185       -.61350E-06   -.84232E-05
   4  Prefactor     .10000E-03    4.3446       -.13987E-05** at limit **
   5  Prefactor     11.400        11.955       -.15685E-05    .20138E-04
   6  Prefactor     .10000E-03    35.711        .29434E-05** at limit **
   7  Prefactor     .10000E-03    19.176       -.73719E-05** at limit **
   8  Prefactor     .10000E-03    26.880        .13920E-06** at limit **
   9  Prefactor     .10000E-03    31.740        .65259E-05** at limit **
  10  Prefactor     .10000E-03    27.159        .83920E-06** at limit **
  11  norm          15.712        10.349       -.12223E-05   -.19205E-03
  12  Prefactor     18.623        23.542        .42184E-05   -.76803E-04
  13  Prefactor     .10000E-03    3.7106       -.26792E-06** at limit **
  14  Prefactor     8.5436        25.609        .22481E-05   -.98294E-05
  15  norm          36.284        44.841       -.24511E-04   -.13687E-04
  16  Prefactor     .10000E-03    4.8564        .11294E-05** at limit **
  17  norm          .10000E-03    4.8785       -.25982E-06** at limit **
  18  norm          3.4829        2.0436       -.25091E-06   -.96802E-03
  19  norm          .10000E-03    3.9922        .84832E-06** at limit **
  20  Prefactor     .10000E-03    11.542        .86336E-05** at limit **
  21  norm          7.6604        22.166       -.76626E-05   -.57056E-05
  22  norm          14.051        11.137       -.13983E-05   -.23949E-04
  23  Prefactor     21.446        18.438        .35168E-05    .47743E-04
  24  Prefactor     .10000E-03    1.9222       -.56413E-07** at limit **
  25  norm          .10000E-03    38.373       -.33703E-05** at limit **
  26  norm          29.236        53.805       -.81065E-04    .11167E-04
  27  norm          .10000E-03    1.2703       -.77931E-07** at limit **
  28  Normalizat    1.1136        .24028        .29808E-05    .15054E-05
  29  Prefactor     1.0355        .89910E-01    .28677E-05   -.44671E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 8.04008
  Prefactor  = 0.0001
  Prefactor  = 11.3996
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.7125
  Prefactor  = 18.623
  Prefactor  = 0.0001
  Prefactor  = 8.54361
  norm       = 36.2842
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 3.48293
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 7.66042
  norm       = 14.0511
  Prefactor  = 21.4459
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 29.2356
  norm       = 0.0001
  Normalizat = 1.11355
  Prefactor  = 1.0355
 **********
 **   18 **HESSE 
 **********

 FCN=   7256.246     FROM HESSE     STATUS=OK           545 CALLS     4170 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8600        .27510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    10.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.0401        11.180        .14138E-03   -1.5141    
   4  Prefactor     .10000E-03    4.3748        .17335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.400        11.959        .11864E-03   -1.5033    
   6  Prefactor     .10000E-03    35.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    26.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    31.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          15.712        10.345        .10105E-03   -1.4915    
  12  Prefactor     18.623        23.512        .92830E-04   -1.4845    
  13  Prefactor     .10000E-03    3.7153        .16007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.5436        25.618        .13715E-03   -1.5123    
  15  norm          36.284        44.875        .66514E-04   -1.4503    
  16  Prefactor     .10000E-03    4.8774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.9304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.4829        2.0370        .90137E-04   -1.5335    
  19  norm          .10000E-03    3.9958        .16620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.895        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.6604        22.072        .14478E-03   -1.5154    
  22  norm          14.051        11.210        .10684E-03   -1.4958    
  23  Prefactor     21.446        18.380        .86494E-04   -1.4781    
  24  Prefactor     .10000E-03    1.9394        .11506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    38.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          29.236        53.820        .74030E-04   -1.4626    
  27  norm          .10000E-03    1.2791        .93734E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.1136        .25721        .42410E-03   -.89318    
  29  Prefactor     1.0355        .97391E-01    .16536E-03   -.91555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.74419e-10
Minuit parameter uncertainties:
  1  4.19167e-05
  2  4.94965e-06
  3  11.1828
  4  2.37369e-05
  5  11.9619
  6  6.6196e-05
  7  9.75803e-05
  8  3.95928e-05
  9  8.59587e-05
  10  5.50553e-05
  11  10.3463
  12  23.5234
  13  3.88153e-06
  14  25.6512
  15  44.9167
  16  0.000103055
  17  5.75638e-05
  18  2.03699
  19  1.82399e-05
  20  0.000215195
  21  22.0959
  22  11.2117
  23  18.3847
  24  7.54609e-06
  25  0.000289927
  26  53.9091
  27  6.91751e-06
  28  0.257497
  29  0.0974073
Done.

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

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  1.571e+01  1.035e+01  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  2.546e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  2.476e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  7.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.036e+00  9.741e-02  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.114e+00  2.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.86
Ra Dec: 95.144 -25.213
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 9.74e-08 +/- 6.41e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 1.96e-05

TS (Fixed Index): 3.86
Ra Dec: 95.144 -25.213
Photon Flux Upper Limit: 2.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.86e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/307303/likelihoodResults_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.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) = 7255.67544017
delta logL = 0.571031603508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7255.67318858
delta logL = 0.573283192012

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7371       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3995       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0482       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0478       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+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=   7255.673     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      298 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7378        11.875        .12834E-03   -.32581E-03
   2  alpha         3.3996        1.0368        .13169E-01   -.18840E-04
   3  Normalizat    1.0482        .25590        .43510E-03   -.11397E-03
   4  Prefactor     1.0478        .93359E-01    .16449E-03   -.46273E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.73779
  alpha      = 3.39963
  Normalizat = 1.0482
  Prefactor  = 1.0478
 **********
 **   18 **HESSE 
 **********

 FCN=   7255.673     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7378        9.5956        .51335E-05   -1.5117    
   2  alpha         3.3996        .84688        .52677E-03    .36811    
   3  Normalizat    1.0482        .25490        .17404E-04   -.91433    
   4  Prefactor     1.0478        .93125E-01    .32897E-04   -.91153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03991e-10
Minuit parameter uncertainties:
  1  9.59728
  2  0.866685
  3  0.255194
  4  0.0931392
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307303': 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) = 7255.67318843
delta logL = 0.573283345268

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  8.738e+00  9.597e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  3.400e+00  8.667e-01  0.000e+00  5.000e+00 ( 1.000e+00)
267         beta:  2.476e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  7.319e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.048e+00  9.314e-02  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.048e+00  2.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.23
Ra Dec: 95.144 -25.213
Photon Index (Free Index): 3.40 +/- 0.87
Photon Flux (Free Index): 1.70e-07 +/- 1.08e-07
Energy Flux (Free Index): 3.35e-05 +/- 1.84e-05

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/307303/cmap_HighResolution_475459201_475718401_4FGL_J0620.5-2512_daily_bin911.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.86e-05', comment='SUCCESS', photon_flux='9.74e-08', energy_flux2='3.35e-05', photon_flux_error='6.41e-08', dlogl='5.73e-01', energy_flux='2.97e-05', photon_flux2='1.70e-07', job_status='DONE', time_completed='2021-08-24 22:05:01.782743', photon_index_error2='0.87', photon_index2='3.40', ts='3.86', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='2.25e-07', energy_flux_error2='1.84e-05', EG='1.11', time_epoch_completed='1629867901.78', return_code='0', job_id='307303', GAL2='1.05', EG2='1.05', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='1.08e-07', ts2='5.23', photon_index='2.55' WHERE bin_id='911' AND source_name='4FGL J0620.5-2512' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:05:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 307303: <4FGL_J0620.5-2512_daily_bin911> in cluster <slac> Done

Job <4FGL_J0620.5-2512_daily_bin911> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 24 21:50:35 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 21:50:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 21:50:36 2021
Terminated at Tue Aug 24 22:05:02 2021
Results reported at Tue Aug 24 22:05:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0620.5-2512_daily_bin911 95.1445 -25.2129 475459201 475718401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0620.5-2512 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   843.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             377.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            867 sec.

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

