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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin957
RA = 147.316, Dec = 17.83
tmin = 487382401, tmax = 487641601
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='534080', job_status='RUN', time_executed='2021-09-01 03:43:11.262132', time_epoch_executed='1630492991.26' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='957'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534080

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534080/ft1_4FGL_J0949.2+1749_daily_bin957.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534080/ft2_4FGL_J0949.2+1749_daily_bin957.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534080/ft1_4FGL_J0949.2+1749_daily_bin957.fits outfile=/scratch/kocevski/534080/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin957.fits ra=147.316 dec=17.83 rad=12.0 tmin=487382401.0 tmax=487641601.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.05
user 3.60
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534080/ft1_filtered_4FGL_J0949.2+1749_daily_bin957.fits evtable="EVENTS" scfile=/scratch/kocevski/534080/ft2_4FGL_J0949.2+1749_daily_bin957.fits sctable="SC_DATA" expcube=/scratch/kocevski/534080/ltcube_487382401_487641601_4FGL_J0949.2+1749_daily_bin957.fits outfile=/scratch/kocevski/534080/expmap_487382401_487641601_4FGL_J0949.2+1749_daily_bin957.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/534080/ltcube_487382401_487641601_4FGL_J0949.2+1749_daily_bin957.fits
.....................!
real 190.38
user 185.40
sys 4.56

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/534080/ft1_filtered_4FGL_J0949.2+1749_daily_bin957.fits scfile=/scratch/kocevski/534080/ft2_4FGL_J0949.2+1749_daily_bin957.fits outfile=/scratch/kocevski/534080/cmap_487382401_487641601_4FGL_J0949.2+1749_daily_bin957.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.75
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534080/ft1_filtered_4FGL_J0949.2+1749_daily_bin957.fits scfile=/scratch/kocevski/534080/ft2_4FGL_J0949.2+1749_daily_bin957.fits outfile=/scratch/kocevski/534080/cmap_HighResolution_487382401_487641601_4FGL_J0949.2+1749_daily_bin957.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.71
user 0.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48283E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    9.0400       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2481       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10423E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.096       1.0000         .10000E-03   10000.    
     7 'norm      '    3.6846       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.633       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11419E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .29661       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .42181       1.0000         .10000E-03   10000.    
    12 'norm      '    5.7807       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.3512       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.356       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0820       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0394       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=   5764.219     FROM MIGRAD    STATUS=CONVERGED    335 CALLS     1526 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10090E-03    20.610        .43212E-05** at limit **
   2  norm          9.0408        6.4560       -.78596E-07   -.98127E-04
   3  norm          1.5150        269.74        .72970E-05    .20165E-04
   4  Prefactor     .10000E-03    29.536       -.67912E-07** at limit **
   5  Prefactor     .10000E-03    1.5080       -.17987E-07** at limit **
   6  Prefactor     22.103        19.783       -.90882E-07   -.17442E-03
   7  norm          3.6858        1.7490        .16321E-06    .27292E-03
   8  Prefactor     26.698        76.098       -.51023E-06   -.56105E-04
   9  Prefactor     .10000E-03    17.281        .10252E-06** at limit **
  10  Prefactor     .29461        5.9883        .25368E-05   -.57146E-03
  11  Prefactor     .42431        2.3032        .13579E-05   -.28797E-04
  12  norm          5.7778        6.0512       -.45331E-07   -.18337E-03
  13  Prefactor     4.3440        186.84        .79397E-05    .18634E-04
  14  Prefactor     18.369        13.931        .59352E-06    .15663E-03
  15  Normalizat    1.0818        .22287       -.59898E-05   -.66390E-03
  16  Prefactor     1.0391        .19476        .41843E-05   -.35709E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100903
  norm       = 9.04081
  norm       = 1.51503
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.1033
  norm       = 3.6858
  Prefactor  = 26.6977
  Prefactor  = 0.0001
  Prefactor  = 0.294614
  Prefactor  = 0.424309
  norm       = 5.77781
  Prefactor  = 4.344
  Prefactor  = 18.3692
  Normalizat = 1.08184
  Prefactor  = 1.03914
 **********
 **   18 **HESSE 
 **********

 FCN=   5764.219     FROM HESSE     STATUS=OK           209 CALLS     1735 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10090E-03    132.02        .51012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.0408        6.4587        .13330E-03   -1.5107    
   3  norm          1.5150        273.32        .40054E-03   -1.5462    
   4  Prefactor     .10000E-03    29.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.5109        .91045E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.103        19.808        .42606E-03   -1.4767    
   7  norm          3.6858        1.7522        .65136E-04   -1.5324    
   8  Prefactor     26.698        76.082        .77626E-04   -1.4674    
   9  Prefactor     .10000E-03    17.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .29461        23.626        .27369E-02   -1.5599    
  11  Prefactor     .42431        3.5622        .20695E-02   -1.5578    
  12  norm          5.7778        6.0460        .16705E-03   -1.5227    
  13  Prefactor     4.3440        188.11        .19310E-03   -1.5291    
  14  Prefactor     18.369        13.953        .93482E-04   -1.4851    
  15  Normalizat    1.0818        .23584        .25466E-03   -.90337    
  16  Prefactor     1.0391        .20537        .23680E-03   -.91436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60247e-08
Minuit parameter uncertainties:
  1  0.0218814
  2  6.45918
  3  40.8877
  4  1.17496e-05
  5  6.67832e-07
  6  19.8134
  7  1.7522
  8  76.3607
  9  2.96137e-05
  10  5.2778
  11  2.45876
  12  6.04667
  13  57.365
  14  13.9551
  15  0.236066
  16  0.205527
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  2.961e-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.039e+00  2.055e-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.082e+00  2.361e-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: 7.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534080/likelihoodResults_487382401_487641601_4FGL_J0949.2+1749_daily_bin957.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) = 5764.21899306
delta logL = -0.000275165551102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5764.21871991
delta logL = -2.01191596716e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0977       1.0000          .0000       10.000    
     3 'Normalizat'    1.0818       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0391       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=   5764.219     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      274 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10666E-03    9.9710        .18142E-01** at limit **
   2  Index         2.9509        6.3230        .50000        .20083E-04
   3  Normalizat    1.0818        .43166E-02    .25467E-03   -.33883E-04
   4  Prefactor     1.0391        .39639E-02    .23680E-03   -.42536E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000106655
  Index      = 2.95089
  Normalizat = 1.08185
  Prefactor  = 1.03914
 **********
 **   18 **HESSE 
 **********

 FCN=   5764.219     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10666E-03    98.957        .25735E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9509        6.1664        .50000       -.42226    
   3  Normalizat    1.0818        .13649E-01    .10187E-04   -.90337    
   4  Prefactor     1.0391        .12534E-01    .94721E-05   -.91436    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.02207e-08
Minuit parameter uncertainties:
  1  0.0514104
  2  471.166
  3  0.0136494
  4  0.0125343
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534080': 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) = 5764.21871939
delta logL = -1.4912811821e-06

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.067e-04  5.141e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.951e+00  4.712e+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.039e+00  1.253e-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:  1.082e+00  1.365e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/534080/cmap_HighResolution_487382401_487641601_4FGL_J0949.2+1749_daily_bin957.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.78e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2021-09-01 03:51:29.951347', job_id='534080', GAL2='1.04', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630493489.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='-1.49e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='957' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:51:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 534080: <4FGL_J0949.2+1749_daily_bin957> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin957> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 03:40:36 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:40:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 03:40:37 2021
Terminated at Wed Sep  1 03:51:30 2021
Results reported at Wed Sep  1 03:51:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin957 147.316 17.83 487382401 487641601 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.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            654 sec.

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

