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


Performing analysis on: 4FGL_J0949.2+1749_daily_bin326
RA = 147.316, Dec = 17.83
tmin = 323827201, tmax = 324086401
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='530863', job_status='RUN', time_executed='2021-09-01 03:32:29.443894', time_epoch_executed='1630492349.44' WHERE source_name='4FGL J0949.2+1749' and cadence='daily' and bin_id='326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530863

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530863/ft1_4FGL_J0949.2+1749_daily_bin326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530863/ft2_4FGL_J0949.2+1749_daily_bin326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530863/ft1_4FGL_J0949.2+1749_daily_bin326.fits outfile=/scratch/kocevski/530863/ft1_filteredMKT_4FGL_J0949.2+1749_daily_bin326.fits ra=147.316 dec=17.83 rad=12.0 tmin=323827201.0 tmax=324086401.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.50
user 3.10
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530863/ft1_filtered_4FGL_J0949.2+1749_daily_bin326.fits" evtable="EVENTS" scfile=/scratch/kocevski/530863/ft2_4FGL_J0949.2+1749_daily_bin326.fits sctable="SC_DATA" outfile=/scratch/kocevski/530863/ltcube_323827201_324086401_4FGL_J0949.2+1749_daily_bin326.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/530863/ft2_4FGL_J0949.2+1749_daily_bin326.fits
.....................!
real 11.97
user 11.60
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530863/ft1_filtered_4FGL_J0949.2+1749_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/530863/ft2_4FGL_J0949.2+1749_daily_bin326.fits sctable="SC_DATA" expcube=/scratch/kocevski/530863/ltcube_323827201_324086401_4FGL_J0949.2+1749_daily_bin326.fits outfile=/scratch/kocevski/530863/expmap_323827201_324086401_4FGL_J0949.2+1749_daily_bin326.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/530863/ltcube_323827201_324086401_4FGL_J0949.2+1749_daily_bin326.fits
.....................!
real 193.67
user 188.37
sys 4.87

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/530863/ft1_filtered_4FGL_J0949.2+1749_daily_bin326.fits scfile=/scratch/kocevski/530863/ft2_4FGL_J0949.2+1749_daily_bin326.fits outfile=/scratch/kocevski/530863/cmap_323827201_324086401_4FGL_J0949.2+1749_daily_bin326.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530863/ft1_filtered_4FGL_J0949.2+1749_daily_bin326.fits scfile=/scratch/kocevski/530863/ft2_4FGL_J0949.2+1749_daily_bin326.fits outfile=/scratch/kocevski/530863/cmap_HighResolution_323827201_324086401_4FGL_J0949.2+1749_daily_bin326.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.58
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    29.125       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5652       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.1545       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.456       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .94012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.817       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .52767       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .94170       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1060       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=   5464.534     FROM MIGRAD    STATUS=CONVERGED    288 CALLS     1479 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4934       -.13564E-06** at limit **
   2  norm          .10000E-03    11.943        .18215E-05** at limit **
   3  norm          29.106        29.640       -.71955E-06   -.14324E-03
   4  Prefactor     .10000E-03    15.424       -.23611E-07** at limit **
   5  Prefactor     2.5648        3.8206        .50011E-06    .89807E-03
   6  Prefactor     .10000E-03    11.092        .55862E-06** at limit **
   7  norm          3.1543        1.3955       -.92502E-07   -.11509E-03
   8  Prefactor     19.455        47.906       -.84475E-06   -.26489E-04
   9  Prefactor     .10000E-03    15.559        .49205E-06** at limit **
  10  Prefactor     .10000E-03    2.3606        .49825E-06** at limit **
  11  Prefactor     .10000E-03    .98224        .40215E-06** at limit **
  12  norm          .10000E-03    5.4112       -.36151E-05** at limit **
  13  Prefactor     35.749        47.200       -.14378E-05   -.12823E-03
  14  Prefactor     .50295        31.396       -.16783E-04    .43386E-03
  15  Normalizat    .94180        .18269        .67940E-05    .83518E-03
  16  Prefactor     1.1060        .17252       -.50032E-05    .10872E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100004
  norm       = 29.106
  Prefactor  = 0.0001
  Prefactor  = 2.56483
  Prefactor  = 0.0001
  norm       = 3.15427
  Prefactor  = 19.4548
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 35.7491
  Prefactor  = 0.502948
  Normalizat = 0.941802
  Prefactor  = 1.10602
 **********
 **   18 **HESSE 
 **********

 FCN=   5464.534     FROM HESSE     STATUS=OK           197 CALLS     1676 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.5917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    12.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          29.106        29.697        .74238E-04   -1.4628    
   4  Prefactor     .10000E-03    15.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5648        3.8317        .17183E-03   -1.5388    
   6  Prefactor     .10000E-03    11.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.1543        1.3965        .55767E-04   -1.5353    
   8  Prefactor     19.455        47.939        .90803E-04   -1.4826    
   9  Prefactor     .10000E-03    15.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.3879        .11108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.0032        .71727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    12.529        .31034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     35.749        47.571        .66963E-04   -1.4511    
  14  Prefactor     .50295        37.922        .40603E-02   -1.5566    
  15  Normalizat    .94180        .20814        .24322E-03   -.95006    
  16  Prefactor     1.1060        .19695        .21970E-03   -.89274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.7374e-09
Minuit parameter uncertainties:
  1  2.74721e-05
  2  0.00046017
  3  29.7121
  4  2.59508e-06
  5  3.8321
  6  0.000114982
  7  1.39654
  8  48.0341
  9  0.000139224
  10  5.28125e-05
  11  2.73183e-05
  12  0.000173118
  13  47.6215
  14  8.73931
  15  0.208316
  16  0.197077
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.392e-04  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.106e+00  1.971e-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.418e-01  2.083e-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: 6.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530863/likelihoodResults_323827201_324086401_4FGL_J0949.2+1749_daily_bin326.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) = 5464.5341064
delta logL = -0.000305553328872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5464.53380341
delta logL = -2.5614626793e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8969       1.0000          .0000       10.000    
     3 'Normalizat'    .94179       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1060       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=   5464.534     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      273 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10980E-03    9.7054        .18142E-01** at limit **
   2  Index         2.7432        6.4581        .50000        .34031E-04
   3  Normalizat    .94179        .40755E-02    .24321E-03    .35525E-04
   4  Prefactor     1.1060        .39760E-02    .21970E-03   -.83374E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000109804
  Index      = 2.74323
  Normalizat = 0.941793
  Prefactor  = 1.10603
 **********
 **   18 **HESSE 
 **********

 FCN=   5464.534     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      302 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10980E-03    77.025        .24143E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7432        5.4249        .50000       -.46828    
   3  Normalizat    .94179        .11522E-01    .97286E-05   -.95007    
   4  Prefactor     1.1060        .11240E-01    .43940E-04   -.89274    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.08254e-08
Minuit parameter uncertainties:
  1  0.0550306
  2  307.556
  3  0.0115216
  4  0.0112402
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530863': 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) = 5464.53380252
delta logL = -1.66641893884e-06

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  1.098e-04  5.503e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.743e+00  3.076e+02  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.106e+00  1.124e-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:  9.418e-01  1.152e-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/530863/cmap_HighResolution_323827201_324086401_4FGL_J0949.2+1749_daily_bin326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.98e-03', job_status='DONE', photon_flux_upper_limit='6.39e-08', time_completed='2021-09-01 03:40:39.135984', job_id='530863', GAL2='1.11', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630492839.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-1.67e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='326' AND source_name='4FGL J0949.2+1749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 03:40:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 530863: <4FGL_J0949.2+1749_daily_bin326> in cluster <slac> Done

Job <4FGL_J0949.2+1749_daily_bin326> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Sep  1 03:30:23 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 03:30:24 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:30:24 2021
Terminated at Wed Sep  1 03:40:39 2021
Results reported at Wed Sep  1 03:40:39 2021

Your job looked like:

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

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

