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


Performing analysis on: 4FGL_J0620.5-2512_daily_bin1090
RA = 95.1445, Dec = -25.2129
tmin = 521856001, tmax = 522115201
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='308704', job_status='RUN', time_executed='2021-08-24 21:56:36.645351', time_epoch_executed='1629867396.65' WHERE source_name='4FGL J0620.5-2512' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/308704

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/308704/ft1_4FGL_J0620.5-2512_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/308704/ft2_4FGL_J0620.5-2512_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/308704/ft1_4FGL_J0620.5-2512_daily_bin1090.fits outfile=/scratch/kocevski/308704/ft1_filteredMKT_4FGL_J0620.5-2512_daily_bin1090.fits ra=95.1445 dec=-25.2129 rad=12.0 tmin=521856001.0 tmax=522115201.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.31
user 3.50
sys 1.73

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/308704/ft1_filtered_4FGL_J0620.5-2512_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/308704/ft2_4FGL_J0620.5-2512_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/308704/ltcube_521856001_522115201_4FGL_J0620.5-2512_daily_bin1090.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/308704/ft2_4FGL_J0620.5-2512_daily_bin1090.fits
.....................!
real 14.47
user 12.35
sys 2.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/308704/ft1_filtered_4FGL_J0620.5-2512_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/308704/ft2_4FGL_J0620.5-2512_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/308704/ltcube_521856001_522115201_4FGL_J0620.5-2512_daily_bin1090.fits outfile=/scratch/kocevski/308704/expmap_521856001_522115201_4FGL_J0620.5-2512_daily_bin1090.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/308704/ltcube_521856001_522115201_4FGL_J0620.5-2512_daily_bin1090.fits
.....................!
real 195.36
user 188.42
sys 6.25

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/308704/ft1_filtered_4FGL_J0620.5-2512_daily_bin1090.fits scfile=/scratch/kocevski/308704/ft2_4FGL_J0620.5-2512_daily_bin1090.fits outfile=/scratch/kocevski/308704/cmap_521856001_522115201_4FGL_J0620.5-2512_daily_bin1090.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.08
user 0.39
sys 1.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/308704/ft1_filtered_4FGL_J0620.5-2512_daily_bin1090.fits scfile=/scratch/kocevski/308704/ft2_4FGL_J0620.5-2512_daily_bin1090.fits outfile=/scratch/kocevski/308704/cmap_HighResolution_521856001_522115201_4FGL_J0620.5-2512_daily_bin1090.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.08
user 0.39
sys 1.68

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/308704/ft1_filtered_4FGL_J0620.5-2512_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/308704/ft2_4FGL_J0620.5-2512_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/308704/Model_4FGL_J0620.5-2512_daily_bin1090.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/308704/ft1_filtered_4FGL_J0620.5-2512_daily_bin1090.fits.....................!
real 109.62
user 106.09
sys 3.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0566       1.0000         .10000E-03   10000.    
     2 'norm      '    8.8391       1.0000         .10000E-03   10000.    
     3 'norm      '    27.459       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4945       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.513       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9334       1.0000         .10000E-03   10000.    
    11 'norm      '    2.9367       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.673       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .38163       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.482       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.6785       1.0000         .10000E-03   10000.    
    18 'norm      '    2.9626       1.0000         .10000E-03   10000.    
    19 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.8461       1.0000         .10000E-03   10000.    
    21 'norm      '    7.3571       1.0000         .10000E-03   10000.    
    22 'norm      '    29.462       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    34.722       1.0000         .10000E-03   10000.    
    26 'norm      '    17.310       1.0000         .10000E-03   10000.    
    27 'norm      '    8.7326       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2090       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90831       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=   7545.755     FROM MIGRAD    STATUS=CONVERGED    725 CALLS     3735 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0559        3.2979        .61524E-07   -.57939E-04
   2  norm          8.8422        29.316       -.24001E-06    .13504E-05
   3  norm          27.460        16.411        .79638E-08   -.48205E-06
   4  Prefactor     6.4930        7.4133        .12443E-06    .33075E-05
   5  Prefactor     14.514        11.073       -.83166E-07    .11522E-04
   6  Prefactor     .10000E-03    123.34       -.24852E-06** at limit **
   7  Prefactor     .10000E-03    13.610       -.36328E-06** at limit **
   8  Prefactor     .10000E-03    18.764       -.46943E-07** at limit **
   9  Prefactor     .10000E-03    35.206       -.14506E-06** at limit **
  10  Prefactor     9.9289        44.108        .23146E-06    .37053E-05
  11  norm          2.9570        12.237       -.53259E-06    .10857E-03
  12  Prefactor     26.662        26.739        .42615E-07    .18813E-04
  13  Prefactor     .35482        62.428        .59525E-05    .21327E-04
  14  Prefactor     .10000E-03    19.243       -.14235E-06** at limit **
  15  norm          11.476        34.890       -.25688E-06    .12232E-05
  16  Prefactor     .10000E-03    2.5996        .30779E-07** at limit **
  17  norm          8.6794        7.9981       -.67946E-06   -.16438E-03
  18  norm          2.9627        1.7243        .13838E-07    .63835E-04
  19  norm          .10000E-03    15.869       -.16361E-06** at limit **
  20  Prefactor     3.8455        4.4325        .25691E-07    .13794E-04
  21  norm          7.3575        16.563       -.39645E-06   -.57719E-05
  22  norm          29.463        12.279       -.13401E-06    .19890E-04
  23  Prefactor     .10000E-03    11.876        .19343E-06** at limit **
  24  Prefactor     .10000E-03    5.3437        .10537E-06** at limit **
  25  norm          34.715        70.422       -.15030E-05   -.10738E-05
  26  norm          17.370        96.735        .79388E-05    .18393E-05
  27  norm          8.7339        4.9535       -.18651E-06    .21977E-04
  28  Normalizat    1.2091        .26368       -.17862E-05    .86874E-04
  29  Prefactor     .90822        .97835E-01    .95205E-06   -.28842E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.05587
  norm       = 8.84216
  norm       = 27.4595
  Prefactor  = 6.49301
  Prefactor  = 14.5135
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.92891
  norm       = 2.95695
  Prefactor  = 26.6617
  Prefactor  = 0.354818
  Prefactor  = 0.0001
  norm       = 11.4762
  Prefactor  = 0.0001
  norm       = 8.6794
  norm       = 2.96269
  norm       = 0.0001
  Prefactor  = 3.84554
  norm       = 7.3575
  norm       = 29.4635
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 34.715
  norm       = 17.37
  norm       = 8.73394
  Normalizat = 1.20912
  Prefactor  = 0.908219
 **********
 **   18 **HESSE 
 **********

 FCN=   7545.755     FROM HESSE     STATUS=OK           561 CALLS     4296 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0559        3.3248        .11790E-03   -1.5258    
   2  norm          8.8422        29.318        .13482E-03   -1.5113    
   3  norm          27.460        16.412        .76451E-04   -1.4659    
   4  Prefactor     6.4930        7.4166        .15748E-03   -1.5198    
   5  Prefactor     14.514        11.077        .10514E-03   -1.4946    
   6  Prefactor     .10000E-03    123.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    35.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.9289        44.107        .12714E-03   -1.5078    
  11  norm          2.9570        17.508        .23702E-03   -1.5364    
  12  Prefactor     26.662        26.834        .77568E-04   -1.4675    
  13  Prefactor     .35482        92.774        .38785E-02   -1.5589    
  14  Prefactor     .10000E-03    19.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.476        34.920        .11823E-03   -1.5030    
  16  Prefactor     .10000E-03    2.6031        .13676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.6794        8.0322        .68034E-03   -1.5119    
  18  norm          2.9627        1.7269        .84188E-04   -1.5364    
  19  norm          .10000E-03    16.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.8455        4.4167        .18667E-03   -1.5316    
  21  norm          7.3575        16.550        .14787E-03   -1.5165    
  22  norm          29.463        12.285        .73812E-04   -1.4622    
  23  Prefactor     .10000E-03    11.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    5.5332        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          34.715        70.330        .68007E-04   -1.4529    
  26  norm          17.370        97.102        .96267E-04   -1.4874    
  27  norm          8.7339        4.9719        .13564E-03   -1.5117    
  28  Normalizat    1.2091        .27789        .40736E-03   -.86321    
  29  Prefactor     .90822        .10284        .17264E-03   -.95854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02962e-10
Minuit parameter uncertainties:
  1  3.32496
  2  29.3661
  3  16.4142
  4  7.41763
  5  11.0788
  6  7.17018e-05
  7  1.19417e-05
  8  1.01612e-07
  9  4.26029e-05
  10  41.9051
  11  14.3964
  12  26.8464
  13  11.4912
  14  1.56065e-05
  15  34.9826
  16  1.50313e-06
  17  8.03321
  18  1.72689
  19  1.34776e-05
  20  4.41712
  21  16.5602
  22  12.2865
  23  1.20428e-06
  24  4.58548e-06
  25  70.4988
  26  82.3433
  27  4.9721
  28  0.278228
  29  0.102859
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.082e-01  1.029e-01  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.209e+00  2.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/308704/likelihoodResults_521856001_522115201_4FGL_J0620.5-2512_daily_bin1090.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) = 7545.33254387
delta logL = 0.422416601623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7545.32503427
delta logL = 0.429926204023

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5331       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7104       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1536       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91695       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.

 FCN=   7545.325     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      213 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5389        65.046        .64157E-02    .71425E-03
   2  alpha         3.7086        4.1120        .50000        .54417E-04
   3  Normalizat    1.1537        .78263E-01    .93772E-01    .16057E-04
   4  Prefactor     .91693        .28826E-01    .45221E-01   -.65660E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.5389
  alpha      = 3.70864
  Normalizat = 1.15369
  Prefactor  = 0.916934
 **********
 **   18 **HESSE 
 **********

 FCN=   7545.325     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5389        6.3804        .14122E-03   -1.5389    
   2  alpha         3.7086        1.5052        .23664E-01    .50460    
   3  Normalizat    1.1537        .25154        .41540E-03   -.88046    
   4  Prefactor     .91693        .91144E-01    .17183E-03   -.95552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81087e-08
Minuit parameter uncertainties:
  1  6.38208
  2  1.65984
  3  0.251804
  4  0.0911591
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/308704': 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) = 7545.32503309
delta logL = 0.429927388009

Extracting fit parameters...

4FGL J0620.5-2512
   Spectrum: LogParabola
265         norm:  2.539e+00  6.382e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  3.709e+00  1.660e+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.169e-01  9.116e-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.154e+00  2.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 95.144 -25.213
Photon Index (Free Index): 3.71 +/- 1.66
Photon Flux (Free Index): 7.84e-08 +/- 8.93e-08
Energy Flux (Free Index): 1.41e-05 +/- 1.57e-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/308704/cmap_HighResolution_521856001_522115201_4FGL_J0620.5-2512_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.11e-05', comment='SUCCESS', energy_flux2='1.41e-05', dlogl='4.30e-01', photon_flux2='7.84e-08', job_status='DONE', time_completed='2021-08-24 22:11:28.388655', photon_index_error2='1.66', photon_index2='3.71', ts='0.18', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.57e-05', EG='1.21', time_epoch_completed='1629868288.39', return_code='0', job_id='308704', GAL2='0.92', EG2='1.15', return_code2='0', photon_flux_error2='8.93e-08', ts2='1.11', photon_index='2.55' WHERE bin_id='1090' AND source_name='4FGL J0620.5-2512' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 22:11:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 308704: <4FGL_J0620.5-2512_daily_bin1090> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0620.5-2512_daily_bin1090 95.1445 -25.2129 521856001 522115201 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 :                                   906.02 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            962 sec.

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

