/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 98 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 = 7391
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0949.2+1749_daily_bin277
RA = 147.316, Dec = 17.83
tmin = 311126401, tmax = 311385601
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='529871', job_status='RUN', time_executed='2021-09-01 03:28:12.229310', time_epoch_executed='1630492092.23' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/529871

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/529871/ft1_4FGL_J0949.2+1749_daily_bin277.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/529871/ft2_4FGL_J0949.2+1749_daily_bin277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/529871/ft1_4FGL_J0949.2+1749_daily_bin277.fits outfile=/scratch/kocevski/529871/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin277.fits ra=147.316 dec=17.83 rad=12.0 tmin=311126401.0 tmax=311385601.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.49
user 3.30
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/529871/ft1_filtered_4FGL_J0949.2+1749_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/529871/ft2_4FGL_J0949.2+1749_daily_bin277.fits sctable="SC_DATA" expcube=/scratch/kocevski/529871/ltcube_311126401_311385601_4FGL_J0949.2+1749_daily_bin277.fits outfile=/scratch/kocevski/529871/expmap_311126401_311385601_4FGL_J0949.2+1749_daily_bin277.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/529871/ltcube_311126401_311385601_4FGL_J0949.2+1749_daily_bin277.fits
.....................!
real 190.09
user 184.88
sys 4.50

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/529871/ft1_filtered_4FGL_J0949.2+1749_daily_bin277.fits scfile=/scratch/kocevski/529871/ft2_4FGL_J0949.2+1749_daily_bin277.fits outfile=/scratch/kocevski/529871/cmap_311126401_311385601_4FGL_J0949.2+1749_daily_bin277.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.70
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/529871/ft1_filtered_4FGL_J0949.2+1749_daily_bin277.fits scfile=/scratch/kocevski/529871/ft2_4FGL_J0949.2+1749_daily_bin277.fits outfile=/scratch/kocevski/529871/cmap_HighResolution_311126401_311385601_4FGL_J0949.2+1749_daily_bin277.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0938       1.0000         .10000E-03   10000.    
     2 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6591       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.0051       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    60.106       1.0000         .10000E-03   10000.    
     7 'norm      '    .10588E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10614E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10599E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12783E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    37.034       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2061       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .91958       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=   5685.334     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     1296 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0947        9.4849       -.73120E-06   -.90604E-05
   2  norm          .10000E-03    7.6346        .18910E-06** at limit **
   3  norm          1.5410        4.7924        .20797E-06   -.11823E-03
   4  Prefactor     8.0074        42.723        .71650E-06   -.82126E-06
   5  Prefactor     .10000E-03    1.3384        .68911E-07** at limit **
   6  Prefactor     60.092        33.671        .58040E-06    .42348E-05
   7  norm          .10000E-03    .74665        .54352E-07** at limit **
   8  Prefactor     .10000E-03    258.77       -.50299E-05** at limit **
   9  Prefactor     .10000E-03    51.063        .48025E-06** at limit **
  10  Prefactor     .10000E-03    11.110       -.37682E-06** at limit **
  11  Prefactor     .10000E-03    1.2399       -.51066E-07** at limit **
  12  norm          37.033        11.702        .13233E-05    .23210E-04
  13  Prefactor     .10000E-03    11.379       -.64240E-06** at limit **
  14  Prefactor     .10000E-03    6.6765       -.26483E-06** at limit **
  15  Normalizat    1.2063        .18855       -.47488E-06   -.12343E-05
  16  Prefactor     .91935        .16880       -.16667E-06   -.31274E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.09467
  norm       = 0.0001
  norm       = 1.54097
  Prefactor  = 8.00744
  Prefactor  = 0.0001
  Prefactor  = 60.0919
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 37.033
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.20627
  Prefactor  = 0.919352
 **********
 **   18 **HESSE 
 **********

 FCN=   5685.334     FROM HESSE     STATUS=OK           201 CALLS     1497 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0947        9.4823        .15061E-03   -1.5175    
   2  norm          .10000E-03    7.7593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5410        108.83        .16379E-02   -1.5460    
   4  Prefactor     8.0074        42.797        .14171E-03   -1.5142    
   5  Prefactor     .10000E-03    1.3398        .85184E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     60.092        33.697        .51752E-04   -1.4156    
   7  norm          .10000E-03    4.7365        .12335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    260.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    51.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.478        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.2504        .81989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          37.033        11.711        .65857E-04   -1.4490    
  13  Prefactor     .10000E-03    11.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.7534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2063        .22377        .24051E-03   -.86409    
  16  Prefactor     .91935        .20306        .24550E-03   -.95468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.05315e-10
Minuit parameter uncertainties:
  1  9.4843
  2  3.14314e-06
  3  25.948
  4  37.0649
  5  5.32934e-09
  6  33.7076
  7  4.09875e-05
  8  0.000114891
  9  3.00971e-05
  10  3.21213e-05
  11  1.21336e-06
  12  11.7118
  13  1.29673e-07
  14  3.67127e-07
  15  0.223951
  16  0.203228
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  9.194e-01  2.032e-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.206e+00  2.240e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/529871/likelihoodResults_311126401_311385601_4FGL_J0949.2+1749_daily_bin277.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) = 5685.33429134
delta logL = -9.28523159018e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5685.3341987
delta logL = -2.12270606426e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4620       1.0000          .0000       10.000    
     3 'Normalizat'    1.2063       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91936       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=   5685.334     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      279 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    8598.1        .18142E-02** at limit **
   2  Index         2.5325        6.0970        .50000       -.16054E-04
   3  Normalizat    1.2063        .10257        .24051E-03    .17017E-05
   4  Prefactor     .91935        .93201E-01    .24550E-03   -.47698E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 2.53246
  Normalizat = 1.20627
  Prefactor  = 0.919353
 **********
 **   18 **HESSE 
 **********

 FCN=   5685.334     FROM HESSE     STATUS=OK            29 CALLS      308 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    58.104        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5325        6.2662        .50000       -.51612    
   3  Normalizat    1.2063        .22050        .96204E-05   -.86409    
   4  Prefactor     .91935        .20052        .98199E-05   -.95468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9244e-10
Minuit parameter uncertainties:
  1  0.00181401
  2  4.5834
  3  0.220675
  4  0.20068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/529871': 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) = 5685.33419844
delta logL = 3.93238224206e-08

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.814e-03  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.532e+00  4.583e+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.194e-01  2.007e-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.206e+00  2.207e-01  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/529871/cmap_HighResolution_311126401_311385601_4FGL_J0949.2+1749_daily_bin277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.02e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-01 03:36:04.146438', job_id='529871', GAL2='0.92', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1630492564.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.93e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='277' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:36:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 529871: <4FGL_J0949.2+1749_daily_bin277> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_daily_bin277 147.316 17.83 311126401 311385601 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 :                                   468.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            611 sec.

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

