aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 63 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 17438
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0949.2+1749_weekly_bin736
RA = 147.316, Dec = 17.83
tmin = 684115201, tmax = 684720001
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='186285', job_status='RUN', time_executed='2022-09-16 20:35:49.433176', time_epoch_executed='1663385749.43' WHERE source_name='4FGL J0949.2+1749' and cadence='weekly' and bin_id='736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/186285

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/186285/ft1_4FGL_J0949.2+1749_weekly_bin736.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/186285/ft2_4FGL_J0949.2+1749_weekly_bin736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/186285/ft1_4FGL_J0949.2+1749_weekly_bin736.fits outfile=/scratch/kocevski/186285/ft1_filteredMKT_4FGL_J0949.2+1749_weekly_bin736.fits ra=147.316 dec=17.83 rad=12.0 tmin=684115201.0 tmax=684720001.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 7.84
user 7.53
sys 0.28

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

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

Number of photons that the gtmktime cut: 1160

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/186285/ft1_filtered_4FGL_J0949.2+1749_weekly_bin736.fits" evtable="EVENTS" scfile=/scratch/kocevski/186285/ft2_4FGL_J0949.2+1749_weekly_bin736.fits sctable="SC_DATA" outfile=/scratch/kocevski/186285/ltcube_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.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/186285/ft2_4FGL_J0949.2+1749_weekly_bin736.fits
.....................!
real 25.23
user 24.81
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/186285/ft1_filtered_4FGL_J0949.2+1749_weekly_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/186285/ft2_4FGL_J0949.2+1749_weekly_bin736.fits sctable="SC_DATA" expcube=/scratch/kocevski/186285/ltcube_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.fits outfile=/scratch/kocevski/186285/expmap_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.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/186285/ltcube_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.fits
.....................!
real 158.22
user 153.23
sys 4.58

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/186285/ft1_filtered_4FGL_J0949.2+1749_weekly_bin736.fits scfile=/scratch/kocevski/186285/ft2_4FGL_J0949.2+1749_weekly_bin736.fits outfile=/scratch/kocevski/186285/cmap_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.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.51
user 0.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/186285/ft1_filtered_4FGL_J0949.2+1749_weekly_bin736.fits scfile=/scratch/kocevski/186285/ft2_4FGL_J0949.2+1749_weekly_bin736.fits outfile=/scratch/kocevski/186285/cmap_HighResolution_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.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.51
user 0.38
sys 0.12

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/186285/ft1_filtered_4FGL_J0949.2+1749_weekly_bin736.fits', '/scratch/kocevski/186285/ft2_4FGL_J0949.2+1749_weekly_bin736.fits', expMap='/scratch/kocevski/186285/expmap_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.fits', expCube='/scratch/kocevski/186285/ltcube_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/186285/Model_4FGL_J0949.2+1749_weekly_bin736.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  0.000e+00  1.000e+06 ( 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/186285/ft1_filtered_4FGL_J0949.2+1749_weekly_bin736.fits
Spacecraft file(s): /scratch/kocevski/186285/ft2_4FGL_J0949.2+1749_weekly_bin736.fits
Exposure map: /scratch/kocevski/186285/expmap_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.fits
Exposure cube: /scratch/kocevski/186285/ltcube_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/186285/Model_4FGL_J0949.2+1749_weekly_bin736.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) = 12995.0944602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14437E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .48683E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .21139E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .36637E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .33993E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .91616       1.0000          .0000       .10000E+07
     7 'Prefactor '    40.416       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.5137       1.0000          .0000       .10000E+07
     9 'Prefactor '    .92942E-06   1.0000          .0000       .10000E+07
    10 'norm      '    20.146       1.0000          .0000       .10000E+07
    11 'Prefactor '    32.174       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.479       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4839       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .78198       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12995.09     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      922 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    3.5031        .30241E-07** at limit **
   2  norm           .0000        1.7096        .90562E-07** at limit **
   3  norm           .0000        6.4218       -.10563E-06** at limit **
   4  Prefactor      .0000        1.2587        .43354E-07** at limit **
   5  Prefactor     .16653E-09    3.7048        .96669E-08** at limit **
   6  norm          .91561        .78436       -.27004E-08    .92185E-04
   7  Prefactor     40.328        24.348       -.20386E-08    .26493E-01
   8  Prefactor     1.5139        2.9053       -.11761E-06   -.14751E-02
   9  Prefactor      .0000        1.1013        .16948E-07** at limit **
  10  norm          20.148        6.2638        .47011E-08    .36307E-01
  11  Prefactor     32.272        11.637       -.13529E-08    .45039E-01
  12  Prefactor     16.479        3.7220        .72667E-08   -.53037E-01
  13  Normalizat    1.4839        .15376        .55039E-06    .51341E-04
  14  Prefactor     .78209        .13490       -.15345E-06    .33160E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  norm       = 0.915606
  Prefactor  = 40.3276
  Prefactor  = 1.51391
  Prefactor  = 0
  norm       = 20.1482
  Prefactor  = 32.2719
  Prefactor  = 16.4786
  Normalizat = 1.48387
  Prefactor  = 0.782089
 **********
 **   18 **HESSE 
 **********

 FCN=   12995.09     FROM HESSE     STATUS=OK           192 CALLS     1114 TOTAL
                     EDM=   .70E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    3.5040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.7084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        6.4255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    3.7153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .91561        .78820        .44650E-03   -1.5689    
   7  Prefactor     40.328        27.575        .15731E-03   -1.5581    
   8  Prefactor     1.5139        2.9453        .86876E-03   -1.5683    
   9  Prefactor      .0000        1.0906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          20.148        6.9541        .22286E-03   -1.5618    
  11  Prefactor     32.272        25.096        .17632E-03   -1.5594    
  12  Prefactor     16.479        8.2629        .24646E-03   -1.5627    
  13  Normalizat    1.4839        .13048        .52682E-01   -.78232    
  14  Prefactor     .78209        .11381        .62212E-01   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.02269e-08
Minuit parameter uncertainties:
  1  2.41906e-05
  2  7.72019e-06
  3  1.70827e-05
  4  2.08519e-06
  5  4.97396e-05
  6  0.788198
  7  27.5753
  8  2.94533
  9  3.91063e-07
  10  6.95406
  11  25.0965
  12  8.26292
  13  0.130506
  14  0.113841
Done.

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

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.033e+01  2.758e+01  0.000e+00  1.000e+06 ( 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:  7.821e-01  1.138e-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.484e+00  1.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.87
Ra Dec: 147.316 17.830
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 4.31e-08 +/- 2.95e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 8.36e-06

TS (Fixed Index): 2.87
Ra Dec: 147.316 17.830
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/186285/likelihoodResults_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.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) = 12995.082414
delta logL = 0.0110020307347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12995.0783661
delta logL = 0.0150499703686

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.964       1.0000          .0000       .10000E+07
     2 'Index     '    2.3980       1.0000          .0000       10.000    
     3 'Normalizat'    1.4902       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77800       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=   12995.08     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      274 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.958        32.677        .61031E-05    .79392E-02
   2  Index         2.3981        .70427        .10357E-01    .34097E-03
   3  Normalizat    1.4901        .15552        .23252E-03   -.92948E-03
   4  Prefactor     .77809        .13635        .27579E-03   -.10159E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.9581
  Index      = 2.3981
  Normalizat = 1.49006
  Prefactor  = 0.778088
 **********
 **   18 **HESSE 
 **********

 FCN=   12995.08     FROM HESSE     STATUS=OK            23 CALLS      297 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.958        31.811        .12206E-05   -1.5577    
   2  Index         2.3981        .68452        .41427E-03   -.54730    
   3  Normalizat    1.4901        .15534        .46503E-04   -.78058    
   4  Prefactor     .77809        .13625        .55158E-04   -1.0054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89971e-09
Minuit parameter uncertainties:
  1  31.8115
  2  0.687486
  3  0.155394
  4  0.136314
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/186285': 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) = 12995.0783659
delta logL = 0.0150501994085

Extracting fit parameters...

4FGL J0949.2+1749
   Spectrum: PowerLaw
221    Prefactor:  4.296e+01  3.181e+01  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  2.398e+00  6.875e-01  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:  7.781e-01  1.363e-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.490e+00  1.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.89
Ra Dec: 147.316 17.830
Photon Index (Free Index): 2.40 +/- 0.69
Photon Flux (Free Index): 3.90e-08 +/- 3.63e-08
Energy Flux (Free Index): 1.28e-05 +/- 9.55e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/186285/cmap_HighResolution_684115201_684720001_4FGL_J0949.2+1749_weekly_bin736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.89e-03', comment='SUCCESS', photon_flux='4.31e-08', energy_flux2='1.28e-05', photon_flux_error='2.95e-08', dlogl='1.51e-02', energy_flux='1.22e-05', photon_flux2='3.90e-08', job_status='DONE', time_completed='2022-09-16 20:45:40.963388', photon_index_error2='0.69', photon_index2='2.40', ts='2.87', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='9.55e-06', EG='1.48', time_epoch_completed='1663386340.96', return_code='0', job_id='186285', GAL2='0.78', EG2='1.49', return_code2='0', energy_flux_error='8.36e-06', photon_flux_error2='3.63e-08', ts2='2.89', photon_index='2.52' WHERE bin_id='736' AND source_name='4FGL J0949.2+1749' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:45:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 186285: <4FGL_J0949.2+1749_weekly_bin736> in cluster <slac> Done

Job <4FGL_J0949.2+1749_weekly_bin736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 20:30:33 2022
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:34:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 20:34:36 2022
Terminated at Fri Sep 16 20:45:41 2022
Results reported at Fri Sep 16 20:45:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_weekly_bin736 147.316 17.83 684115201 684720001 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 :                                   590.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            908 sec.

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

