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


Performing analysis on: 4FGL_J1300.4+1416_daily_bin1751
RA = 195.12, Dec = 14.2701
tmin = 693187201, tmax = 693446401
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='77744', job_status='RUN', time_executed='2022-12-23 00:44:19.732675', time_epoch_executed='1671785059.73' WHERE source_name='4FGL J1300.4+1416' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77744

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77744/ft1_4FGL_J1300.4+1416_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77744/ft2_4FGL_J1300.4+1416_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77744/ft1_4FGL_J1300.4+1416_daily_bin1751.fits outfile=/scratch/kocevski/77744/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin1751.fits ra=195.12 dec=14.2701 rad=12.0 tmin=693187201.0 tmax=693446401.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 3.62
user 3.40
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77744/ft2_4FGL_J1300.4+1416_daily_bin1751.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/77744/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/77744/ft1_filtered_4FGL_J1300.4+1416_daily_bin1751.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 572

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77744/ft1_filtered_4FGL_J1300.4+1416_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/77744/ft2_4FGL_J1300.4+1416_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/77744/ltcube_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.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/77744/ft2_4FGL_J1300.4+1416_daily_bin1751.fits
.....................!
real 11.83
user 11.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77744/ft1_filtered_4FGL_J1300.4+1416_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/77744/ft2_4FGL_J1300.4+1416_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/77744/ltcube_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.fits outfile=/scratch/kocevski/77744/expmap_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.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/77744/ltcube_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.fits
.....................!
real 192.27
user 187.12
sys 4.78

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/77744/ft1_filtered_4FGL_J1300.4+1416_daily_bin1751.fits scfile=/scratch/kocevski/77744/ft2_4FGL_J1300.4+1416_daily_bin1751.fits outfile=/scratch/kocevski/77744/cmap_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77744/ft1_filtered_4FGL_J1300.4+1416_daily_bin1751.fits scfile=/scratch/kocevski/77744/ft2_4FGL_J1300.4+1416_daily_bin1751.fits outfile=/scratch/kocevski/77744/cmap_HighResolution_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.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.56
user 0.38
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/77744/ft1_filtered_4FGL_J1300.4+1416_daily_bin1751.fits', '/scratch/kocevski/77744/ft2_4FGL_J1300.4+1416_daily_bin1751.fits', expMap='/scratch/kocevski/77744/expmap_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.fits', expCube='/scratch/kocevski/77744/ltcube_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/77744/Model_4FGL_J1300.4+1416_daily_bin1751.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/77744/ft1_filtered_4FGL_J1300.4+1416_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/77744/ft2_4FGL_J1300.4+1416_daily_bin1751.fits
Exposure map: /scratch/kocevski/77744/expmap_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.fits
Exposure cube: /scratch/kocevski/77744/ltcube_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/77744/Model_4FGL_J1300.4+1416_daily_bin1751.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) = 6289.11440196

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    18.263       1.0000          .0000       .10000E+07
     3 'norm      '    .25205       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.453       1.0000          .0000       .10000E+07
     5 'norm      '    1.1406       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21359E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.5727       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.1908       1.0000          .0000       .10000E+07
     9 'norm      '    1.1336       1.0000          .0000       .10000E+07
    10 'norm      '    48.229       1.0000          .0000       .10000E+07
    11 'norm      '    33.828       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.886       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12996E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .38131E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10596E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    .91665       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0023       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=   6288.985     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      935 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .89996       -.94909E-07** at limit **
   2  Prefactor     17.947        2.0548       -.70147E-07    .11836E-01
   3  norm          .25170        .18960        .12865E-07   -.14809E-01
   4  Prefactor     11.554        1.9251       -.30024E-06    .19206E-01
   5  norm          1.1394        1.0435       -.72612E-07    .15213E-02
   6  Prefactor     .16653E-09    6.1875       -.44562E-06** at limit **
   7  Prefactor     6.4069        7.5823        .46128E-07   -.32173E-03
   8  Prefactor     7.1855        2.5269        .32154E-06   -.35334E-03
   9  norm          1.1355        2.0097        .87762E-07   -.19283E-02
  10  norm          48.151        2.2694       -.15862E-06    .72776E-01
  11  norm          33.557        9.0494       -.21538E-06   -.12804E-01
  12  Prefactor     13.855        9.0146       -.14838E-05   -.12745E-01
  13  Prefactor     .16653E-09    13.564       -.16298E-06** at limit **
  14  norm          .55511E-10    3.9979        .23984E-06** at limit **
  15  Prefactor     .43299E-08    20.449       -.21768E-06** at limit **
  16  Normalizat    .91791        .20752        .40239E-05   -.33170E-03
  17  Prefactor     1.0020        .18597        .26268E-05   -.33713E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 17.9469
  norm       = 0.2517
  Prefactor  = 11.5539
  norm       = 1.13938
  Prefactor  = 1.66533e-10
  Prefactor  = 6.40693
  Prefactor  = 7.1855
  norm       = 1.13547
  norm       = 48.1506
  norm       = 33.5574
  Prefactor  = 13.8551
  Prefactor  = 1.66533e-10
  norm       = 5.55112e-11
  Prefactor  = 4.32987e-09
  Normalizat = 0.917908
  Prefactor  = 1.00201
 **********
 **   18 **HESSE 
 **********

 FCN=   6288.985     FROM HESSE     STATUS=OK           261 CALLS     1196 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .89989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.947        21.562        .23409E-03   -1.5623    
   3  norm          .25170        .19879        .65667E-03   -1.5698    
   4  Prefactor     11.554        11.482        .29578E-03   -1.5640    
   5  norm          1.1394        1.0553        .10881E-02   -1.5687    
   6  Prefactor     .16653E-09    6.1635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.4069        7.9530        .39120E-03   -1.5657    
   8  Prefactor     7.1855        10.154        .37383E-03   -1.5654    
   9  norm          1.1355        2.4444        .33897E-02   -1.5687    
  10  norm          48.151        25.877        .14401E-03   -1.5569    
  11  norm          33.557        9.3660        .17196E-03   -1.5592    
  12  Prefactor     13.855        9.1487        .26853E-03   -1.5634    
  13  Prefactor     .16653E-09    13.595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    4.0052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43299E-08    20.626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .91791        .17939        .45114E-01   -.95834    
  17  Prefactor     1.0020        .15937        .44864E-01   -.92662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81454e-08
Minuit parameter uncertainties:
  1  7.1152e-06
  2  21.5616
  3  0.198788
  4  11.4824
  5  1.05525
  6  6.31549e-05
  7  7.95301
  8  10.1536
  9  2.44443
  10  25.8774
  11  9.36597
  12  9.14872
  13  8.97962e-05
  14  2.70782e-05
  15  0.000598152
  16  0.179503
  17  0.15944
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  7.185e+00  1.015e+01  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:  1.002e+00  1.594e-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:  9.179e-01  1.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.66
Ra Dec: 195.120 14.270
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/77744/likelihoodResults_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6288.81166935
delta logL = 0.173316901054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6288.79217365
delta logL = 0.192812609483

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2669       1.0000          .0000       .10000E+07
     2 'Index     '    2.1699       1.0000          .0000       10.000    
     3 'Normalizat'    .92979       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99202       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.

 FCN=   6288.792     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2544        16.993        .32898E-03    .10896E-01
   2  Index         2.1727        .92324        .24895       -.34384E-04
   3  Normalizat    .92959        .17419        .45281E-01    .15060E-04
   4  Prefactor     .99215        .15975        .46167E-01    .80750E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.25438
  Index      = 2.17273
  Normalizat = 0.929589
  Prefactor  = 0.992148
 **********
 **   18 **HESSE 
 **********

 FCN=   6288.792     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2544        11.275        .65796E-04   -1.5647    
   2  Index         2.1727        .77668        .11435E-01   -.60098    
   3  Normalizat    .92959        .20354        .26029E-03   -.95428    
   4  Prefactor     .99215        .18551        .22960E-03   -.92992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32956e-12
Minuit parameter uncertainties:
  1  11.2751
  2  0.781351
  3  0.203709
  4  0.185627
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77744': 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) = 6288.79216506
delta logL = 0.19282119666

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  9.254e+00  1.128e+01  0.000e+00  1.000e+06 ( 1.000e-12)
298        Index:  2.173e+00  7.814e-01  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:  9.921e-01  1.856e-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:  9.296e-01  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.05
Ra Dec: 195.120 14.270
Photon Index (Free Index): 2.17 +/- 0.78
Photon Flux (Free Index): 2.00e-08 +/- 2.75e-08
Energy Flux (Free Index): 9.48e-06 +/- 1.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/77744/cmap_HighResolution_693187201_693446401_4FGL_J1300.4+1416_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.20e-03', comment='SUCCESS', energy_flux2='9.48e-06', dlogl='1.93e-01', photon_flux2='2.00e-08', job_status='DONE', time_completed='2022-12-23 00:52:21.991773', photon_index_error2='0.78', photon_index2='2.17', ts='0.66', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='1.40e-05', EG='0.92', time_epoch_completed='1671785541.99', return_code='0', job_id='77744', GAL2='0.99', EG2='0.93', return_code2='0', photon_flux_error2='2.75e-08', ts2='1.05', photon_index='2.74' WHERE bin_id='1751' AND source_name='4FGL J1300.4+1416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:52:22 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 77744: <4FGL_J1300.4+1416_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1300.4+1416_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:40:20 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:40:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:40:21 2022
Terminated at Fri Dec 23 00:52:22 2022
Results reported at Fri Dec 23 00:52:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_daily_bin1751 195.12 14.2701 693187201 693446401 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 :                                   484.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            722 sec.

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

