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


Performing analysis on: 4FGL_J0620.5-2512_daily_bin771
RA = 95.1445, Dec = -25.2129
tmin = 439171201, tmax = 439430401
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='305827', job_status='RUN', time_executed='2021-08-24 21:46:27.053250', time_epoch_executed='1629866787.05' WHERE source_name='4FGL J0620.5-2512' and cadence='daily' and bin_id='771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/305827

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/305827/ft1_4FGL_J0620.5-2512_daily_bin771.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/305827/ft2_4FGL_J0620.5-2512_daily_bin771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/305827/ft1_4FGL_J0620.5-2512_daily_bin771.fits outfile=/scratch/kocevski/305827/ft1_filteredMKT_4FGL_J0620.5-2512_daily_bin771.fits ra=95.1445 dec=-25.2129 rad=12.0 tmin=439171201.0 tmax=439430401.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 7.85
user 5.21
sys 2.61

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/305827/ft2_4FGL_J0620.5-2512_daily_bin771.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/305827/ft1_filteredMKT_4FGL_J0620.5-2512_daily_bin771.fits evtable="EVENTS" outfile="/scratch/kocevski/305827/ft1_filtered_4FGL_J0620.5-2512_daily_bin771.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 2.80
user 0.31
sys 2.47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/305827/ft1_filtered_4FGL_J0620.5-2512_daily_bin771.fits" evtable="EVENTS" scfile=/scratch/kocevski/305827/ft2_4FGL_J0620.5-2512_daily_bin771.fits sctable="SC_DATA" outfile=/scratch/kocevski/305827/ltcube_439171201_439430401_4FGL_J0620.5-2512_daily_bin771.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/305827/ft2_4FGL_J0620.5-2512_daily_bin771.fits
.....................!
real 14.17
user 11.29
sys 2.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/305827/ft1_filtered_4FGL_J0620.5-2512_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/305827/ft2_4FGL_J0620.5-2512_daily_bin771.fits sctable="SC_DATA" expcube=/scratch/kocevski/305827/ltcube_439171201_439430401_4FGL_J0620.5-2512_daily_bin771.fits outfile=/scratch/kocevski/305827/expmap_439171201_439430401_4FGL_J0620.5-2512_daily_bin771.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/305827/ltcube_439171201_439430401_4FGL_J0620.5-2512_daily_bin771.fits
.....................!
real 194.52
user 186.87
sys 7.31

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/305827/ft1_filtered_4FGL_J0620.5-2512_daily_bin771.fits scfile=/scratch/kocevski/305827/ft2_4FGL_J0620.5-2512_daily_bin771.fits outfile=/scratch/kocevski/305827/cmap_439171201_439430401_4FGL_J0620.5-2512_daily_bin771.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 2.80
user 0.36
sys 2.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/305827/ft1_filtered_4FGL_J0620.5-2512_daily_bin771.fits scfile=/scratch/kocevski/305827/ft2_4FGL_J0620.5-2512_daily_bin771.fits outfile=/scratch/kocevski/305827/cmap_HighResolution_439171201_439430401_4FGL_J0620.5-2512_daily_bin771.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 2.82
user 0.38
sys 2.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/305827/ft1_filtered_4FGL_J0620.5-2512_daily_bin771.fits evtable="EVENTS" scfile=/scratch/kocevski/305827/ft2_4FGL_J0620.5-2512_daily_bin771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/305827/Model_4FGL_J0620.5-2512_daily_bin771.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/305827/ft1_filtered_4FGL_J0620.5-2512_daily_bin771.fits.....................!
real 93.96
user 89.52
sys 4.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44701E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4541       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1911       1.0000         .10000E-03   10000.    
     6 'Prefactor '    88.121       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    39.899       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.3486       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10828E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .93342       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.511       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    150.87       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    15.187       1.0000         .10000E-03   10000.    
    18 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10193E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.3177       1.0000         .10000E-03   10000.    
    21 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .73196E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    46.289       1.0000         .10000E-03   10000.    
    27 'norm      '    5.7646       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2768       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .78186       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=   6177.840     FROM MIGRAD    STATUS=CONVERGED    761 CALLS     3779 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.6147        .69050E-06** at limit **
   2  norm          .10000E-03    9.3309       -.28842E-06** at limit **
   3  norm          .10000E-03    4.1633       -.18447E-06** at limit **
   4  Prefactor     8.4522        10.641        .96792E-06   -.15935E-03
   5  Prefactor     3.1913        14.121       -.16994E-06   -.12759E-03
   6  Prefactor     88.102        85.436       -.11732E-04   -.65480E-04
   7  Prefactor     .10000E-03    23.180       -.15078E-05** at limit **
   8  Prefactor     39.743        56.991       -.28245E-04   -.18042E-03
   9  Prefactor     7.1669        82.936        .25679E-04   -.39313E-04
  10  Prefactor     .10000E-03    35.649        .12598E-05** at limit **
  11  norm          .94989        5.7501        .29847E-05   -.39332E-03
  12  Prefactor     14.505        15.275        .94161E-06   -.10558E-03
  13  Prefactor     .10000E-03    2.8465        .87856E-08** at limit **
  14  Prefactor     .10000E-03    73.687        .85467E-06** at limit **
  15  norm          150.89        60.096        .14467E-04   -.58055E-04
  16  Prefactor     .10000E-03    3.0291       -.99421E-07** at limit **
  17  norm          15.187        9.0179        .11373E-05   -.32314E-04
  18  norm          .10000E-03    .81403       -.64001E-06** at limit **
  19  norm          .10000E-03    17.654       -.75366E-05** at limit **
  20  Prefactor     7.3155        7.6625        .47203E-05    .11703E-03
  21  norm          .10000E-03    13.012       -.13780E-08** at limit **
  22  norm          .10003E-03    5.6751       -.11972E-06** at limit **
  23  Prefactor     .10000E-03    4.8623        .16704E-06** at limit **
  24  Prefactor     .10000E-03    1.0681       -.42365E-07** at limit **
  25  norm          .10000E-03    18.261        .76039E-05** at limit **
  26  norm          46.293        48.291       -.26251E-05   -.10273E-04
  27  norm          5.7647        3.5126       -.36520E-08   -.11213E-03
  28  Normalizat    1.2769        .26892       -.35895E-05   -.32583E-03
  29  Prefactor     .78183        .85580E-01   -.43434E-06   -.34279E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 8.4522
  Prefactor  = 3.19133
  Prefactor  = 88.1015
  Prefactor  = 0.0001
  Prefactor  = 39.7426
  Prefactor  = 7.1669
  Prefactor  = 0.0001
  norm       = 0.949894
  Prefactor  = 14.5051
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 150.894
  Prefactor  = 0.0001
  norm       = 15.1868
  norm       = 0.000100001
  norm       = 0.000100005
  Prefactor  = 7.31549
  norm       = 0.0001
  norm       = 0.000100025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 46.2934
  norm       = 5.76468
  Normalizat = 1.27686
  Prefactor  = 0.781833
 **********
 **   18 **HESSE 
 **********

 FCN=   6177.840     FROM HESSE     STATUS=OK           549 CALLS     4328 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.213        .18608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    9.3311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.1640        .15663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.4522        10.638        .13787E-03   -1.5126    
   5  Prefactor     3.1913        14.030        .22683E-03   -1.5351    
   6  Prefactor     88.102        85.325        .21400E-03   -1.3828    
   7  Prefactor     .10000E-03    23.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     39.743        56.908        .63458E-04   -1.4446    
   9  Prefactor     7.1669        83.514        .14796E-03   -1.5172    
  10  Prefactor     .10000E-03    35.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .94989        19.398        .32899E-02   -1.5513    
  12  Prefactor     14.505        15.258        .10515E-03   -1.4946    
  13  Prefactor     .10000E-03    2.8491        .12945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    75.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          150.89        59.790        .16407E-03   -1.3245    
  16  Prefactor     .10000E-03    3.0319        .13359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          15.187        9.0204        .10277E-03   -1.4928    
  18  norm          .10000E-03    1.3999        .13496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    17.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.3155        7.4604        .14827E-03   -1.5167    
  21  norm          .10000E-03    13.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10003E-03    60.110        .35798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.8652        .16927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    1.0724        .79262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    18.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          46.293        48.328        .58933E-04   -1.4346    
  27  norm          5.7647        3.5234        .11063E-03   -1.5228    
  28  Normalizat    1.2769        .28404        .37470E-03   -.84260    
  29  Prefactor     .78183        .92247E-01    .16384E-03   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51083e-09
Minuit parameter uncertainties:
  1  9.62034e-05
  2  7.71775e-07
  3  3.17094e-06
  4  10.6401
  5  13.3876
  6  85.444
  7  7.92339e-05
  8  56.9856
  9  49.0156
  10  0.000256662
  11  8.58787
  12  15.2622
  13  1.34556e-05
  14  0.000847601
  15  59.8138
  16  2.38421e-05
  17  9.02125
  18  7.54971e-05
  19  0.000590515
  20  7.46133
  21  2.24227e-06
  22  0.00246253
  23  2.19088e-07
  24  1.30871e-06
  25  1.84381e-06
  26  48.3688
  27  3.5235
  28  0.284382
  29  0.0922647
Done.

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

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  9.499e-01  8.588e+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:  7.818e-01  9.226e-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.277e+00  2.844e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/305827/likelihoodResults_439171201_439430401_4FGL_J0620.5-2512_daily_bin771.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) = 6177.78738979
delta logL = 0.0525370306032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6177.77499413
delta logL = 0.0649326896464

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6939       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3220       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2559       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78458       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=   6177.775     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      258 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6821        11.341        .12942E-02   -.50505E-03
   2  alpha         3.3254        3.8767        .39889E-01   -.28986E-04
   3  Normalizat    1.2562        .25520        .37713E-03   -.32386E-03
   4  Prefactor     .78454        .87399E-01    .16355E-03    .21368E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.68213
  alpha      = 3.32538
  Normalizat = 1.25622
  Prefactor  = 0.784536
 **********
 **   18 **HESSE 
 **********

 FCN=   6177.775     FROM HESSE     STATUS=OK            27 CALLS      285 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6821        5.7578        .51766E-04   -1.5449    
   2  alpha         3.3254        1.6977        .15956E-02    .33646    
   3  Normalizat    1.2562        .25526        .75426E-04   -.84883    
   4  Prefactor     .78454        .87458E-01    .32709E-04   -1.0030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18302e-09
Minuit parameter uncertainties:
  1  5.75969
  2  1.89481
  3  0.255515
  4  0.0874731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/305827': 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) = 6177.77499098
delta logL = 0.0649358408864

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  1.682e+00  5.760e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  3.325e+00  1.895e+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:  7.845e-01  8.747e-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.256e+00  2.555e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/305827/cmap_HighResolution_439171201_439430401_4FGL_J0620.5-2512_daily_bin771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-05', job_status='DONE', photon_flux_upper_limit='1.36e-07', time_completed='2021-08-24 21:59:42.729531', job_id='305827', GAL2='0.78', fit_tolerance='1e-08', EG2='1.26', EG='1.28', time_epoch_completed='1629867582.73', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='6.49e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='771' AND source_name='4FGL J0620.5-2512' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 21:59:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 305827: <4FGL_J0620.5-2512_daily_bin771> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0620.5-2512_daily_bin771 95.1445 -25.2129 439171201 439430401 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 :                                   828.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             341.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

