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


Performing analysis on: 4FGL_J1949.4+1247_weekly_bin718
RA = 297.371, Dec = 12.7931
tmin = 673228801, tmax = 673833601
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='281832', job_status='RUN', time_executed='2022-05-10 01:27:12.628778', time_epoch_executed='1652171232.63' WHERE source_name='4FGL J1949.4+1247' and cadence='weekly' and bin_id='718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/281832

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/281832/ft1_4FGL_J1949.4+1247_weekly_bin718.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/281832/ft1_4FGL_J1949.4+1247_weekly_bin718.fits outfile=/scratch/kocevski/281832/ft1_filteredMKT_4FGL_J1949.4+1247_weekly_bin718.fits ra=297.371 dec=12.7931 rad=12.0 tmin=673228801.0 tmax=673833601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.49
user 5.16
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.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/281832/ft1_filteredMKT_4FGL_J1949.4+1247_weekly_bin718.fits evtable="EVENTS" outfile="/scratch/kocevski/281832/ft1_filtered_4FGL_J1949.4+1247_weekly_bin718.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.57
user 0.40
sys 0.16

Number of photons that the gtmktime cut: 15452

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/281832/ft1_filtered_4FGL_J1949.4+1247_weekly_bin718.fits" evtable="EVENTS" scfile=/scratch/kocevski/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.fits sctable="SC_DATA" outfile=/scratch/kocevski/281832/ltcube_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.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/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.fits
.....................!
real 33.43
user 32.97
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/281832/ft1_filtered_4FGL_J1949.4+1247_weekly_bin718.fits evtable="EVENTS" scfile=/scratch/kocevski/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.fits sctable="SC_DATA" expcube=/scratch/kocevski/281832/ltcube_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.fits outfile=/scratch/kocevski/281832/expmap_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.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/281832/ltcube_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.fits
.....................!
real 192.23
user 186.03
sys 5.18

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
Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Added 265 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1949.4+1247 @ 297.371 12.7931

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/281832/ft1_filtered_4FGL_J1949.4+1247_weekly_bin718.fits scfile=/scratch/kocevski/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.fits outfile=/scratch/kocevski/281832/cmap_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.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=297.371 yref=12.7931 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.60
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/281832/ft1_filtered_4FGL_J1949.4+1247_weekly_bin718.fits scfile=/scratch/kocevski/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.fits outfile=/scratch/kocevski/281832/cmap_HighResolution_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.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=297.371 yref=12.7931 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.62
user 0.44
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/281832/ft1_filtered_4FGL_J1949.4+1247_weekly_bin718.fits evtable="EVENTS" scfile=/scratch/kocevski/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/281832/Model_4FGL_J1949.4+1247_weekly_bin718.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/scratch/kocevski/281832/ft1_filtered_4FGL_J1949.4+1247_weekly_bin718.fits.....................!
real 4036.90
user 4026.86
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/281832/ft1_filtered_4FGL_J1949.4+1247_weekly_bin718.fits', '/scratch/kocevski/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.fits', expMap='/scratch/kocevski/281832/expmap_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.fits', expCube='/scratch/kocevski/281832/ltcube_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/281832/Model_4FGL_J1949.4+1247_weekly_bin718.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1949.4+1247'

4FGL J1949.4+1247
   Spectrum: PowerLaw
568    Prefactor:  3.073e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
569        Index:  2.341e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
570        Scale:  2.713e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/281832/ft1_filtered_4FGL_J1949.4+1247_weekly_bin718.fits
Spacecraft file(s): /scratch/kocevski/281832/ft2_4FGL_J1949.4+1247_weekly_bin718.fits
Exposure map: /scratch/kocevski/281832/expmap_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.fits
Exposure cube: /scratch/kocevski/281832/ltcube_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/281832/Model_4FGL_J1949.4+1247_weekly_bin718.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) = 137129.312318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.918       1.0000         .10000E-03   10000.    
     2 'norm      '    8.1098       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8265       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9245       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12017E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .41200E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .26476       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17437E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.4867       1.0000         .10000E-03   10000.    
    11 'norm      '    .25734       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.6899       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .97452       1.0000          .0000       10.000    
    14 'norm      '    9.2542       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   137129.3     FROM MIGRAD    STATUS=CONVERGED    279 CALLS     1271 TOTAL
                     EDM=   .29E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.944        9.2095         .0000        .17908E-03
   2  norm          8.0825        9.5603         .0000        .12170E-02
   3  norm          1.8292        1.5733         .0000        .10229E-01
   4  Prefactor     .10000E-03    .18296         .0000    ** at limit **
   5  Prefactor     1.9242        1.4916         .0000        .90193E-03
   6  Prefactor     .10000E-03    7.7123         .0000    ** at limit **
   7  Prefactor     .10000E-03    7.1841         .0000    ** at limit **
   8  norm          .26502        1.1125         .0000        .36012    
   9  Prefactor     .10000E-03    1.3098         .0000    ** at limit **
  10  Prefactor     6.5048        8.7931         .0000        .27962E-02
  11  norm          .25715        .26577         .0000        .18593E-01
  12  Normalizat    1.6899        .14759         .0000        .60541E-03
  13  Prefactor     .97451        .13127E-01     .0000        .23602E-02
  14  norm          9.2549        1.1692         .0000        .46639E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.944
  norm       = 8.08246
  norm       = 1.82916
  Prefactor  = 0.0001
  Prefactor  = 1.92421
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.265016
  Prefactor  = 0.0001
  Prefactor  = 6.50482
  norm       = 0.257154
  Normalizat = 1.68987
  Prefactor  = 0.974512
  norm       = 9.25494
 **********
 **   18 **HESSE 
 **********

 FCN=   137129.3     FROM HESSE     STATUS=OK           182 CALLS     1453 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.944        9.2141        .11604E-03   -1.5017    
   2  norm          8.0825        9.5566        .14079E-03   -1.5139    
   3  norm          1.8292        1.5692        .15444E-02   -1.5437    
   4  Prefactor     .10000E-03    .43849        .30424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9242        1.4905        .29948E-03   -1.5431    
   6  Prefactor     .10000E-03    7.7504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.2215        .21250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .26502        1.1151        .20539E-02   -1.5605    
   9  Prefactor     .10000E-03    1.3605        .13189       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.5048        8.6315        .15758E-03   -1.5198    
  11  norm          .25715        .26498        .16866E-02   -1.5607    
  12  Normalizat    1.6899        .14833        .10593E-02   -.72574    
  13  Prefactor     .97451        .13294E-01    .11751E-03   -.93584    
  14  norm          9.2549        1.1710        .13174E-03   -1.5099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.42005e-09
Minuit parameter uncertainties:
  1  9.21519
  2  9.55843
  3  1.56922
  4  4.03912e-06
  5  1.49051
  6  0.000264523
  7  6.50392e-05
  8  1.08705
  9  4.54125e-05
  10  8.63314
  11  0.264984
  12  0.148369
  13  0.0132939
  14  1.17104
Done.

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

Extracting fit parameters...

4FGL J1949.4+1247
   Spectrum: PowerLaw
568    Prefactor:  1.000e-04  2.645e-04  1.000e-04  1.000e+04 ( 1.000e-14)
569        Index:  2.341e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
570        Scale:  2.713e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  9.745e-01  1.329e-02  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
951   Normalization:  1.690e+00  1.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 297.371 12.793
Photon Flux Upper Limit: 4.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/281832/likelihoodResults_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.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) = 137129.28631
delta logL = -0.000615104887402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 137129.285695
delta logL = 1.03027559817e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3483       1.0000          .0000       10.000    
     3 'Normalizat'    1.6899       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   137129.3     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      219 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.328        .90712E-02** at limit **
   2  Index         2.3563        5.0416        .50000       -.96508E-05
   3  Normalizat    1.6899        .10048E-01    .23675        .35711E-03
   4  Prefactor     .97451        .88520E-03    .26591E-01   -.15987E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.3563
  Normalizat = 1.68987
  Prefactor  = 0.974512
 **********
 **   18 **HESSE 
 **********

 FCN=   137129.3     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      252 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    197.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3563        7.8809        .50000       -.55712    
   3  Normalizat    1.6899        .25056E-01    .10593E-02   -.72574    
   4  Prefactor     .97451        .22349E-02    .11751E-03   -.93584    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.25837e-09
Minuit parameter uncertainties:
  1  1.93932e-05
  2  21.4432
  3  0.0250564
  4  0.00223494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/281832': 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) = 137129.285695
delta logL = 3.33529897034e-08

Extracting fit parameters...

4FGL J1949.4+1247
   Spectrum: PowerLaw
568    Prefactor:  1.000e-04  1.939e-05  1.000e-04  1.000e+04 ( 1.000e-14)
569        Index:  2.356e+00  2.144e+01  0.000e+00  1.000e+01 (-1.000e+00)
570        Scale:  2.713e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
955    Prefactor:  9.745e-01  2.235e-03  0.000e+00  1.000e+01 ( 1.000e+00)
956        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
957        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
951   Normalization:  1.690e+00  2.506e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 297.371 12.793

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/281832/cmap_HighResolution_673228801_673833601_4FGL_J1949.4+1247_weekly_bin718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-03', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2022-05-10 04:37:57.791468', job_id='281832', GAL2='0.97', fit_tolerance='1e-08', EG2='1.69', EG='1.69', time_epoch_completed='1652182677.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.34e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='718' AND source_name='4FGL J1949.4+1247' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 10 04:37:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 281832: <4FGL_J1949.4+1247_weekly_bin718> in cluster <slac> Done

Job <4FGL_J1949.4+1247_weekly_bin718> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 10 01:25:19 2022
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 10 01:25:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 10 01:25:30 2022
Terminated at Tue May 10 04:37:59 2022
Results reported at Tue May 10 04:37:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1949.4+1247_weekly_bin718 297.371 12.7931 673228801 673833601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1949.4+1247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11430.00 sec.
    Max Memory :                                 668 MB
    Average Memory :                             634.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11550 sec.
    Turnaround time :                            11560 sec.

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

