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


Performing analysis on: 4FGL_J1026.9-1749_daily_bin1315
RA = 156.742, Dec = -17.8218
tmin = 580176001, tmax = 580435201
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='873846', job_status='RUN', time_executed='2021-09-01 21:33:12.933359', time_epoch_executed='1630557192.93' WHERE source_name='4FGL J1026.9-1749' and cadence='daily' and bin_id='1315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/873846

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/873846/ft1_4FGL_J1026.9-1749_daily_bin1315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/873846/ft2_4FGL_J1026.9-1749_daily_bin1315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/873846/ft1_4FGL_J1026.9-1749_daily_bin1315.fits outfile=/scratch/kocevski/873846/ft1_filteredMKT_4FGL_J1026.9-1749_daily_bin1315.fits ra=156.742 dec=-17.8218 rad=12.0 tmin=580176001.0 tmax=580435201.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 4.69
user 4.43
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/873846/ft2_4FGL_J1026.9-1749_daily_bin1315.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/873846/ft1_filteredMKT_4FGL_J1026.9-1749_daily_bin1315.fits evtable="EVENTS" outfile="/scratch/kocevski/873846/ft1_filtered_4FGL_J1026.9-1749_daily_bin1315.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.52
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/873846/ft1_filtered_4FGL_J1026.9-1749_daily_bin1315.fits" evtable="EVENTS" scfile=/scratch/kocevski/873846/ft2_4FGL_J1026.9-1749_daily_bin1315.fits sctable="SC_DATA" outfile=/scratch/kocevski/873846/ltcube_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.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/873846/ft2_4FGL_J1026.9-1749_daily_bin1315.fits
.....................!
real 14.81
user 14.39
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/873846/ft1_filtered_4FGL_J1026.9-1749_daily_bin1315.fits evtable="EVENTS" scfile=/scratch/kocevski/873846/ft2_4FGL_J1026.9-1749_daily_bin1315.fits sctable="SC_DATA" expcube=/scratch/kocevski/873846/ltcube_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.fits outfile=/scratch/kocevski/873846/expmap_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.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/873846/ltcube_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.fits
.....................!
real 192.45
user 187.48
sys 4.26

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/873846/ft1_filtered_4FGL_J1026.9-1749_daily_bin1315.fits scfile=/scratch/kocevski/873846/ft2_4FGL_J1026.9-1749_daily_bin1315.fits outfile=/scratch/kocevski/873846/cmap_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/873846/ft1_filtered_4FGL_J1026.9-1749_daily_bin1315.fits scfile=/scratch/kocevski/873846/ft2_4FGL_J1026.9-1749_daily_bin1315.fits outfile=/scratch/kocevski/873846/cmap_HighResolution_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/873846/ft1_filtered_4FGL_J1026.9-1749_daily_bin1315.fits evtable="EVENTS" scfile=/scratch/kocevski/873846/ft2_4FGL_J1026.9-1749_daily_bin1315.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/873846/Model_4FGL_J1026.9-1749_daily_bin1315.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/873846/ft1_filtered_4FGL_J1026.9-1749_daily_bin1315.fits.....................!
real 48.32
user 46.79
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/873846/ft1_filtered_4FGL_J1026.9-1749_daily_bin1315.fits', '/scratch/kocevski/873846/ft2_4FGL_J1026.9-1749_daily_bin1315.fits', expMap='/scratch/kocevski/873846/expmap_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.fits', expCube='/scratch/kocevski/873846/ltcube_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/873846/Model_4FGL_J1026.9-1749_daily_bin1315.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/873846/ft1_filtered_4FGL_J1026.9-1749_daily_bin1315.fits
Spacecraft file(s): /scratch/kocevski/873846/ft2_4FGL_J1026.9-1749_daily_bin1315.fits
Exposure map: /scratch/kocevski/873846/expmap_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.fits
Exposure cube: /scratch/kocevski/873846/ltcube_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/873846/Model_4FGL_J1026.9-1749_daily_bin1315.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) = 4397.4363365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5225       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7886       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.1009       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.852       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2570       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0158       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.

 FCN=   4397.402     FROM MIGRAD    STATUS=CONVERGED    275 CALLS     1123 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.916        .90712E-02** at limit **
   2  norm          .10000E-03    5.4314        .90712E-02** at limit **
   3  norm          .10000E-03    7.6385        .90712E-02** at limit **
   4  norm          .10000E-03    2.0180        .90712E-02** at limit **
   5  Prefactor     5.5137        13.153        .42742E-02   -.58375E-03
   6  Prefactor     4.7796        21.040        .45963E-02    .89418E-03
   7  Prefactor     .10001E-03    14.236        .90712E-02** at limit **
   8  norm          4.1028        4.8169        .49768E-02    .28301E-02
   9  Prefactor     .10000E-03    8.9390        .90712E-02** at limit **
  10  Prefactor     .10000E-03    4.7872        .90712E-02** at limit **
  11  norm          13.851        10.277        .26905E-02   -.11099E-03
  12  Prefactor     .10001E-03    14.652        .90712E-02** at limit **
  13  Prefactor     .10000E-03    56.731        .90712E-02** at limit **
  14  Normalizat    1.2570        .26928        .69195E-01    .12510E-04
  15  Prefactor     1.0158        .16428        .42585E-01   -.23833E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.51372
  Prefactor  = 4.77957
  Prefactor  = 0.000100011
  norm       = 4.10277
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.8507
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  Normalizat = 1.25703
  Prefactor  = 1.01583
 **********
 **   18 **HESSE 
 **********

 FCN=   4397.402     FROM HESSE     STATUS=OK           176 CALLS     1299 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.4435        .15094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.6863        .17899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.0986        .18346E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.5137        13.145        .17097E-03   -1.5238    
   6  Prefactor     4.7796        20.950        .18385E-03   -1.5271    
   7  Prefactor     .10001E-03    14.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.1028        4.8034        .15127E-03   -1.5303    
   9  Prefactor     .10000E-03    8.9456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.8397        .14166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.851        10.279        .10762E-03   -1.4963    
  12  Prefactor     .10001E-03    14.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    56.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.2570        .31913        .30615E-03   -.84858    
  15  Prefactor     1.0158        .19522        .20378E-03   -.92204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1609e-08
Minuit parameter uncertainties:
  1  0.000174461
  2  8.26426e-06
  3  3.24573e-05
  4  1.87632e-06
  5  13.1518
  6  20.0249
  7  0.000776452
  8  4.80385
  9  3.42473e-05
  10  1.00751e-05
  11  10.2806
  12  0.000865154
  13  5.11594e-05
  14  0.319633
  15  0.195353
Done.

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

Extracting fit parameters...

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  5.514e+00  1.315e+01  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:  1.016e+00  1.954e-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:  1.257e+00  3.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 156.742 -17.822
Photon Flux Upper Limit: 1.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.12e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/873846/likelihoodResults_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.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) = 4395.28530536
delta logL = 2.11675398254

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4395.22534488
delta logL = 2.17671446193

Fit tolerance = 1e-08

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

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

 FCN=   4395.225     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      275 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31214        2.4538        .41514E-02    .69745E-03
   2  Index         4.0636        1.8672        .55796E-01    .15974E-03
   3  Normalizat    1.0126        .94695E-01    .75742E-01    .30854E-04
   4  Prefactor     1.1013        .56653E-01    .37536E-01    .29763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.312145
  Index      = 4.06358
  Normalizat = 1.01263
  Prefactor  = 1.1013
 **********
 **   18 **HESSE 
 **********

 FCN=   4395.225     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      306 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31214        3.9452        .18560E-04   -1.5596    
   2  Index         4.0636        2.5328        .23076E-02   -.18840    
   3  Normalizat    1.0126        .31463        .33518E-03   -.92609    
   4  Prefactor     1.1013        .18919        .19623E-03   -.89425    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.50297e-07
Minuit parameter uncertainties:
  1  2.21927
  2  2.66112
  3  0.315213
  4  0.189304
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/873846': 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) = 4395.2253441
delta logL = 2.17671523746

Extracting fit parameters...

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  3.121e-01  2.219e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  4.064e+00  2.661e+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:  1.101e+00  1.893e-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:  1.013e+00  3.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.00
Ra Dec: 156.742 -17.822
Photon Index (Free Index): 4.06 +/- 2.66
Photon Flux (Free Index): 2.54e-07 +/- 1.43e-07
Energy Flux (Free Index): 3.77e-05 +/- 2.21e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/873846/cmap_HighResolution_580176001_580435201_4FGL_J1026.9-1749_daily_bin1315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', comment='SUCCESS', energy_flux2='3.77e-05', dlogl='2.18e+00', photon_flux2='2.54e-07', job_status='DONE', time_completed='2021-09-01 21:41:27.565340', photon_index_error2='2.66', photon_index2='4.06', ts='0.20', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='2.21e-05', EG='1.26', time_epoch_completed='1630557687.57', return_code='0', job_id='873846', GAL2='1.10', EG2='1.01', return_code2='102', photon_flux_error2='1.43e-07', ts2='5.00', photon_index='1.95' WHERE bin_id='1315' AND source_name='4FGL J1026.9-1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 21:41:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 873846: <4FGL_J1026.9-1749_daily_bin1315> in cluster <slac> Done

Job <4FGL_J1026.9-1749_daily_bin1315> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  1 21:26:21 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 21:30:52 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:30:52 2021
Terminated at Wed Sep  1 21:41:28 2021
Results reported at Wed Sep  1 21:41:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1026.9-1749_daily_bin1315 156.742 -17.8218 580176001 580435201 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 :                                   464.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            907 sec.

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

