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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin1468
RA = 147.316, Dec = 17.83
tmin = 619833601, tmax = 620092801
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='535789', job_status='RUN', time_executed='2021-09-01 03:49:07.478088', time_epoch_executed='1630493347.48' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='1468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/535789

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/535789/ft1_4FGL_J0949.2+1749_daily_bin1468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/535789/ft1_4FGL_J0949.2+1749_daily_bin1468.fits outfile=/scratch/kocevski/535789/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1468.fits ra=147.316 dec=17.83 rad=12.0 tmin=619833601.0 tmax=620092801.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.01
user 3.24
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.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/535789/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1468.fits evtable="EVENTS" outfile="/scratch/kocevski/535789/ft1_filtered_4FGL_J0949.2+1749_daily_bin1468.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.82
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/535789/ft1_filtered_4FGL_J0949.2+1749_daily_bin1468.fits" evtable="EVENTS" scfile=/scratch/kocevski/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.fits sctable="SC_DATA" outfile=/scratch/kocevski/535789/ltcube_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.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/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.fits
.....................!
real 12.63
user 12.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/535789/ft1_filtered_4FGL_J0949.2+1749_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.fits sctable="SC_DATA" expcube=/scratch/kocevski/535789/ltcube_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.fits outfile=/scratch/kocevski/535789/expmap_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.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/535789/ltcube_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.fits
.....................!
real 194.92
user 185.79
sys 5.27

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J0949.2+1749 @ 147.316 17.83

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/535789/ft1_filtered_4FGL_J0949.2+1749_daily_bin1468.fits scfile=/scratch/kocevski/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.fits outfile=/scratch/kocevski/535789/cmap_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.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=147.316 yref=17.83 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/535789/ft1_filtered_4FGL_J0949.2+1749_daily_bin1468.fits scfile=/scratch/kocevski/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.fits outfile=/scratch/kocevski/535789/cmap_HighResolution_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.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=147.316 yref=17.83 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.59
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/535789/ft1_filtered_4FGL_J0949.2+1749_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/535789/Model_4FGL_J0949.2+1749_daily_bin1468.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/535789/ft1_filtered_4FGL_J0949.2+1749_daily_bin1468.fits.....................!
real 67.57
user 66.15
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/535789/ft1_filtered_4FGL_J0949.2+1749_daily_bin1468.fits', '/scratch/kocevski/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.fits', expMap='/scratch/kocevski/535789/expmap_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.fits', expCube='/scratch/kocevski/535789/ltcube_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/535789/Model_4FGL_J0949.2+1749_daily_bin1468.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.2+1749'

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.911e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/535789/ft1_filtered_4FGL_J0949.2+1749_daily_bin1468.fits
Spacecraft file(s): /scratch/kocevski/535789/ft2_4FGL_J0949.2+1749_daily_bin1468.fits
Exposure map: /scratch/kocevski/535789/expmap_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.fits
Exposure cube: /scratch/kocevski/535789/ltcube_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/535789/Model_4FGL_J0949.2+1749_daily_bin1468.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) = 7210.99213469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4288       1.0000         .10000E-03   10000.    
     2 'norm      '    2.7986       1.0000         .10000E-03   10000.    
     3 'norm      '    19.228       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.418       1.0000         .10000E-03   10000.    
     7 'norm      '    .12350       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10311E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    18.251       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3672       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.3787       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7210.921     FROM MIGRAD    STATUS=CONVERGED    312 CALLS     1270 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4286        4.4985        .85709E-07   -.42953E-03
   2  norm          2.7987        4.2061        .83792E-07   -.41067E-03
   3  norm          19.229        20.506        .38609E-06    .22067E-05
   4  Prefactor     .10000E-03    16.370       -.39125E-05** at limit **
   5  Prefactor     .10000E-03    3.8013       -.25429E-07** at limit **
   6  Prefactor     16.419        18.475        .11338E-05   -.78356E-06
   7  norm          .12823        .76873       -.31924E-07    .86650E-04
   8  Prefactor     .10000E-03    25.879       -.40610E-05** at limit **
   9  Prefactor     .10000E-03    21.011        .72411E-05** at limit **
  10  Prefactor     .10000E-03    10.152        .10181E-05** at limit **
  11  Prefactor     .10000E-03    1.9310       -.79536E-08** at limit **
  12  norm          18.253        9.6673       -.78094E-08   -.17031E-04
  13  Prefactor     .10000E-03    8.7106       -.37412E-06** at limit **
  14  Prefactor     .10000E-03    3.5401       -.17578E-07** at limit **
  15  Normalizat    1.3672        .19921       -.88889E-07   -.21424E-04
  16  Prefactor     1.3786        .18252       -.50506E-07   -.21423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.42865
  norm       = 2.7987
  norm       = 19.2287
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.4189
  norm       = 0.128227
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.2525
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.36721
  Prefactor  = 1.37857
 **********
 **   18 **HESSE 
 **********

 FCN=   7210.921     FROM HESSE     STATUS=OK           199 CALLS     1469 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4286        10.115        .13129E-02   -1.5396    
   2  norm          2.7987        4.5022        .11186E-02   -1.5373    
   3  norm          19.229        20.514        .91339E-04   -1.4831    
   4  Prefactor     .10000E-03    16.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.8354        .16165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.419        18.477        .98847E-04   -1.4897    
   7  norm          .12823        5.3495        .13824E-02   -1.5636    
   8  Prefactor     .10000E-03    25.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    21.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.498        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.9663        .11519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.253        9.6694        .93751E-04   -1.4853    
  13  Prefactor     .10000E-03    8.7111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.5470        .15603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.3672        .23935        .27947E-03   -.81582    
  16  Prefactor     1.3786        .22087        .25719E-03   -.81000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.98091e-10
Minuit parameter uncertainties:
  1  9.91536
  2  4.50278
  3  20.5212
  4  9.72947e-06
  5  1.11137e-06
  6  18.4836
  7  1.65596
  8  1.27647e-05
  9  1.80949e-05
  10  1.41935e-05
  11  8.60092e-07
  12  9.67024
  13  5.41391e-07
  14  1.90281e-07
  15  0.239542
  16  0.22102
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.809e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.379e+00  2.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.367e+00  2.395e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 8.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/535789/likelihoodResults_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.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) = 7210.92079157
delta logL = -0.00022633509252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7210.92056582
delta logL = -5.7904071582e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2965       1.0000          .0000       10.000    
     3 'Normalizat'    1.3672       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3786       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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.

 FCN=   7210.921     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      282 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10223E-03    6.7727        .18142E-01** at limit **
   2  Index         3.1965        5.0223        .50000        .68000E-05
   3  Normalizat    1.3672        .32085E-02    .27947E-03    .21723E-04
   4  Prefactor     1.3786        .29747E-02    .25719E-03    .11405E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102226
  Index      = 3.19651
  Normalizat = 1.36721
  Prefactor  = 1.37857
 **********
 **   18 **HESSE 
 **********

 FCN=   7210.921     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      311 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10223E-03    120.33        .34652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1965        5.9915        .50000       -.36902    
   3  Normalizat    1.3672        .13471E-01    .11179E-04   -.81582    
   4  Prefactor     1.3786        .12489E-01    .10288E-04   -.81000    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.66395e-09
Minuit parameter uncertainties:
  1  0.0327991
  2  657.721
  3  0.0134711
  4  0.0124895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/535789': 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) = 7210.92056572
delta logL = -4.78829861095e-07

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.022e-04  3.280e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.197e+00  6.577e+02  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.379e+00  1.249e-02  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.367e+00  1.347e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 147.316 17.830

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/535789/cmap_HighResolution_619833601_620092801_4FGL_J0949.2+1749_daily_bin1468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.65e-03', job_status='DONE', photon_flux_upper_limit='8.54e-08', time_completed='2021-09-01 04:01:36.366595', job_id='535789', GAL2='1.38', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1630494096.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='-4.79e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1468' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 04:01:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 535789: <4FGL_J0949.2+1749_daily_bin1468> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin1468> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  1 03:45:45 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:45:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 03:45:46 2021
Terminated at Wed Sep  1 04:01:37 2021
Results reported at Wed Sep  1 04:01:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin1468 147.316 17.83 619833601 620092801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0949.2+1749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   527.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             229.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            952 sec.

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

