/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 239 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 = 7460
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0949.2+1749_daily_bin206
RA = 147.316, Dec = 17.83
tmin = 292723201, tmax = 292982401
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='529763', job_status='RUN', time_executed='2021-09-01 03:29:57.664403', time_epoch_executed='1630492197.66' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='206'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/529763

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/529763/ft1_4FGL_J0949.2+1749_daily_bin206.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/529763/ft2_4FGL_J0949.2+1749_daily_bin206.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/529763/ft1_4FGL_J0949.2+1749_daily_bin206.fits outfile=/scratch/kocevski/529763/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin206.fits ra=147.316 dec=17.83 rad=12.0 tmin=292723201.0 tmax=292982401.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.34
user 4.13
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/529763/ft2_4FGL_J0949.2+1749_daily_bin206.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/529763/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin206.fits evtable="EVENTS" outfile="/scratch/kocevski/529763/ft1_filtered_4FGL_J0949.2+1749_daily_bin206.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.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/529763/ft1_filtered_4FGL_J0949.2+1749_daily_bin206.fits" evtable="EVENTS" scfile=/scratch/kocevski/529763/ft2_4FGL_J0949.2+1749_daily_bin206.fits sctable="SC_DATA" outfile=/scratch/kocevski/529763/ltcube_292723201_292982401_4FGL_J0949.2+1749_daily_bin206.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/529763/ft2_4FGL_J0949.2+1749_daily_bin206.fits
.....................!
real 12.09
user 11.74
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/529763/ft1_filtered_4FGL_J0949.2+1749_daily_bin206.fits evtable="EVENTS" scfile=/scratch/kocevski/529763/ft2_4FGL_J0949.2+1749_daily_bin206.fits sctable="SC_DATA" expcube=/scratch/kocevski/529763/ltcube_292723201_292982401_4FGL_J0949.2+1749_daily_bin206.fits outfile=/scratch/kocevski/529763/expmap_292723201_292982401_4FGL_J0949.2+1749_daily_bin206.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/529763/ltcube_292723201_292982401_4FGL_J0949.2+1749_daily_bin206.fits
.....................!
real 190.34
user 185.62
sys 4.23

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/529763/ft1_filtered_4FGL_J0949.2+1749_daily_bin206.fits scfile=/scratch/kocevski/529763/ft2_4FGL_J0949.2+1749_daily_bin206.fits outfile=/scratch/kocevski/529763/cmap_292723201_292982401_4FGL_J0949.2+1749_daily_bin206.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.55
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/529763/ft1_filtered_4FGL_J0949.2+1749_daily_bin206.fits scfile=/scratch/kocevski/529763/ft2_4FGL_J0949.2+1749_daily_bin206.fits outfile=/scratch/kocevski/529763/cmap_HighResolution_292723201_292982401_4FGL_J0949.2+1749_daily_bin206.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.56
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2107       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    34.565       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10475E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5499       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.726       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2136       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.2571       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6751       1.0000         .10000E-03   10000.    
    12 'norm      '    30.870       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.2879       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .91253       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.3239       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=   7435.339     FROM MIGRAD    STATUS=CONVERGED    315 CALLS     1435 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2138        6.3607        .49096E-02    .17749E-02
   2  norm          .10000E-03    1.8739        .90712E-02** at limit **
   3  norm          34.351        43.564        .17040E-02    .60572E-04
   4  Prefactor     .10000E-03    16.642        .90712E-02** at limit **
   5  Prefactor     3.5505        5.0433        .53631E-02    .52993E-03
   6  Prefactor     26.720        24.627        .19373E-02   -.13660E-02
   7  norm          1.2130        1.2626        .10258E-01    .10089E-02
   8  Prefactor     .10000E-03    21.128        .90712E-02** at limit **
   9  Prefactor     .10000E-03    12.503        .90712E-02** at limit **
  10  Prefactor     9.2552        7.1414        .32931E-02   -.17215E-02
  11  Prefactor     2.6749        2.4180        .62289E-02    .12846E-03
  12  norm          30.869        11.054        .18029E-02   -.32049E-03
  13  Prefactor     .10000E-03    24.501        .90712E-02** at limit **
  14  Prefactor     6.2852        9.3832        .40019E-02    .15507E-03
  15  Normalizat    .91286        .17679        .65365E-01    .30969E-04
  16  Prefactor     1.3237        .16244        .52611E-01    .15144E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.21383
  norm       = 0.0001
  norm       = 34.3514
  Prefactor  = 0.0001
  Prefactor  = 3.5505
  Prefactor  = 26.7201
  norm       = 1.21296
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.25525
  Prefactor  = 2.67495
  norm       = 30.8685
  Prefactor  = 0.0001
  Prefactor  = 6.28522
  Normalizat = 0.91286
  Prefactor  = 1.32374
 **********
 **   18 **HESSE 
 **********

 FCN=   7435.339     FROM HESSE     STATUS=OK           201 CALLS     1636 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2138        6.3512        .98193E-03   -1.5297    
   2  norm          .10000E-03    1.8742        .11528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          34.351        43.586        .68162E-04   -1.4535    
   4  Prefactor     .10000E-03    16.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.5505        5.0334        .21452E-03   -1.5331    
   6  Prefactor     26.720        24.646        .77491E-04   -1.4674    
   7  norm          1.2130        1.2415        .93133E-04   -1.5488    
   8  Prefactor     .10000E-03    21.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.2552        7.1471        .13172E-03   -1.5099    
  11  Prefactor     2.6749        2.4155        .12331E-03   -1.5381    
  12  norm          30.869        11.051        .72115E-04   -1.4596    
  13  Prefactor     .10000E-03    24.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.2852        9.3998        .16008E-03   -1.5207    
  15  Normalizat    .91286        .21087        .28913E-03   -.96010    
  16  Prefactor     1.3237        .19435        .23260E-03   -.82604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77137e-09
Minuit parameter uncertainties:
  1  6.3522
  2  6.442e-08
  3  43.6266
  4  2.97229e-05
  5  5.03398
  6  24.6556
  7  1.24152
  8  6.61435e-05
  9  1.06743e-05
  10  7.14772
  11  2.41561
  12  11.0521
  13  4.23476e-05
  14  9.40198
  15  0.211061
  16  0.194454
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.067e-05  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.324e+00  1.945e-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.129e-01  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 5.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/529763/likelihoodResults_292723201_292982401_4FGL_J0949.2+1749_daily_bin206.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) = 7435.33940531
delta logL = -0.00038030666019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7435.33902528
delta logL = -2.83988811134e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10487E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4909       1.0000          .0000       10.000    
     3 'Normalizat'    .91273       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3239       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=   7435.339     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      261 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    71.211        .18142E-01** at limit **
   2  Index         1.8481        5.7598        .50000       -.82288E-06
   3  Normalizat    .91286        .79406E-02    .28913E-03    .10272E-02
   4  Prefactor     1.3237        .75663E-02    .23260E-03    .13011E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 1.84814
  Normalizat = 0.912861
  Prefactor  = 1.32375
 **********
 **   18 **HESSE 
 **********

 FCN=   7435.339     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      288 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    355.95        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8481        5.4322        .50000       -.68203    
   3  Normalizat    .91286        .18015E-01    .57826E-04   -.96010    
   4  Prefactor     1.3237        .17165E-01    .46520E-04   -.82604    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.74671e-08
Minuit parameter uncertainties:
  1  0.00192999
  2  706.449
  3  0.0180146
  4  0.0171653
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/529763': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7435.33902327
delta logL = 1.72913405549e-06

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.930e-03  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.848e+00  7.064e+02  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.324e+00  1.717e-02  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.129e-01  1.801e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 147.316 17.830

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/529763/cmap_HighResolution_292723201_292982401_4FGL_J0949.2+1749_daily_bin206.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2021-09-01 03:39:07.349281', job_id='529763', GAL2='1.32', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1630492747.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='1.73e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='206' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:39:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 529763: <4FGL_J0949.2+1749_daily_bin206> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin206 147.316 17.83 292723201 292982401 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 :                                   535.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             225.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            803 sec.

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

