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


Performing analysis on: 4FGL_J1300.4+1416_weekly_bin756
RA = 195.12, Dec = 14.2701
tmin = 696211201, tmax = 696816001
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='481707', job_status='RUN', time_executed='2023-01-31 03:02:22.443693', time_epoch_executed='1675162942.44' WHERE source_name='4FGL J1300.4+1416' and cadence='weekly' and bin_id='756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/481707

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/481707/ft1_4FGL_J1300.4+1416_weekly_bin756.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/481707/ft1_4FGL_J1300.4+1416_weekly_bin756.fits outfile=/scratch/kocevski/481707/ft1_filteredMKT_4FGL_J1300.4+1416_weekly_bin756.fits ra=195.12 dec=14.2701 rad=12.0 tmin=696211201.0 tmax=696816001.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.91
user 7.57
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.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/481707/ft1_filteredMKT_4FGL_J1300.4+1416_weekly_bin756.fits evtable="EVENTS" outfile="/scratch/kocevski/481707/ft1_filtered_4FGL_J1300.4+1416_weekly_bin756.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.59
user 0.38
sys 0.17

Number of photons that the gtmktime cut: 1403

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/481707/ft1_filtered_4FGL_J1300.4+1416_weekly_bin756.fits" evtable="EVENTS" scfile=/scratch/kocevski/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.fits sctable="SC_DATA" outfile=/scratch/kocevski/481707/ltcube_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.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/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.fits
.....................!
real 41.71
user 41.00
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/481707/ft1_filtered_4FGL_J1300.4+1416_weekly_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/481707/ltcube_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.fits outfile=/scratch/kocevski/481707/expmap_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.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/481707/ltcube_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.fits
.....................!
real 193.95
user 188.07
sys 5.48

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1300.4+1416 @ 195.12 14.2701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/481707/ft1_filtered_4FGL_J1300.4+1416_weekly_bin756.fits scfile=/scratch/kocevski/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.fits outfile=/scratch/kocevski/481707/cmap_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.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=195.12 yref=14.2701 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.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/481707/ft1_filtered_4FGL_J1300.4+1416_weekly_bin756.fits scfile=/scratch/kocevski/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.fits outfile=/scratch/kocevski/481707/cmap_HighResolution_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.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=195.12 yref=14.2701 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.61
user 0.42
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/481707/ft1_filtered_4FGL_J1300.4+1416_weekly_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/481707/Model_4FGL_J1300.4+1416_weekly_bin756.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/481707/ft1_filtered_4FGL_J1300.4+1416_weekly_bin756.fits.....................!
real 114.17
user 112.63
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/481707/ft1_filtered_4FGL_J1300.4+1416_weekly_bin756.fits', '/scratch/kocevski/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.fits', expMap='/scratch/kocevski/481707/expmap_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.fits', expCube='/scratch/kocevski/481707/ltcube_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/481707/Model_4FGL_J1300.4+1416_weekly_bin756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1300.4+1416'

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  6.920e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        Index:  2.738e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.431e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/481707/ft1_filtered_4FGL_J1300.4+1416_weekly_bin756.fits
Spacecraft file(s): /scratch/kocevski/481707/ft2_4FGL_J1300.4+1416_weekly_bin756.fits
Exposure map: /scratch/kocevski/481707/expmap_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.fits
Exposure cube: /scratch/kocevski/481707/ltcube_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/481707/Model_4FGL_J1300.4+1416_weekly_bin756.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) = 15870.7975281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81007E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4229       1.0000          .0000       .10000E+07
     3 'norm      '    .33231       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6966       1.0000          .0000       .10000E+07
     5 'norm      '    1.3612       1.0000          .0000       .10000E+07
     6 'Prefactor '    .42772E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84496E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10462E-01   1.0000          .0000       .10000E+07
     9 'norm      '    1.3838       1.0000          .0000       .10000E+07
    10 'norm      '    16.742       1.0000          .0000       .10000E+07
    11 'norm      '    51.085       1.0000          .0000       .10000E+07
    12 'Prefactor '    .81299E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.314       1.0000          .0000       .10000E+07
    14 'norm      '    5.1791       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21485E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3109       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88335       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15870.73     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      975 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .97161       -.36875E-06** at limit **
   2  Prefactor     3.4256        10.877       -.14798E-05    .10824E-01
   3  norm          .33263        .15959        .58594E-08   -.86993E-02
   4  Prefactor     3.7036        3.6566       -.13610E-06    .83829E-04
   5  norm          1.3618        .80573       -.18765E-06   -.76903E-02
   6  Prefactor     .29421E-08    8.0864        .15084E-05** at limit **
   7  Prefactor     .50515E-08    8.2307       -.11439E-05** at limit **
   8  Prefactor     .82656E-07    30.745        .18747E-05** at limit **
   9  norm          1.3843        1.7696       -.21486E-06    .54566E-03
  10  norm          16.516        2.5471        .35332E-07    .25139E-01
  11  norm          51.159        4.9005       -.44702E-07   -.19205    
  12  Prefactor      .0000        1.8227       -.91181E-06** at limit **
  13  Prefactor     17.999        19.418        .16427E-05   -.21977E-01
  14  norm          5.1839        5.3700        .90149E-06    .48664E-01
  15  Prefactor     .20650E-07    30.913       -.11183E-05** at limit **
  16  Normalizat    1.3106        .14686       -.18694E-04   -.15662E-03
  17  Prefactor     .88312        .12462        .16045E-04   -.26086E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 3.42556
  norm       = 0.33263
  Prefactor  = 3.70358
  norm       = 1.3618
  Prefactor  = 2.94209e-09
  Prefactor  = 5.05151e-09
  Prefactor  = 8.26561e-08
  norm       = 1.38427
  norm       = 16.516
  norm       = 51.159
  Prefactor  = 0
  Prefactor  = 17.9991
  norm       = 5.18393
  Prefactor  = 2.06501e-08
  Normalizat = 1.31065
  Prefactor  = 0.883115
 **********
 **   18 **HESSE 
 **********

 FCN=   15870.73     FROM HESSE     STATUS=OK           261 CALLS     1236 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .97392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4256        11.088        .54650E-03   -1.5671    
   3  norm          .33263        .16425        .75961E-03   -1.5696    
   4  Prefactor     3.7036        3.6602        .52503E-03   -1.5669    
   5  norm          1.3618        .81539        .93561E-03   -1.5685    
   6  Prefactor     .29421E-08    7.9364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .50515E-08    8.3115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .82656E-07    30.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3843        1.7958        .92445E-03   -1.5684    
  10  norm          16.516        13.080        .24451E-03   -1.5627    
  11  norm          51.159        9.1926        .13992E-03   -1.5565    
  12  Prefactor      .0000        1.8399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.999        20.052        .24043E-03   -1.5623    
  14  norm          5.1839        8.4964        .44149E-03   -1.5662    
  15  Prefactor     .20650E-07    31.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3106        .12434        .57918E-01   -.83249    
  17  Prefactor     .88312        .10551        .44792E-01   -.96734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84118e-07
Minuit parameter uncertainties:
  1  1.32363e-05
  2  11.0883
  3  0.16425
  4  3.66023
  5  0.815389
  6  0.000306831
  7  0.000409879
  8  0.00318604
  9  1.79578
  10  13.0804
  11  9.19259
  12  1.32784e-05
  13  20.0521
  14  8.49643
  15  0.00160238
  16  0.124364
  17  0.105537
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  8.266e-08  3.186e-03  0.000e+00  1.000e+06 ( 1.000e-12)
298        Index:  2.738e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.431e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.831e-01  1.055e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.311e+00  1.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 195.120 14.270
Photon Flux Upper Limit: 6.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/481707/likelihoodResults_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.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) = 15870.7462925
delta logL = -0.021251060798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15870.6438525
delta logL = 0.0811888753542

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0454       1.0000          .0000       .10000E+07
     2 'Index     '    1.8922       1.0000          .0000       10.000    
     3 'Normalizat'    1.3124       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15870.64     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      248 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0383        6.2250         .0000        .15479    
   2  Index         1.8899        .44314         .0000       -.57278E-04
   3  Normalizat    1.3125        .12240         .0000        .70171E-05
   4  Prefactor     .87840        .10544         .0000        .28855E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.03825
  Index      = 1.88987
  Normalizat = 1.3125
  Prefactor  = 0.878398
 **********
 **   18 **HESSE 
 **********

 FCN=   15870.64     FROM HESSE     STATUS=OK            33 CALLS      281 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0383        6.0885        .14453E-03   -1.5679    
   2  Index         1.8899        1.0629        .12647E-01   -.67133    
   3  Normalizat    1.3125        .14475        .25598E-03   -.83194    
   4  Prefactor     .87840        .12447        .26083E-03   -.96900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43222e-09
Minuit parameter uncertainties:
  1  6.08848
  2  1.07643
  3  0.144793
  4  0.124515
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/481707': 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) = 15870.6438482
delta logL = 0.0811932308352

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  2.038e+00  6.088e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        Index:  1.890e+00  1.076e+00  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  4.431e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.784e-01  1.245e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.312e+00  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 195.120 14.270

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/481707/cmap_HighResolution_696211201_696816001_4FGL_J1300.4+1416_weekly_bin756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2023-01-31 03:16:14.561420', job_id='481707', GAL2='0.88', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1675163774.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='8.12e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='756' AND source_name='4FGL J1300.4+1416' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 31 03:16:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 481707: <4FGL_J1300.4+1416_weekly_bin756> in cluster <slac> Done

Job <4FGL_J1300.4+1416_weekly_bin756> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan 31 03:00:32 2023
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 03:01:36 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 03:01:36 2023
Terminated at Tue Jan 31 03:16:15 2023
Results reported at Tue Jan 31 03:16:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_weekly_bin756 195.12 14.2701 696211201 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1300.4+1416 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   830.05 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             337.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            943 sec.

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

