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


Performing analysis on: 4FGL_J0623.0-3010_daily_bin1276
RA = 95.7646, Dec = -30.1828
tmin = 570067201, tmax = 570326401
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='339371', job_status='RUN', time_executed='2021-08-24 23:36:14.953300', time_epoch_executed='1629873374.95' WHERE source_name='4FGL J0623.0-3010' and cadence='daily' and bin_id='1276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/339371

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/339371/ft1_4FGL_J0623.0-3010_daily_bin1276.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/339371/ft2_4FGL_J0623.0-3010_daily_bin1276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/339371/ft1_4FGL_J0623.0-3010_daily_bin1276.fits outfile=/scratch/kocevski/339371/ft1_filteredMKT_4FGL_J0623.0-3010_daily_bin1276.fits ra=95.7646 dec=-30.1828 rad=12.0 tmin=570067201.0 tmax=570326401.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.59
user 3.38
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/339371/ft2_4FGL_J0623.0-3010_daily_bin1276.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/339371/ft1_filteredMKT_4FGL_J0623.0-3010_daily_bin1276.fits evtable="EVENTS" outfile="/scratch/kocevski/339371/ft1_filtered_4FGL_J0623.0-3010_daily_bin1276.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/339371/ft1_filtered_4FGL_J0623.0-3010_daily_bin1276.fits" evtable="EVENTS" scfile=/scratch/kocevski/339371/ft2_4FGL_J0623.0-3010_daily_bin1276.fits sctable="SC_DATA" outfile=/scratch/kocevski/339371/ltcube_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.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/339371/ft2_4FGL_J0623.0-3010_daily_bin1276.fits
.....................!
real 12.12
user 11.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/339371/ft1_filtered_4FGL_J0623.0-3010_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/339371/ft2_4FGL_J0623.0-3010_daily_bin1276.fits sctable="SC_DATA" expcube=/scratch/kocevski/339371/ltcube_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.fits outfile=/scratch/kocevski/339371/expmap_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.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/339371/ltcube_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.fits
.....................!
real 190.28
user 185.18
sys 4.77

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/339371/ft1_filtered_4FGL_J0623.0-3010_daily_bin1276.fits scfile=/scratch/kocevski/339371/ft2_4FGL_J0623.0-3010_daily_bin1276.fits outfile=/scratch/kocevski/339371/cmap_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.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.62
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/339371/ft1_filtered_4FGL_J0623.0-3010_daily_bin1276.fits scfile=/scratch/kocevski/339371/ft2_4FGL_J0623.0-3010_daily_bin1276.fits outfile=/scratch/kocevski/339371/cmap_HighResolution_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.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.55
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/339371/ft1_filtered_4FGL_J0623.0-3010_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/339371/ft2_4FGL_J0623.0-3010_daily_bin1276.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/339371/Model_4FGL_J0623.0-3010_daily_bin1276.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/339371/ft1_filtered_4FGL_J0623.0-3010_daily_bin1276.fits.....................!
real 88.85
user 87.43
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/339371/ft1_filtered_4FGL_J0623.0-3010_daily_bin1276.fits', '/scratch/kocevski/339371/ft2_4FGL_J0623.0-3010_daily_bin1276.fits', expMap='/scratch/kocevski/339371/expmap_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.fits', expCube='/scratch/kocevski/339371/ltcube_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/339371/Model_4FGL_J0623.0-3010_daily_bin1276.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/339371/ft1_filtered_4FGL_J0623.0-3010_daily_bin1276.fits
Spacecraft file(s): /scratch/kocevski/339371/ft2_4FGL_J0623.0-3010_daily_bin1276.fits
Exposure map: /scratch/kocevski/339371/expmap_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.fits
Exposure cube: /scratch/kocevski/339371/ltcube_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/339371/Model_4FGL_J0623.0-3010_daily_bin1276.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) = 6654.16480596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .67348       1.0000         .10000E-03   10000.    
     4 'norm      '    20.236       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    61.865       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.293       1.0000         .10000E-03   10000.    
     9 'Prefactor '    91.678       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.844       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10414E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.2617       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.788       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.549       1.0000         .10000E-03   10000.    
    17 'norm      '    34.746       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1051       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .21093E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.7041       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.4311       1.0000         .10000E-03   10000.    
    24 'norm      '    10.480       1.0000         .10000E-03   10000.    
    25 'Prefactor '    17.839       1.0000         .10000E-03   10000.    
    26 'norm      '    .11875E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1359       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .82180       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=   6654.151     FROM MIGRAD    STATUS=CONVERGED    717 CALLS     3727 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4480        .21512E-06** at limit **
   2  norm          .10000E-03    2.8242        .63134E-07** at limit **
   3  norm          .67351        1.2549        .13794E-06    .75404E-04
   4  norm          20.237        14.680       -.17065E-06   -.13553E-04
   5  Prefactor     .10000E-03    2.5513        .22586E-07** at limit **
   6  Prefactor     61.870        54.473        .26136E-05    .36689E-04
   7  Prefactor     .10000E-03    5.6570        .52928E-06** at limit **
   8  Prefactor     30.294        37.533        .19247E-06   -.14298E-04
   9  Prefactor     91.684        43.749        .20995E-05    .69495E-04
  10  Prefactor     23.856        18.095       -.57767E-05   -.32031E-03
  11  Prefactor     .10000E-03    32.072       -.12342E-05** at limit **
  12  Prefactor     .10000E-03    11.575        .38242E-06** at limit **
  13  norm          6.2612        5.6873       -.11423E-05   -.15170E-03
  14  Prefactor     14.787        16.716        .71827E-06    .25984E-04
  15  Prefactor     .10000E-03    5.2973       -.39381E-06** at limit **
  16  Prefactor     27.549        29.360       -.84046E-06   -.16944E-06
  17  norm          34.747        26.510       -.35207E-06   -.10382E-04
  18  Prefactor     2.1048        3.7481       -.35963E-06   -.12904E-03
  19  norm          .10000E-03    2.6749        .60466E-07** at limit **
  20  norm          .10000E-03    1.4359       -.75489E-07** at limit **
  21  norm          .10000E-03    2.8130        .35862E-07** at limit **
  22  Prefactor     6.7047        5.6909        .40768E-06    .49215E-04
  23  Prefactor     2.4313        2.1556        .10400E-05   -.43062E-02
  24  norm          10.465        16.279        .74724E-05    .18288E-03
  25  Prefactor     17.841        15.957       -.55720E-05   -.20797E-03
  26  norm          .10001E-03    177.41       -.96106E-05** at limit **
  27  norm          .10000E-03    19.526        .45497E-06** at limit **
  28  Normalizat    1.1359        .21793       -.55328E-06   -.19349E-04
  29  Prefactor     .82180        .89790E-01   -.16755E-06   -.97915E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.673506
  norm       = 20.2366
  Prefactor  = 0.0001
  Prefactor  = 61.8697
  Prefactor  = 0.0001
  Prefactor  = 30.2937
  Prefactor  = 91.6845
  Prefactor  = 23.8559
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 6.26118
  Prefactor  = 14.7869
  Prefactor  = 0.0001
  Prefactor  = 27.5489
  norm       = 34.7469
  Prefactor  = 2.10479
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.70473
  Prefactor  = 2.43125
  norm       = 10.4648
  Prefactor  = 17.8414
  norm       = 0.000100007
  norm       = 0.0001
  Normalizat = 1.13588
  Prefactor  = 0.821798
 **********
 **   18 **HESSE 
 **********

 FCN=   6654.151     FROM HESSE     STATUS=OK           551 CALLS     4278 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4588        .16801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.8674        .13378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .67351        1.0176        .11978E-02   -1.5544    
   4  norm          20.237        14.685        .89038E-04   -1.4808    
   5  Prefactor     .10000E-03    2.5588        .12723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     61.870        54.490        .51015E-04   -1.4133    
   7  Prefactor     .10000E-03    5.6619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.294        37.691        .36398E-03   -1.4607    
   9  Prefactor     91.684        43.951        .41969E-04   -1.3790    
  10  Prefactor     23.856        18.163        .82032E-04   -1.4731    
  11  Prefactor     .10000E-03    32.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.2612        5.6785        .16042E-03   -1.5207    
  14  Prefactor     14.787        16.703        .10415E-03   -1.4939    
  15  Prefactor     .10000E-03    5.3563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     27.549        29.390        .76327E-04   -1.4658    
  17  norm          34.747        26.502        .67984E-04   -1.4528    
  18  Prefactor     2.1048        3.7212        .20459E-03   -1.5418    
  19  norm          .10000E-03    2.7011        .13025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.1667        .18065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.8147        .13357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.7047        5.4212        .15497E-03   -1.5190    
  23  Prefactor     2.4313        4.4866        .11227E-02   -1.5396    
  24  norm          10.465        16.316        .12377E-03   -1.5061    
  25  Prefactor     17.841        15.985        .94827E-04   -1.4863    
  26  norm          .10001E-03    178.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    19.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.1359        .24220        .32985E-03   -.88608    
  29  Prefactor     .82180        .99308E-01    .17299E-03   -.98930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56115e-08
Minuit parameter uncertainties:
  1  3.56619e-06
  2  1.96017e-06
  3  1.01767
  4  14.6877
  5  1.58443e-06
  6  54.5343
  7  6.87944e-06
  8  37.7209
  9  43.9661
  10  18.1675
  11  0.000103714
  12  0.000262918
  13  5.67901
  14  16.7081
  15  1.26879e-05
  16  29.4054
  17  26.5112
  18  3.72158
  19  1.02717e-06
  20  3.54437e-05
  21  2.14907e-06
  22  5.42164
  23  4.48719
  24  16.3231
  25  15.9888
  26  0.00229816
  27  3.17597e-07
  28  0.242435
  29  0.0993295
Done.

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

Extracting fit parameters...

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  2.755e+01  2.941e+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:  8.218e-01  9.933e-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.136e+00  2.424e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 95.765 -30.183
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 5.03e-08 +/- 5.37e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.60e-05

TS (Fixed Index): 1.34
Ra Dec: 95.765 -30.183
Photon Flux Upper Limit: 1.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/339371/likelihoodResults_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.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) = 6652.82612494
delta logL = 1.32455116553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6652.63401379
delta logL = 1.51666231366

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23169E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    6.6543       1.0000          .0000       10.000    
     3 'Normalizat'    1.0404       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85043       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.

 FCN=   6652.634     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      337 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22992E-01    .18002        .14960E-02   -.29084E-01
   2  Index         6.6581        2.2473        .97519E-01   -.33296E-03
   3  Normalizat    1.0402        .67886E-01    .77198E-01   -.14306E-03
   4  Prefactor     .85049        .30928E-01    .44370E-01   -.14697E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0229915
  Index      = 6.65811
  Normalizat = 1.04022
  Prefactor  = 0.850492
 **********
 **   18 **HESSE 
 **********

 FCN=   6652.634     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      368 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22992E-01    .36549        .67064E-05   -1.5678    
   2  Index         6.6581        3.3766        .39231E-02    .33802    
   3  Normalizat    1.0402        .20213        .34167E-03   -.91695    
   4  Prefactor     .85049        .90285E-01    .17048E-03   -.97893    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.34703e-09
Minuit parameter uncertainties:
  1  0.182939
  2  3.76329
  3  0.202283
  4  0.0903007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/339371': 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): 102
logL (Free Index) = 6652.63401246
delta logL = 1.51666364464

Extracting fit parameters...

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  2.299e-02  1.829e-01  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  6.658e+00  3.763e+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:  8.505e-01  9.030e-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.040e+00  2.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.72
Ra Dec: 95.765 -30.183
Photon Index (Free Index): 6.66 +/- 3.76
Photon Flux (Free Index): 1.39e-07 +/- 7.71e-08
Energy Flux (Free Index): 1.68e-05 +/- 1.01e-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/339371/cmap_HighResolution_570067201_570326401_4FGL_J0623.0-3010_daily_bin1276.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', photon_flux='5.03e-08', energy_flux2='1.68e-05', photon_flux_error='5.37e-08', dlogl='1.52e+00', energy_flux='1.49e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-08-24 23:51:07.086315', photon_index_error2='3.76', photon_index2='6.66', ts='1.34', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.62e-07', energy_flux_error2='1.01e-05', EG='1.14', time_epoch_completed='1629874267.09', return_code='0', job_id='339371', GAL2='0.85', EG2='1.04', return_code2='102', energy_flux_error='1.60e-05', photon_flux_error2='7.71e-08', ts2='4.72', photon_index='2.48' WHERE bin_id='1276' AND source_name='4FGL J0623.0-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 23:51:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 339371: <4FGL_J0623.0-3010_daily_bin1276> in cluster <slac> Done

Job <4FGL_J0623.0-3010_daily_bin1276> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 23:35:53 2021
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 23:35: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 23:35:54 2021
Terminated at Tue Aug 24 23:51:07 2021
Results reported at Tue Aug 24 23:51:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0623.0-3010_daily_bin1276 95.7646 -30.1828 570067201 570326401 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 :                                   887.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            914 sec.

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

