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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin955
RA = 147.316, Dec = 17.83
tmin = 486864001, tmax = 487123201
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='534077', job_status='RUN', time_executed='2021-09-01 03:44:45.730901', time_epoch_executed='1630493085.73' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='955'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534077

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534077/ft1_4FGL_J0949.2+1749_daily_bin955.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534077/ft2_4FGL_J0949.2+1749_daily_bin955.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534077/ft1_4FGL_J0949.2+1749_daily_bin955.fits outfile=/scratch/kocevski/534077/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin955.fits ra=147.316 dec=17.83 rad=12.0 tmin=486864001.0 tmax=487123201.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.46
user 3.25
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534077/ft1_filtered_4FGL_J0949.2+1749_daily_bin955.fits evtable="EVENTS" scfile=/scratch/kocevski/534077/ft2_4FGL_J0949.2+1749_daily_bin955.fits sctable="SC_DATA" expcube=/scratch/kocevski/534077/ltcube_486864001_487123201_4FGL_J0949.2+1749_daily_bin955.fits outfile=/scratch/kocevski/534077/expmap_486864001_487123201_4FGL_J0949.2+1749_daily_bin955.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/534077/ltcube_486864001_487123201_4FGL_J0949.2+1749_daily_bin955.fits
.....................!
real 190.07
user 185.55
sys 3.99

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/534077/ft1_filtered_4FGL_J0949.2+1749_daily_bin955.fits scfile=/scratch/kocevski/534077/ft2_4FGL_J0949.2+1749_daily_bin955.fits outfile=/scratch/kocevski/534077/cmap_486864001_487123201_4FGL_J0949.2+1749_daily_bin955.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534077/ft1_filtered_4FGL_J0949.2+1749_daily_bin955.fits scfile=/scratch/kocevski/534077/ft2_4FGL_J0949.2+1749_daily_bin955.fits outfile=/scratch/kocevski/534077/cmap_HighResolution_486864001_487123201_4FGL_J0949.2+1749_daily_bin955.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.100       1.0000         .10000E-03   10000.    
     2 'norm      '    3.4517       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.284       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.3328       1.0000         .10000E-03   10000.    
     8 'Prefactor '    46.517       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.2317       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .48090E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.621       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.929       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0329       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .88976       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=   5662.274     FROM MIGRAD    STATUS=CONVERGED    289 CALLS     1438 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.101        19.163        .58171E-06   -.10065E-05
   2  norm          3.4517        4.2442        .99223E-06    .24463E-04
   3  norm          .10000E-03    17.021        .27504E-06** at limit **
   4  Prefactor     14.283        49.604       -.23814E-05   -.73952E-05
   5  Prefactor     .10000E-03    4.4542        .42400E-06** at limit **
   6  Prefactor     .10000E-03    11.268        .29272E-06** at limit **
   7  norm          2.3329        1.2392       -.16190E-06   -.17698E-03
   8  Prefactor     46.495        68.882       -.30592E-04   -.41876E-04
   9  Prefactor     9.2356        46.098        .11143E-04   -.81171E-05
  10  Prefactor     .10000E-03    3.3753        .13925E-05** at limit **
  11  Prefactor     .10000E-03    1.0485       -.74100E-07** at limit **
  12  norm          10.619        8.2284       -.90782E-06   -.15468E-02
  13  Prefactor     15.925        35.710       -.70694E-05   -.11029E-04
  14  Prefactor     .10000E-03    9.3101        .39164E-06** at limit **
  15  Normalizat    1.0328        .18136        .21126E-05   -.32414E-03
  16  Prefactor     .88983        .15927       -.47451E-06   -.10696E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.1011
  norm       = 3.45168
  norm       = 0.0001
  Prefactor  = 14.2825
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.33295
  Prefactor  = 46.4953
  Prefactor  = 9.23561
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 10.6188
  Prefactor  = 15.9253
  Prefactor  = 0.0001
  Normalizat = 1.03275
  Prefactor  = 0.889832
 **********
 **   18 **HESSE 
 **********

 FCN=   5662.274     FROM HESSE     STATUS=OK           203 CALLS     1641 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.101        19.164        .28909E-03   -1.4320    
   2  norm          3.4517        4.2413        .16775E-03   -1.5336    
   3  norm          .10000E-03    17.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.283        49.638        .10598E-03   -1.4952    
   5  Prefactor     .10000E-03    4.5744        .31007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.3329        1.2377        .58445E-04   -1.5402    
   8  Prefactor     46.495        68.315        .58788E-04   -1.4343    
   9  Prefactor     9.2356        46.197        .13191E-03   -1.5100    
  10  Prefactor     .10000E-03    17.830        .26355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.0615        .75229E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.619        8.3678        .61470E-03   -1.5056    
  13  Prefactor     15.925        35.675        .10035E-03   -1.4910    
  14  Prefactor     .10000E-03    9.5543        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.0328        .20953        .23875E-03   -.91941    
  16  Prefactor     .88983        .18556        .23172E-03   -.96497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87289e-09
Minuit parameter uncertainties:
  1  19.1665
  2  4.2417
  3  6.27152e-06
  4  49.7825
  5  4.83678e-06
  6  2.69729e-06
  7  1.23768
  8  68.4308
  9  41.3623
  10  0.000518398
  11  6.35656e-07
  12  8.36874
  13  35.7233
  14  8.92051e-06
  15  0.209698
  16  0.185688
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  9.236e+00  4.136e+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:  8.898e-01  1.857e-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.033e+00  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/534077/likelihoodResults_486864001_487123201_4FGL_J0949.2+1749_daily_bin955.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) = 5662.17545902
delta logL = 0.0984668440624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5662.17122291
delta logL = 0.102702957059

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7911       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2772       1.0000          .0000       10.000    
     3 'Normalizat'    1.0087       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90094       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5662.171     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      282 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8260        39.006        .64032E-03    .29906E-04
   2  Index         3.2757        2.2151        .10594E-01    .24475E-03
   3  Normalizat    1.0082        .21353        .24138E-03   -.94199E-06
   4  Prefactor     .90143        .18787        .23038E-03   -.83891E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.82596
  Index      = 3.27573
  Normalizat = 1.00818
  Prefactor  = 0.901433
 **********
 **   18 **HESSE 
 **********

 FCN=   5662.171     FROM HESSE     STATUS=OK            27 CALLS      309 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8260        30.164        .12806E-03   -1.5081    
   2  Index         3.2757        1.7352        .21188E-02   -.35208    
   3  Normalizat    1.0082        .21388        .96550E-05   -.92757    
   4  Prefactor     .90143        .18764        .92152E-05   -.96091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31423e-11
Minuit parameter uncertainties:
  1  30.2112
  2  1.77733
  3  0.214063
  4  0.187771
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534077': 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) = 5662.17121859
delta logL = 0.102707270421

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  9.826e+00  3.021e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.276e+00  1.777e+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:  9.014e-01  1.878e-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.008e+00  2.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/534077/cmap_HighResolution_486864001_487123201_4FGL_J0949.2+1749_daily_bin955.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.81e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-01 03:52:48.787051', job_id='534077', GAL2='0.90', fit_tolerance='1e-08', EG2='1.01', EG='1.03', time_epoch_completed='1630493568.79', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.03e-01', ts2='0.27', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='955' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:52:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 534077: <4FGL_J0949.2+1749_daily_bin955> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin955> 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) <bullet0242>, 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:52:49 2021
Results reported at Wed Sep  1 03:52:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin955 147.316 17.83 486864001 487123201 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 :                                   477.18 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             263.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            733 sec.

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

