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


Performing analysis on: 4FGL_J0620.5-2512_daily_bin756
RA = 95.1445, Dec = -25.2129
tmin = 435283201, tmax = 435542401
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='305804', job_status='RUN', time_executed='2021-08-24 21:45:42.472592', time_epoch_executed='1629866742.47' WHERE source_name='4FGL J0620.5-2512' and cadence='daily' and bin_id='756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/305804

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/305804/ft1_4FGL_J0620.5-2512_daily_bin756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/305804/ft2_4FGL_J0620.5-2512_daily_bin756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/305804/ft1_4FGL_J0620.5-2512_daily_bin756.fits outfile=/scratch/kocevski/305804/ft1_filteredMKT_4FGL_J0620.5-2512_daily_bin756.fits ra=95.1445 dec=-25.2129 rad=12.0 tmin=435283201.0 tmax=435542401.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 5.11
user 4.86
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/305804/ft2_4FGL_J0620.5-2512_daily_bin756.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/305804/ft1_filteredMKT_4FGL_J0620.5-2512_daily_bin756.fits evtable="EVENTS" outfile="/scratch/kocevski/305804/ft1_filtered_4FGL_J0620.5-2512_daily_bin756.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/305804/ft1_filtered_4FGL_J0620.5-2512_daily_bin756.fits" evtable="EVENTS" scfile=/scratch/kocevski/305804/ft2_4FGL_J0620.5-2512_daily_bin756.fits sctable="SC_DATA" outfile=/scratch/kocevski/305804/ltcube_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.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/305804/ft2_4FGL_J0620.5-2512_daily_bin756.fits
.....................!
real 12.18
user 11.83
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/305804/ft1_filtered_4FGL_J0620.5-2512_daily_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/305804/ft2_4FGL_J0620.5-2512_daily_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/305804/ltcube_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.fits outfile=/scratch/kocevski/305804/expmap_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.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/305804/ltcube_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.fits
.....................!
real 190.36
user 185.29
sys 4.73

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/305804/ft1_filtered_4FGL_J0620.5-2512_daily_bin756.fits scfile=/scratch/kocevski/305804/ft2_4FGL_J0620.5-2512_daily_bin756.fits outfile=/scratch/kocevski/305804/cmap_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.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 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/305804/ft1_filtered_4FGL_J0620.5-2512_daily_bin756.fits scfile=/scratch/kocevski/305804/ft2_4FGL_J0620.5-2512_daily_bin756.fits outfile=/scratch/kocevski/305804/cmap_HighResolution_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.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 0.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/305804/ft1_filtered_4FGL_J0620.5-2512_daily_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/305804/ft2_4FGL_J0620.5-2512_daily_bin756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/305804/Model_4FGL_J0620.5-2512_daily_bin756.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/305804/ft1_filtered_4FGL_J0620.5-2512_daily_bin756.fits.....................!
real 101.66
user 100.30
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/305804/ft1_filtered_4FGL_J0620.5-2512_daily_bin756.fits', '/scratch/kocevski/305804/ft2_4FGL_J0620.5-2512_daily_bin756.fits', expMap='/scratch/kocevski/305804/expmap_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.fits', expCube='/scratch/kocevski/305804/ltcube_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/305804/Model_4FGL_J0620.5-2512_daily_bin756.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/305804/ft1_filtered_4FGL_J0620.5-2512_daily_bin756.fits
Spacecraft file(s): /scratch/kocevski/305804/ft2_4FGL_J0620.5-2512_daily_bin756.fits
Exposure map: /scratch/kocevski/305804/expmap_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.fits
Exposure cube: /scratch/kocevski/305804/ltcube_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/305804/Model_4FGL_J0620.5-2512_daily_bin756.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) = 7192.5100022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0396       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.942       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .40485E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0872       1.0000         .10000E-03   10000.    
     8 'Prefactor '    62.191       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.208       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.4081       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.5129       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10252E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .31991       1.0000         .10000E-03   10000.    
    23 'Prefactor '    13.377       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.9323       1.0000         .10000E-03   10000.    
    25 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    32.258       1.0000         .10000E-03   10000.    
    27 'norm      '    .87597       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .95204       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .94026       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=   7192.496     FROM MIGRAD    STATUS=CONVERGED    731 CALLS     3725 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0390        2.7904        .24135E-06   -.10277E-03
   2  norm          .10000E-03    9.2092       -.44744E-08** at limit **
   3  norm          .10000E-03    4.6459       -.71685E-07** at limit **
   4  Prefactor     .10000E-03    4.0316       -.10103E-06** at limit **
   5  Prefactor     14.941        13.212        .42027E-06   -.15555E-03
   6  Prefactor     .10005E-03    848.72        .76965E-04** at limit **
   7  Prefactor     5.0876        19.566        .26650E-05   -.11134E-03
   8  Prefactor     62.225        53.331       -.31367E-05   -.12251E-03
   9  Prefactor     12.203        26.304        .16318E-05   -.14378E-04
  10  Prefactor     .10000E-03    34.271        .91424E-07** at limit **
  11  norm          4.4078        6.6993        .80566E-07   -.28782E-03
  12  Prefactor     .10000E-03    8.7478        .19268E-06** at limit **
  13  Prefactor     .10000E-03    6.1540        .45414E-06** at limit **
  14  Prefactor     .10000E-03    6.9849       -.46854E-06** at limit **
  15  norm          6.5143        46.290        .27858E-05   -.35652E-05
  16  Prefactor     .10000E-03    3.2431        .36801E-09** at limit **
  17  norm          .10000E-03    4.1657        .11725E-05** at limit **
  18  norm          .10000E-03    .39029        .54415E-08** at limit **
  19  norm          .10000E-03    3.0040        .15050E-07** at limit **
  20  Prefactor     .10000E-03    2.4263        .64053E-07** at limit **
  21  norm          .10000E-03    30.566        .32256E-05** at limit **
  22  norm          .27604        10.089       -.84083E-06   -.65139E-03
  23  Prefactor     13.370        14.024        .16705E-06   -.97136E-04
  24  Prefactor     2.9513        4.8731        .38684E-05   -.10003E-02
  25  norm          .10000E-03    37.610       -.33425E-05** at limit **
  26  norm          32.285        61.890       -.93123E-06   -.19978E-04
  27  norm          .87528        2.8059        .90182E-06   -.12287E-04
  28  Normalizat    .95209        .23405       -.24173E-05   -.64499E-03
  29  Prefactor     .94030        .87680E-01   -.19347E-05   -.14868E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 4.03902
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.9409
  Prefactor  = 0.000100047
  Prefactor  = 5.08761
  Prefactor  = 62.2247
  Prefactor  = 12.2026
  Prefactor  = 0.0001
  norm       = 4.40777
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.51427
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.276042
  Prefactor  = 13.3695
  Prefactor  = 2.95126
  norm       = 0.0001
  norm       = 32.2848
  norm       = 0.875284
  Normalizat = 0.952092
  Prefactor  = 0.9403
 **********
 **   18 **HESSE 
 **********

 FCN=   7192.496     FROM HESSE     STATUS=OK           551 CALLS     4276 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0390        2.8007        .11181E-03   -1.5306    
   2  norm          .10000E-03    9.2097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.6527        .17853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.0471        .16617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.941        13.216        .10361E-03   -1.4935    
   6  Prefactor     .10005E-03    839.97        .38959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0876        19.456        .89132E-03   -1.5257    
   8  Prefactor     62.225        53.524        .50882E-04   -1.4129    
   9  Prefactor     12.203        26.335        .11465E-03   -1.5009    
  10  Prefactor     .10000E-03    34.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.4078        6.6598        .19182E-03   -1.5288    
  12  Prefactor     .10000E-03    8.7630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.9842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.5143        46.207        .15726E-03   -1.5197    
  16  Prefactor     .10000E-03    3.2522        .14909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    16.366        .33148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .39068        .51739E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.0063        .14354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4418        .12895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    31.482        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .27604        124.12        .41757E-02   -1.5603    
  23  Prefactor     13.370        13.994        .10951E-03   -1.4977    
  24  Prefactor     2.9513        6.0068        .10282E-02   -1.5364    
  25  norm          .10000E-03    37.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          32.285        61.900        .70549E-04   -1.4571    
  27  norm          .87528        2.8006        .23969E-03   -1.5521    
  28  Normalizat    .95209        .25652        .41067E-03   -.94653    
  29  Prefactor     .94030        .95567E-01    .15154E-03   -.94747    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34453e-08
Minuit parameter uncertainties:
  1  2.80075
  2  1.83322e-06
  3  3.54309e-06
  4  3.8258e-06
  5  13.2183
  6  0.0126964
  7  19.48
  8  53.5655
  9  26.3603
  10  4.26742e-06
  11  6.66095
  12  5.27104e-06
  13  3.59533e-05
  14  1.02241e-05
  15  34.7367
  16  4.70644e-06
  17  0.000430071
  18  6.99558e-07
  19  4.09125e-06
  20  1.04268e-05
  21  0.000200302
  22  11.7293
  23  13.9973
  24  6.00803
  25  6.89891e-05
  26  62.0235
  27  2.80105
  28  0.256849
  29  0.0955841
Done.

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

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  4.408e+00  6.661e+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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.403e-01  9.558e-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:  9.521e-01  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/305804/likelihoodResults_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.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) = 7192.31915727
delta logL = 0.177200158462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7192.31823515
delta logL = 0.1781222814

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0239       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3229       1.0000          .0000       5.0000    
     3 'Normalizat'    .92680       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94468       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=   7192.318     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      302 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0228        6.5854        .16617E-03    .79398E-03
   2  alpha         3.3224        1.4863        .25280E-01    .56129E-04
   3  Normalizat    .92694        .23539        .41563E-03   -.49080E-03
   4  Prefactor     .94468        .84512E-01    .15121E-03   -.12164E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 3.02283
  alpha      = 3.32239
  Normalizat = 0.926938
  Prefactor  = 0.944677
 **********
 **   18 **HESSE 
 **********

 FCN=   7192.318     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0228        5.4385        .66467E-05   -1.5360    
   2  alpha         3.3224        1.2561        .10112E-02    .33520    
   3  Normalizat    .92694        .23537        .83126E-04   -.95520    
   4  Prefactor     .94468        .84479E-01    .30243E-04   -.94597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28468e-09
Minuit parameter uncertainties:
  1  5.43936
  2  1.32451
  3  0.235632
  4  0.0844906
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/305804': 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) = 7192.31823449
delta logL = 0.178122937443

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  3.023e+00  5.439e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  3.322e+00  1.325e+00  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:  9.447e-01  8.449e-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:  9.269e-01  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.01
Ra Dec: 95.144 -25.213
Photon Index (Free Index): 3.32 +/- 1.32
Photon Flux (Free Index): 5.26e-08 +/- 6.99e-08
Energy Flux (Free Index): 1.07e-05 +/- 1.28e-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/305804/cmap_HighResolution_435283201_435542401_4FGL_J0620.5-2512_daily_bin756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.90e-05', comment='SUCCESS', energy_flux2='1.07e-05', dlogl='1.78e-01', photon_flux2='5.26e-08', job_status='DONE', time_completed='2021-08-24 21:59:32.374608', photon_index_error2='1.32', photon_index2='3.32', ts='0.62', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='1.28e-05', EG='0.95', time_epoch_completed='1629867572.37', return_code='0', job_id='305804', GAL2='0.94', EG2='0.93', return_code2='0', photon_flux_error2='6.99e-08', ts2='1.01', photon_index='2.55' WHERE bin_id='756' AND source_name='4FGL J0620.5-2512' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 21:59:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 305804: <4FGL_J0620.5-2512_daily_bin756> in cluster <slac> Done

Job <4FGL_J0620.5-2512_daily_bin756> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 24 21:45:31 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 21:45:32 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:45:32 2021
Terminated at Tue Aug 24 21:59:33 2021
Results reported at Tue Aug 24 21:59:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0620.5-2512_daily_bin756 95.1445 -25.2129 435283201 435542401 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 :                                   826.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            842 sec.

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

