/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 236 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 = 7381
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0949.2+1749_daily_bin105
RA = 147.316, Dec = 17.83
tmin = 266544001, tmax = 266803201
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='529607', job_status='RUN', time_executed='2021-09-01 03:29:44.780193', time_epoch_executed='1630492184.78' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='105'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/529607

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/529607/ft1_4FGL_J0949.2+1749_daily_bin105.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/529607/ft2_4FGL_J0949.2+1749_daily_bin105.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/529607/ft1_4FGL_J0949.2+1749_daily_bin105.fits outfile=/scratch/kocevski/529607/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin105.fits ra=147.316 dec=17.83 rad=12.0 tmin=266544001.0 tmax=266803201.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 1.41
user 1.21
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/529607/ft1_filtered_4FGL_J0949.2+1749_daily_bin105.fits" evtable="EVENTS" scfile=/scratch/kocevski/529607/ft2_4FGL_J0949.2+1749_daily_bin105.fits sctable="SC_DATA" outfile=/scratch/kocevski/529607/ltcube_266544001_266803201_4FGL_J0949.2+1749_daily_bin105.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/529607/ft2_4FGL_J0949.2+1749_daily_bin105.fits
.....................!
real 14.00
user 13.48
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/529607/ft1_filtered_4FGL_J0949.2+1749_daily_bin105.fits evtable="EVENTS" scfile=/scratch/kocevski/529607/ft2_4FGL_J0949.2+1749_daily_bin105.fits sctable="SC_DATA" expcube=/scratch/kocevski/529607/ltcube_266544001_266803201_4FGL_J0949.2+1749_daily_bin105.fits outfile=/scratch/kocevski/529607/expmap_266544001_266803201_4FGL_J0949.2+1749_daily_bin105.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/529607/ltcube_266544001_266803201_4FGL_J0949.2+1749_daily_bin105.fits
.....................!
real 192.40
user 185.89
sys 5.67

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/529607/ft1_filtered_4FGL_J0949.2+1749_daily_bin105.fits scfile=/scratch/kocevski/529607/ft2_4FGL_J0949.2+1749_daily_bin105.fits outfile=/scratch/kocevski/529607/cmap_266544001_266803201_4FGL_J0949.2+1749_daily_bin105.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/529607/ft1_filtered_4FGL_J0949.2+1749_daily_bin105.fits scfile=/scratch/kocevski/529607/ft2_4FGL_J0949.2+1749_daily_bin105.fits outfile=/scratch/kocevski/529607/cmap_HighResolution_266544001_266803201_4FGL_J0949.2+1749_daily_bin105.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.60
user 0.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14652E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    5.4126       1.0000         .10000E-03   10000.    
     3 'norm      '    11.820       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .50596E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    59.798       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.275       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.2938       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.5735       1.0000         .10000E-03   10000.    
    12 'norm      '    14.560       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0730       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1336       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=   9127.098     FROM MIGRAD    STATUS=CONVERGED    301 CALLS     1465 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13931E-01    8.7615       -.31702E-05    .82824E-03
   2  norm          5.4132        6.1367        .25195E-05    .61023E-04
   3  norm          11.819        17.574        .19547E-05    .10779E-03
   4  Prefactor     .10000E-03    124.12       -.70096E-06** at limit **
   5  Prefactor     .10000E-03    2.3383       -.40126E-06** at limit **
   6  Prefactor     .10000E-03    15.255        .76352E-06** at limit **
   7  norm          .10000E-03    .18967        .10866E-06** at limit **
   8  Prefactor     59.798        45.383       -.82450E-07    .27134E-05
   9  Prefactor     29.265        29.576       -.60675E-05   -.11561E-03
  10  Prefactor     9.2941        5.3470        .36050E-05    .57182E-03
  11  Prefactor     8.5737        3.2396       -.33589E-06   -.12785E-03
  12  norm          14.560        7.2873        .19000E-06   -.21050E-06
  13  Prefactor     .10000E-03    13.367       -.12708E-05** at limit **
  14  Prefactor     .10000E-03    8.5672       -.13869E-07** at limit **
  15  Normalizat    1.0731        .14695        .28168E-06    .18745E-03
  16  Prefactor     1.1335        .13724       -.45676E-06    .30726E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0139307
  norm       = 5.41317
  norm       = 11.819
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 59.7982
  Prefactor  = 29.2648
  Prefactor  = 9.29414
  Prefactor  = 8.57369
  norm       = 14.5599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07315
  Prefactor  = 1.13346
 **********
 **   18 **HESSE 
 **********

 FCN=   9127.098     FROM HESSE     STATUS=OK           207 CALLS     1672 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13931E-01    9.5350        .80912E-01   -1.5684    
   2  norm          5.4132        6.1081        .17273E-03   -1.5243    
   3  norm          11.819        17.576        .11652E-03   -1.5020    
   4  Prefactor     .10000E-03    129.41        .38372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.3603        .14265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .19205        .40612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     59.798        45.396        .51884E-04   -1.4160    
   9  Prefactor     29.265        29.720        .74047E-04   -1.4625    
  10  Prefactor     9.2941        5.3492        .13146E-03   -1.5098    
  11  Prefactor     8.5737        3.2418        .10207E-03   -1.5122    
  12  norm          14.560        7.2851        .10497E-03   -1.4945    
  13  Prefactor     .10000E-03    13.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.0731        .17542        .25617E-03   -.90619    
  16  Prefactor     1.1335        .16364        .23618E-03   -.88404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31672e-09
Minuit parameter uncertainties:
  1  0.726408
  2  6.10876
  3  17.5837
  4  1.55418e-06
  5  5.28003e-06
  6  2.21749e-05
  7  4.14665e-07
  8  45.4223
  9  29.7346
  10  5.34945
  11  3.2419
  12  7.28552
  13  2.35834e-05
  14  3.54336e-06
  15  0.175511
  16  0.163717
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  2.926e+01  2.973e+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:  1.133e+00  1.637e-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.073e+00  1.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.23
Ra Dec: 147.316 17.830
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 3.13e-08 +/- 3.18e-08
Energy Flux (Fixed Index): 8.88e-06 +/- 9.02e-06

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

Saving results to:
/scratch/kocevski/529607/likelihoodResults_266544001_266803201_4FGL_J0949.2+1749_daily_bin105.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) = 9124.51005679
delta logL = 2.58838948358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9124.09891307
delta logL = 2.99953320524

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14791E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    .96506       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2153       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=   9124.099     FROM MIGRAD    STATUS=CONVERGED    134 CALLS      594 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14786E-03    .79029E-04    .90637E-05** at limit **
   2  Index        10.0000        .26863        .50000    ** at limit **
   3  Normalizat    .96501        .18272        .26788E-03    .18758E-03
   4  Prefactor     1.2152        .16917        .22929E-03    .16335E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000147855
  Index      = 10
  Normalizat = 0.965009
  Prefactor  = 1.21521
 **********
 **   18 **HESSE 
 **********

 FCN=   9124.099     FROM HESSE     STATUS=OK            33 CALLS      627 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14786E-03    .77836E-04    .18127E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .26145        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .96501        .18294        .10715E-04   -.94212    
   4  Prefactor     1.2152        .16936        .45857E-04   -.85865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27429e-11
Minuit parameter uncertainties:
  1  7.78364e-05
  2  6.87662e-05
  3  0.183062
  4  0.169432
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/529607': 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) = 9124.09890901
delta logL = 2.99953725783

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.479e-04  7.784e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.000e+01  6.877e-05  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.215e+00  1.694e-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.650e-01  1.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.72
Ra Dec: 147.316 17.830
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 9.96e-08 +/- 5.08e-08
Energy Flux (Free Index): 1.11e-05 +/- 5.72e-06

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/529607/cmap_HighResolution_266544001_266803201_4FGL_J0949.2+1749_daily_bin105.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.56e-03', comment='SUCCESS', photon_flux='3.13e-08', energy_flux2='1.11e-05', photon_flux_error='3.18e-08', dlogl='3.00e+00', energy_flux='8.88e-06', photon_flux2='9.96e-08', job_status='DONE', time_completed='2021-09-01 03:40:27.697684', photon_index_error2='0.00', photon_index2='10.00', ts='1.23', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='9.71e-08', energy_flux_error2='5.72e-06', EG='1.07', time_epoch_completed='1630492827.7', return_code='0', job_id='529607', GAL2='1.22', EG2='0.97', return_code2='0', energy_flux_error='9.02e-06', photon_flux_error2='5.08e-08', ts2='7.72', photon_index='2.52' WHERE bin_id='105' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:40:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 529607: <4FGL_J0949.2+1749_daily_bin105> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin105 147.316 17.83 266544001 266803201 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 :                                   631.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            897 sec.

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

