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


Performing analysis on: 4FGL_J1026.9-1749_daily_bin1113
RA = 156.742, Dec = -17.8218
tmin = 527817601, tmax = 528076801
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='873612', job_status='RUN', time_executed='2021-09-01 21:28:17.497831', time_epoch_executed='1630556897.5' WHERE source_name='4FGL J1026.9-1749' and cadence='daily' and bin_id='1113'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/873612

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/873612/ft1_4FGL_J1026.9-1749_daily_bin1113.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/873612/ft1_4FGL_J1026.9-1749_daily_bin1113.fits outfile=/scratch/kocevski/873612/ft1_filteredMKT_4FGL_J1026.9-1749_daily_bin1113.fits ra=156.742 dec=-17.8218 rad=12.0 tmin=527817601.0 tmax=528076801.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 2.88
user 2.68
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.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/873612/ft1_filteredMKT_4FGL_J1026.9-1749_daily_bin1113.fits evtable="EVENTS" outfile="/scratch/kocevski/873612/ft1_filtered_4FGL_J1026.9-1749_daily_bin1113.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.45
user 0.29
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/873612/ft1_filtered_4FGL_J1026.9-1749_daily_bin1113.fits" evtable="EVENTS" scfile=/scratch/kocevski/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.fits sctable="SC_DATA" outfile=/scratch/kocevski/873612/ltcube_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.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/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.fits
.....................!
real 12.79
user 12.45
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/873612/ft1_filtered_4FGL_J1026.9-1749_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.fits sctable="SC_DATA" expcube=/scratch/kocevski/873612/ltcube_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.fits outfile=/scratch/kocevski/873612/expmap_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.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/873612/ltcube_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.fits
.....................!
real 151.94
user 147.88
sys 3.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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1026.9-1749 @ 156.742 -17.8218

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/873612/ft1_filtered_4FGL_J1026.9-1749_daily_bin1113.fits scfile=/scratch/kocevski/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.fits outfile=/scratch/kocevski/873612/cmap_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.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=156.742 yref=-17.8218 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.48
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/873612/ft1_filtered_4FGL_J1026.9-1749_daily_bin1113.fits scfile=/scratch/kocevski/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.fits outfile=/scratch/kocevski/873612/cmap_HighResolution_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.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=156.742 yref=-17.8218 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.49
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/873612/ft1_filtered_4FGL_J1026.9-1749_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/873612/Model_4FGL_J1026.9-1749_daily_bin1113.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/873612/ft1_filtered_4FGL_J1026.9-1749_daily_bin1113.fits.....................!
real 56.42
user 55.32
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/873612/ft1_filtered_4FGL_J1026.9-1749_daily_bin1113.fits', '/scratch/kocevski/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.fits', expMap='/scratch/kocevski/873612/expmap_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.fits', expCube='/scratch/kocevski/873612/ltcube_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/873612/Model_4FGL_J1026.9-1749_daily_bin1113.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1026.9-1749'

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  2.731e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  1.948e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  2.127e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/873612/ft1_filtered_4FGL_J1026.9-1749_daily_bin1113.fits
Spacecraft file(s): /scratch/kocevski/873612/ft2_4FGL_J1026.9-1749_daily_bin1113.fits
Exposure map: /scratch/kocevski/873612/expmap_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.fits
Exposure cube: /scratch/kocevski/873612/ltcube_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/873612/Model_4FGL_J1026.9-1749_daily_bin1113.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) = 7738.43181131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5201       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.7416       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.692       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.5978       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .48183       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .94995       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95424       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7737.764     FROM MIGRAD    STATUS=CONVERGED    301 CALLS     1194 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5135        .35141E-07** at limit **
   2  norm          .10000E-03    3.7730       -.44037E-08** at limit **
   3  norm          .10000E-03    2.4104        .30058E-07** at limit **
   4  norm          .10000E-03    .35241       -.38672E-07** at limit **
   5  Prefactor     .10000E-03    3.1291       -.10886E-06** at limit **
   6  Prefactor     2.5234        9.2700       -.10803E-04   -.14437E-04
   7  Prefactor     .10000E-03    23.790       -.43782E-06** at limit **
   8  norm          1.7428        3.2605        .28577E-06   -.75659E-03
   9  Prefactor     24.686        13.726        .85698E-06    .22427E-03
  10  Prefactor     .10000E-03    2.1100        .38553E-08** at limit **
  11  norm          8.5979        5.5933       -.10130E-05    .13519E-03
  12  Prefactor     .41355        12.095       -.11402E-05    .80621E-04
  13  Prefactor     .10000E-03    32.016        .75684E-06** at limit **
  14  Normalizat    .94996        .16605        .66303E-06    .14206E-03
  15  Prefactor     .95423        .10723        .25947E-06    .20888E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.52339
  Prefactor  = 0.0001
  norm       = 1.74279
  Prefactor  = 24.6861
  Prefactor  = 0.0001
  norm       = 8.59789
  Prefactor  = 0.413546
  Prefactor  = 0.0001
  Normalizat = 0.949957
  Prefactor  = 0.95423
 **********
 **   18 **HESSE 
 **********

 FCN=   7737.764     FROM HESSE     STATUS=OK           184 CALLS     1378 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5190        .16103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.8011        .16685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.4150        .13336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .53887        .10095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.8533        .30160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5234        9.4492        .25734E-03   -1.5390    
   7  Prefactor     .10000E-03    23.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7428        3.2219        .20340E-03   -1.5444    
   9  Prefactor     24.686        13.735        .80614E-04   -1.4714    
  10  Prefactor     .10000E-03    2.1367        .12473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.5979        5.5946        .13671E-03   -1.5121    
  12  Prefactor     .41355        249.56        .59089E-02   -1.5579    
  13  Prefactor     .10000E-03    32.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .94996        .19411        .27911E-03   -.94726    
  15  Prefactor     .95423        .12604        .18067E-03   -.94271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4025e-09
Minuit parameter uncertainties:
  1  2.35517e-06
  2  3.84302e-06
  3  2.33364e-06
  4  1.40679e-06
  5  1.85814e-05
  6  9.45483
  7  7.61059e-05
  8  3.22226
  9  13.737
  10  5.15297e-07
  11  5.59499
  12  20.4015
  13  3.16395e-05
  14  0.194257
  15  0.126075
Done.

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

Extracting fit parameters...

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.858e-05  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  1.948e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  2.127e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  9.542e-01  1.261e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  9.500e-01  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 156.742 -17.822
Photon Flux Upper Limit: 4.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/873612/likelihoodResults_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.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) = 7737.76414093
delta logL = -0.000604617983299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7737.76353459
delta logL = 1.71981901076e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0295       1.0000          .0000       10.000    
     3 'Normalizat'    .94995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95423       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7737.725     FROM MIGRAD    STATUS=FAILED       154 CALLS      325 TOTAL
                     EDM=   .29E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18864        38.126        .23698E-02   -.43583E-01
   2  Index         2.9905        3.8104        .20000        .20795E-04
   3  Normalizat    .94250        .37885E-01    .27911E-03   -.23685E-03
   4  Prefactor     .95523        .23458E-01    .18067E-03   -.82496E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7737.725     FROM SIMPLEX   STATUS=UNCHANGED     80 CALLS      405 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18864        38.126        .15878E-03   -.43583E-01
   2  Index         2.9905        3.8104        .37188E-02    .20795E-04
   3  Normalizat    .94250        .37885E-01    .13344E-03   -.23685E-03
   4  Prefactor     .95523        .23458E-01    .30907E-04   -.82496E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7737.725     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      448 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18865        2.7998         .0000       -.10125E-03
   2  Index         2.9905        2.6729         .0000        .24780E-03
   3  Normalizat    .94250        .19551         .0000       -.14195E-03
   4  Prefactor     .95523        .12619         .0000       -.69701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.188651
  Index      = 2.99045
  Normalizat = 0.9425
  Prefactor  = 0.955227
 **********
 **   18 **HESSE 
 **********

 FCN=   7737.725     FROM HESSE     STATUS=OK            27 CALLS      475 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18865        2.3534        .18958E-04   -1.5795    
   2  Index         2.9905        2.4754        .21592E-02   -.41360    
   3  Normalizat    .94250        .19516        .22329E-05   -.94982    
   4  Prefactor     .95523        .12605        .72269E-05   -.94237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.69589e-10
Minuit parameter uncertainties:
  1  1.33233
  2  2.61537
  3  0.19531
  4  0.126093
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/873612': 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) = 7737.72518607
delta logL = 0.038350239085

Extracting fit parameters...

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  1.887e-01  1.332e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.990e+00  2.615e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  2.127e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  9.552e-01  1.261e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  9.425e-01  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 156.742 -17.822

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/873612/cmap_HighResolution_527817601_528076801_4FGL_J1026.9-1749_daily_bin1113.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-03', job_status='DONE', photon_flux_upper_limit='4.89e-08', time_completed='2021-09-01 21:36:22.345803', job_id='873612', GAL2='0.96', fit_tolerance='1e-08', EG2='0.94', EG='0.95', time_epoch_completed='1630557382.35', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.84e-02', ts2='0.08', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1113' AND source_name='4FGL J1026.9-1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 21:36:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 873612: <4FGL_J1026.9-1749_daily_bin1113> in cluster <slac> Done

Job <4FGL_J1026.9-1749_daily_bin1113> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  1 21:25:54 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 21:28:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 21:28:09 2021
Terminated at Wed Sep  1 21:36:22 2021
Results reported at Wed Sep  1 21:36:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1026.9-1749_daily_bin1113 156.742 -17.8218 527817601 528076801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1026.9-1749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   480.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             375.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   493 sec.
    Turnaround time :                            628 sec.

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

