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


Performing analysis on: 4FGL_J0949.2+1749_weekly_bin729
RA = 147.316, Dec = 17.83
tmin = 679881601, tmax = 680486401
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='197122', job_status='RUN', time_executed='2022-07-26 02:35:11.275609', time_epoch_executed='1658828111.28' WHERE source_name='4FGL J0949.2+1749' and cadence='weekly' and bin_id='729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/197122

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/197122/ft1_4FGL_J0949.2+1749_weekly_bin729.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/197122/ft2_4FGL_J0949.2+1749_weekly_bin729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/197122/ft1_4FGL_J0949.2+1749_weekly_bin729.fits outfile=/scratch/kocevski/197122/ft1_filteredMKT_4FGL_J0949.2+1749_weekly_bin729.fits ra=147.316 dec=17.83 rad=12.0 tmin=679881601.0 tmax=680486401.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 8.38
user 8.04
sys 0.30

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

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

Number of photons that the gtmktime cut: 645

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/197122/ft1_filtered_4FGL_J0949.2+1749_weekly_bin729.fits evtable="EVENTS" scfile=/scratch/kocevski/197122/ft2_4FGL_J0949.2+1749_weekly_bin729.fits sctable="SC_DATA" expcube=/scratch/kocevski/197122/ltcube_679881601_680486401_4FGL_J0949.2+1749_weekly_bin729.fits outfile=/scratch/kocevski/197122/expmap_679881601_680486401_4FGL_J0949.2+1749_weekly_bin729.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/197122/ltcube_679881601_680486401_4FGL_J0949.2+1749_weekly_bin729.fits
.....................!
real 191.67
user 186.83
sys 4.04

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/197122/ft1_filtered_4FGL_J0949.2+1749_weekly_bin729.fits scfile=/scratch/kocevski/197122/ft2_4FGL_J0949.2+1749_weekly_bin729.fits outfile=/scratch/kocevski/197122/cmap_679881601_680486401_4FGL_J0949.2+1749_weekly_bin729.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.59
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/197122/ft1_filtered_4FGL_J0949.2+1749_weekly_bin729.fits scfile=/scratch/kocevski/197122/ft2_4FGL_J0949.2+1749_weekly_bin729.fits outfile=/scratch/kocevski/197122/cmap_HighResolution_679881601_680486401_4FGL_J0949.2+1749_weekly_bin729.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.59
user 0.43
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10222E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13305E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .70103E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.114       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.3854       1.0000         .10000E-03   10000.    
    12 'norm      '    10.517       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18367E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .60839       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0452       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0364       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=   7300.632     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     1535 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.5895        .81491E-06** at limit **
   2  norm          .10000E-03    2.0966       -.86819E-07** at limit **
   3  norm          .10000E-03    14.602        .47568E-05** at limit **
   4  Prefactor     .10000E-03    15.675       -.50898E-05** at limit **
   5  Prefactor     .10000E-03    3.5413        .17948E-07** at limit **
   6  Prefactor     .10000E-03    30.623        .11513E-05** at limit **
   7  norm          .67959E-01    .52523       -.28178E-06    .45313E-03
   8  Prefactor     11.079        27.783       -.90215E-05   -.89440E-05
   9  Prefactor     .10000E-03    11.021       -.19158E-05** at limit **
  10  Prefactor     .10000E-03    1.4057        .45737E-06** at limit **
  11  Prefactor     4.3846        2.0830        .35809E-07    .92313E-04
  12  norm          10.514        6.5334       -.12166E-06   -.78966E-04
  13  Prefactor     .10000E-03    157.12        .10262E-04** at limit **
  14  Prefactor     .65075        3.4339        .13620E-06   -.62640E-03
  15  Normalizat    1.0453        .16149        .35931E-06    .60844E-04
  16  Prefactor     1.0365        .14827        .41957E-06    .54747E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0679587
  Prefactor  = 11.0793
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.38457
  norm       = 10.5138
  Prefactor  = 0.000100001
  Prefactor  = 0.650746
  Normalizat = 1.04533
  Prefactor  = 1.03653
 **********
 **   18 **HESSE 
 **********

 FCN=   7300.632     FROM HESSE     STATUS=OK           203 CALLS     1738 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.6748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.0976        .12083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    14.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.6425        .31392E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .67959E-01    6.3875        .11546E-02   -1.5656    
   8  Prefactor     11.079        27.806        .12017E-03   -1.5042    
   9  Prefactor     .10000E-03    11.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.4118        .98897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.3846        2.0860        .82725E-04   -1.5289    
  12  norm          10.514        6.5395        .12355E-03   -1.5059    
  13  Prefactor     .10000E-03    162.57        .40608E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .65075        14.675        .30437E-02   -1.5547    
  15  Normalizat    1.0453        .19017        .23987E-03   -.91527    
  16  Prefactor     1.0365        .17391        .22546E-03   -.91522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38517e-09
Minuit parameter uncertainties:
  1  9.6735e-06
  2  3.60582e-07
  3  5.93718e-06
  4  2.23721e-06
  5  4.24371e-06
  6  2.75159e-05
  7  1.31688
  8  27.8389
  9  1.5853e-07
  10  1.72792e-07
  11  2.08601
  12  6.53992
  13  0.000946671
  14  6.18168
  15  0.190296
  16  0.174007
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.037e+00  1.740e-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.045e+00  1.903e-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: 5.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/197122/likelihoodResults_679881601_680486401_4FGL_J0949.2+1749_weekly_bin729.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) = 7300.63235016
delta logL = -0.000432165435086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7300.63191798
delta logL = 1.70657585841e-08

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.5120       1.0000          .0000       10.000    
     3 'Normalizat'    1.0453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0365       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=   7300.632     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      240 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10105E-03    281.29        .18142E-02** at limit **
   2  Index         2.4336        6.3642        .50000        .55843E-05
   3  Normalizat    1.0453        .20065E-01    .23987E-03   -.31281E-05
   4  Prefactor     1.0365        .18881E-01    .22546E-03   -.30255E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101048
  Index      = 2.43359
  Normalizat = 1.04533
  Prefactor  = 1.03653
 **********
 **   18 **HESSE 
 **********

 FCN=   7300.632     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10105E-03    1070.0        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4336        6.8829        .50000       -.53900    
   3  Normalizat    1.0453        .44077E-01    .95946E-05   -.91527    
   4  Prefactor     1.0365        .41474E-01    .90183E-05   -.91522    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03153e-08
Minuit parameter uncertainties:
  1  0.0682269
  2  2234.47
  3  0.0440785
  4  0.0414753
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/197122': 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) = 7300.6319179
delta logL = 8.9517016022e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.037e+00  4.148e-02  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.045e+00  4.408e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/197122/cmap_HighResolution_679881601_680486401_4FGL_J0949.2+1749_weekly_bin729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.29e-03', job_status='DONE', photon_flux_upper_limit='5.51e-08', time_completed='2022-07-26 02:45:12.569497', job_id='197122', GAL2='1.04', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1658828712.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='8.95e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='729' AND source_name='4FGL J0949.2+1749' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:45:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 197122: <4FGL_J0949.2+1749_weekly_bin729> in cluster <slac> Done

Job <4FGL_J0949.2+1749_weekly_bin729> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jul 26 02:30:30 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:32:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:32:38 2022
Terminated at Tue Jul 26 02:45:13 2022
Results reported at Tue Jul 26 02:45:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.2+1749_weekly_bin729 147.316 17.83 679881601 680486401 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 :                                   601.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            883 sec.

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

