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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin1062
RA = 147.316, Dec = 17.83
tmin = 514598401, tmax = 514857601
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='534229', job_status='RUN', time_executed='2021-09-01 03:44:55.817923', time_epoch_executed='1630493095.82' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='1062'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534229

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534229/ft1_4FGL_J0949.2+1749_daily_bin1062.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534229/ft2_4FGL_J0949.2+1749_daily_bin1062.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534229/ft1_4FGL_J0949.2+1749_daily_bin1062.fits outfile=/scratch/kocevski/534229/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1062.fits ra=147.316 dec=17.83 rad=12.0 tmin=514598401.0 tmax=514857601.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.28
user 3.74
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534229/ft1_filtered_4FGL_J0949.2+1749_daily_bin1062.fits" evtable="EVENTS" scfile=/scratch/kocevski/534229/ft2_4FGL_J0949.2+1749_daily_bin1062.fits sctable="SC_DATA" outfile=/scratch/kocevski/534229/ltcube_514598401_514857601_4FGL_J0949.2+1749_daily_bin1062.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/534229/ft2_4FGL_J0949.2+1749_daily_bin1062.fits
.....................!
real 12.71
user 11.62
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534229/ft1_filtered_4FGL_J0949.2+1749_daily_bin1062.fits evtable="EVENTS" scfile=/scratch/kocevski/534229/ft2_4FGL_J0949.2+1749_daily_bin1062.fits sctable="SC_DATA" expcube=/scratch/kocevski/534229/ltcube_514598401_514857601_4FGL_J0949.2+1749_daily_bin1062.fits outfile=/scratch/kocevski/534229/expmap_514598401_514857601_4FGL_J0949.2+1749_daily_bin1062.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/534229/ltcube_514598401_514857601_4FGL_J0949.2+1749_daily_bin1062.fits
.....................!
real 206.20
user 187.17
sys 6.69

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/534229/ft1_filtered_4FGL_J0949.2+1749_daily_bin1062.fits scfile=/scratch/kocevski/534229/ft2_4FGL_J0949.2+1749_daily_bin1062.fits outfile=/scratch/kocevski/534229/cmap_514598401_514857601_4FGL_J0949.2+1749_daily_bin1062.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534229/ft1_filtered_4FGL_J0949.2+1749_daily_bin1062.fits scfile=/scratch/kocevski/534229/ft2_4FGL_J0949.2+1749_daily_bin1062.fits outfile=/scratch/kocevski/534229/cmap_HighResolution_514598401_514857601_4FGL_J0949.2+1749_daily_bin1062.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.544       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    52.633       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7673       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.023       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.224       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4635       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.6912       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .78384       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2528       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=   5538.370     FROM MIGRAD    STATUS=CONVERGED    291 CALLS     1407 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.543        10.420       -.41470E-06    .25976E-04
   2  norm          .10000E-03    1.7897       -.20182E-07** at limit **
   3  norm          .10000E-03    34.845        .75579E-06** at limit **
   4  Prefactor     52.624        62.216       -.11571E-04    .13713E-04
   5  Prefactor     2.7666        4.5498       -.23260E-06   -.32714E-03
   6  Prefactor     .10000E-03    18.444       -.21655E-06** at limit **
   7  norm          .10000E-03    .31250       -.70718E-07** at limit **
   8  Prefactor     26.939        89.763       -.15442E-03   -.15198E-05
   9  Prefactor     24.222        42.742       -.16450E-05    .42129E-04
  10  Prefactor     2.4627        8.5538        .10876E-04   -.66104E-04
  11  Prefactor     .10000E-03    .83366       -.81737E-07** at limit **
  12  norm          6.6887        9.9659       -.92901E-06   -.19486E-03
  13  Prefactor     .10000E-03    26.591       -.75564E-07** at limit **
  14  Prefactor     .10000E-03    2.5140       -.48185E-07** at limit **
  15  Normalizat    .78392        .19021        .88018E-05   -.27852E-03
  16  Prefactor     1.2527        .17194        .34051E-06    .12754E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5434
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 52.6237
  Prefactor  = 2.76661
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.9386
  Prefactor  = 24.2217
  Prefactor  = 2.46271
  Prefactor  = 0.0001
  norm       = 6.68872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.783925
  Prefactor  = 1.25275
 **********
 **   18 **HESSE 
 **********

 FCN=   5538.370     FROM HESSE     STATUS=OK           199 CALLS     1606 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.543        10.422        .12339E-03   -1.5058    
   2  norm          .10000E-03    1.7898        .97233E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    34.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     52.624        62.214        .55284E-04   -1.4256    
   5  Prefactor     2.7666        4.5335        .19707E-03   -1.5375    
   6  Prefactor     .10000E-03    18.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .31533        .40603E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     26.939        89.781        .77064E-04   -1.4669    
   9  Prefactor     24.222        42.842        .81388E-04   -1.4723    
  10  Prefactor     2.4627        8.4916        .26055E-03   -1.5394    
  11  Prefactor     .10000E-03    .83595        .66343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.6887        9.9363        .15512E-03   -1.5191    
  13  Prefactor     .10000E-03    26.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.5177        .11524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .78392        .21979        .27723E-03   -1.0067    
  16  Prefactor     1.2527        .19941        .21119E-03   -.84723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06147e-09
Minuit parameter uncertainties:
  1  10.4233
  2  8.10319e-07
  3  3.19014e-05
  4  62.2908
  5  4.53409
  6  1.61848e-05
  7  4.27417e-06
  8  90.2356
  9  42.8966
  10  8.49579
  11  6.13646e-06
  12  9.93872
  13  8.61755e-05
  14  7.46765e-06
  15  0.220039
  16  0.19953
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  2.422e+01  4.290e+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:  1.253e+00  1.995e-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:  7.839e-01  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/534229/likelihoodResults_514598401_514857601_4FGL_J0949.2+1749_daily_bin1062.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) = 5536.58336646
delta logL = 1.78648449348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5536.25942589
delta logL = 2.11042506331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16273E-03   1.0000         .10000E-03   10000.    
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .66001       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3459       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=   5536.259     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      504 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16262E-03    .98839E-04    .20325E-03** at limit **
   2  Index        10.0000        .32324        .50000    ** at limit **
   3  Normalizat    .66027        .18652        .67699E-01   -.12690E-05
   4  Prefactor     1.3455        .17302        .46351E-01   -.49291E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000162623
  Index      = 10
  Normalizat = 0.660273
  Prefactor  = 1.34553
 **********
 **   18 **HESSE 
 **********

 FCN=   5536.259     FROM HESSE     STATUS=OK            31 CALLS      535 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16262E-03    .10226E-03    .90115E-06   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        6.2832        .25323E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .66027        .22147        .29959E-03   -1.0548    
   4  Prefactor     1.3455        .20630        .20489E-03   -.81963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56925e-12
Minuit parameter uncertainties:
  1  0.000102255
  2  3.9933e-06
  3  0.221769
  4  0.206429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534229': 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): 0
logL (Free Index) = 5536.25941962
delta logL = 2.11043133752

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.626e-04  1.023e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.000e+01  3.993e-06  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.346e+00  2.064e-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:  6.603e-01  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 147.316 17.830
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.10e-07 +/- 6.67e-08
Energy Flux (Free Index): 1.22e-05 +/- 7.51e-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/534229/cmap_HighResolution_514598401_514857601_4FGL_J0949.2+1749_daily_bin1062.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', energy_flux2='1.22e-05', dlogl='2.11e+00', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-09-01 03:55:37.570345', photon_index_error2='0.00', photon_index2='10.00', ts='0.41', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='7.51e-06', EG='0.78', time_epoch_completed='1630493737.57', return_code='0', job_id='534229', GAL2='1.35', EG2='0.66', return_code2='0', photon_flux_error2='6.67e-08', ts2='5.03', photon_index='2.52' WHERE bin_id='1062' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:55:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 534229: <4FGL_J0949.2+1749_daily_bin1062> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin1062> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 03:40:45 2021
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:40:47 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:40:47 2021
Terminated at Wed Sep  1 03:55:38 2021
Results reported at Wed Sep  1 03:55:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin1062 147.316 17.83 514598401 514857601 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.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             238.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            893 sec.

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

