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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin636
RA = 147.316, Dec = 17.83
tmin = 404179201, tmax = 404438401
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='532633', job_status='RUN', time_executed='2021-09-01 03:36:29.934125', time_epoch_executed='1630492589.93' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532633

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532633/ft1_4FGL_J0949.2+1749_daily_bin636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532633/ft2_4FGL_J0949.2+1749_daily_bin636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532633/ft1_4FGL_J0949.2+1749_daily_bin636.fits outfile=/scratch/kocevski/532633/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin636.fits ra=147.316 dec=17.83 rad=12.0 tmin=404179201.0 tmax=404438401.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.85
user 3.43
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532633/ft1_filtered_4FGL_J0949.2+1749_daily_bin636.fits evtable="EVENTS" scfile=/scratch/kocevski/532633/ft2_4FGL_J0949.2+1749_daily_bin636.fits sctable="SC_DATA" expcube=/scratch/kocevski/532633/ltcube_404179201_404438401_4FGL_J0949.2+1749_daily_bin636.fits outfile=/scratch/kocevski/532633/expmap_404179201_404438401_4FGL_J0949.2+1749_daily_bin636.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/532633/ltcube_404179201_404438401_4FGL_J0949.2+1749_daily_bin636.fits
.....................!
real 191.54
user 186.55
sys 4.57

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/532633/ft1_filtered_4FGL_J0949.2+1749_daily_bin636.fits scfile=/scratch/kocevski/532633/ft2_4FGL_J0949.2+1749_daily_bin636.fits outfile=/scratch/kocevski/532633/cmap_404179201_404438401_4FGL_J0949.2+1749_daily_bin636.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532633/ft1_filtered_4FGL_J0949.2+1749_daily_bin636.fits scfile=/scratch/kocevski/532633/ft2_4FGL_J0949.2+1749_daily_bin636.fits outfile=/scratch/kocevski/532633/cmap_HighResolution_404179201_404438401_4FGL_J0949.2+1749_daily_bin636.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/532633/ft1_filtered_4FGL_J0949.2+1749_daily_bin636.fits evtable="EVENTS" scfile=/scratch/kocevski/532633/ft2_4FGL_J0949.2+1749_daily_bin636.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/532633/Model_4FGL_J0949.2+1749_daily_bin636.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/532633/ft1_filtered_4FGL_J0949.2+1749_daily_bin636.fits.....................!
real 59.61
user 58.21
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10917E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.7905       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.9956       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.5101       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.4889       1.0000         .10000E-03   10000.    
     8 'Prefactor '    104.36       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.939       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6112       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8975       1.0000         .10000E-03   10000.    
    12 'norm      '    .62365E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.163       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.559       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .93753       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .93047       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=   6581.141     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1502 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    19.927       -.62625E-05** at limit **
   2  norm          3.7904        3.8830        .43858E-07    .28025E-04
   3  norm          .10000E-03    21.399       -.21120E-05** at limit **
   4  Prefactor     6.9966        130.31        .12045E-05    .42234E-05
   5  Prefactor     7.5106        6.2173       -.12513E-05   -.95087E-04
   6  Prefactor     .10000E-03    25.041       -.36311E-06** at limit **
   7  norm          5.4890        1.5327        .13438E-06   -.26199E-03
   8  Prefactor     104.36        70.848       -.98925E-06   -.13900E-04
   9  Prefactor     29.942        35.489       -.18572E-06    .27967E-06
  10  Prefactor     2.6127        4.5028       -.25667E-05   -.11138E-02
  11  Prefactor     1.8978        2.7533       -.14690E-05   -.55572E-04
  12  norm          .50653E-01    141.02       -.44112E-04    .42027E-04
  13  Prefactor     36.160        33.184        .16173E-05   -.66580E-04
  14  Prefactor     17.560        10.239        .56856E-07   -.68621E-04
  15  Normalizat    .93740        .17462       -.55609E-06   -.74474E-03
  16  Prefactor     .93062        .15664       -.38450E-05   -.89478E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100045
  norm       = 3.79042
  norm       = 0.000100001
  Prefactor  = 6.99663
  Prefactor  = 7.51056
  Prefactor  = 0.0001
  norm       = 5.48898
  Prefactor  = 104.356
  Prefactor  = 29.942
  Prefactor  = 2.61268
  Prefactor  = 1.8978
  norm       = 0.0506525
  Prefactor  = 36.1598
  Prefactor  = 17.5602
  Normalizat = 0.937402
  Prefactor  = 0.930619
 **********
 **   18 **HESSE 
 **********

 FCN=   6581.141     FROM HESSE     STATUS=OK           215 CALLS     1717 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    31.828        .41853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7904        3.8895        .15798E-03   -1.5319    
   3  norm          .10000E-03    21.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.9966        130.30        .15168E-03   -1.5179    
   5  Prefactor     7.5106        6.1948        .14634E-03   -1.5160    
   6  Prefactor     .10000E-03    25.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.4890        1.5360        .50480E-04   -1.5239    
   8  Prefactor     104.36        70.907        .39362E-04   -1.3661    
   9  Prefactor     29.942        35.608        .73224E-04   -1.4613    
  10  Prefactor     2.6127        5.7109        .12622E-02   -1.5385    
  11  Prefactor     1.8978        2.7287        .15406E-03   -1.5432    
  12  norm          .50653E-01    5.9030        .57055E-01   -1.5663    
  13  Prefactor     36.160        33.215        .66643E-04   -1.4505    
  14  Prefactor     17.560        10.276        .95582E-04   -1.4870    
  15  Normalizat    .93740        .20774        .25045E-03   -.95158    
  16  Prefactor     .93062        .17920        .23088E-03   -.95079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16321e-09
Minuit parameter uncertainties:
  1  0.00238351
  2  3.88975
  3  0.000285318
  4  60.5396
  5  6.19529
  6  5.61202e-05
  7  1.536
  8  70.9644
  9  35.6337
  10  5.71205
  11  2.72884
  12  1.09265
  13  33.2318
  14  10.2767
  15  0.207918
  16  0.179312
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  2.994e+01  3.563e+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.306e-01  1.793e-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.374e-01  2.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/532633/likelihoodResults_404179201_404438401_4FGL_J0949.2+1749_daily_bin636.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) = 6580.92797096
delta logL = 0.21321117049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6580.92295657
delta logL = 0.218225554419

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.052       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1005       1.0000          .0000       10.000    
     3 'Normalizat'    .91690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94305       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=   6580.923     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      293 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.040        35.954        .91760E-04    .25002E-03
   2  Index         3.1002        1.1367        .79927E-02    .10439E-03
   3  Normalizat    .91712        .19792        .25290E-03   -.19489E-02
   4  Prefactor     .94309        .17945        .22950E-03   -.20129E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.0395
  Index      = 3.10021
  Normalizat = 0.917124
  Prefactor  = 0.943094
 **********
 **   18 **HESSE 
 **********

 FCN=   6580.923     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.040        30.151        .36704E-05   -1.4835    
   2  Index         3.1002        .95474        .31971E-03   -.38975    
   3  Normalizat    .91712        .19806        .50580E-04   -.95861    
   4  Prefactor     .94309        .17939        .45899E-04   -.94651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76198e-09
Minuit parameter uncertainties:
  1  30.1751
  2  0.961649
  3  0.198221
  4  0.179503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532633': 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) = 6580.92295237
delta logL = 0.218229756197

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.904e+01  3.018e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.100e+00  9.616e-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.431e-01  1.795e-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.171e-01  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 147.316 17.830
Photon Index (Free Index): 3.10 +/- 0.96
Photon Flux (Free Index): 4.75e-08 +/- 4.77e-08
Energy Flux (Free Index): 9.05e-06 +/- 8.99e-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/532633/cmap_HighResolution_404179201_404438401_4FGL_J0949.2+1749_daily_bin636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.78e-03', comment='SUCCESS', energy_flux2='9.05e-06', dlogl='2.18e-01', photon_flux2='4.75e-08', job_status='DONE', time_completed='2021-09-01 03:45:15.303503', photon_index_error2='0.96', photon_index2='3.10', ts='0.90', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='8.99e-06', EG='0.94', time_epoch_completed='1630493115.3', return_code='0', job_id='532633', GAL2='0.94', EG2='0.92', return_code2='0', photon_flux_error2='4.77e-08', ts2='1.36', photon_index='2.52' WHERE bin_id='636' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:45:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 532633: <4FGL_J0949.2+1749_daily_bin636> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin636 147.316 17.83 404179201 404438401 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 :                                   518.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   562 sec.
    Turnaround time :                            564 sec.

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

