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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin1728
RA = 345.182, Dec = -26.7502
tmin = 687225601, tmax = 687484801
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='304521', job_status='RUN', time_executed='2022-10-15 00:38:39.191991', time_epoch_executed='1665819519.19' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304521

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304521/ft1_4FGL_J2300.7-2645_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304521/ft1_4FGL_J2300.7-2645_daily_bin1728.fits outfile=/scratch/kocevski/304521/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin1728.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=687225601.0 tmax=687484801.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 2.74
user 2.51
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.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/304521/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin1728.fits evtable="EVENTS" outfile="/scratch/kocevski/304521/ft1_filtered_4FGL_J2300.7-2645_daily_bin1728.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.48
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 399

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/304521/ft1_filtered_4FGL_J2300.7-2645_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/304521/ltcube_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.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/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.fits
.....................!
real 12.43
user 12.08
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304521/ft1_filtered_4FGL_J2300.7-2645_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/304521/ltcube_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.fits outfile=/scratch/kocevski/304521/expmap_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.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/304521/ltcube_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.fits
.....................!
real 192.28
user 186.71
sys 5.26

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

Setting source of interest to:
4FGL J2300.7-2645 @ 345.182 -26.7502

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/304521/ft1_filtered_4FGL_J2300.7-2645_daily_bin1728.fits scfile=/scratch/kocevski/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.fits outfile=/scratch/kocevski/304521/cmap_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.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=345.182 yref=-26.7502 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304521/ft1_filtered_4FGL_J2300.7-2645_daily_bin1728.fits scfile=/scratch/kocevski/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.fits outfile=/scratch/kocevski/304521/cmap_HighResolution_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.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=345.182 yref=-26.7502 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/304521/ft1_filtered_4FGL_J2300.7-2645_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/304521/Model_4FGL_J2300.7-2645_daily_bin1728.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/304521/ft1_filtered_4FGL_J2300.7-2645_daily_bin1728.fits.....................!
real 39.66
user 38.39
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/304521/ft1_filtered_4FGL_J2300.7-2645_daily_bin1728.fits', '/scratch/kocevski/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.fits', expMap='/scratch/kocevski/304521/expmap_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.fits', expCube='/scratch/kocevski/304521/ltcube_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/304521/Model_4FGL_J2300.7-2645_daily_bin1728.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2300.7-2645'

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.072e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.405e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/304521/ft1_filtered_4FGL_J2300.7-2645_daily_bin1728.fits
Spacecraft file(s): /scratch/kocevski/304521/ft2_4FGL_J2300.7-2645_daily_bin1728.fits
Exposure map: /scratch/kocevski/304521/expmap_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.fits
Exposure cube: /scratch/kocevski/304521/ltcube_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/304521/Model_4FGL_J2300.7-2645_daily_bin1728.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4633.94811873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21899E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48467E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .87796E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.7422       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5699       1.0000          .0000       .10000E+07
     6 'norm      '    .30531E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.6240       1.0000          .0000       .10000E+07
     8 'Prefactor '    55.792       1.0000          .0000       .10000E+07
     9 'norm      '    .82126       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10223E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10493E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .87649       1.0000          .0000       .10000E+07
    13 'Prefactor '    .28797E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.2299       1.0000          .0000       .10000E+07
    15 'Prefactor '    .48374E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .16377E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    15.656       1.0000          .0000       .10000E+07
    18 'norm      '    4.1021       1.0000          .0000       .10000E+07
    19 'Prefactor '    .42866E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .66558       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2130       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4633.866     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1314 TOTAL
                     EDM=   .52E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.0707       -.60080E-07** at limit **
   2  Prefactor      .0000        6.6378       -.42061E-07** at limit **
   3  norm           .0000        5.1867        .48168E-07** at limit **
   4  Prefactor     7.9302        4.7046        .42814E-07   -.35532E-02
   5  Prefactor     8.2623        18.717       -.17453E-06   -.21404E-03
   6  norm           .0000        .78796        .82406E-08** at limit **
   7  Prefactor     1.5938        637.02        .18588E-05    .12523E-04
   8  Prefactor     56.025        18.843        .40293E-07    .32966E-02
   9  norm          .91616        3.6158       -.65467E-07    .79513E-04
  10  Prefactor      .0000        4.9005       -.49112E-07** at limit **
  11  Prefactor      .0000        23.441        .12720E-06** at limit **
  12  norm          .87369        .65556       -.10031E-07    .34292E-03
  13  Prefactor      .0000        5.8319        .19202E-07** at limit **
  14  Prefactor     6.2846        6.3354       -.46434E-07    .45922E-06
  15  Prefactor     .49627E-07    13.063        .27974E-06** at limit **
  16  norm           .0000        2.2681        .31230E-07** at limit **
  17  Prefactor     18.811        43.632        .18883E-07    .16305E-03
  18  norm          4.1274        6.5408        .27531E-07   -.33268E-04
  19  Prefactor     .49960E-07    13.773        .25999E-06** at limit **
  20  Normalizat    .66072        .26413       -.21949E-05   -.41378E-06
  21  Prefactor     1.2140        .23852        .98203E-06    .29841E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 7.93024
  Prefactor  = 8.2623
  norm       = 0
  Prefactor  = 1.59385
  Prefactor  = 56.0247
  norm       = 0.916159
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.873693
  Prefactor  = 0
  Prefactor  = 6.28458
  Prefactor  = 4.9627e-08
  norm       = 0
  Prefactor  = 18.8106
  norm       = 4.1274
  Prefactor  = 4.996e-08
  Normalizat = 0.660722
  Prefactor  = 1.21402
 **********
 **   18 **HESSE 
 **********

 FCN=   4633.866     FROM HESSE     STATUS=OK           359 CALLS     1673 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.0695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.6322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        5.1899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.9302        23.168        .36015E-03   -1.5652    
   5  Prefactor     8.2623        19.673        .36426E-03   -1.5650    
   6  norm           .0000        .79067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5938        722.66        .62932E-03   -1.5683    
   8  Prefactor     56.025        19.149        .13389E-03   -1.5558    
   9  norm          .91616        3.6681        .51363E-03   -1.5689    
  10  Prefactor      .0000        4.9013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        23.545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .87369        .66349        .47399E-03   -1.5689    
  13  Prefactor      .0000        5.8370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.2846        6.3388        .40195E-03   -1.5658    
  15  Prefactor     .49627E-07    26.598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.2638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.811        43.565        .25286E-03   -1.5621    
  18  norm          4.1274        6.5318        .49751E-03   -1.5667    
  19  Prefactor     .49960E-07    26.710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .66072        .22083        .66588E-01   -1.0546    
  21  Prefactor     1.2140        .19722        .49838E-01   -.85901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31316e-07
Minuit parameter uncertainties:
  1  1.31052e-06
  2  1.72064e-06
  3  3.61645e-07
  4  23.1686
  5  19.6733
  6  1.84945e-07
  7  67.8847
  8  19.1494
  9  3.6664
  10  1.00133e-06
  11  5.54481e-06
  12  0.663491
  13  6.27552e-07
  14  6.33884
  15  0.0022983
  16  1.10178e-07
  17  43.5655
  18  6.53183
  19  0.00230992
  20  0.221122
  21  0.197335
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  6.285e+00  6.339e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.405e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.214e+00  1.973e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  6.607e-01  2.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.25
Ra Dec: 345.182 -26.750
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.42e-08 +/- 2.43e-08
Energy Flux (Fixed Index): 7.86e-06 +/- 7.93e-06

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) = 4633.21697731
delta logL = 0.648795038472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4633.177955
delta logL = 0.687817352538

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4633.178     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      219 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6052        10.092        .34153E-03   -.55969E-03
   2  Index         1.5026        .62987        .27454       -.21771E-04
   3  Normalizat    .67511        .19808        .65937E-01    .20448E-04
   4  Prefactor     1.2074        .19580        .49961E-01   -.30534E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.60523
  Index      = 1.50262
  Normalizat = 0.675113
  Prefactor  = 1.20737
 **********
 **   18 **HESSE 
 **********

 FCN=   4633.178     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6052        9.1685        .13661E-04   -1.5649    
   2  Index         1.5026        .68044        .10167E-01   -.77466    
   3  Normalizat    .67511        .23642        .29176E-03   -1.0488    
   4  Prefactor     1.2074        .23460        .22087E-03   -.86105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88168e-10
Minuit parameter uncertainties:
  1  9.16852
  2  0.684618
  3  0.236777
  4  0.2348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304521': 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) = 4633.17795494
delta logL = 0.687817412

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  8.605e+00  9.169e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  1.503e+00  6.846e-01  0.000e+00  1.000e+01 (-1.000e+00)
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.207e+00  2.348e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  6.751e-01  2.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.63
Ra Dec: 345.182 -26.750
Photon Index (Free Index): 1.50 +/- 0.68
Photon Flux (Free Index): 8.45e-09 +/- 1.15e-08
Energy Flux (Free Index): 2.65e-05 +/- 4.59e-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/304521/cmap_HighResolution_687225601_687484801_4FGL_J2300.7-2645_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.42e-08', energy_flux2='2.65e-05', photon_flux_error='2.43e-08', dlogl='6.88e-01', energy_flux='7.86e-06', photon_flux2='8.45e-09', job_status='DONE', time_completed='2022-10-15 00:45:55.994424', photon_index_error2='0.68', photon_index2='1.50', ts='4.25', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='4.59e-05', EG='0.66', time_epoch_completed='1665819955.99', return_code='0', job_id='304521', GAL2='1.21', EG2='0.68', return_code2='0', energy_flux_error='7.93e-06', photon_flux_error2='1.15e-08', ts2='5.63', photon_index='2.41' WHERE bin_id='1728' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:45:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 304521: <4FGL_J2300.7-2645_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin1728> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Oct 15 00:36:03 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:36:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:36:03 2022
Terminated at Sat Oct 15 00:45:56 2022
Results reported at Sat Oct 15 00:45:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin1728 345.182 -26.7502 687225601 687484801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2300.7-2645 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   439.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            593 sec.

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

