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


Performing analysis on: 4FGL_J1949.5+0906_weekly_bin716
RA = 297.39, Dec = 9.1054
tmin = 672019201, tmax = 672624001
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='659254', job_status='RUN', time_executed='2022-04-26 01:19:25.590656', time_epoch_executed='1650961165.59' WHERE source_name='4FGL J1949.5+0906' and cadence='weekly' and bin_id='716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659254

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659254/ft1_4FGL_J1949.5+0906_weekly_bin716.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659254/ft1_4FGL_J1949.5+0906_weekly_bin716.fits outfile=/scratch/kocevski/659254/ft1_filteredMKT_4FGL_J1949.5+0906_weekly_bin716.fits ra=297.39 dec=9.1054 rad=12.0 tmin=672019201.0 tmax=672624001.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.96
user 8.60
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.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/659254/ft1_filteredMKT_4FGL_J1949.5+0906_weekly_bin716.fits evtable="EVENTS" outfile="/scratch/kocevski/659254/ft1_filtered_4FGL_J1949.5+0906_weekly_bin716.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.39
sys 0.16

Number of photons that the gtmktime cut: 10943

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659254/ft1_filtered_4FGL_J1949.5+0906_weekly_bin716.fits" evtable="EVENTS" scfile=/scratch/kocevski/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.fits sctable="SC_DATA" outfile=/scratch/kocevski/659254/ltcube_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.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/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.fits
.....................!
real 27.81
user 27.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659254/ft1_filtered_4FGL_J1949.5+0906_weekly_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.fits sctable="SC_DATA" expcube=/scratch/kocevski/659254/ltcube_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.fits outfile=/scratch/kocevski/659254/expmap_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.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/659254/ltcube_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.fits
.....................!
real 193.85
user 188.78
sys 4.64

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 Kes 79 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.
Added 277 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.5+0906 @ 297.39 9.1054

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/659254/ft1_filtered_4FGL_J1949.5+0906_weekly_bin716.fits scfile=/scratch/kocevski/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.fits outfile=/scratch/kocevski/659254/cmap_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.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.39 yref=9.1054 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.63
user 0.43
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659254/ft1_filtered_4FGL_J1949.5+0906_weekly_bin716.fits scfile=/scratch/kocevski/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.fits outfile=/scratch/kocevski/659254/cmap_HighResolution_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.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.39 yref=9.1054 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.63
user 0.45
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/659254/ft1_filtered_4FGL_J1949.5+0906_weekly_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/659254/Model_4FGL_J1949.5+0906_weekly_bin716.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/659254/ft1_filtered_4FGL_J1949.5+0906_weekly_bin716.fits.....................!
real 2957.52
user 2950.87
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659254/ft1_filtered_4FGL_J1949.5+0906_weekly_bin716.fits', '/scratch/kocevski/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.fits', expMap='/scratch/kocevski/659254/expmap_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.fits', expCube='/scratch/kocevski/659254/ltcube_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659254/Model_4FGL_J1949.5+0906_weekly_bin716.xml', optimizer='MINUIT')

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

4FGL J1949.5+0906
   Spectrum: PowerLaw
631    Prefactor:  4.878e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
632        Index:  2.006e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
633        Scale:  3.546e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/659254/ft1_filtered_4FGL_J1949.5+0906_weekly_bin716.fits
Spacecraft file(s): /scratch/kocevski/659254/ft2_4FGL_J1949.5+0906_weekly_bin716.fits
Exposure map: /scratch/kocevski/659254/expmap_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.fits
Exposure cube: /scratch/kocevski/659254/ltcube_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659254/Model_4FGL_J1949.5+0906_weekly_bin716.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) = 99017.7828861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.063       1.0000         .10000E-03   10000.    
     2 'norm      '    8.4300       1.0000         .10000E-03   10000.    
     3 'norm      '    2.2376       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .44095       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.843       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.7116       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .63070E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.8844       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.672       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15952E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .49732       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .83556       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0359       1.0000          .0000       10.000    
    16 'norm      '    6.2425       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1013E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   99017.69     FROM MIGRAD    STATUS=CONVERGED    314 CALLS     1553 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.058        14.523       -.89567E-06    .13383E-04
   2  norm          8.4297        12.048        .55333E-07   -.19519E-04
   3  norm          2.2376        2.0966        .69834E-06   -.24142E-03
   4  Prefactor     .10000E-03    .57409        .97281E-08** at limit **
   5  Prefactor     .44143        .22587       -.12639E-06   -.49487E-03
   6  Prefactor     12.834        16.350       -.44339E-05    .98110E-04
   7  Prefactor     .10000E-03    7.2651        .30632E-06** at limit **
   8  norm          2.7120        2.0565        .46605E-06   -.23255E-03
   9  Prefactor     .10000E-03    38.601       -.88185E-06** at limit **
  10  Prefactor     9.8843        6.1016       -.15250E-05    .21692E-03
  11  Prefactor     12.664        6.9821       -.38122E-05    .18547E-03
  12  Prefactor     .10000E-03    12.483        .14188E-05** at limit **
  13  norm          .49732        .40904        .37855E-06    .37656E-02
  14  Normalizat    .83569        .16230        .26066E-05   -.25650E-04
  15  Prefactor     1.0359        .16900E-01   -.79490E-07   -.87717E-03
  16  norm          6.2423        1.3848        .14455E-07   -.35821E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.0583
  norm       = 8.42969
  norm       = 2.23758
  Prefactor  = 0.0001
  Prefactor  = 0.441431
  Prefactor  = 12.8342
  Prefactor  = 0.0001
  norm       = 2.71198
  Prefactor  = 0.0001
  Prefactor  = 9.88431
  Prefactor  = 12.6645
  Prefactor  = 0.000100002
  norm       = 0.497324
  Normalizat = 0.835687
  Prefactor  = 1.03586
  norm       = 6.24232
 **********
 **   18 **HESSE 
 **********

 FCN=   99017.69     FROM HESSE     STATUS=OK           211 CALLS     1764 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.058        14.538        .10320E-03   -1.4932    
   2  norm          8.4297        12.048        .69035E-03   -1.5127    
   3  norm          2.2376        2.0896        .27478E-03   -1.5409    
   4  Prefactor     .10000E-03    .59060        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .44143        1.3449        .22055E-02   -1.5575    
   6  Prefactor     12.834        16.245        .11177E-03   -1.4991    
   7  Prefactor     .10000E-03    7.2866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.7120        2.0624        .12367E-02   -1.5379    
   9  Prefactor     .10000E-03    40.312        .37728E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.8843        6.0683        .12746E-03   -1.5079    
  11  Prefactor     12.664        7.0062        .11252E-03   -1.4996    
  12  Prefactor     .10000E-03    12.852        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .49732        .37768        .16950E-02   -1.5567    
  14  Normalizat    .83569        .15180        .12509E-02   -.98758    
  15  Prefactor     1.0359        .16402E-01    .11943E-03   -.91544    
  16  norm          6.2423        1.3943        .80334E-03   -1.5208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94095e-08
Minuit parameter uncertainties:
  1  14.541
  2  12.0514
  3  2.0897
  4  7.99132e-08
  5  1.34499
  6  16.251
  7  8.78879e-06
  8  2.06242
  9  1.02042e-05
  10  6.06867
  11  7.00663
  12  0.000346048
  13  0.377682
  14  0.151881
  15  0.0164022
  16  1.39433
Done.

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

Extracting fit parameters...

4FGL J1949.5+0906
   Spectrum: PowerLaw
631    Prefactor:  1.000e-04  8.789e-06  1.000e-04  1.000e+04 ( 1.000e-14)
632        Index:  2.006e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
633        Scale:  3.546e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
995    Prefactor:  1.036e+00  1.640e-02  0.000e+00  1.000e+01 ( 1.000e+00)
996        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
997        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
991   Normalization:  8.357e-01  1.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 297.390 9.105
Photon Flux Upper Limit: 3.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659254/likelihoodResults_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.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) = 99017.6876645
delta logL = -0.000654252798995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 99017.6870103
delta logL = -5.19503373653e-09

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.0007       1.0000          .0000       10.000    
     3 'Normalizat'    .83567       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0359       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1013E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   99017.69     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      218 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .89919        .90712E-02** at limit **
   2  Index         1.9959        8.7242        .50000        .51452E-05
   3  Normalizat    .83569        .17589E-02    .27917        .57300E-03
   4  Prefactor     1.0359        .18603E-03    .27025E-01   -.14578E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.9959
  Normalizat = 0.835687
  Prefactor  = 1.03586
 **********
 **   18 **HESSE 
 **********

 FCN=   99017.69     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      251 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9959        5.9947        .50000       -.64453    
   3  Normalizat    .83569        .12308E-01    .12509E-02   -.98758    
   4  Prefactor     1.0359        .13203E-02    .11943E-03   -.91544    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.5356e-07
Minuit parameter uncertainties:
  1  1.60813e-05
  2  305.265
  3  0.0123085
  4  0.00132032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659254': 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) = 99017.6870103
delta logL = 1.29075488076e-08

Extracting fit parameters...

4FGL J1949.5+0906
   Spectrum: PowerLaw
631    Prefactor:  1.000e-04  1.608e-05  1.000e-04  1.000e+04 ( 1.000e-14)
632        Index:  1.996e+00  3.053e+02  0.000e+00  1.000e+01 (-1.000e+00)
633        Scale:  3.546e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
995    Prefactor:  1.036e+00  1.320e-03  0.000e+00  1.000e+01 ( 1.000e+00)
996        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
997        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
991   Normalization:  8.357e-01  1.231e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 297.390 9.105

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/659254/cmap_HighResolution_672019201_672624001_4FGL_J1949.5+0906_weekly_bin716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-03', job_status='DONE', photon_flux_upper_limit='3.59e-08', time_completed='2022-04-26 03:56:36.904719', job_id='659254', GAL2='1.04', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1650970596.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.29e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='716' AND source_name='4FGL J1949.5+0906' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 26 03:56:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 659254: <4FGL_J1949.5+0906_weekly_bin716> in cluster <slac> Done

Job <4FGL_J1949.5+0906_weekly_bin716> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 26 00:50:24 2022
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 26 01:18:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 26 01:18:43 2022
Terminated at Tue Apr 26 03:56:39 2022
Results reported at Tue Apr 26 03:56:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9424.00 sec.
    Max Memory :                                 1271 MB
    Average Memory :                             573.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9475 sec.
    Turnaround time :                            11175 sec.

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

