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


Performing analysis on: 4FGL_J0623.0-3010_daily_bin1032
RA = 95.7646, Dec = -30.1828
tmin = 506822401, tmax = 507081601
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='338971', job_status='RUN', time_executed='2021-08-24 23:36:05.430452', time_epoch_executed='1629873365.43' WHERE source_name='4FGL J0623.0-3010' and cadence='daily' and bin_id='1032'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/338971

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/338971/ft1_4FGL_J0623.0-3010_daily_bin1032.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/338971/ft1_4FGL_J0623.0-3010_daily_bin1032.fits outfile=/scratch/kocevski/338971/ft1_filteredMKT_4FGL_J0623.0-3010_daily_bin1032.fits ra=95.7646 dec=-30.1828 rad=12.0 tmin=506822401.0 tmax=507081601.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.88
user 3.28
sys 0.46

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.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/338971/ft1_filteredMKT_4FGL_J0623.0-3010_daily_bin1032.fits evtable="EVENTS" outfile="/scratch/kocevski/338971/ft1_filtered_4FGL_J0623.0-3010_daily_bin1032.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.84
user 0.35
sys 0.38

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/338971/ft1_filtered_4FGL_J0623.0-3010_daily_bin1032.fits" evtable="EVENTS" scfile=/scratch/kocevski/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.fits sctable="SC_DATA" outfile=/scratch/kocevski/338971/ltcube_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.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/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.fits
.....................!
real 12.70
user 12.01
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/338971/ft1_filtered_4FGL_J0623.0-3010_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.fits sctable="SC_DATA" expcube=/scratch/kocevski/338971/ltcube_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.fits outfile=/scratch/kocevski/338971/expmap_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.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/338971/ltcube_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.fits
.....................!
real 191.97
user 186.62
sys 4.93

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 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J0623.0-3010 @ 95.7646 -30.1828

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/338971/ft1_filtered_4FGL_J0623.0-3010_daily_bin1032.fits scfile=/scratch/kocevski/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.fits outfile=/scratch/kocevski/338971/cmap_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.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.7646 yref=-30.1828 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.79
user 0.37
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/338971/ft1_filtered_4FGL_J0623.0-3010_daily_bin1032.fits scfile=/scratch/kocevski/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.fits outfile=/scratch/kocevski/338971/cmap_HighResolution_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.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.7646 yref=-30.1828 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.80
user 0.39
sys 0.39

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/338971/ft1_filtered_4FGL_J0623.0-3010_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/338971/Model_4FGL_J0623.0-3010_daily_bin1032.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/338971/ft1_filtered_4FGL_J0623.0-3010_daily_bin1032.fits.....................!
real 92.87
user 91.03
sys 1.53

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/338971/ft1_filtered_4FGL_J0623.0-3010_daily_bin1032.fits', '/scratch/kocevski/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.fits', expMap='/scratch/kocevski/338971/expmap_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.fits', expCube='/scratch/kocevski/338971/ltcube_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/338971/Model_4FGL_J0623.0-3010_daily_bin1032.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0623.0-3010'

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  3.371e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  2.480e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  9.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/338971/ft1_filtered_4FGL_J0623.0-3010_daily_bin1032.fits
Spacecraft file(s): /scratch/kocevski/338971/ft2_4FGL_J0623.0-3010_daily_bin1032.fits
Exposure map: /scratch/kocevski/338971/expmap_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.fits
Exposure cube: /scratch/kocevski/338971/ltcube_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/338971/Model_4FGL_J0623.0-3010_daily_bin1032.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) = 7371.8215185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.573       1.0000         .10000E-03   10000.    
     2 'norm      '    12.084       1.0000         .10000E-03   10000.    
     3 'norm      '    2.2362       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.756       1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.574       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.617       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.953       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.966       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3024       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.0023       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5275       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.8958       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .65584       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10761E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .62532E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    77.457       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0559       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .91911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7371.817     FROM MIGRAD    STATUS=CONVERGED    711 CALLS     3688 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.575        18.891       -.16590E-06   -.10009E-04
   2  norm          12.083        8.2468        .34503E-06   -.58174E-04
   3  norm          2.2360        2.3740        .52862E-06   -.57165E-04
   4  norm          .10000E-03    2.9760        .13125E-07** at limit **
   5  Prefactor     .10000E-03    4.2492        .21393E-06** at limit **
   6  Prefactor     .10000E-03    120.01        .11250E-05** at limit **
   7  Prefactor     16.759        14.794        .16383E-06   -.34891E-04
   8  Prefactor     40.570        45.000        .84971E-06   -.33893E-04
   9  Prefactor     12.619        30.110        .43640E-06   -.18578E-04
  10  Prefactor     .10000E-03    7.8298        .14225E-06** at limit **
  11  Prefactor     16.950        43.455       -.92584E-07   -.14324E-04
  12  Prefactor     13.964        13.320        .18786E-06   -.62464E-04
  13  norm          .10000E-03    2.0746        .31631E-07** at limit **
  14  Prefactor     .10000E-03    6.9630        .13255E-06** at limit **
  15  Prefactor     5.3024        4.6916       -.30110E-07   -.35771E-04
  16  Prefactor     2.0038        30.477        .19113E-05   -.28893E-05
  17  norm          .10000E-03    14.772       -.40249E-07** at limit **
  18  Prefactor     5.5296        5.8107        .29997E-05   -.83273E-05
  19  norm          .10000E-03    3.8007        .32230E-06** at limit **
  20  norm          2.8957        2.1518       -.11095E-06   -.23629E-03
  21  norm          .10000E-03    5.6676        .18352E-06** at limit **
  22  Prefactor     .65815        3.1577        .50573E-06   -.66813E-04
  23  Prefactor     .10000E-03    3.7479        .64119E-06** at limit **
  24  norm          .10000E-03    9.6954       -.34517E-06** at limit **
  25  Prefactor     .10000E-03    4.6981       -.44349E-07** at limit **
  26  norm          .10000E-03    291.07       -.17929E-04** at limit **
  27  norm          77.328        59.641       -.18049E-05   -.15424E-03
  28  Normalizat    1.0561        .22801       -.53090E-05   -.39782E-04
  29  Prefactor     .91892        .90897E-01    .12868E-05   -.51002E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.5746
  norm       = 12.0831
  norm       = 2.23599
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 16.7587
  Prefactor  = 40.5705
  Prefactor  = 12.6186
  Prefactor  = 0.0001
  Prefactor  = 16.9505
  Prefactor  = 13.9644
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.30236
  Prefactor  = 2.00382
  norm       = 0.0001
  Prefactor  = 5.52965
  norm       = 0.0001
  norm       = 2.8957
  norm       = 0.0001
  Prefactor  = 0.658152
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 77.328
  Normalizat = 1.05609
  Prefactor  = 0.918916
 **********
 **   18 **HESSE 
 **********

 FCN=   7371.817     FROM HESSE     STATUS=OK           557 CALLS     4245 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.575        19.094        .84308E-04   -1.4757    
   2  norm          12.083        8.3547        .11524E-03   -1.5013    
   3  norm          2.2360        2.3809        .12509E-03   -1.5409    
   4  norm          .10000E-03    2.9762        .14466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.3256        .17283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    120.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.759        14.790        .97843E-04   -1.4889    
   8  Prefactor     40.570        45.157        .62929E-04   -1.4433    
   9  Prefactor     12.619        30.013        .11277E-03   -1.4997    
  10  Prefactor     .10000E-03    7.8409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.950        43.199        .97275E-04   -1.4884    
  12  Prefactor     13.964        13.354        .10718E-03   -1.4960    
  13  norm          .10000E-03    2.0795        .12072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.9851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.3024        4.6886        .16903E-03   -1.5247    
  16  Prefactor     2.0038        30.360        .29267E-03   -1.5425    
  17  norm          .10000E-03    14.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.5296        5.8617        .85445E-03   -1.5238    
  19  norm          .10000E-03    3.8511        .16343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.8957        2.2451        .95695E-04   -1.5368    
  21  norm          .10000E-03    5.6853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .65815        11.301        .26016E-02   -1.5546    
  23  Prefactor     .10000E-03    10.881        .31645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    9.7598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.7018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    293.21        .21042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          77.328        60.097        .22814E-03   -1.3947    
  28  Normalizat    1.0561        .24652        .35535E-03   -.91174    
  29  Prefactor     .91892        .99813E-01    .16934E-03   -.95483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47991e-08
Minuit parameter uncertainties:
  1  19.0993
  2  8.35552
  3  2.38103
  4  4.62302e-07
  5  1.39872e-05
  6  0.00050672
  7  14.7929
  8  45.1955
  9  30.0486
  10  7.71953e-06
  11  43.2792
  12  13.3568
  13  3.01211e-06
  14  4.11467e-06
  15  4.68892
  16  15.6085
  17  2.64923e-05
  18  5.86228
  19  8.57243e-07
  20  2.24519
  21  7.52405e-06
  22  5.45513
  23  7.64918e-05
  24  3.64254e-05
  25  2.04947e-06
  26  0.000859813
  27  60.1444
  28  0.246785
  29  0.0998333
Done.

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

Extracting fit parameters...

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  2.004e+00  1.561e+01  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  2.480e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  9.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  9.189e-01  9.983e-02  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  1.056e+00  2.468e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 95.765 -30.183
Photon Flux Upper Limit: 8.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/338971/likelihoodResults_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.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) = 7371.81396584
delta logL = 0.00282373458231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7371.81287008
delta logL = 0.00391949347159

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8779       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2311       1.0000          .0000       10.000    
     3 'Normalizat'    1.0564       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91874       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+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=   7371.813     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      264 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8715        33.788        .23959E-03    .36869E-04
   2  Index         2.2316        2.4650        .14756E-01    .76047E-04
   3  Normalizat    1.0563        .20990        .35531E-03   -.92787E-03
   4  Prefactor     .91875        .94286E-01    .16935E-03   -.14815E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.87147
  Index      = 2.23165
  Normalizat = 1.05633
  Prefactor  = 0.918748
 **********
 **   18 **HESSE 
 **********

 FCN=   7371.813     FROM HESSE     STATUS=OK            23 CALLS      287 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8715        31.741        .95835E-05   -1.5369    
   2  Index         2.2316        2.4010        .59024E-03   -.58677    
   3  Normalizat    1.0563        .21001        .71062E-04   -.91167    
   4  Prefactor     .91875        .94317E-01    .33871E-04   -.95489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81171e-09
Minuit parameter uncertainties:
  1  19.1062
  2  2.55916
  3  0.210171
  4  0.0943342
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/338971': 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) = 7371.81287001
delta logL = 0.0039195649324

Extracting fit parameters...

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  2.871e+00  1.911e+01  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  2.232e+00  2.559e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  9.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  9.187e-01  9.433e-02  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  1.056e+00  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 95.765 -30.183

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/338971/cmap_HighResolution_506822401_507081601_4FGL_J0623.0-3010_daily_bin1032.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.70e-08', time_completed='2021-08-24 23:51:30.779000', job_id='338971', GAL2='0.92', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1629874290.78', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.92e-03', ts2='0.03', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1032' AND source_name='4FGL J0623.0-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 23:51:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 338971: <4FGL_J0623.0-3010_daily_bin1032> in cluster <slac> Done

Job <4FGL_J0623.0-3010_daily_bin1032> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 23:35:23 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 23:35:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 23:35:25 2021
Terminated at Tue Aug 24 23:51:33 2021
Results reported at Tue Aug 24 23:51:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0623.0-3010_daily_bin1032 95.7646 -30.1828 506822401 507081601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0623.0-3010 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   925.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            970 sec.

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

