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


Performing analysis on: 4FGL_J0620.5-2512_daily_bin1025
RA = 95.1445, Dec = -25.2129
tmin = 505008001, tmax = 505267201
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='307480', job_status='RUN', time_executed='2021-08-24 21:52:44.726413', time_epoch_executed='1629867164.73' WHERE source_name='4FGL J0620.5-2512' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307480

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307480/ft1_4FGL_J0620.5-2512_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307480/ft2_4FGL_J0620.5-2512_daily_bin1025.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307480/ft1_4FGL_J0620.5-2512_daily_bin1025.fits outfile=/scratch/kocevski/307480/ft1_filteredMKT_4FGL_J0620.5-2512_daily_bin1025.fits ra=95.1445 dec=-25.2129 rad=12.0 tmin=505008001.0 tmax=505267201.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.76
user 3.33
sys 0.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307480/ft2_4FGL_J0620.5-2512_daily_bin1025.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/307480/ft1_filteredMKT_4FGL_J0620.5-2512_daily_bin1025.fits evtable="EVENTS" outfile="/scratch/kocevski/307480/ft1_filtered_4FGL_J0620.5-2512_daily_bin1025.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.68
user 0.26
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307480/ft1_filtered_4FGL_J0620.5-2512_daily_bin1025.fits" evtable="EVENTS" scfile=/scratch/kocevski/307480/ft2_4FGL_J0620.5-2512_daily_bin1025.fits sctable="SC_DATA" outfile=/scratch/kocevski/307480/ltcube_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.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/307480/ft2_4FGL_J0620.5-2512_daily_bin1025.fits
.....................!
real 9.31
user 8.72
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307480/ft1_filtered_4FGL_J0620.5-2512_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/307480/ft2_4FGL_J0620.5-2512_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/307480/ltcube_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.fits outfile=/scratch/kocevski/307480/expmap_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.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/307480/ltcube_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.fits
.....................!
real 141.46
user 136.71
sys 4.47

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/307480/ft1_filtered_4FGL_J0620.5-2512_daily_bin1025.fits scfile=/scratch/kocevski/307480/ft2_4FGL_J0620.5-2512_daily_bin1025.fits outfile=/scratch/kocevski/307480/cmap_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.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.69
user 0.30
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307480/ft1_filtered_4FGL_J0620.5-2512_daily_bin1025.fits scfile=/scratch/kocevski/307480/ft2_4FGL_J0620.5-2512_daily_bin1025.fits outfile=/scratch/kocevski/307480/cmap_HighResolution_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.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.68
user 0.29
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/307480/ft1_filtered_4FGL_J0620.5-2512_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/307480/ft2_4FGL_J0620.5-2512_daily_bin1025.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/307480/Model_4FGL_J0620.5-2512_daily_bin1025.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/307480/ft1_filtered_4FGL_J0620.5-2512_daily_bin1025.fits.....................!
real 93.18
user 89.60
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/307480/ft1_filtered_4FGL_J0620.5-2512_daily_bin1025.fits', '/scratch/kocevski/307480/ft2_4FGL_J0620.5-2512_daily_bin1025.fits', expMap='/scratch/kocevski/307480/expmap_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.fits', expCube='/scratch/kocevski/307480/ltcube_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/307480/Model_4FGL_J0620.5-2512_daily_bin1025.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/307480/ft1_filtered_4FGL_J0620.5-2512_daily_bin1025.fits
Spacecraft file(s): /scratch/kocevski/307480/ft2_4FGL_J0620.5-2512_daily_bin1025.fits
Exposure map: /scratch/kocevski/307480/expmap_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.fits
Exposure cube: /scratch/kocevski/307480/ltcube_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/307480/Model_4FGL_J0620.5-2512_daily_bin1025.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8673.17624339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.5704       1.0000         .10000E-03   10000.    
     3 'norm      '    16.398       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .43983E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2347       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11888E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .95797       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.185       1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.442       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10802E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10300E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.658       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12035E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .12288E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7502       1.0000         .10000E-03   10000.    
    17 'norm      '    .10038E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    1.5324       1.0000         .10000E-03   10000.    
    19 'norm      '    3.3986       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .79135E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    11.053       1.0000         .10000E-03   10000.    
    22 'norm      '    11.376       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .18213E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.8535       1.0000         .10000E-03   10000.    
    25 'norm      '    1.0154       1.0000         .10000E-03   10000.    
    26 'norm      '    2.9302       1.0000         .10000E-03   10000.    
    27 'norm      '    .20446       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .82299       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .92756       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=   8673.013     FROM MIGRAD    STATUS=CONVERGED    785 CALLS     3331 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50982       -.35946E-08** at limit **
   2  norm          6.5426        24.378        .68928E-06    .40658E-05
   3  norm          16.403        12.212       -.16060E-07   -.42855E-04
   4  Prefactor     .10001E-03    5.4948        .40742E-06** at limit **
   5  Prefactor     5.2405        8.4483        .24129E-05    .51882E-03
   6  Prefactor     .10000E-03    31.673       -.13515E-06** at limit **
   7  Prefactor     .99310        8.9620       -.79204E-06    .41375E-04
   8  Prefactor     10.191        18.093       -.74927E-06   -.18765E-04
   9  Prefactor     26.403        22.701        .80425E-06    .35422E-04
  10  Prefactor     .10000E-03    19.142       -.50749E-06** at limit **
  11  norm          .10000E-03    4.1129        .45197E-06** at limit **
  12  Prefactor     .10000E-03    4.8805       -.40649E-09** at limit **
  13  Prefactor     12.657        7.1411        .12216E-06    .25088E-04
  14  Prefactor     .10000E-03    17.127        .16708E-06** at limit **
  15  norm          .10000E-03    19.682       -.56377E-07** at limit **
  16  Prefactor     2.7496        2.9753       -.64208E-08   -.18512E-04
  17  norm          .10004E-03    2.5838       -.47310E-06** at limit **
  18  norm          1.5324        1.1772        .31020E-08    .19358E-03
  19  norm          3.3955        8.7520        .64575E-06    .19356E-03
  20  Prefactor     .10005E-03    2.4352       -.52738E-06** at limit **
  21  norm          11.084        12.586        .44808E-06    .38614E-03
  22  norm          11.378        10.176        .56353E-07    .31402E-04
  23  Prefactor     .11853E-03    9.1993       -.18724E-05** at limit **
  24  Prefactor     3.8530        3.9240        .11810E-06    .10034E-03
  25  norm          1.0364        52.309       -.61612E-05    .18661E-03
  26  norm          3.0135        136.35        .11810E-04    .24500E-04
  27  norm          .20450        2.0884        .12332E-05    .43542E-03
  28  Normalizat    .82350        .18439       -.57765E-06    .59590E-04
  29  Prefactor     .92743        .73177E-01   -.44573E-06    .37096E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.54258
  norm       = 16.4033
  Prefactor  = 0.000100011
  Prefactor  = 5.24045
  Prefactor  = 0.0001
  Prefactor  = 0.993098
  Prefactor  = 10.1911
  Prefactor  = 26.4033
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6571
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.74958
  norm       = 0.000100038
  norm       = 1.53244
  norm       = 3.39551
  Prefactor  = 0.000100048
  norm       = 11.0837
  norm       = 11.3777
  Prefactor  = 0.00011853
  Prefactor  = 3.85298
  norm       = 1.03638
  norm       = 3.01352
  norm       = 0.204501
  Normalizat = 0.823498
  Prefactor  = 0.92743
 **********
 **   18 **HESSE 
 **********

 FCN=   8673.013     FROM HESSE     STATUS=OK           595 CALLS     3926 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .51387        .64896E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.5426        24.387        .15656E-03   -1.5196    
   3  norm          16.403        12.219        .98907E-04   -1.4898    
   4  Prefactor     .10001E-03    8.6738        .54840E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.2405        8.5733        .87844E-03   -1.5250    
   6  Prefactor     .10000E-03    31.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .99310        66.944        .48197E-02   -1.5509    
   8  Prefactor     10.191        18.083        .12555E-03   -1.5069    
   9  Prefactor     26.403        22.798        .77906E-04   -1.4680    
  10  Prefactor     .10000E-03    19.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    15.283        .33625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.8896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.657        6.7038        .11259E-03   -1.4996    
  14  Prefactor     .10000E-03    17.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    19.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.7496        2.9790        .16295E-03   -1.5376    
  17  norm          .10004E-03    31.641        .27736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.5324        1.1725        .85013E-04   -1.5460    
  19  norm          3.3955        8.1198        .21946E-03   -1.5339    
  20  Prefactor     .10005E-03    29.727        .24557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          11.084        12.692        .60254E-03   -1.5042    
  22  norm          11.378        10.077        .11878E-03   -1.5033    
  23  Prefactor     .11853E-03    8.8436        .79595E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.8530        3.8732        .13985E-03   -1.5315    
  25  norm          1.0364        39.875        .17311       -1.5504    
  26  norm          3.0135        137.32        .23730E-03   -1.5361    
  27  norm          .20450        2.1531        .25781E-03   -1.5618    
  28  Normalizat    .82350        .19492        .38599E-03   -.99203    
  29  Prefactor     .92743        .78531E-01    .14604E-03   -.95189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.82823e-09
Minuit parameter uncertainties:
  1  1.79965e-07
  2  24.4238
  3  12.2213
  4  0.000617381
  5  8.57533
  6  1.30229e-06
  7  16.3256
  8  18.093
  9  22.8053
  10  4.64506e-05
  11  4.91171e-05
  12  2.43447e-06
  13  6.70423
  14  1.02379e-05
  15  3.92248e-06
  16  2.97912
  17  0.00218705
  18  1.17249
  19  8.12247
  20  0.00238928
  21  12.695
  22  10.0789
  23  0.0256062
  24  3.87343
  25  12.8656
  26  40.7848
  27  1.32686
  28  0.195084
  29  0.0785405
Done.

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

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  1.000e-04  4.912e-05  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.274e-01  7.854e-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:  8.235e-01  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 95.144 -25.213
Photon Flux Upper Limit: 8.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.46e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/307480/likelihoodResults_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.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) = 8673.01367262
delta logL = -0.000310047553285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8673.01336354
delta logL = -9.62336343946e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13785E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5015       1.0000          .0000       5.0000    
     3 'Normalizat'    .82356       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92742       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8673.013     FROM MIGRAD    STATUS=FAILED        97 CALLS      263 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10603E-03    1286.8        .34460E-02** at limit **
   2  alpha         2.1417        2.5890        .16461        .20116E-05
   3  Normalizat    .82350        .39491E-01    .38599E-03    .30042E-03
   4  Prefactor     .92743        .15899E-01    .14604E-03    .61499E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8673.013     FROM SIMPLEX   STATUS=UNCHANGED    147 CALLS      410 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10603E-03    1286.8        .92550E-03** at limit **
   2  alpha         2.1417        2.5890        .20108E-04    .20116E-05
   3  Normalizat    .82350        .39491E-01    .49528E-06    .30042E-03
   4  Prefactor     .92743        .15899E-01    .14584E-06    .61499E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8673.013     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      450 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    35.921        .68921E-03** at limit **
   2  alpha         2.0761        2.7060        .65843E-01    .12777E-07
   3  Normalizat    .82350        .17903        .15440E-04   -.49128E-03
   4  Prefactor     .92743        .72151E-01    .29208E-04   -.13720E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.07608
  Normalizat = 0.823498
  Prefactor  = 0.927429
 **********
 **   18 **HESSE 
 **********

 FCN=   8673.013     FROM HESSE     STATUS=OK            23 CALLS      473 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    26.780        .13784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0761        2.9131        .26337E-02   -.17039    
   3  Normalizat    .82350        .17911        .30879E-05   -.99203    
   4  Prefactor     .92743        .72170E-01    .58415E-05   -.95189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.372e-10
Minuit parameter uncertainties:
  1  0.000175188
  2  294.999
  3  0.179235
  4  0.0721779
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307480': 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) = 8673.0133612
delta logL = 1.36938979267e-06

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  1.000e-04  1.752e-04  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  2.076e+00  2.950e+02  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.274e-01  7.218e-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:  8.235e-01  1.792e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 95.144 -25.213

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/307480/cmap_HighResolution_505008001_505267201_4FGL_J0620.5-2512_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.46e-05', job_status='DONE', photon_flux_upper_limit='8.05e-08', time_completed='2021-08-24 22:04:54.195013', job_id='307480', GAL2='0.93', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1629867894.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.37e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1025' AND source_name='4FGL J0620.5-2512' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:04:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 307480: <4FGL_J0620.5-2512_daily_bin1025> in cluster <slac> Done

Job <4FGL_J0620.5-2512_daily_bin1025> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 24 21:50:49 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 21:50:51 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:51 2021
Terminated at Tue Aug 24 22:04:54 2021
Results reported at Tue Aug 24 22:04:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0620.5-2512_daily_bin1025 95.1445 -25.2129 505008001 505267201 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 :                                   725.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            845 sec.

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

