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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin747
RA = 147.316, Dec = 17.83
tmin = 432950401, tmax = 433209601
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='532777', job_status='RUN', time_executed='2021-09-01 03:37:24.222522', time_epoch_executed='1630492644.22' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532777

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532777/ft1_4FGL_J0949.2+1749_daily_bin747.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532777/ft2_4FGL_J0949.2+1749_daily_bin747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532777/ft1_4FGL_J0949.2+1749_daily_bin747.fits outfile=/scratch/kocevski/532777/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin747.fits ra=147.316 dec=17.83 rad=12.0 tmin=432950401.0 tmax=433209601.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 5.69
user 5.40
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532777/ft2_4FGL_J0949.2+1749_daily_bin747.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/532777/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin747.fits evtable="EVENTS" outfile="/scratch/kocevski/532777/ft1_filtered_4FGL_J0949.2+1749_daily_bin747.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.64
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532777/ft1_filtered_4FGL_J0949.2+1749_daily_bin747.fits" evtable="EVENTS" scfile=/scratch/kocevski/532777/ft2_4FGL_J0949.2+1749_daily_bin747.fits sctable="SC_DATA" outfile=/scratch/kocevski/532777/ltcube_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.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/532777/ft2_4FGL_J0949.2+1749_daily_bin747.fits
.....................!
real 12.59
user 12.12
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532777/ft1_filtered_4FGL_J0949.2+1749_daily_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/532777/ft2_4FGL_J0949.2+1749_daily_bin747.fits sctable="SC_DATA" expcube=/scratch/kocevski/532777/ltcube_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.fits outfile=/scratch/kocevski/532777/expmap_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.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/532777/ltcube_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.fits
.....................!
real 192.62
user 186.90
sys 5.02

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/532777/ft1_filtered_4FGL_J0949.2+1749_daily_bin747.fits scfile=/scratch/kocevski/532777/ft2_4FGL_J0949.2+1749_daily_bin747.fits outfile=/scratch/kocevski/532777/cmap_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532777/ft1_filtered_4FGL_J0949.2+1749_daily_bin747.fits scfile=/scratch/kocevski/532777/ft2_4FGL_J0949.2+1749_daily_bin747.fits outfile=/scratch/kocevski/532777/cmap_HighResolution_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/532777/ft1_filtered_4FGL_J0949.2+1749_daily_bin747.fits', '/scratch/kocevski/532777/ft2_4FGL_J0949.2+1749_daily_bin747.fits', expMap='/scratch/kocevski/532777/expmap_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.fits', expCube='/scratch/kocevski/532777/ltcube_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/532777/Model_4FGL_J0949.2+1749_daily_bin747.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/532777/ft1_filtered_4FGL_J0949.2+1749_daily_bin747.fits
Spacecraft file(s): /scratch/kocevski/532777/ft2_4FGL_J0949.2+1749_daily_bin747.fits
Exposure map: /scratch/kocevski/532777/expmap_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.fits
Exposure cube: /scratch/kocevski/532777/ltcube_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/532777/Model_4FGL_J0949.2+1749_daily_bin747.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) = 5203.40787635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.307       1.0000         .10000E-03   10000.    
     2 'norm      '    3.6433       1.0000         .10000E-03   10000.    
     3 'norm      '    38.366       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.998       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1222       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.7055       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.389       1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.549       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .30720E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4023       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8834       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.4053       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .77882       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=   5203.403     FROM MIGRAD    STATUS=CONVERGED    304 CALLS     1470 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.303        16.249       -.34639E-06    .33850E-05
   2  norm          3.6442        7.0117        .47215E-06    .41442E-04
   3  norm          38.363        38.265       -.39472E-06   -.15035E-05
   4  Prefactor     19.987        44.559       -.82493E-06   -.38500E-05
   5  Prefactor     6.1165        7.9209       -.52041E-06    .15636E-03
   6  Prefactor     .10000E-03    42.098        .19893E-06** at limit **
   7  norm          5.7041        2.2568       -.25470E-06    .61888E-04
   8  Prefactor     19.273        84.068       -.62890E-06    .73180E-05
   9  Prefactor     31.517        40.070       -.17814E-05   -.22617E-04
  10  Prefactor     .10006E-03    4.1069       -.10814E-06** at limit **
  11  Prefactor     1.4021        1.9334        .18005E-06    .28000E-03
  12  norm          .10000E-03    2.4618        .76941E-07** at limit **
  13  Prefactor     .10000E-03    21.136        .20621E-06** at limit **
  14  Prefactor     3.8828        4.7209       -.15943E-06    .20287E-05
  15  Normalizat    1.4060        .24612        .71882E-05    .31847E-03
  16  Prefactor     .77834        .21019       -.57838E-05    .40288E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.3035
  norm       = 3.64421
  norm       = 38.3628
  Prefactor  = 19.9866
  Prefactor  = 6.11649
  Prefactor  = 0.0001
  norm       = 5.70407
  Prefactor  = 19.2732
  Prefactor  = 31.5166
  Prefactor  = 0.000100063
  Prefactor  = 1.40212
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.88278
  Normalizat = 1.40595
  Prefactor  = 0.778343
 **********
 **   18 **HESSE 
 **********

 FCN=   5203.403     FROM HESSE     STATUS=OK           207 CALLS     1677 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.303        16.252        .86773E-04   -1.4785    
   2  norm          3.6442        6.9951        .21164E-03   -1.5326    
   3  norm          38.363        38.278        .64708E-04   -1.4468    
   4  Prefactor     19.987        44.583        .89564E-04   -1.4814    
   5  Prefactor     6.1165        7.9279        .16226E-03   -1.5213    
   6  Prefactor     .10000E-03    42.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.7041        2.2575        .63681E-04   -1.5230    
   8  Prefactor     19.273        84.476        .90960E-04   -1.4830    
   9  Prefactor     31.517        40.110        .71336E-04   -1.4585    
  10  Prefactor     .10006E-03    36.998        .27676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4021        1.9102        .11466E-03   -1.5471    
  12  norm          .10000E-03    2.4656        .11051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    21.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8828        4.7187        .16847E-03   -1.5314    
  15  Normalizat    1.4060        .24640        .23244E-03   -.80457    
  16  Prefactor     .77834        .21170        .27457E-03   -1.0053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01913e-09
Minuit parameter uncertainties:
  1  16.2553
  2  6.99662
  3  38.302
  4  44.6571
  5  7.92927
  6  0.000102799
  7  2.25749
  8  80.8923
  9  40.1441
  10  0.00304866
  11  1.91031
  12  1.42402e-06
  13  3.29084e-06
  14  4.71918
  15  0.246609
  16  0.211918
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  3.152e+01  4.014e+01  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:  7.783e-01  2.119e-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.406e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.87
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532777/likelihoodResults_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.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) = 5201.80812238
delta logL = 1.59494102759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5201.3890355
delta logL = 2.01402790781

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16188E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    8.8003       1.0000          .0000       10.000    
     3 'Normalizat'    1.2929       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86065       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.

 FCN=   5201.389     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      385 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15665E-02    .17426E-01    .44704E-03** at limit **
   2  Index         8.8174        2.7001        .14809        .69303E-04
   3  Normalizat    1.2930        .65179E-01    .54327E-01    .12118E-03
   4  Prefactor     .86048        .59674E-01    .44502E-01    .91586E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00156652
  Index      = 8.81743
  Normalizat = 1.29299
  Prefactor  = 0.860475
 **********
 **   18 **HESSE 
 **********

 FCN=   5201.389     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      416 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15665E-02    .31280E-01    .17268E-04   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.8174        8.1268        .64769E-03    .86869    
   3  Normalizat    1.2930        .21405        .24022E-03   -.83776    
   4  Prefactor     .86048        .19190        .26255E-03   -.97536    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.2043e-10
Minuit parameter uncertainties:
  1  0.0135458
  2  4.44851
  3  0.214196
  4  0.192054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532777': 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) = 5201.38902673
delta logL = 2.01403667391

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.567e-03  1.355e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  8.817e+00  4.449e+00  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:  8.605e-01  1.921e-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.293e+00  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.17
Ra Dec: 147.316 17.830
Photon Index (Free Index): 8.82 +/- 4.45
Photon Flux (Free Index): 1.11e-07 +/- 6.79e-08
Energy Flux (Free Index): 1.26e-05 +/- 8.20e-06

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/532777/cmap_HighResolution_432950401_433209601_4FGL_J0949.2+1749_daily_bin747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', energy_flux2='1.26e-05', dlogl='2.01e+00', photon_flux2='1.11e-07', job_status='DONE', time_completed='2021-09-01 03:45:44.916162', photon_index_error2='4.45', photon_index2='8.82', ts='0.87', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='8.20e-06', EG='1.41', time_epoch_completed='1630493144.92', return_code='0', job_id='532777', GAL2='0.86', EG2='1.29', return_code2='102', photon_flux_error2='6.79e-08', ts2='5.17', photon_index='2.52' WHERE bin_id='747' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:45:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 532777: <4FGL_J0949.2+1749_daily_bin747> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 03:36:09 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:36:10 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:36:10 2021
Terminated at Wed Sep  1 03:45:45 2021
Results reported at Wed Sep  1 03:45:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin747 147.316 17.83 432950401 433209601 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 :                                   496.16 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             323.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   575 sec.
    Turnaround time :                            576 sec.

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

