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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin780
RA = 147.316, Dec = 17.83
tmin = 441504001, tmax = 441763201
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='532826', job_status='RUN', time_executed='2021-09-01 03:38:58.541162', time_epoch_executed='1630492738.54' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532826

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532826/ft1_4FGL_J0949.2+1749_daily_bin780.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532826/ft2_4FGL_J0949.2+1749_daily_bin780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532826/ft1_4FGL_J0949.2+1749_daily_bin780.fits outfile=/scratch/kocevski/532826/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin780.fits ra=147.316 dec=17.83 rad=12.0 tmin=441504001.0 tmax=441763201.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.43
user 3.18
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532826/ft1_filtered_4FGL_J0949.2+1749_daily_bin780.fits" evtable="EVENTS" scfile=/scratch/kocevski/532826/ft2_4FGL_J0949.2+1749_daily_bin780.fits sctable="SC_DATA" outfile=/scratch/kocevski/532826/ltcube_441504001_441763201_4FGL_J0949.2+1749_daily_bin780.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/532826/ft2_4FGL_J0949.2+1749_daily_bin780.fits
.....................!
real 11.91
user 11.56
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532826/ft1_filtered_4FGL_J0949.2+1749_daily_bin780.fits evtable="EVENTS" scfile=/scratch/kocevski/532826/ft2_4FGL_J0949.2+1749_daily_bin780.fits sctable="SC_DATA" expcube=/scratch/kocevski/532826/ltcube_441504001_441763201_4FGL_J0949.2+1749_daily_bin780.fits outfile=/scratch/kocevski/532826/expmap_441504001_441763201_4FGL_J0949.2+1749_daily_bin780.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/532826/ltcube_441504001_441763201_4FGL_J0949.2+1749_daily_bin780.fits
.....................!
real 190.39
user 184.80
sys 4.81

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/532826/ft1_filtered_4FGL_J0949.2+1749_daily_bin780.fits scfile=/scratch/kocevski/532826/ft2_4FGL_J0949.2+1749_daily_bin780.fits outfile=/scratch/kocevski/532826/cmap_441504001_441763201_4FGL_J0949.2+1749_daily_bin780.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532826/ft1_filtered_4FGL_J0949.2+1749_daily_bin780.fits scfile=/scratch/kocevski/532826/ft2_4FGL_J0949.2+1749_daily_bin780.fits outfile=/scratch/kocevski/532826/cmap_HighResolution_441504001_441763201_4FGL_J0949.2+1749_daily_bin780.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    91.531       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.9868       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.4636       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    45.072       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.824       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2267       1.0000         .10000E-03   10000.    
    12 'norm      '    1.6188       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.269       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.0557       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .91524       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .98115       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=   6108.416     FROM MIGRAD    STATUS=CONVERGED    285 CALLS     1423 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.308       -.14259E-06** at limit **
   2  norm          .10000E-03    5.2340        .14538E-06** at limit **
   3  norm          .10000E-03    16.319        .28638E-06** at limit **
   4  Prefactor     91.521        72.615       -.81792E-06   -.36548E-04
   5  Prefactor     6.9868        6.5075        .25664E-05   -.56267E-04
   6  Prefactor     .10000E-03    11.081        .12998E-06** at limit **
   7  norm          3.4637        1.4392        .26351E-07   -.21376E-04
   8  Prefactor     .10000E-03    22.421       -.13228E-06** at limit **
   9  Prefactor     45.055        37.359       -.44982E-06   -.15006E-03
  10  Prefactor     12.825        7.3855       -.21956E-06   -.60653E-04
  11  Prefactor     1.2268        2.3544        .30020E-06   -.23245E-04
  12  norm          1.6186        9.4146        .20922E-05   -.10114E-04
  13  Prefactor     21.238        46.232       -.13386E-05   -.13240E-03
  14  Prefactor     7.0556        7.3590       -.91793E-07   -.94815E-05
  15  Normalizat    .91519        .18325        .10152E-05   -.10275E-03
  16  Prefactor     .98120        .16002       -.15725E-05    .22554E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 91.5206
  Prefactor  = 6.98681
  Prefactor  = 0.0001
  norm       = 3.46366
  Prefactor  = 0.0001
  Prefactor  = 45.0554
  Prefactor  = 12.8247
  Prefactor  = 1.22679
  norm       = 1.61864
  Prefactor  = 21.2385
  Prefactor  = 7.0556
  Normalizat = 0.915192
  Prefactor  = 0.981202
 **********
 **   18 **HESSE 
 **********

 FCN=   6108.416     FROM HESSE     STATUS=OK           201 CALLS     1624 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.3066        .17463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    16.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     91.521        72.660        .42003E-04   -1.3792    
   5  Prefactor     6.9868        6.5732        .75886E-03   -1.5179    
   6  Prefactor     .10000E-03    11.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.4637        1.4385        .57468E-04   -1.5336    
   8  Prefactor     .10000E-03    22.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     45.055        37.434        .59719E-04   -1.4364    
  10  Prefactor     12.825        7.3837        .11185E-03   -1.4992    
  11  Prefactor     1.2268        2.3030        .15997E-03   -1.5486    
  12  norm          1.6186        9.4082        .33269E-03   -1.5454    
  13  Prefactor     21.238        46.380        .86850E-04   -1.4786    
  14  Prefactor     7.0556        7.3652        .15102E-03   -1.5177    
  15  Normalizat    .91519        .21231        .25817E-03   -.95928    
  16  Prefactor     .98120        .18417        .22866E-03   -.93359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16967e-10
Minuit parameter uncertainties:
  1  9.68595e-05
  2  5.69568e-06
  3  0.000111987
  4  72.7304
  5  6.57393
  6  2.88378e-05
  7  1.43855
  8  6.06684e-05
  9  37.4537
  10  7.38425
  11  2.30315
  12  7.80633
  13  46.4587
  14  7.36618
  15  0.212507
  16  0.184283
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.506e+01  3.745e+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:  9.812e-01  1.843e-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:  9.152e-01  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.39
Ra Dec: 147.316 17.830
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 4.82e-08 +/- 4.00e-08
Energy Flux (Fixed Index): 1.37e-05 +/- 1.14e-05

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

Saving results to:
/scratch/kocevski/532826/likelihoodResults_441504001_441763201_4FGL_J0949.2+1749_daily_bin780.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) = 6108.20086483
delta logL = 0.215416126931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6108.19896394
delta logL = 0.217317013863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.065       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0375       1.0000          .0000       10.000    
     3 'Normalizat'    .93843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97003       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=   6108.199     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      265 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.055        45.890        .58446E-04   -.22175E-04
   2  Index         2.0371        .74262        .94532E-02    .49296E-05
   3  Normalizat    .93852        .20184        .25523E-03    .34565E-04
   4  Prefactor     .96998        .18291        .22979E-03    .62981E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.0552
  Index      = 2.03714
  Normalizat = 0.938517
  Prefactor  = 0.969977
 **********
 **   18 **HESSE 
 **********

 FCN=   6108.199     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .77E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.055        46.721        .11689E-04   -1.4335    
   2  Index         2.0371        .75574        .37813E-03   -.63425    
   3  Normalizat    .93852        .20208        .10209E-04   -.95120    
   4  Prefactor     .96998        .18306        .91915E-05   -.93737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.71357e-12
Minuit parameter uncertainties:
  1  46.7573
  2  0.760251
  3  0.202245
  4  0.183172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532826': 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) = 6108.19896378
delta logL = 0.217317172401

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.706e+01  4.676e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.037e+00  7.603e-01  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:  9.700e-01  1.832e-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:  9.385e-01  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.81
Ra Dec: 147.316 17.830
Photon Index (Free Index): 2.04 +/- 0.76
Photon Flux (Free Index): 2.77e-08 +/- 4.22e-08
Energy Flux (Free Index): 1.75e-05 +/- 1.85e-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/532826/cmap_HighResolution_441504001_441763201_4FGL_J0949.2+1749_daily_bin780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', photon_flux='4.82e-08', energy_flux2='1.75e-05', photon_flux_error='4.00e-08', dlogl='2.17e-01', energy_flux='1.37e-05', photon_flux2='2.77e-08', job_status='DONE', time_completed='2021-09-01 03:47:16.821147', photon_index_error2='0.76', photon_index2='2.04', ts='2.39', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.85e-05', EG='0.92', time_epoch_completed='1630493236.82', return_code='0', job_id='532826', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='4.22e-08', ts2='2.81', photon_index='2.52' WHERE bin_id='780' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:47:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 532826: <4FGL_J0949.2+1749_daily_bin780> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin780 147.316 17.83 441504001 441763201 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 :                                   491.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   663 sec.
    Turnaround time :                            666 sec.

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

