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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1729
RA = 351.35, Dec = -48.0022
tmin = 687484801, tmax = 687744001
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='378817', job_status='RUN', time_executed='2022-10-18 00:38:58.036005', time_epoch_executed='1666078738.04' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378817/ft1_4FGL_J2325.4-4800_daily_bin1729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378817/ft1_4FGL_J2325.4-4800_daily_bin1729.fits outfile=/scratch/kocevski/378817/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1729.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=687484801.0 tmax=687744001.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.64
user 3.35
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.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/378817/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1729.fits evtable="EVENTS" outfile="/scratch/kocevski/378817/ft1_filtered_4FGL_J2325.4-4800_daily_bin1729.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.17

Number of photons that the gtmktime cut: 504

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378817/ft1_filtered_4FGL_J2325.4-4800_daily_bin1729.fits" evtable="EVENTS" scfile=/scratch/kocevski/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.fits sctable="SC_DATA" outfile=/scratch/kocevski/378817/ltcube_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.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/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.fits
.....................!
real 12.71
user 12.25
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378817/ft1_filtered_4FGL_J2325.4-4800_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.fits sctable="SC_DATA" expcube=/scratch/kocevski/378817/ltcube_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.fits outfile=/scratch/kocevski/378817/expmap_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.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/378817/ltcube_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.fits
.....................!
real 193.00
user 186.48
sys 5.97

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

Setting source of interest to:
4FGL J2325.4-4800 @ 351.35 -48.0022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/378817/ft1_filtered_4FGL_J2325.4-4800_daily_bin1729.fits scfile=/scratch/kocevski/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.fits outfile=/scratch/kocevski/378817/cmap_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.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=351.35 yref=-48.0022 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/378817/ft1_filtered_4FGL_J2325.4-4800_daily_bin1729.fits scfile=/scratch/kocevski/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.fits outfile=/scratch/kocevski/378817/cmap_HighResolution_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.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=351.35 yref=-48.0022 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/378817/ft1_filtered_4FGL_J2325.4-4800_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378817/Model_4FGL_J2325.4-4800_daily_bin1729.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/378817/ft1_filtered_4FGL_J2325.4-4800_daily_bin1729.fits.....................!
real 40.92
user 39.60
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/378817/ft1_filtered_4FGL_J2325.4-4800_daily_bin1729.fits', '/scratch/kocevski/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.fits', expMap='/scratch/kocevski/378817/expmap_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.fits', expCube='/scratch/kocevski/378817/ltcube_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/378817/Model_4FGL_J2325.4-4800_daily_bin1729.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-4800'

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/378817/ft1_filtered_4FGL_J2325.4-4800_daily_bin1729.fits
Spacecraft file(s): /scratch/kocevski/378817/ft2_4FGL_J2325.4-4800_daily_bin1729.fits
Exposure map: /scratch/kocevski/378817/expmap_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.fits
Exposure cube: /scratch/kocevski/378817/ltcube_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/378817/Model_4FGL_J2325.4-4800_daily_bin1729.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) = 5625.82926024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11274       1.0000          .0000       .10000E+07
     2 'Prefactor '    33.520       1.0000          .0000       .10000E+07
     3 'Prefactor '    .75587E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    18.594       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18430E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.254       1.0000          .0000       .10000E+07
     7 'norm      '    .31006E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19849E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    39.645       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.7638       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49047E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.8293       1.0000          .0000       .10000E+07
    13 'Prefactor '    16.847       1.0000          .0000       .10000E+07
    14 'Prefactor '    .37653E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .48532E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .34655E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .46228E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    6.7423       1.0000          .0000       .10000E+07
    19 'Prefactor '    22.265       1.0000          .0000       .10000E+07
    20 'norm      '    .84395E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .48248E-01   1.0000          .0000       .10000E+07
    22 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
    23 'norm      '    .58503E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .35273E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    3.6939       1.0000          .0000       .10000E+07
    26 'Prefactor '    38.096       1.0000          .0000       .10000E+07
    27 'norm      '    .30802E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    2.2821       1.0000          .0000       .10000E+07
    29 'Prefactor '    .49335E-05   1.0000          .0000       .10000E+07
    30 'Normalizat'    .95461       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .87278       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=   5625.817     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     2926 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40523E-08    1.0921       -.19878E-07** at limit **
   2  Prefactor     33.597        2.4325       -.42665E-07    .33863E-01
   3  Prefactor     .19984E-08    17.121        .37729E-06** at limit **
   4  Prefactor     18.630        1.3618       -.12625E-07    .49990E-02
   5  Prefactor      .0000        2.0963       -.48465E-07** at limit **
   6  Prefactor     17.259        1.5900       -.34671E-08    .82017E-04
   7  norm          .72164E-09    2.3214        .53004E-07** at limit **
   8  Prefactor     .13505E-05    4.6046       -.19036E-06** at limit **
   9  Prefactor     39.959        9.9707       -.11098E-06   -.85089E-01
  10  Prefactor     1.7649        3.3374        .83954E-08   -.10084E-04
  11  Prefactor     .33751E-07    9.0177        .14410E-06** at limit **
  12  Prefactor     6.8932        5.5449        .18146E-07    .15866E-02
  13  Prefactor     16.892        1.5280       -.77657E-08   -.13947E-01
  14  Prefactor     .21427E-07    5.3073       -.11241E-06** at limit **
  15  norm          .48628E-07    4.2085        .21276E-07** at limit **
  16  norm          .10547E-08    2.2044       -.64889E-07** at limit **
  17  norm          .13323E-08    2.6128       -.96763E-07** at limit **
  18  Prefactor     6.7028        5.4744       -.40186E-07    .88258E-03
  19  Prefactor     23.633        37.614       -.68933E-06    .62464E-02
  20  norm          .48295E-08    3.3562       -.18955E-06** at limit **
  21  Prefactor     .48295E-08    .73785       -.49321E-07** at limit **
  22  norm           .0000        .37639       -.52022E-08** at limit **
  23  norm           .0000        1.0586       -.19424E-06** at limit **
  24  Prefactor     .59064E-07    3.7465       -.19678E-06** at limit **
  25  Prefactor     3.7223        3.6046       -.13416E-08    .25743E-02
  26  Prefactor     37.875        4.5983        .78102E-07   -.11504    
  27  norm          .54579E-06    8.8454       -.67465E-07** at limit **
  28  Prefactor     2.2885        3.1642       -.15273E-06   -.88379E-03
  29  Prefactor      .0000        1.5213       -.11338E-06** at limit **
  30  Normalizat    .95336        .21138        .36160E-05   -.10612E-04
  31  Prefactor     .87308        .21911       -.36406E-05   -.25829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05231e-09
  Prefactor  = 33.5975
  Prefactor  = 1.9984e-09
  Prefactor  = 18.6301
  Prefactor  = 0
  Prefactor  = 17.2587
  norm       = 7.21645e-10
  Prefactor  = 1.35053e-06
  Prefactor  = 39.9594
  Prefactor  = 1.76488
  Prefactor  = 3.37508e-08
  Prefactor  = 6.89319
  Prefactor  = 16.8924
  Prefactor  = 2.14273e-08
  norm       = 4.86278e-08
  norm       = 1.05471e-09
  norm       = 1.33227e-09
  Prefactor  = 6.70281
  Prefactor  = 23.6331
  norm       = 4.82947e-09
  Prefactor  = 4.82947e-09
  norm       = 0
  norm       = 0
  Prefactor  = 5.90639e-08
  Prefactor  = 3.72235
  Prefactor  = 37.8754
  norm       = 5.45786e-07
  Prefactor  = 2.28849
  Prefactor  = 0
  Normalizat = 0.953359
  Prefactor  = 0.873085
 **********
 **   18 **HESSE 
 **********

 FCN=   5625.817     FROM HESSE     STATUS=OK           686 CALLS     3612 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40523E-08    54.967        .13599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.597        22.991        .17274E-03   -1.5592    
   3  Prefactor     .19984E-08    17.227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.630        12.625        .23199E-03   -1.5622    
   5  Prefactor      .0000        2.0952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.259        10.265        .24085E-03   -1.5625    
   7  norm          .72164E-09    2.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13505E-05    14.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.959        40.086        .15884E-03   -1.5582    
  10  Prefactor     1.7649        3.3800        .78851E-03   -1.5681    
  11  Prefactor     .33751E-07    9.0828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.8932        5.5534        .38369E-03   -1.5655    
  13  Prefactor     16.892        26.694        .24375E-03   -1.5626    
  14  Prefactor     .21427E-07    5.4370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .48628E-07    4.3185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10547E-08    2.2054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .13323E-08    2.6065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.7028        5.7157        .38619E-03   -1.5656    
  19  Prefactor     23.633        38.735        .21199E-03   -1.5611    
  20  norm          .48295E-08    3.3525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .48295E-08    8.3322        .11586E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .37467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        1.0549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .59064E-07    3.9098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.7223        4.1954        .52523E-03   -1.5669    
  26  Prefactor     37.875        32.039        .16203E-03   -1.5585    
  27  norm          .54579E-06    11.450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.2885        3.1881        .67935E-03   -1.5678    
  29  Prefactor      .0000        1.5206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .95336        .18058        .45596E-01   -.94610    
  31  Prefactor     .87308        .18405        .44657E-01   -.97088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.83829e-07
Minuit parameter uncertainties:
  1  0.000942008
  2  22.9912
  3  0.000370589
  4  12.6246
  5  7.20551e-06
  6  10.2647
  7  8.04655e-05
  8  0.008908
  9  40.0866
  10  3.38003
  11  0.0011076
  12  5.55336
  13  26.6939
  14  0.000682916
  15  0.000916637
  16  9.73128e-05
  17  0.000117929
  18  5.71568
  19  38.7358
  20  0.000253884
  21  0.000400733
  22  5.54183e-08
  23  8.84263e-06
  24  0.000960913
  25  4.19538
  26  32.0393
  27  0.00499955
  28  3.18809
  29  7.69094e-06
  30  0.180694
  31  0.184184
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  6.703e+00  5.716e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.731e-01  1.842e-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.534e-01  1.807e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.88
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 2.89e-08 +/- 2.46e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 1.33e-05

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) = 5623.80722025
delta logL = 2.01005588538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5623.75376351
delta logL = 2.06351263236

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6741       1.0000          .0000       .10000E+07
     2 'Index     '    .86415       1.0000          .0000       10.000    
     3 'Normalizat'    .96824       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87147       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=   5623.754     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6713        3.7437        .46524E-03   -.16493E-02
   2  Index         .86397        .35525        .19482       -.46467E-04
   3  Normalizat    .96827        .17096        .45768E-01    .94084E-05
   4  Prefactor     .87145        .18329        .44640E-01    .13301E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.67132
  Index      = 0.86397
  Normalizat = 0.968268
  Prefactor  = 0.871447
 **********
 **   18 **HESSE 
 **********

 FCN=   5623.754     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .15E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6713        5.5111        .11819E-04   -1.5665    
   2  Index         .86397        .51837        .86513E-03   -.97412    
   3  Normalizat    .96827        .20381        .22978E-03   -.94101    
   4  Prefactor     .87145        .21849        .25700E-03   -.97146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.547e-13
Minuit parameter uncertainties:
  1  5.5111
  2  0.521355
  3  0.203971
  4  0.218709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378817': 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) = 5623.75376337
delta logL = 2.06351277039

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  4.671e+00  5.511e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  8.640e-01  5.214e-01  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.714e-01  2.187e-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.683e-01  2.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.00
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 0.86 +/- 0.52
Photon Flux (Free Index): 6.72e-09 +/- 5.58e-09
Energy Flux (Free Index): 1.32e-04 +/- 1.36e-04

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/378817/cmap_HighResolution_687484801_687744001_4FGL_J2325.4-4800_daily_bin1729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.89e-08', energy_flux2='1.32e-04', photon_flux_error='2.46e-08', dlogl='2.06e+00', energy_flux='1.56e-05', photon_flux2='6.72e-09', job_status='DONE', time_completed='2022-10-18 00:49:25.733887', photon_index_error2='0.52', photon_index2='0.86', ts='6.88', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.36e-04', EG='0.95', time_epoch_completed='1666079365.73', return_code='0', job_id='378817', GAL2='0.87', EG2='0.97', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='5.58e-09', ts2='11.00', photon_index='2.11' WHERE bin_id='1729' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:49:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 378817: <4FGL_J2325.4-4800_daily_bin1729> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1729> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:34 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:35 2022
Terminated at Tue Oct 18 00:49:26 2022
Results reported at Tue Oct 18 00:49:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1729 351.35 -48.0022 687484801 687744001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-4800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            832 sec.

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

