/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 70 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 = 7369
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0949.2+1749_daily_bin1390
RA = 147.316, Dec = 17.83
tmin = 599616001, tmax = 599875201
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='535665', job_status='RUN', time_executed='2021-09-01 03:47:57.430052', time_epoch_executed='1630493277.43' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='1390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/535665

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/535665/ft1_4FGL_J0949.2+1749_daily_bin1390.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/535665/ft2_4FGL_J0949.2+1749_daily_bin1390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/535665/ft1_4FGL_J0949.2+1749_daily_bin1390.fits outfile=/scratch/kocevski/535665/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1390.fits ra=147.316 dec=17.83 rad=12.0 tmin=599616001.0 tmax=599875201.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 2.67
user 2.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/535665/ft1_filtered_4FGL_J0949.2+1749_daily_bin1390.fits" evtable="EVENTS" scfile=/scratch/kocevski/535665/ft2_4FGL_J0949.2+1749_daily_bin1390.fits sctable="SC_DATA" outfile=/scratch/kocevski/535665/ltcube_599616001_599875201_4FGL_J0949.2+1749_daily_bin1390.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/535665/ft2_4FGL_J0949.2+1749_daily_bin1390.fits
.....................!
real 12.65
user 12.18
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/535665/ft1_filtered_4FGL_J0949.2+1749_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/535665/ft2_4FGL_J0949.2+1749_daily_bin1390.fits sctable="SC_DATA" expcube=/scratch/kocevski/535665/ltcube_599616001_599875201_4FGL_J0949.2+1749_daily_bin1390.fits outfile=/scratch/kocevski/535665/expmap_599616001_599875201_4FGL_J0949.2+1749_daily_bin1390.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/535665/ltcube_599616001_599875201_4FGL_J0949.2+1749_daily_bin1390.fits
.....................!
real 192.92
user 185.28
sys 5.18

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/535665/ft1_filtered_4FGL_J0949.2+1749_daily_bin1390.fits scfile=/scratch/kocevski/535665/ft2_4FGL_J0949.2+1749_daily_bin1390.fits outfile=/scratch/kocevski/535665/cmap_599616001_599875201_4FGL_J0949.2+1749_daily_bin1390.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.62
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/535665/ft1_filtered_4FGL_J0949.2+1749_daily_bin1390.fits scfile=/scratch/kocevski/535665/ft2_4FGL_J0949.2+1749_daily_bin1390.fits outfile=/scratch/kocevski/535665/cmap_HighResolution_599616001_599875201_4FGL_J0949.2+1749_daily_bin1390.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.57
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.032       1.0000         .10000E-03   10000.    
     2 'norm      '    .11577E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    33.849       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10626E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12352E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    42.502       1.0000         .10000E-03   10000.    
     7 'norm      '    .53880       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .77014E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .26571E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11882E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13430E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    20.861       1.0000         .10000E-03   10000.    
    13 'Prefactor '    111.37       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.498       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2472       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .91410       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=   3695.710     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     1363 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.284        23.289        .13400E-05   -.92773E-05
   2  norm          .10000E-03    16.872       -.89212E-07** at limit **
   3  norm          34.256        61.595       -.32665E-04   -.38841E-05
   4  Prefactor     .10000E-03    53.320       -.15519E-05** at limit **
   5  Prefactor     .10000E-03    10.745        .41410E-07** at limit **
   6  Prefactor     44.124        63.410        .13177E-04   -.39532E-04
   7  norm          .54622        1.5166        .82883E-06    .18618E-03
   8  Prefactor     .10000E-03    40.615       -.38173E-05** at limit **
   9  Prefactor     .10000E-03    18.489        .64461E-07** at limit **
  10  Prefactor     .10000E-03    7.2060        .25653E-06** at limit **
  11  Prefactor     .10000E-03    2.8993        .55198E-06** at limit **
  12  norm          20.878        13.809       -.79766E-05   -.89539E-04
  13  Prefactor     111.41        70.552        .61802E-04   -.31376E-04
  14  Prefactor     25.514        14.598        .17127E-06   -.65208E-04
  15  Normalizat    1.2450        .26780       -.76307E-05   -.35206E-04
  16  Prefactor     .91481        .22894       -.18992E-05   -.28850E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2844
  norm       = 0.0001
  norm       = 34.2559
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.1241
  norm       = 0.546223
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.8781
  Prefactor  = 111.415
  Prefactor  = 25.5143
  Normalizat = 1.24499
  Prefactor  = 0.914812
 **********
 **   18 **HESSE 
 **********

 FCN=   3695.710     FROM HESSE     STATUS=OK           203 CALLS     1566 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.284        23.292        .11549E-03   -1.5007    
   2  norm          .10000E-03    17.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          34.256        61.599        .68876E-04   -1.4537    
   4  Prefactor     .10000E-03    53.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.124        63.579        .61491E-04   -1.4378    
   7  norm          .54622        1.3985        .11438E-02   -1.5560    
   8  Prefactor     .10000E-03    40.619        .20925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.497        .21440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.2352        .15933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.825        .20010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          20.878        13.800        .87695E-04   -1.4794    
  13  Prefactor     111.41        70.482        .19058E-03   -1.3593    
  14  Prefactor     25.514        14.609        .79331E-04   -1.4697    
  15  Normalizat    1.2450        .32321        .25788E-03   -.85224    
  16  Prefactor     .91481        .27777        .26045E-03   -.95625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.29554e-10
Minuit parameter uncertainties:
  1  23.3088
  2  5.64887e-05
  3  61.7136
  4  0.000107533
  5  2.49958e-06
  6  63.6774
  7  1.39863
  8  2.65953e-05
  9  7.64767e-07
  10  5.13821e-05
  11  0.000112052
  12  13.8018
  13  70.5347
  14  14.6109
  15  0.323734
  16  0.278198
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  7.648e-07  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  7.531e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  9.148e-01  2.782e-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.245e+00  3.237e-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: 9.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/535665/likelihoodResults_599616001_599875201_4FGL_J0949.2+1749_daily_bin1390.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) = 3695.71005225
delta logL = -0.000256158251887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3695.70979818
delta logL = -2.09035488297e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10391E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3712       1.0000          .0000       10.000    
     3 'Normalizat'    1.2449       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91486       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=   3695.710     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      292 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    89.351        .18142E-01** at limit **
   2  Index         2.2196        8.4694        .50000        .45770E-07
   3  Normalizat    1.2450        .13771E-01    .25788E-03    .22395E-04
   4  Prefactor     .91482        .12197E-01    .26045E-03   -.23134E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100012
  Index      = 2.21963
  Normalizat = 1.24498
  Prefactor  = 0.914818
 **********
 **   18 **HESSE 
 **********

 FCN=   3695.710     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      321 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    648.64        .26144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2196        7.2340        .50000       -.58965    
   3  Normalizat    1.2450        .38696E-01    .10315E-04   -.85224    
   4  Prefactor     .91482        .34273E-01    .10418E-04   -.95625    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.56801e-08
Minuit parameter uncertainties:
  1  0.00570085
  2  1970.35
  3  0.0386968
  4  0.0342741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/535665': 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) = 3695.70979597
delta logL = 1.24688995129e-07

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  5.701e-03  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.220e+00  1.970e+03  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.148e-01  3.427e-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.245e+00  3.870e-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/535665/cmap_HighResolution_599616001_599875201_4FGL_J0949.2+1749_daily_bin1390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.65e-03', job_status='DONE', photon_flux_upper_limit='9.82e-08', time_completed='2021-09-01 03:55:50.602349', job_id='535665', GAL2='0.91', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1630493750.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1390' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:55:50 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin1390 147.316 17.83 599616001 599875201 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 :                                   413.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             226.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            616 sec.

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

