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


Performing analysis on: 4FGL_J0620.5-2512_daily_bin1339
RA = 95.1445, Dec = -25.2129
tmin = 586396801, tmax = 586656001
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='309067', job_status='RUN', time_executed='2021-08-24 21:56:55.617033', time_epoch_executed='1629867415.62' WHERE source_name='4FGL J0620.5-2512' and cadence='daily' and bin_id='1339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309067

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309067/ft1_4FGL_J0620.5-2512_daily_bin1339.fits


Retrieving the FT1 file...

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

Retrieving 31 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309067/ft2_4FGL_J0620.5-2512_daily_bin1339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309067/ft1_4FGL_J0620.5-2512_daily_bin1339.fits outfile=/scratch/kocevski/309067/ft1_filteredMKT_4FGL_J0620.5-2512_daily_bin1339.fits ra=95.1445 dec=-25.2129 rad=12.0 tmin=586396801.0 tmax=586656001.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.52
user 2.39
sys 1.03

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309067/ft1_filtered_4FGL_J0620.5-2512_daily_bin1339.fits" evtable="EVENTS" scfile=/scratch/kocevski/309067/ft2_4FGL_J0620.5-2512_daily_bin1339.fits sctable="SC_DATA" outfile=/scratch/kocevski/309067/ltcube_586396801_586656001_4FGL_J0620.5-2512_daily_bin1339.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/309067/ft2_4FGL_J0620.5-2512_daily_bin1339.fits
.....................!
real 9.63
user 8.09
sys 1.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309067/ft1_filtered_4FGL_J0620.5-2512_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/309067/ft2_4FGL_J0620.5-2512_daily_bin1339.fits sctable="SC_DATA" expcube=/scratch/kocevski/309067/ltcube_586396801_586656001_4FGL_J0620.5-2512_daily_bin1339.fits outfile=/scratch/kocevski/309067/expmap_586396801_586656001_4FGL_J0620.5-2512_daily_bin1339.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/309067/ltcube_586396801_586656001_4FGL_J0620.5-2512_daily_bin1339.fits
.....................!
real 191.23
user 184.98
sys 5.68

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/309067/ft1_filtered_4FGL_J0620.5-2512_daily_bin1339.fits scfile=/scratch/kocevski/309067/ft2_4FGL_J0620.5-2512_daily_bin1339.fits outfile=/scratch/kocevski/309067/cmap_586396801_586656001_4FGL_J0620.5-2512_daily_bin1339.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.42
user 0.38
sys 0.98

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309067/ft1_filtered_4FGL_J0620.5-2512_daily_bin1339.fits scfile=/scratch/kocevski/309067/ft2_4FGL_J0620.5-2512_daily_bin1339.fits outfile=/scratch/kocevski/309067/cmap_HighResolution_586396801_586656001_4FGL_J0620.5-2512_daily_bin1339.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.51
user 0.37
sys 0.99

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/309067/ft1_filtered_4FGL_J0620.5-2512_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/309067/ft2_4FGL_J0620.5-2512_daily_bin1339.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/309067/Model_4FGL_J0620.5-2512_daily_bin1339.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/309067/ft1_filtered_4FGL_J0620.5-2512_daily_bin1339.fits.....................!
real 89.63
user 87.00
sys 2.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    50.558       1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .19464E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27879       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    56.245       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.6796       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .25288E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.918       1.0000         .10000E-03   10000.    
    17 'norm      '    .26319E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.5315       1.0000         .10000E-03   10000.    
    19 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.390       1.0000         .10000E-03   10000.    
    21 'norm      '    23.535       1.0000         .10000E-03   10000.    
    22 'norm      '    12.305       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.5191       1.0000         .10000E-03   10000.    
    25 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0472       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .95847       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=   6228.866     FROM MIGRAD    STATUS=CONVERGED    716 CALLS     3142 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8911       -.90765E-07** at limit **
   2  norm          50.546        35.349        .19385E-05    .18220E-03
   3  norm          .10000E-03    4.5908        .35913E-07** at limit **
   4  Prefactor     .10002E-03    7.6408        .12961E-05** at limit **
   5  Prefactor     .26565        11.824       -.32008E-05    .43364E-03
   6  Prefactor     .10000E-03    67.287        .23165E-05** at limit **
   7  Prefactor     .10000E-03    18.410       -.10911E-05** at limit **
   8  Prefactor     56.229        41.954        .26997E-05    .21406E-03
   9  Prefactor     .10000E-03    24.513        .90894E-06** at limit **
  10  Prefactor     .10000E-03    41.600       -.32924E-05** at limit **
  11  norm          .10000E-03    3.3677       -.13312E-06** at limit **
  12  Prefactor     .10000E-03    24.137        .46341E-06** at limit **
  13  Prefactor     5.6799        5.3805        .91671E-06   -.15591E-03
  14  Prefactor     .10000E-03    24.486        .81756E-06** at limit **
  15  norm          .10028E-03    24.348       -.42797E-05** at limit **
  16  Prefactor     11.920        9.0119       -.63957E-07    .93971E-04
  17  norm          .10001E-03    13.979       -.42263E-05** at limit **
  18  norm          1.5314        1.4926       -.28055E-07   -.86103E-04
  19  norm          .10000E-03    8.9896       -.39847E-06** at limit **
  20  Prefactor     10.384        7.4438       -.57460E-07    .27282E-04
  21  norm          23.535        14.240        .16263E-08    .18699E-04
  22  norm          12.304        10.325        .75610E-07   -.36210E-04
  23  Prefactor     .10000E-03    8.0170        .43668E-07** at limit **
  24  Prefactor     3.5184        4.6197       -.42689E-06   -.83496E-04
  25  norm          .10000E-03    23.221       -.14474E-06** at limit **
  26  norm          .10000E-03    18.295       -.64263E-06** at limit **
  27  norm          .10000E-03    1.1974       -.52002E-07** at limit **
  28  Normalizat    1.0474        .24131        .28126E-06    .14031E-03
  29  Prefactor     .95847        .88426E-01   -.15442E-07    .14560E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 50.5455
  norm       = 0.0001
  Prefactor  = 0.000100022
  Prefactor  = 0.265651
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 56.2292
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.6799
  Prefactor  = 0.0001
  norm       = 0.000100282
  Prefactor  = 11.9201
  norm       = 0.000100007
  norm       = 1.53144
  norm       = 0.0001
  Prefactor  = 10.3836
  norm       = 23.5349
  norm       = 12.3043
  Prefactor  = 0.0001
  Prefactor  = 3.51842
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.04736
  Prefactor  = 0.958473
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.866     FROM HESSE     STATUS=OK           553 CALLS     3695 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3068        .20572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          50.546        35.683        .56401E-04   -1.4285    
   3  norm          .10000E-03    4.5929        .16515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    70.612        .38658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .26565        133.84        .40536E-02   -1.5605    
   6  Prefactor     .10000E-03    67.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     56.229        42.809        .26744E-03   -1.4207    
   9  Prefactor     .10000E-03    24.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    42.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.3825        .14147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.6799        5.5076        .84275E-03   -1.5231    
  14  Prefactor     .10000E-03    24.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10028E-03    133.68        .62489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.920        8.9371        .11604E-03   -1.5017    
  17  norm          .10001E-03    15.080        .36002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.5314        1.5015        .91664E-04   -1.5460    
  19  norm          .10000E-03    9.0245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.384        7.3934        .12430E-03   -1.5063    
  21  norm          23.535        14.234        .82569E-04   -1.4737    
  22  norm          12.304        10.272        .11419E-03   -1.5006    
  23  Prefactor     .10000E-03    8.0365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.5184        4.5951        .16685E-03   -1.5333    
  25  norm          .10000E-03    23.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    18.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    1.2053        .84323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0474        .24928        .39659E-03   -.91460    
  29  Prefactor     .95847        .95762E-01    .15787E-03   -.94127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42758e-08
Minuit parameter uncertainties:
  1  9.28378e-06
  2  35.698
  3  1.35924e-06
  4  0.0025194
  5  11.9502
  6  0.000400657
  7  9.56087e-05
  8  42.8323
  9  8.61463e-05
  10  0.000515994
  11  1.99573e-05
  12  1.16528e-05
  13  5.50811
  14  6.05765e-05
  15  0.012302
  16  8.93812
  17  0.000671249
  18  1.50154
  19  4.33428e-05
  20  7.39406
  21  14.2357
  22  10.2732
  23  2.71585e-06
  24  4.59558
  25  1.63814e-05
  26  6.33775e-05
  27  7.81387e-07
  28  0.249562
  29  0.0957789
Done.

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

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  1.000e-04  1.996e-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.585e-01  9.578e-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.047e+00  2.496e-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: 9.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/309067/likelihoodResults_586396801_586656001_4FGL_J0620.5-2512_daily_bin1339.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) = 6228.86776757
delta logL = -0.00140719966112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6228.86636036
delta logL = 1.47483660839e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5383       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0473       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95847       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=   6228.866     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      237 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    829.89        .14178E-02** at limit **
   2  alpha         2.2427        3.2087        .16463       -.22098E-08
   3  Normalizat    1.0474        .21147        .39659E-03    .60859E-04
   4  Prefactor     .95847        .81555E-01    .15787E-03    .16600E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.24275
  Normalizat = 1.04735
  Prefactor  = 0.958474
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.866     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.5344        .28355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2427        3.8685        .65852E-02   -.10308    
   3  Normalizat    1.0474        .23727        .15863E-04   -.91460    
   4  Prefactor     .95847        .91533E-01    .31575E-04   -.94127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26765e-11
Minuit parameter uncertainties:
  1  3.49249e-06
  2  277.397
  3  0.23751
  4  0.091548
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309067': 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) = 6228.86635974
delta logL = 6.33251147519e-07

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  1.000e-04  3.492e-06  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  2.243e+00  2.774e+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.585e-01  9.155e-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.047e+00  2.375e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/309067/cmap_HighResolution_586396801_586656001_4FGL_J0620.5-2512_daily_bin1339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.79e-05', job_status='DONE', photon_flux_upper_limit='9.14e-08', time_completed='2021-08-24 22:09:01.946634', job_id='309067', GAL2='0.96', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1629868141.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='6.33e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1339' AND source_name='4FGL J0620.5-2512' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:09:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 309067: <4FGL_J0620.5-2512_daily_bin1339> in cluster <slac> Done

Job <4FGL_J0620.5-2512_daily_bin1339> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 21:55:53 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 21:55:54 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:55:54 2021
Terminated at Tue Aug 24 22:09:03 2021
Results reported at Tue Aug 24 22:09:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0620.5-2512_daily_bin1339 95.1445 -25.2129 586396801 586656001 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 :                                   734.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            790 sec.

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

