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


Performing analysis on: 4FGL_J1026.9-1749_daily_bin1350
RA = 156.742, Dec = -17.8218
tmin = 589248001, tmax = 589507201
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='873881', job_status='RUN', time_executed='2021-09-01 21:32:59.127762', time_epoch_executed='1630557179.13' WHERE source_name='4FGL J1026.9-1749' and cadence='daily' and bin_id='1350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/873881

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/873881/ft1_4FGL_J1026.9-1749_daily_bin1350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/873881/ft2_4FGL_J1026.9-1749_daily_bin1350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/873881/ft1_4FGL_J1026.9-1749_daily_bin1350.fits outfile=/scratch/kocevski/873881/ft1_filteredMKT_4FGL_J1026.9-1749_daily_bin1350.fits ra=156.742 dec=-17.8218 rad=12.0 tmin=589248001.0 tmax=589507201.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.18
user 2.95
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/873881/ft1_filtered_4FGL_J1026.9-1749_daily_bin1350.fits" evtable="EVENTS" scfile=/scratch/kocevski/873881/ft2_4FGL_J1026.9-1749_daily_bin1350.fits sctable="SC_DATA" outfile=/scratch/kocevski/873881/ltcube_589248001_589507201_4FGL_J1026.9-1749_daily_bin1350.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/873881/ft2_4FGL_J1026.9-1749_daily_bin1350.fits
.....................!
real 16.81
user 16.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/873881/ft1_filtered_4FGL_J1026.9-1749_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/873881/ft2_4FGL_J1026.9-1749_daily_bin1350.fits sctable="SC_DATA" expcube=/scratch/kocevski/873881/ltcube_589248001_589507201_4FGL_J1026.9-1749_daily_bin1350.fits outfile=/scratch/kocevski/873881/expmap_589248001_589507201_4FGL_J1026.9-1749_daily_bin1350.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/873881/ltcube_589248001_589507201_4FGL_J1026.9-1749_daily_bin1350.fits
.....................!
real 191.47
user 186.16
sys 4.73

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/873881/ft1_filtered_4FGL_J1026.9-1749_daily_bin1350.fits scfile=/scratch/kocevski/873881/ft2_4FGL_J1026.9-1749_daily_bin1350.fits outfile=/scratch/kocevski/873881/cmap_589248001_589507201_4FGL_J1026.9-1749_daily_bin1350.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/873881/ft1_filtered_4FGL_J1026.9-1749_daily_bin1350.fits scfile=/scratch/kocevski/873881/ft2_4FGL_J1026.9-1749_daily_bin1350.fits outfile=/scratch/kocevski/873881/cmap_HighResolution_589248001_589507201_4FGL_J1026.9-1749_daily_bin1350.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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/873881/ft1_filtered_4FGL_J1026.9-1749_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/873881/ft2_4FGL_J1026.9-1749_daily_bin1350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/873881/Model_4FGL_J1026.9-1749_daily_bin1350.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/873881/ft1_filtered_4FGL_J1026.9-1749_daily_bin1350.fits....................!
real 59.95
user 58.52
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    20.015       1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.1529       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3202       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20858E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.8270       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6906       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.230       1.0000         .10000E-03   10000.    
    11 'norm      '    39.477       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.291       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .88682       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1788       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=   5677.648     FROM MIGRAD    STATUS=CONVERGED    297 CALLS     1201 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4570        .67315E-07** at limit **
   2  norm          20.016        14.909        .22679E-06   -.82186E-05
   3  norm          .10000E-03    6.6856        .89970E-07** at limit **
   4  norm          8.1528        2.2671        .75863E-07   -.17215E-03
   5  Prefactor     5.3199        8.2382        .17243E-06   -.20536E-04
   6  Prefactor     .10033E-03    9.8760        .19773E-06** at limit **
   7  Prefactor     .10000E-03    10.172        .62911E-07** at limit **
   8  norm          3.8262        3.1072       -.78113E-07   -.27686E-03
   9  Prefactor     1.6771        25.408        .15010E-04   -.50025E-04
  10  Prefactor     10.230        6.8609       -.51625E-07   -.13679E-03
  11  norm          39.478        16.214        .16076E-06   -.18543E-04
  12  Prefactor     12.238        44.164        .11202E-04    .26526E-04
  13  Prefactor     .10000E-03    58.838       -.67828E-06** at limit **
  14  Normalizat    .88667        .27271       -.21275E-05   -.16914E-03
  15  Prefactor     1.1789        .16130       -.60691E-06   -.22204E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 20.0158
  norm       = 0.0001
  norm       = 8.15283
  Prefactor  = 5.31987
  Prefactor  = 0.000100329
  Prefactor  = 0.0001
  norm       = 3.82625
  Prefactor  = 1.67713
  Prefactor  = 10.23
  norm       = 39.4778
  Prefactor  = 12.238
  Prefactor  = 0.000100001
  Normalizat = 0.886668
  Prefactor  = 1.17891
 **********
 **   18 **HESSE 
 **********

 FCN=   5677.648     FROM HESSE     STATUS=OK           188 CALLS     1389 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.4794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          20.016        14.909        .89526E-04   -1.4813    
   3  norm          .10000E-03    6.7076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.1528        2.2679        .56512E-04   -1.5137    
   5  Prefactor     5.3199        8.2277        .17424E-03   -1.5247    
   6  Prefactor     .10033E-03    106.20        .44617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.8262        3.0891        .11514E-03   -1.5317    
   9  Prefactor     1.6771        25.530        .16188E-02   -1.5449    
  10  Prefactor     10.230        6.8658        .12528E-03   -1.5068    
  11  norm          39.478        16.214        .63794E-04   -1.4451    
  12  Prefactor     12.238        44.190        .11426E-03   -1.5008    
  13  Prefactor     .10000E-03    58.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .88667        .30934        .38294E-03   -.96930    
  15  Prefactor     1.1789        .18401        .20178E-03   -.86983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95688e-09
Minuit parameter uncertainties:
  1  1.21491e-05
  2  14.9117
  3  1.37675e-05
  4  2.26789
  5  8.2294
  6  0.0118347
  7  9.67248e-06
  8  3.08919
  9  13.0932
  10  6.86631
  11  16.2158
  12  44.3085
  13  0.000411071
  14  0.309956
  15  0.184107
Done.

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

Extracting fit parameters...

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  5.320e+00  8.229e+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:  1.179e+00  1.841e-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:  8.867e-01  3.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.67
Ra Dec: 156.742 -17.822
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/873881/likelihoodResults_589248001_589507201_4FGL_J1026.9-1749_daily_bin1350.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) = 5676.04371312
delta logL = 1.60452389522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5675.99368659
delta logL = 1.65455042966

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71933       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6340       1.0000          .0000       10.000    
     3 'Normalizat'    .69501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2431       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=   5675.994     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      262 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72033        5.7520        .77459E-02    .68652E-03
   2  Index         3.6338        1.8483        .72425E-01    .19724E-03
   3  Normalizat    .69502        .79684E-01    .96506E-01    .28062E-04
   4  Prefactor     1.2431        .46935E-01    .33683E-01   -.45473E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.720335
  Index      = 3.63379
  Normalizat = 0.695021
  Prefactor  = 1.24308
 **********
 **   18 **HESSE 
 **********

 FCN=   5675.994     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      295 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72033        10.612        .34835E-04   -1.5538    
   2  Index         3.6338        2.7928        .28609E-02   -.27676    
   3  Normalizat    .69502        .31160        .42765E-03   -1.0409    
   4  Prefactor     1.2431        .18417        .19701E-03   -.85016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.66172e-07
Minuit parameter uncertainties:
  1  5.5304
  2  2.97985
  3  0.312392
  4  0.184263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/873881': 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) = 5675.99368556
delta logL = 1.65455145894

Extracting fit parameters...

4FGL J1026.9-1749
   Spectrum: PowerLaw
273    Prefactor:  7.203e-01  5.530e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.634e+00  2.980e+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.243e+00  1.843e-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:  6.950e-01  3.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.31
Ra Dec: 156.742 -17.822
Photon Index (Free Index): 3.63 +/- 2.98
Photon Flux (Free Index): 1.83e-07 +/- 1.21e-07
Energy Flux (Free Index): 2.95e-05 +/- 2.02e-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/873881/cmap_HighResolution_589248001_589507201_4FGL_J1026.9-1749_daily_bin1350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.66e-03', comment='SUCCESS', energy_flux2='2.95e-05', dlogl='1.65e+00', photon_flux2='1.83e-07', job_status='DONE', time_completed='2021-09-01 21:41:44.641861', photon_index_error2='2.98', photon_index2='3.63', ts='0.67', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='2.02e-05', EG='0.89', time_epoch_completed='1630557704.64', return_code='0', job_id='873881', GAL2='1.24', EG2='0.70', return_code2='102', photon_flux_error2='1.21e-07', ts2='4.31', photon_index='1.95' WHERE bin_id='1350' AND source_name='4FGL J1026.9-1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 21:41:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 873881: <4FGL_J1026.9-1749_daily_bin1350> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1026.9-1749_daily_bin1350 156.742 -17.8218 589248001 589507201 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 :                                   509.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            920 sec.

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

