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


Performing analysis on: 4FGL_J1026.9-1749_daily_bin1512
RA = 156.742, Dec = -17.8218
tmin = 631238401, tmax = 631497601
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='874770', job_status='RUN', time_executed='2021-09-01 21:35:13.943092', time_epoch_executed='1630557313.94' WHERE source_name='4FGL J1026.9-1749' and cadence='daily' and bin_id='1512'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/874770

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/874770/ft1_4FGL_J1026.9-1749_daily_bin1512.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/874770/ft2_4FGL_J1026.9-1749_daily_bin1512.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/874770/ft1_4FGL_J1026.9-1749_daily_bin1512.fits outfile=/scratch/kocevski/874770/ft1_filteredMKT_4FGL_J1026.9-1749_daily_bin1512.fits ra=156.742 dec=-17.8218 rad=12.0 tmin=631238401.0 tmax=631497601.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.76
user 2.55
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/874770/ft2_4FGL_J1026.9-1749_daily_bin1512.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/874770/ft1_filteredMKT_4FGL_J1026.9-1749_daily_bin1512.fits evtable="EVENTS" outfile="/scratch/kocevski/874770/ft1_filtered_4FGL_J1026.9-1749_daily_bin1512.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.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/874770/ft1_filtered_4FGL_J1026.9-1749_daily_bin1512.fits" evtable="EVENTS" scfile=/scratch/kocevski/874770/ft2_4FGL_J1026.9-1749_daily_bin1512.fits sctable="SC_DATA" outfile=/scratch/kocevski/874770/ltcube_631238401_631497601_4FGL_J1026.9-1749_daily_bin1512.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/874770/ft2_4FGL_J1026.9-1749_daily_bin1512.fits
.....................!
real 17.17
user 16.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/874770/ft1_filtered_4FGL_J1026.9-1749_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/874770/ft2_4FGL_J1026.9-1749_daily_bin1512.fits sctable="SC_DATA" expcube=/scratch/kocevski/874770/ltcube_631238401_631497601_4FGL_J1026.9-1749_daily_bin1512.fits outfile=/scratch/kocevski/874770/expmap_631238401_631497601_4FGL_J1026.9-1749_daily_bin1512.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/874770/ltcube_631238401_631497601_4FGL_J1026.9-1749_daily_bin1512.fits
.....................!
real 191.87
user 187.30
sys 4.05

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/874770/ft1_filtered_4FGL_J1026.9-1749_daily_bin1512.fits scfile=/scratch/kocevski/874770/ft2_4FGL_J1026.9-1749_daily_bin1512.fits outfile=/scratch/kocevski/874770/cmap_631238401_631497601_4FGL_J1026.9-1749_daily_bin1512.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/874770/ft1_filtered_4FGL_J1026.9-1749_daily_bin1512.fits scfile=/scratch/kocevski/874770/ft2_4FGL_J1026.9-1749_daily_bin1512.fits outfile=/scratch/kocevski/874770/cmap_HighResolution_631238401_631497601_4FGL_J1026.9-1749_daily_bin1512.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.57
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/874770/ft1_filtered_4FGL_J1026.9-1749_daily_bin1512.fits evtable="EVENTS" scfile=/scratch/kocevski/874770/ft2_4FGL_J1026.9-1749_daily_bin1512.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/874770/Model_4FGL_J1026.9-1749_daily_bin1512.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/874770/ft1_filtered_4FGL_J1026.9-1749_daily_bin1512.fits.....................!
real 76.69
user 75.30
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.788       1.0000         .10000E-03   10000.    
     2 'norm      '    3.5844       1.0000         .10000E-03   10000.    
     3 'norm      '    .10403E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.1718       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .36573E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.6238       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.4893       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .73684       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.5031       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .82102       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8325.255     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1248 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.785        18.781         .0000        .72451E-04
   2  norm          3.5927        11.769         .0000        .33305E-02
   3  norm          .10000E-03    8.8646         .0000    ** at limit **
   4  norm          1.1723        1.3595         .0000        .12131E-02
   5  Prefactor     .25898        4.2163         .0000        .50842E-03
   6  Prefactor     .10000E-03    4.2475         .0000    ** at limit **
   7  Prefactor     .10000E-03    10.937         .0000    ** at limit **
   8  norm          4.6268        3.2401         .0000        .45156E-03
   9  Prefactor     .10000E-03    3.4204         .0000    ** at limit **
  10  Prefactor     .10000E-03    2.6681         .0000    ** at limit **
  11  norm          2.4898        3.2347         .0000        .35624E-03
  12  Prefactor     .10000E-03    7.8500         .0000    ** at limit **
  13  Prefactor     .37228        61.375         .0000        .78406E-04
  14  Normalizat    1.5030        .19225         .0000        .17071E-04
  15  Prefactor     .82074        .11609         .0000        .40916E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7854
  norm       = 3.59273
  norm       = 0.0001
  norm       = 1.17235
  Prefactor  = 0.258983
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.62684
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.48976
  Prefactor  = 0.0001
  Prefactor  = 0.372283
  Normalizat = 1.50303
  Prefactor  = 0.820739
 **********
 **   18 **HESSE 
 **********

 FCN=   8325.255     FROM HESSE     STATUS=OK           194 CALLS     1442 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.785        18.770        .11201E-03   -1.4993    
   2  norm          3.5927        11.757        .10672E-02   -1.5329    
   3  norm          .10000E-03    8.9330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1723        1.3356        .10789E-03   -1.5491    
   5  Prefactor     .25898        31.308        .35798E-02   -1.5606    
   6  Prefactor     .10000E-03    4.2581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.6268        3.2349        .13185E-03   -1.5278    
   9  Prefactor     .10000E-03    3.4263        .16479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.7162        .14544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4898        3.2225        .18203E-03   -1.5392    
  12  Prefactor     .10000E-03    7.8525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .37228        57.986        .20583       -1.5586    
  14  Normalizat    1.5030        .23074        .27011E-03   -.77693    
  15  Prefactor     .82074        .13987        .21302E-03   -.98968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0868e-10
Minuit parameter uncertainties:
  1  18.7786
  2  11.765
  3  1.24072e-05
  4  1.33565
  5  5.69697
  6  1.03908e-07
  7  8.96178e-07
  8  3.23506
  9  4.17393e-06
  10  2.58769e-06
  11  3.2227
  12  1.14511e-05
  13  9.30032
  14  0.230899
  15  0.139926
Done.

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

Extracting fit parameters...

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  2.590e-01  5.697e+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

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  8.207e-01  1.399e-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.503e+00  2.309e-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: 6.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/874770/likelihoodResults_631238401_631497601_4FGL_J1026.9-1749_daily_bin1512.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) = 8324.86934523
delta logL = 0.386100590345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8324.85813914
delta logL = 0.397306677361

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .77088       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0376       1.0000          .0000       10.000    
     3 'Normalizat'    1.4660       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82790       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=   8324.858     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      248 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77163        15.878        .12331E-01    .18181E-02
   2  Index         3.0374        2.5223        .11412        .22358E-03
   3  Normalizat    1.4660        .39930E-01    .61699E-01   -.66360E-05
   4  Prefactor     .82790        .24056E-01    .44079E-01   -.15050E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.771631
  Index      = 3.03744
  Normalizat = 1.46597
  Prefactor  = 0.827905
 **********
 **   18 **HESSE 
 **********

 FCN=   8324.858     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      281 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77163        53.471        .92993E-04   -1.5532    
   2  Index         3.0374        6.3850        .67702E-02   -.40336    
   3  Normalizat    1.4660        .26630        .27288E-03   -.78739    
   4  Prefactor     .82790        .15710        .21211E-03   -.98708    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.44426e-09
Minuit parameter uncertainties:
  1  12.8579
  2  6.87933
  3  0.266552
  4  0.157181
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/874770': 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) = 8324.858139
delta logL = 0.397306816436

Extracting fit parameters...

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  7.716e-01  1.286e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.037e+00  6.879e+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:  8.279e-01  1.572e-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.466e+00  2.666e-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/874770/cmap_HighResolution_631238401_631497601_4FGL_J1026.9-1749_daily_bin1512.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.23e-08', time_completed='2021-09-01 21:46:50.047460', job_id='874770', GAL2='0.83', fit_tolerance='1e-08', EG2='1.47', EG='1.50', time_epoch_completed='1630558010.05', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.97e-01', ts2='0.81', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1512' AND source_name='4FGL J1026.9-1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 21:46:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 874770: <4FGL_J1026.9-1749_daily_bin1512> in cluster <slac> Done

Job <4FGL_J1026.9-1749_daily_bin1512> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 21:30:51 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 21:33:35 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:33:35 2021
Terminated at Wed Sep  1 21:46:50 2021
Results reported at Wed Sep  1 21:46:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1026.9-1749_daily_bin1512 156.742 -17.8218 631238401 631497601 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 :                                   600.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            959 sec.

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

