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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1695
RA = 351.35, Dec = -48.0022
tmin = 678672001, tmax = 678931201
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='731327', job_status='RUN', time_executed='2022-07-08 00:37:32.740047', time_epoch_executed='1657265852.74' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731327

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731327/ft1_4FGL_J2325.4-4800_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731327/ft2_4FGL_J2325.4-4800_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731327/ft1_4FGL_J2325.4-4800_daily_bin1695.fits outfile=/scratch/kocevski/731327/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1695.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=678672001.0 tmax=678931201.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.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/731327/ft2_4FGL_J2325.4-4800_daily_bin1695.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/731327/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/731327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1695.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.54
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 414

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731327/ft2_4FGL_J2325.4-4800_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731327/ltcube_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.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/731327/ft2_4FGL_J2325.4-4800_daily_bin1695.fits
.....................!
real 12.54
user 12.13
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731327/ft2_4FGL_J2325.4-4800_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731327/ltcube_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.fits outfile=/scratch/kocevski/731327/expmap_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.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/731327/ltcube_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.fits
.....................!
real 190.60
user 185.66
sys 4.61

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/731327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1695.fits scfile=/scratch/kocevski/731327/ft2_4FGL_J2325.4-4800_daily_bin1695.fits outfile=/scratch/kocevski/731327/cmap_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1695.fits scfile=/scratch/kocevski/731327/ft2_4FGL_J2325.4-4800_daily_bin1695.fits outfile=/scratch/kocevski/731327/cmap_HighResolution_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/731327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1695.fits', '/scratch/kocevski/731327/ft2_4FGL_J2325.4-4800_daily_bin1695.fits', expMap='/scratch/kocevski/731327/expmap_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.fits', expCube='/scratch/kocevski/731327/ltcube_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/731327/Model_4FGL_J2325.4-4800_daily_bin1695.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/731327/ft1_filtered_4FGL_J2325.4-4800_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/731327/ft2_4FGL_J2325.4-4800_daily_bin1695.fits
Exposure map: /scratch/kocevski/731327/expmap_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.fits
Exposure cube: /scratch/kocevski/731327/ltcube_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/731327/Model_4FGL_J2325.4-4800_daily_bin1695.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) = 4603.5916283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.0086       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4475       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9150       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9571       1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.824       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7731       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14849E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.260       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.0510       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.4107       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.1071       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.767       1.0000         .10000E-03   10000.    
    23 'norm      '    .27683E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    9.0883       1.0000         .10000E-03   10000.    
    30 'norm      '    12.350       1.0000         .10000E-03   10000.    
    31 'Prefactor '    1.6595       1.0000         .10000E-03   10000.    
    32 'Prefactor '    3.9128       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0346       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .86643       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=   4603.581     FROM MIGRAD    STATUS=CONVERGED    965 CALLS     5554 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.868       -.20053E-07** at limit **
   2  Prefactor     9.0067        16.378       -.26571E-06   -.99542E-05
   3  Prefactor     1.4365        176.62        .20247E-04   -.60830E-05
   4  Prefactor     .10000E-03    5.2958        .10043E-07** at limit **
   5  Prefactor     .10000E-03    2.5547        .15762E-07** at limit **
   6  Prefactor     .10000E-03    13.164        .88668E-08** at limit **
   7  Prefactor     5.9149        6.1653        .44987E-06   -.12714E-04
   8  norm          .10000E-03    3.3830        .97712E-08** at limit **
   9  Prefactor     4.9567        5.1705       -.17147E-07   -.43029E-04
  10  Prefactor     41.780        57.757        .25382E-05   -.17740E-04
  11  Prefactor     .10000E-03    4.3869       -.15023E-06** at limit **
  12  Prefactor     2.7755        45.442        .55099E-06   -.20911E-05
  13  Prefactor     .10000E-03    8.8947       -.11536E-07** at limit **
  14  Prefactor     .10000E-03    93.572        .64177E-06** at limit **
  15  Prefactor     .10000E-03    24.675       -.98677E-06** at limit **
  16  Prefactor     31.264        57.284        .10184E-05    .45962E-06
  17  Prefactor     6.0450        13.823        .38597E-06   -.12504E-04
  18  norm          .10000E-03    5.9179        .95335E-08** at limit **
  19  norm          .10000E-03    2.1558       -.20434E-07** at limit **
  20  norm          4.4103        4.4520       -.29063E-06   -.25056E-03
  21  Prefactor     2.1066        3.3329        .33532E-07   -.27230E-04
  22  Prefactor     13.623        50.442       -.16684E-05   -.22609E-03
  23  norm          .10082E-03    4.6616        .15522E-05** at limit **
  24  Prefactor     .10000E-03    4.1062        .47305E-08** at limit **
  25  norm          .10000E-03    .27868       -.12654E-07** at limit **
  26  norm          .10000E-03    1.8090        .57774E-07** at limit **
  27  Prefactor     .10000E-03    7.6114        .13994E-07** at limit **
  28  Prefactor     .10000E-03    2.7215        .31158E-07** at limit **
  29  Prefactor     9.0891        14.597       -.30219E-06   -.16997E-04
  30  norm          12.351        23.325       -.29735E-06   -.19968E-04
  31  Prefactor     1.6537        6.5406        .26653E-06    .11619E-04
  32  Prefactor     3.9131        3.5518        .11198E-07   -.56455E-04
  33  Normalizat    1.0343        .20726       -.10588E-05   -.22466E-03
  34  Prefactor     .86689        .20585        .21939E-06   -.18136E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.00667
  Prefactor  = 1.43646
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.91493
  norm       = 0.0001
  Prefactor  = 4.95669
  Prefactor  = 41.7795
  Prefactor  = 0.0001
  Prefactor  = 2.77552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 31.264
  Prefactor  = 6.045
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.41032
  Prefactor  = 2.10657
  Prefactor  = 13.6232
  norm       = 0.000100819
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.08908
  norm       = 12.3505
  Prefactor  = 1.65368
  Prefactor  = 3.91314
  Normalizat = 1.03427
  Prefactor  = 0.866889
 **********
 **   18 **HESSE 
 **********

 FCN=   4603.581     FROM HESSE     STATUS=OK           738 CALLS     6292 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.0067        16.364        .13354E-03   -1.5108    
   3  Prefactor     1.4365        172.06        .17912E-02   -1.5468    
   4  Prefactor     .10000E-03    5.3116        .15249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.5610        .10591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.9149        6.1457        .82557E-03   -1.5222    
   8  norm          .10000E-03    3.3874        .12188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9567        5.1636        .14725E-03   -1.5263    
  10  Prefactor     41.780        57.379        .61985E-04   -1.4414    
  11  Prefactor     .10000E-03    10.765        .27201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.7755        44.996        .24439E-03   -1.5375    
  13  Prefactor     .10000E-03    8.9585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    93.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.495        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     31.264        57.009        .71664E-04   -1.4589    
  17  Prefactor     6.0450        13.806        .16322E-03   -1.5216    
  18  norm          .10000E-03    5.9264        .16121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.1562        .97285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.4103        4.4573        .69112E-03   -1.5288    
  21  Prefactor     2.1066        3.3095        .15139E-03   -1.5418    
  22  Prefactor     13.623        67.600        .10795E-03   -1.4970    
  23  norm          .10082E-03    19.652        .35756E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.1091        .13424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .28142        .34936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.8155        .89013E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    7.6375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.8088        .21785E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     9.0891        14.569        .13295E-03   -1.5105    
  30  norm          12.351        23.027        .11399E-03   -1.5005    
  31  Prefactor     1.6537        6.4266        .28594E-03   -1.5451    
  32  Prefactor     3.9131        3.5518        .11626E-03   -1.5312    
  33  Normalizat    1.0343        .24943        .22006E-03   -.91891    
  34  Prefactor     .86689        .24817        .25543E-03   -.97308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.4826e-10
Minuit parameter uncertainties:
  1  1.32156e-05
  2  16.3721
  3  31.5341
  4  9.88098e-07
  5  5.54797e-07
  6  3.75134e-06
  7  6.14639
  8  1.09485e-06
  9  5.16407
  10  57.4546
  11  1.19756e-05
  12  22.3702
  13  3.52236e-07
  14  8.87764e-05
  15  0.000293524
  16  57.1083
  17  13.8128
  18  1.63084e-06
  19  1.77059e-06
  20  4.45761
  21  3.30977
  22  60.8035
  23  0.00802864
  24  5.41718e-07
  25  4.05139e-07
  26  3.41147e-06
  27  1.65466e-06
  28  4.16744e-07
  29  14.5747
  30  23.0436
  31  6.42923
  32  3.55203
  33  0.249708
  34  0.248492
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.107e+00  3.310e+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:  8.669e-01  2.485e-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.034e+00  2.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.73
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 5.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/731327/likelihoodResults_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.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) = 4603.40546864
delta logL = 0.175839195314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4603.40532963
delta logL = 0.175978209129

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5412       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5834       1.0000          .0000       10.000    
     3 'Normalizat'    1.0392       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86268       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=   4603.405     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      254 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5516        255.47        .53700E-02    .12693E-03
   2  Index         1.5857        5.6076        .28922        .87565E-04
   3  Normalizat    1.0392        .84668E-01    .41346E-01   -.11716E-04
   4  Prefactor     .86262        .77037E-01    .44528E-01   -.54900E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.55161
  Index      = 1.58568
  Normalizat = 1.03919
  Prefactor  = 0.862617
 **********
 **   18 **HESSE 
 **********

 FCN=   4603.405     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5516        5.0214        .17383E-03   -1.5331    
   2  Index         1.5857        .78256        .10454E-01   -.75168    
   3  Normalizat    1.0392        .22203        .21957E-03   -.91729    
   4  Prefactor     .86262        .23917        .25592E-03   -.97460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04207e-10
Minuit parameter uncertainties:
  1  5.02196
  2  0.78867
  3  0.222228
  4  0.239463
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731327': 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) = 4603.40532236
delta logL = 0.175985478575

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.552e+00  5.022e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.586e+00  7.887e-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.626e-01  2.395e-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.039e+00  2.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.59 +/- 0.79
Photon Flux (Free Index): 6.19e-09 +/- 9.96e-09
Energy Flux (Free Index): 1.47e-05 +/- 3.36e-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/731327/cmap_HighResolution_678672001_678931201_4FGL_J2325.4-4800_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', comment='SUCCESS', energy_flux2='1.47e-05', dlogl='1.76e-01', photon_flux2='6.19e-09', job_status='DONE', time_completed='2022-07-08 00:51:18.172580', photon_index_error2='0.79', photon_index2='1.59', ts='0.73', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='5.87e-08', energy_flux_error2='3.36e-05', EG='1.03', time_epoch_completed='1657266678.17', return_code='0', job_id='731327', GAL2='0.86', EG2='1.04', return_code2='0', photon_flux_error2='9.96e-09', ts2='1.09', photon_index='2.11' WHERE bin_id='1695' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:51:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 731327: <4FGL_J2325.4-4800_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:27 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:29 2022
Terminated at Fri Jul  8 00:51:18 2022
Results reported at Fri Jul  8 00:51:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1695 351.35 -48.0022 678672001 678931201 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 :                                   827.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            951 sec.

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

