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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin748
RA = 147.316, Dec = 17.83
tmin = 433209601, tmax = 433468801
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='532779', job_status='RUN', time_executed='2021-09-01 03:36:51.727176', time_epoch_executed='1630492611.73' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532779

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532779/ft1_4FGL_J0949.2+1749_daily_bin748.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532779/ft2_4FGL_J0949.2+1749_daily_bin748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532779/ft1_4FGL_J0949.2+1749_daily_bin748.fits outfile=/scratch/kocevski/532779/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin748.fits ra=147.316 dec=17.83 rad=12.0 tmin=433209601.0 tmax=433468801.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 6.02
user 5.71
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532779/ft2_4FGL_J0949.2+1749_daily_bin748.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/532779/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin748.fits evtable="EVENTS" outfile="/scratch/kocevski/532779/ft1_filtered_4FGL_J0949.2+1749_daily_bin748.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.51
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532779/ft1_filtered_4FGL_J0949.2+1749_daily_bin748.fits" evtable="EVENTS" scfile=/scratch/kocevski/532779/ft2_4FGL_J0949.2+1749_daily_bin748.fits sctable="SC_DATA" outfile=/scratch/kocevski/532779/ltcube_433209601_433468801_4FGL_J0949.2+1749_daily_bin748.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/532779/ft2_4FGL_J0949.2+1749_daily_bin748.fits
.....................!
real 12.27
user 11.89
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532779/ft1_filtered_4FGL_J0949.2+1749_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/532779/ft2_4FGL_J0949.2+1749_daily_bin748.fits sctable="SC_DATA" expcube=/scratch/kocevski/532779/ltcube_433209601_433468801_4FGL_J0949.2+1749_daily_bin748.fits outfile=/scratch/kocevski/532779/expmap_433209601_433468801_4FGL_J0949.2+1749_daily_bin748.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/532779/ltcube_433209601_433468801_4FGL_J0949.2+1749_daily_bin748.fits
.....................!
real 190.24
user 184.79
sys 5.07

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/532779/ft1_filtered_4FGL_J0949.2+1749_daily_bin748.fits scfile=/scratch/kocevski/532779/ft2_4FGL_J0949.2+1749_daily_bin748.fits outfile=/scratch/kocevski/532779/cmap_433209601_433468801_4FGL_J0949.2+1749_daily_bin748.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.61
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532779/ft1_filtered_4FGL_J0949.2+1749_daily_bin748.fits scfile=/scratch/kocevski/532779/ft2_4FGL_J0949.2+1749_daily_bin748.fits outfile=/scratch/kocevski/532779/cmap_HighResolution_433209601_433468801_4FGL_J0949.2+1749_daily_bin748.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.63
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9136       1.0000         .10000E-03   10000.    
     2 'norm      '    .22957E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .58559E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.934       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.9427       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .25499E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.7932       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.963       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.6705       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9306       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11295E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2793       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .68285       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=   4236.446     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1474 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8153        24.675        .45117E-05    .27241E-03
   2  norm          .10002E-03    25.075        .14173E-04** at limit **
   3  norm          .10000E-03    11.002       -.46068E-06** at limit **
   4  Prefactor     38.841        45.149       -.19518E-05   -.37191E-03
   5  Prefactor     7.9532        5.6061        .33891E-07   -.34872E-04
   6  Prefactor     .10000E-03    16.789       -.24008E-06** at limit **
   7  norm          2.7921        1.6596        .64853E-07    .18453E-03
   8  Prefactor     .10000E-03    38.389        .60476E-06** at limit **
   9  Prefactor     32.062        34.493       -.34474E-06   -.14278E-03
  10  Prefactor     4.6587        6.6429        .10370E-05    .77844E-03
  11  Prefactor     2.9322        2.7853        .21824E-06    .58164E-03
  12  norm          .10000E-03    2.7723        .25027E-06** at limit **
  13  Prefactor     .10000E-03    27.707       -.12705E-05** at limit **
  14  Prefactor     .10000E-03    5.5252        .16994E-06** at limit **
  15  Normalizat    1.2794        .20114       -.68310E-06   -.28064E-03
  16  Prefactor     .68287        .18240        .53688E-07   -.28751E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.81533
  norm       = 0.000100015
  norm       = 0.0001
  Prefactor  = 38.8409
  Prefactor  = 7.95317
  Prefactor  = 0.0001
  norm       = 2.79214
  Prefactor  = 0.000100001
  Prefactor  = 32.062
  Prefactor  = 4.65869
  Prefactor  = 2.93222
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Normalizat = 1.27939
  Prefactor  = 0.682875
 **********
 **   18 **HESSE 
 **********

 FCN=   4236.446     FROM HESSE     STATUS=OK           197 CALLS     1671 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8153        26.129        .30048E-03   -1.5438    
   2  norm          .10002E-03    25.447        .33004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    11.020        .21077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     38.841        45.986        .64236E-04   -1.4461    
   5  Prefactor     7.9532        5.6144        .12510E-03   -1.5144    
   6  Prefactor     .10000E-03    16.934        .21457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7921        1.6607        .61804E-04   -1.5374    
   8  Prefactor     .10000E-03    38.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.062        34.672        .70874E-04   -1.4575    
  10  Prefactor     4.6587        6.7569        .18622E-03   -1.5276    
  11  Prefactor     2.9322        2.7827        .10261E-03   -1.5365    
  12  norm          .10000E-03    2.7901        .10590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    27.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.5931        .14944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2794        .23724        .21105E-03   -.84184    
  16  Prefactor     .68287        .21313        .25823E-03   -1.0420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36925e-09
Minuit parameter uncertainties:
  1  13.7811
  2  0.00124666
  3  0.00011424
  4  46.0275
  5  5.61474
  6  0.000111058
  7  1.66078
  8  0.000355369
  9  34.6934
  10  6.75801
  11  2.7828
  12  2.83623e-05
  13  0.000691144
  14  2.79421e-05
  15  0.237444
  16  0.213388
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  3.206e+01  3.469e+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:  6.829e-01  2.134e-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.279e+00  2.374e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.56
Ra Dec: 147.316 17.830
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 3.43e-08 +/- 3.71e-08
Energy Flux (Fixed Index): 9.72e-06 +/- 1.05e-05

TS (Fixed Index): 1.56
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532779/likelihoodResults_433209601_433468801_4FGL_J0949.2+1749_daily_bin748.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) = 4236.10558716
delta logL = 0.340669658312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4236.09912895
delta logL = 0.347127871799

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.858       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6184       1.0000          .0000       10.000    
     3 'Normalizat'    1.2169       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72086       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=   4236.099     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      300 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.852        46.982        .10760E-03   -.17203E-02
   2  Index         3.6202        2.3473        .59602E-02   -.48847E-03
   3  Normalizat    1.2160        .26029        .21559E-03   -.88878E-03
   4  Prefactor     .72146        .22768        .25189E-03   -.85742E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8515
  Index      = 3.62023
  Normalizat = 1.21596
  Prefactor  = 0.72146
 **********
 **   18 **HESSE 
 **********

 FCN=   4236.099     FROM HESSE     STATUS=OK            23 CALLS      323 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.852        27.308        .21520E-04   -1.4963    
   2  Index         3.6202        1.3980        .23841E-03   -.27958    
   3  Normalizat    1.2160        .24859        .43118E-04   -.86111    
   4  Prefactor     .72146        .22071        .50378E-04   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17016e-09
Minuit parameter uncertainties:
  1  27.3323
  2  1.41848
  3  0.248837
  4  0.220983
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532779': 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) = 4236.09912007
delta logL = 0.347136753198

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.385e+01  2.733e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.620e+00  1.418e+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:  7.215e-01  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.216e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.34
Ra Dec: 147.316 17.830
Photon Index (Free Index): 3.62 +/- 1.42
Photon Flux (Free Index): 7.92e-08 +/- 7.71e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.08e-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/532779/cmap_HighResolution_433209601_433468801_4FGL_J0949.2+1749_daily_bin748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.93e-03', comment='SUCCESS', photon_flux='3.43e-08', energy_flux2='1.28e-05', photon_flux_error='3.71e-08', dlogl='3.47e-01', energy_flux='9.72e-06', photon_flux2='7.92e-08', job_status='DONE', time_completed='2021-09-01 03:44:42.699454', photon_index_error2='1.42', photon_index2='3.62', ts='1.56', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='1.08e-05', EG='1.28', time_epoch_completed='1630493082.7', return_code='0', job_id='532779', GAL2='0.72', EG2='1.22', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='7.71e-08', ts2='2.34', photon_index='2.52' WHERE bin_id='748' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:44:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 532779: <4FGL_J0949.2+1749_daily_bin748> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin748> 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) <bullet0057>, 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:44:43 2021
Results reported at Wed Sep  1 03:44:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin748 147.316 17.83 433209601 433468801 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 :                                   461.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   512 sec.
    Turnaround time :                            514 sec.

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

