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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin1412
RA = 147.316, Dec = 17.83
tmin = 605318401, tmax = 605577601
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='535700', job_status='RUN', time_executed='2021-09-01 03:48:33.580556', time_epoch_executed='1630493313.58' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='1412'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/535700

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/535700/ft1_4FGL_J0949.2+1749_daily_bin1412.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/535700/ft2_4FGL_J0949.2+1749_daily_bin1412.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/535700/ft1_4FGL_J0949.2+1749_daily_bin1412.fits outfile=/scratch/kocevski/535700/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin1412.fits ra=147.316 dec=17.83 rad=12.0 tmin=605318401.0 tmax=605577601.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 5.56
user 5.18
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/535700/ft1_filtered_4FGL_J0949.2+1749_daily_bin1412.fits" evtable="EVENTS" scfile=/scratch/kocevski/535700/ft2_4FGL_J0949.2+1749_daily_bin1412.fits sctable="SC_DATA" outfile=/scratch/kocevski/535700/ltcube_605318401_605577601_4FGL_J0949.2+1749_daily_bin1412.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/535700/ft2_4FGL_J0949.2+1749_daily_bin1412.fits
.....................!
real 11.56
user 11.16
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/535700/ft1_filtered_4FGL_J0949.2+1749_daily_bin1412.fits evtable="EVENTS" scfile=/scratch/kocevski/535700/ft2_4FGL_J0949.2+1749_daily_bin1412.fits sctable="SC_DATA" expcube=/scratch/kocevski/535700/ltcube_605318401_605577601_4FGL_J0949.2+1749_daily_bin1412.fits outfile=/scratch/kocevski/535700/expmap_605318401_605577601_4FGL_J0949.2+1749_daily_bin1412.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/535700/ltcube_605318401_605577601_4FGL_J0949.2+1749_daily_bin1412.fits
.....................!
real 190.63
user 185.01
sys 5.02

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/535700/ft1_filtered_4FGL_J0949.2+1749_daily_bin1412.fits scfile=/scratch/kocevski/535700/ft2_4FGL_J0949.2+1749_daily_bin1412.fits outfile=/scratch/kocevski/535700/cmap_605318401_605577601_4FGL_J0949.2+1749_daily_bin1412.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.54
user 0.35
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.0020       1.0000         .10000E-03   10000.    
     3 'norm      '    23.982       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6024       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12359E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .23078E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .37360E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.301       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9099       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .18394E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.648       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.160       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0777       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .92117       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=   4820.808     FROM MIGRAD    STATUS=CONVERGED    336 CALLS     1465 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.452        .25764E-05** at limit **
   2  norm          1.9997        4.5741       -.48207E-06   -.35450E-03
   3  norm          23.844        29.118        .32998E-05   -.38755E-05
   4  Prefactor     .10000E-03    14.042       -.20331E-05** at limit **
   5  Prefactor     3.6077        7.3850       -.21012E-05   -.23583E-03
   6  Prefactor     .10000E-03    24.846       -.15825E-04** at limit **
   7  norm          .10000E-03    .69289       -.32581E-06** at limit **
   8  Prefactor     .10000E-03    28.810        .31347E-04** at limit **
   9  Prefactor     37.109        50.216       -.12496E-04    .13433E-04
  10  Prefactor     9.9102        8.2773       -.82080E-07    .15267E-04
  11  Prefactor     .10000E-03    1.2702       -.14350E-07** at limit **
  12  norm          .10000E-03    4.9117        .25309E-08** at limit **
  13  Prefactor     38.043        47.919       -.16551E-05    .99189E-05
  14  Prefactor     18.142        14.295       -.10517E-04    .72392E-08
  15  Normalizat    1.0775        .20458        .46794E-05    .40406E-04
  16  Prefactor     .92121        .17492       -.61306E-06    .24325E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.99968
  norm       = 23.8438
  Prefactor  = 0.0001
  Prefactor  = 3.60767
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.1089
  Prefactor  = 9.91021
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 38.0431
  Prefactor  = 18.1422
  Normalizat = 1.0775
  Prefactor  = 0.921207
 **********
 **   18 **HESSE 
 **********

 FCN=   4820.808     FROM HESSE     STATUS=OK           203 CALLS     1668 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9997        4.5455        .21920E-03   -1.5425    
   3  norm          23.844        29.108        .81796E-04   -1.4731    
   4  Prefactor     .10000E-03    14.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.6077        7.4025        .21289E-03   -1.5328    
   6  Prefactor     .10000E-03    24.900        .20617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.5614        .10947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    28.786        .21295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.109        50.421        .65622E-04   -1.4489    
  10  Prefactor     9.9102        8.2877        .12729E-03   -1.5078    
  11  Prefactor     .10000E-03    1.2736        .76402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.9329        .15026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     38.043        47.904        .65320E-04   -1.4474    
  14  Prefactor     18.142        14.303        .93987E-04   -1.4856    
  15  Normalizat    1.0775        .23542        .23984E-03   -.90478    
  16  Prefactor     .92121        .20373        .23233E-03   -.95404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81236e-10
Minuit parameter uncertainties:
  1  6.53946e-05
  2  4.54624
  3  29.1248
  4  5.52664e-06
  5  7.40434
  6  3.0754e-06
  7  5.54134e-05
  8  8.55399e-06
  9  50.4786
  10  8.28867
  11  1.70904e-06
  12  7.12536e-06
  13  47.952
  14  14.3056
  15  0.23565
  16  0.203899
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  3.711e+01  5.048e+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:  9.212e-01  2.039e-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.077e+00  2.357e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.66
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 1.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.19e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/535700/likelihoodResults_605318401_605577601_4FGL_J0949.2+1749_daily_bin1412.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) = 4820.50679963
delta logL = 0.30128298342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4820.50273122
delta logL = 0.30535139366

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.960       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3911       1.0000          .0000       10.000    
     3 'Normalizat'    1.0346       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94689       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=   4820.503     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      299 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.981        46.314        .91982E-04   -.13472E-03
   2  Index         3.3907        1.4576        .67913E-02    .20882E-04
   3  Normalizat    1.0353        .23362        .24406E-03    .16878E-03
   4  Prefactor     .94629        .20519        .22954E-03   -.13862E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.9807
  Index      = 3.39066
  Normalizat = 1.03527
  Prefactor  = 0.946293
 **********
 **   18 **HESSE 
 **********

 FCN=   4820.503     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.981        35.665        .36793E-05   -1.4836    
   2  Index         3.3907        1.1266        .27165E-03   -.32770    
   3  Normalizat    1.0353        .23386        .48812E-04   -.91858    
   4  Prefactor     .94629        .20504        .45907E-04   -.94542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.442e-10
Minuit parameter uncertainties:
  1  35.705
  2  1.13751
  3  0.234096
  4  0.205209
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/535700': 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) = 4820.50272625
delta logL = 0.305356358491

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.898e+01  3.570e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.391e+00  1.138e+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.463e-01  2.052e-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.035e+00  2.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 147.316 17.830
Photon Index (Free Index): 3.39 +/- 1.14
Photon Flux (Free Index): 7.48e-08 +/- 7.68e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.30e-05

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/535700/cmap_HighResolution_605318401_605577601_4FGL_J0949.2+1749_daily_bin1412.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-02', comment='SUCCESS', energy_flux2='1.28e-05', dlogl='3.05e-01', photon_flux2='7.48e-08', job_status='DONE', time_completed='2021-09-01 03:58:35.160741', photon_index_error2='1.14', photon_index2='3.39', ts='0.66', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.53e-07', energy_flux_error2='1.30e-05', EG='1.08', time_epoch_completed='1630493915.16', return_code='0', job_id='535700', GAL2='0.95', EG2='1.04', return_code2='0', photon_flux_error2='7.68e-08', ts2='1.33', photon_index='2.52' WHERE bin_id='1412' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:58:35 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin1412 147.316 17.83 605318401 605577601 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 :                                   469.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            777 sec.

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

