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 124 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7327
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1697
RA = 351.35, Dec = -48.0022
tmin = 679190401, tmax = 679449601
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='857756', job_status='RUN', time_executed='2022-07-14 00:38:13.283848', time_epoch_executed='1657784293.28' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857756

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857756/ft1_4FGL_J2325.4-4800_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857756/ft2_4FGL_J2325.4-4800_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857756/ft1_4FGL_J2325.4-4800_daily_bin1697.fits outfile=/scratch/kocevski/857756/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1697.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=679190401.0 tmax=679449601.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.46
user 3.25
sys 0.20

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

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

Number of photons that the gtmktime cut: 477

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857756/ft1_filtered_4FGL_J2325.4-4800_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857756/ft2_4FGL_J2325.4-4800_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857756/ltcube_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.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/857756/ft2_4FGL_J2325.4-4800_daily_bin1697.fits
.....................!
real 13.25
user 12.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857756/ft1_filtered_4FGL_J2325.4-4800_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857756/ft2_4FGL_J2325.4-4800_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857756/ltcube_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.fits outfile=/scratch/kocevski/857756/expmap_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.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/857756/ltcube_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.fits
.....................!
real 191.01
user 186.11
sys 4.57

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/857756/ft1_filtered_4FGL_J2325.4-4800_daily_bin1697.fits scfile=/scratch/kocevski/857756/ft2_4FGL_J2325.4-4800_daily_bin1697.fits outfile=/scratch/kocevski/857756/cmap_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857756/ft1_filtered_4FGL_J2325.4-4800_daily_bin1697.fits scfile=/scratch/kocevski/857756/ft2_4FGL_J2325.4-4800_daily_bin1697.fits outfile=/scratch/kocevski/857756/cmap_HighResolution_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857756/ft1_filtered_4FGL_J2325.4-4800_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857756/ft2_4FGL_J2325.4-4800_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857756/Model_4FGL_J2325.4-4800_daily_bin1697.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/857756/ft1_filtered_4FGL_J2325.4-4800_daily_bin1697.fits.....................!
real 39.57
user 38.40
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/857756/ft1_filtered_4FGL_J2325.4-4800_daily_bin1697.fits', '/scratch/kocevski/857756/ft2_4FGL_J2325.4-4800_daily_bin1697.fits', expMap='/scratch/kocevski/857756/expmap_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.fits', expCube='/scratch/kocevski/857756/ltcube_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/857756/Model_4FGL_J2325.4-4800_daily_bin1697.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  1.000e-04  1.000e+04 ( 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/857756/ft1_filtered_4FGL_J2325.4-4800_daily_bin1697.fits
Spacecraft file(s): /scratch/kocevski/857756/ft2_4FGL_J2325.4-4800_daily_bin1697.fits
Exposure map: /scratch/kocevski/857756/expmap_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.fits
Exposure cube: /scratch/kocevski/857756/ltcube_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/857756/Model_4FGL_J2325.4-4800_daily_bin1697.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) = 5252.23575269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    53.888       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10709E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.3962       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.9552       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3680       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .77803       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.7403       1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.379       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.766       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.9771       1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.004       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10146E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    3.0241       1.0000         .10000E-03   10000.    
    27 'Prefactor '    7.6062       1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.2424       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    1.2543       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1326       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .68745       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5252.230     FROM MIGRAD    STATUS=CONVERGED    935 CALLS     4829 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.977        .10421E-06** at limit **
   2  Prefactor     53.884        26.257        .75505E-07   -.57920E-04
   3  Prefactor     .10000E-03    70.410        .11825E-05** at limit **
   4  Prefactor     8.3964        10.557        .10225E-05   -.31607E-04
   5  Prefactor     .10000E-03    3.0906        .61662E-07** at limit **
   6  Prefactor     4.9552        19.603        .22017E-06   -.32546E-05
   7  Prefactor     5.3674        7.5162        .39202E-05   -.88132E-04
   8  norm          .10000E-03    2.7918        .11648E-06** at limit **
   9  Prefactor     .77858        2.2343        .98736E-06    .43715E-03
  10  Prefactor     .10000E-03    13.023       -.22091E-07** at limit **
  11  Prefactor     .10000E-03    1.8808       -.20895E-07** at limit **
  12  Prefactor     .10000E-03    15.183       -.11885E-05** at limit **
  13  Prefactor     4.7600        13.372       -.26009E-05   -.43600E-05
  14  Prefactor     33.010        121.01        .47453E-05   -.41891E-04
  15  Prefactor     .10000E-03    5.3217        .24326E-06** at limit **
  16  Prefactor     .10000E-03    10.553       -.28470E-06** at limit **
  17  Prefactor     12.777        15.455       -.11688E-06   -.13807E-03
  18  norm          .10000E-03    3.5710        .46463E-07** at limit **
  19  norm          .10000E-03    3.4277        .59843E-07** at limit **
  20  norm          4.9739        4.2011       -.15947E-06   -.18647E-04
  21  Prefactor     16.007        7.0859       -.11483E-06   -.25685E-03
  22  Prefactor     .10000E-03    59.096        .23484E-06** at limit **
  23  norm          .10000E-03    4.3114        .22705E-06** at limit **
  24  Prefactor     .10000E-03    4.2755        .46554E-07** at limit **
  25  norm          .10000E-03    .87410        .43673E-06** at limit **
  26  norm          3.0214        3.4091        .25209E-07   -.19671E-04
  27  Prefactor     7.6066        11.522        .27763E-05   -.50069E-04
  28  Prefactor     6.2434        3.3546        .67277E-08   -.24461E-03
  29  Prefactor     .10000E-03    8.7887        .11937E-06** at limit **
  30  norm          .10000E-03    11.142        .72763E-08** at limit **
  31  Prefactor     1.2545        2.7114        .35711E-06   -.20372E-04
  32  Prefactor     .10000E-03    1.9337        .87642E-07** at limit **
  33  Normalizat    1.1328        .18046       -.35056E-05   -.38121E-04
  34  Prefactor     .68726        .18810        .31195E-05   -.25241E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 53.8838
  Prefactor  = 0.0001
  Prefactor  = 8.39643
  Prefactor  = 0.0001
  Prefactor  = 4.95518
  Prefactor  = 5.36739
  norm       = 0.0001
  Prefactor  = 0.778575
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.76003
  Prefactor  = 33.01
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.777
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.97388
  Prefactor  = 16.007
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.02142
  Prefactor  = 7.60663
  Prefactor  = 6.24338
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.25454
  Prefactor  = 0.0001
  Normalizat = 1.13278
  Prefactor  = 0.687257
 **********
 **   18 **HESSE 
 **********

 FCN=   5252.230     FROM HESSE     STATUS=OK           730 CALLS     5559 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     53.884        26.252        .54639E-04   -1.4239    
   3  Prefactor     .10000E-03    71.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3964        10.551        .69175E-03   -1.5128    
   5  Prefactor     .10000E-03    3.1053        .12442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.9552        19.594        .18067E-03   -1.5263    
   7  Prefactor     5.3674        7.5069        .86727E-03   -1.5245    
   8  norm          .10000E-03    2.7949        .11827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .77858        2.0614        .18026E-02   -1.5531    
  10  Prefactor     .10000E-03    13.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.8904        .97045E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7600        13.258        .18481E-03   -1.5272    
  14  Prefactor     33.010        120.55        .34679E-03   -1.4558    
  15  Prefactor     .10000E-03    5.3879        .16324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.777        15.229        .11211E-03   -1.4993    
  18  norm          .10000E-03    3.5744        .13375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.4393        .13099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.9739        4.1899        .13258E-03   -1.5262    
  21  Prefactor     16.007        7.0380        .10012E-03   -1.4908    
  22  Prefactor     .10000E-03    59.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    4.4470        .29255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.2805        .14631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.8024        .12627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.0214        3.3923        .13675E-03   -1.5360    
  27  Prefactor     7.6066        11.515        .72704E-03   -1.5156    
  28  Prefactor     6.2434        3.3444        .93130E-04   -1.5208    
  29  Prefactor     .10000E-03    8.8091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    11.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     1.2545        2.6491        .16955E-03   -1.5484    
  32  Prefactor     .10000E-03    1.9567        .98310E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.1328        .20405        .21112E-03   -.88706    
  34  Prefactor     .68726        .21297        .28193E-03   -1.0403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81686e-10
Minuit parameter uncertainties:
  1  1.2436e-05
  2  26.2575
  3  6.56835e-05
  4  10.5534
  5  1.40822e-06
  6  19.619
  7  7.50825
  8  1.45257e-06
  9  2.06159
  10  1.40395e-05
  11  2.88374e-06
  12  6.7107e-05
  13  13.2659
  14  121.451
  15  6.5005e-06
  16  1.31804e-05
  17  15.2331
  18  1.8337e-06
  19  3.2174e-06
  20  4.1902
  21  7.03838
  22  9.28049e-05
  23  2.25016e-05
  24  2.79279e-06
  25  4.90031e-05
  26  3.39247
  27  11.5182
  28  3.34455
  29  6.22316e-07
  30  1.42933e-05
  31  2.64931
  32  2.31848e-06
  33  0.204197
  34  0.213218
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.601e+01  7.038e+00  1.000e-04  1.000e+04 ( 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:  6.873e-01  2.132e-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.133e+00  2.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.40
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 6.89e-08 +/- 3.03e-08
Energy Flux (Fixed Index): 3.74e-05 +/- 1.64e-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) = 5251.88309493
delta logL = 0.346942890485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5251.88277798
delta logL = 0.347259834016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.061       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8264       1.0000          .0000       10.000    
     3 'Normalizat'    1.1486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67810       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=   5251.883     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      261 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.046        216.48        .21819E-02   -.78671E-04
   2  Index         1.8258        3.1767        .12020        .73253E-04
   3  Normalizat    1.1485        .15235        .36297E-01   -.86101E-05
   4  Prefactor     .67830        .11488        .64140E-01    .10804E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.0455
  Index      = 1.82575
  Normalizat = 1.14848
  Prefactor  = 0.678305
 **********
 **   18 **HESSE 
 **********

 FCN=   5251.883     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.046        10.775        .43638E-03   -1.4790    
   2  Index         1.8258        .33078        .47651E-02   -.68781    
   3  Normalizat    1.1485        .19854        .21000E-03   -.88210    
   4  Prefactor     .67830        .21123        .28377E-03   -1.0438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39052e-10
Minuit parameter uncertainties:
  1  10.7765
  2  0.331181
  3  0.198666
  4  0.211483
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857756': 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) = 5251.8827721
delta logL = 0.347265712996

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.105e+01  1.078e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.826e+00  3.312e-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:  6.783e-01  2.115e-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.148e+00  1.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.10
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.83 +/- 0.33
Photon Flux (Free Index): 5.33e-08 +/- 3.05e-08
Energy Flux (Free Index): 5.91e-05 +/- 4.60e-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/857756/cmap_HighResolution_679190401_679449601_4FGL_J2325.4-4800_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.89e-08', energy_flux2='5.91e-05', photon_flux_error='3.03e-08', dlogl='3.47e-01', energy_flux='3.74e-05', photon_flux2='5.33e-08', job_status='DONE', time_completed='2022-07-14 00:50:25.014455', photon_index_error2='0.33', photon_index2='1.83', ts='21.40', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='4.60e-05', EG='1.13', time_epoch_completed='1657785025.01', return_code='0', job_id='857756', GAL2='0.68', EG2='1.15', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='3.05e-08', ts2='22.10', photon_index='2.11' WHERE bin_id='1697' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:50:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 857756: <4FGL_J2325.4-4800_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:57 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:59 2022
Terminated at Thu Jul 14 00:50:25 2022
Results reported at Thu Jul 14 00:50:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1697 351.35 -48.0022 679190401 679449601 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 :                                   734.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            868 sec.

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

