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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1706
RA = 351.35, Dec = -48.0022
tmin = 681523201, tmax = 681782401
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='507860', job_status='RUN', time_executed='2022-08-10 02:20:00.894666', time_epoch_executed='1660123200.89' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507860

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507860/ft1_4FGL_J2325.4-4800_daily_bin1706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507860/ft2_4FGL_J2325.4-4800_daily_bin1706.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507860/ft1_4FGL_J2325.4-4800_daily_bin1706.fits outfile=/scratch/kocevski/507860/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1706.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=681523201.0 tmax=681782401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.61
user 2.41
sys 0.19

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

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

Number of photons that the gtmktime cut: 188

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507860/ft1_filtered_4FGL_J2325.4-4800_daily_bin1706.fits" evtable="EVENTS" scfile=/scratch/kocevski/507860/ft2_4FGL_J2325.4-4800_daily_bin1706.fits sctable="SC_DATA" outfile=/scratch/kocevski/507860/ltcube_681523201_681782401_4FGL_J2325.4-4800_daily_bin1706.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/507860/ft2_4FGL_J2325.4-4800_daily_bin1706.fits
.....................!
real 13.49
user 13.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507860/ft1_filtered_4FGL_J2325.4-4800_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507860/ft2_4FGL_J2325.4-4800_daily_bin1706.fits sctable="SC_DATA" expcube=/scratch/kocevski/507860/ltcube_681523201_681782401_4FGL_J2325.4-4800_daily_bin1706.fits outfile=/scratch/kocevski/507860/expmap_681523201_681782401_4FGL_J2325.4-4800_daily_bin1706.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/507860/ltcube_681523201_681782401_4FGL_J2325.4-4800_daily_bin1706.fits
.....................!
real 194.02
user 187.24
sys 6.39

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/507860/ft1_filtered_4FGL_J2325.4-4800_daily_bin1706.fits scfile=/scratch/kocevski/507860/ft2_4FGL_J2325.4-4800_daily_bin1706.fits outfile=/scratch/kocevski/507860/cmap_681523201_681782401_4FGL_J2325.4-4800_daily_bin1706.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507860/ft1_filtered_4FGL_J2325.4-4800_daily_bin1706.fits scfile=/scratch/kocevski/507860/ft2_4FGL_J2325.4-4800_daily_bin1706.fits outfile=/scratch/kocevski/507860/cmap_HighResolution_681523201_681782401_4FGL_J2325.4-4800_daily_bin1706.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507860/ft1_filtered_4FGL_J2325.4-4800_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507860/ft2_4FGL_J2325.4-4800_daily_bin1706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507860/Model_4FGL_J2325.4-4800_daily_bin1706.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/507860/ft1_filtered_4FGL_J2325.4-4800_daily_bin1706.fits.....................!
real 24.69
user 23.44
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    100.62       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.579       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.209       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5413       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.332       1.0000         .10000E-03   10000.    
    10 'Prefactor '    55.541       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.064       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.057       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.908       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.494       1.0000         .10000E-03   10000.    
    19 'norm      '    7.2983       1.0000         .10000E-03   10000.    
    20 'norm      '    11.795       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.585       1.0000         .10000E-03   10000.    
    22 'Prefactor '    137.76       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    22.932       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    18.823       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    46.231       1.0000         .10000E-03   10000.    
    30 'norm      '    24.187       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1347       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .67724       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=   2106.122     FROM MIGRAD    STATUS=CONVERGED    901 CALLS     5570 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    46.441        .20770E-05** at limit **
   2  Prefactor     .10000E-03    16.001       -.24093E-06** at limit **
   3  Prefactor     100.63        85.373        .11930E-06    .16868E-04
   4  Prefactor     .10000E-03    37.138       -.63414E-06** at limit **
   5  Prefactor     12.575        11.694       -.19346E-06   -.12796E-04
   6  Prefactor     12.201        42.908       -.12341E-05   -.24495E-04
   7  Prefactor     5.5334        14.630        .56983E-05   -.39385E-04
   8  norm          .10000E-03    10.436       -.18662E-06** at limit **
   9  Prefactor     24.333        20.330        .23164E-06   -.42751E-05
  10  Prefactor     55.519        184.52       -.24560E-05   -.13416E-04
  11  Prefactor     11.063        18.934        .17510E-06   -.14771E-05
  12  Prefactor     .10000E-03    38.243       -.81039E-06** at limit **
  13  Prefactor     20.044        25.549       -.20565E-06   -.23963E-04
  14  Prefactor     .10000E-03    98.321        .14328E-06** at limit **
  15  Prefactor     30.903        33.959       -.24298E-07   -.30416E-04
  16  Prefactor     .10000E-03    38.827       -.64018E-06** at limit **
  17  Prefactor     .10000E-03    26.940        .10887E-05** at limit **
  18  norm          13.483        48.422       -.16401E-05   -.26652E-04
  19  norm          7.3007        9.6421        .81923E-07   -.13118E-04
  20  norm          11.790        13.312        .15703E-06    .33859E-05
  21  Prefactor     10.575        19.861       -.11932E-05   -.43415E-04
  22  Prefactor     137.74        112.57       -.53601E-06   -.34808E-04
  23  norm          .10000E-03    12.129       -.19832E-06** at limit **
  24  Prefactor     22.962        44.416        .38340E-05    .80166E-04
  25  norm          .10000E-03    1.6281        .26122E-06** at limit **
  26  norm          .10000E-03    4.7348       -.39144E-08** at limit **
  27  Prefactor     18.814        26.959        .10055E-08   -.25216E-04
  28  Prefactor     .10000E-03    5.4039       -.44318E-06** at limit **
  29  Prefactor     46.207        44.603       -.18505E-05   -.11298E-03
  30  norm          24.176        40.896       -.58365E-06   -.32030E-04
  31  Prefactor     .10000E-03    9.9077       -.24780E-06** at limit **
  32  Prefactor     .10000E-03    2.5909        .18609E-07** at limit **
  33  Normalizat    1.1347        .35902       -.24954E-05    .26594E-04
  34  Prefactor     .67734        .34599        .16899E-05   -.36470E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 100.635
  Prefactor  = 0.0001
  Prefactor  = 12.5748
  Prefactor  = 12.2007
  Prefactor  = 5.53337
  norm       = 0.0001
  Prefactor  = 24.333
  Prefactor  = 55.519
  Prefactor  = 11.0632
  Prefactor  = 0.0001
  Prefactor  = 20.0442
  Prefactor  = 0.0001
  Prefactor  = 30.9034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.483
  norm       = 7.30074
  norm       = 11.7904
  Prefactor  = 10.5748
  Prefactor  = 137.744
  norm       = 0.0001
  Prefactor  = 22.9618
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 18.8144
  Prefactor  = 0.0001
  Prefactor  = 46.2066
  norm       = 24.1757
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1347
  Prefactor  = 0.677335
 **********
 **   18 **HESSE 
 **********

 FCN=   2106.122     FROM HESSE     STATUS=OK           730 CALLS     6300 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    46.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.011        .17935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     100.63        86.076        .40078E-04   -1.3698    
   4  Prefactor     .10000E-03    37.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.575        11.697        .11294E-03   -1.4999    
   6  Prefactor     12.201        43.039        .11464E-03   -1.5009    
   7  Prefactor     5.5334        14.942        .85337E-03   -1.5237    
   8  norm          .10000E-03    10.440        .14483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.333        20.330        .81207E-04   -1.4721    
  10  Prefactor     55.519        185.04        .53824E-04   -1.4216    
  11  Prefactor     11.063        18.927        .12044E-03   -1.5043    
  12  Prefactor     .10000E-03    38.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.044        25.564        .89433E-04   -1.4812    
  14  Prefactor     .10000E-03    98.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     30.903        33.967        .72070E-04   -1.4596    
  16  Prefactor     .10000E-03    38.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    27.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.483        48.635        .10904E-03   -1.4973    
  19  norm          7.3007        9.6454        .14847E-03   -1.5168    
  20  norm          11.790        13.312        .11664E-03   -1.5021    
  21  Prefactor     10.575        19.961        .12315E-03   -1.5057    
  22  Prefactor     137.74        113.65        .34317E-04   -1.3355    
  23  norm          .10000E-03    12.167        .15546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     22.962        45.235        .83646E-04   -1.4749    
  25  norm          .10000E-03    1.6908        .11376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    4.7485        .97502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     18.814        27.098        .92316E-04   -1.4840    
  28  Prefactor     .10000E-03    5.4368        .10379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     46.207        45.375        .58969E-04   -1.4347    
  30  norm          24.176        40.918        .81450E-04   -1.4724    
  31  Prefactor     .10000E-03    9.9783        .14061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.5934        .72137E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.1347        .43628        .25221E-03   -.88645    
  34  Prefactor     .67734        .41181        .32593E-03   -1.0442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49872e-10
Minuit parameter uncertainties:
  1  0.000373008
  2  2.88984e-05
  3  86.183
  4  8.1334e-05
  5  11.6987
  6  43.1487
  7  14.9524
  8  1.51941e-05
  9  20.3361
  10  187.005
  11  18.9368
  12  0.000115117
  13  25.5783
  14  4.86654e-05
  15  33.9884
  16  0.000105268
  17  0.000110932
  18  48.779
  19  9.6475
  20  13.3152
  21  19.9739
  22  113.829
  23  2.71716e-05
  24  45.3024
  25  2.3733e-06
  26  3.24255e-06
  27  27.1162
  28  2.18567e-05
  29  45.4088
  30  40.9659
  31  4.03292e-05
  32  1.14625e-06
  33  0.437676
  34  0.413674
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.057e+01  1.997e+01  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.773e-01  4.137e-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.135e+00  4.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.64
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 2.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.68e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/507860/likelihoodResults_681523201_681782401_4FGL_J2325.4-4800_daily_bin1706.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): 102
logL (Free Index) = 2105.28785374
delta logL = 0.834613418437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2105.10559894
delta logL = 1.01686822159

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27089E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.1259       1.0000          .0000       10.000    
     3 'Normalizat'    .91511       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85005       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=   2105.106     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      311 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26360E-01    .42389        .91577E-03    .31240E-02
   2  Index         5.1358        2.6277        .50522E-01    .73459E-04
   3  Normalizat    .91556        .11727        .45094E-01   -.24084E-06
   4  Prefactor     .84950        .12079        .66572E-01    .22357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0263603
  Index      = 5.13585
  Normalizat = 0.915565
  Prefactor  = 0.849496
 **********
 **   18 **HESSE 
 **********

 FCN=   2105.106     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      344 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26360E-01    .64145        .50162E-05   -1.5676    
   2  Index         5.1358        3.3063        .21314E-02    .27173E-01
   3  Normalizat    .91556        .35931        .27567E-03   -.95915    
   4  Prefactor     .84950        .36256        .29449E-03   -.97929    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.45191e-08
Minuit parameter uncertainties:
  1  0.259576
  2  3.61271
  3  0.360258
  4  0.363591
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507860': 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): 102
logL (Free Index) = 2105.10559321
delta logL = 1.01687394389

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.636e-02  2.596e-01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  5.136e+00  3.613e+00  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.495e-01  3.636e-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.156e-01  3.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.96
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 5.14 +/- 3.61
Photon Flux (Free Index): 2.18e-07 +/- 1.56e-07
Energy Flux (Free Index): 2.87e-05 +/- 2.32e-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/507860/cmap_HighResolution_681523201_681782401_4FGL_J2325.4-4800_daily_bin1706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.68e-02', comment='SUCCESS', energy_flux2='2.87e-05', dlogl='1.02e+00', photon_flux2='2.18e-07', job_status='DONE', time_completed='2022-08-10 02:29:17.297691', photon_index_error2='3.61', photon_index2='5.14', ts='0.64', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='2.22e-07', energy_flux_error2='2.32e-05', EG='1.13', time_epoch_completed='1660123757.3', return_code='0', job_id='507860', GAL2='0.85', EG2='0.92', return_code2='102', photon_flux_error2='1.56e-07', ts2='2.96', photon_index='2.11' WHERE bin_id='1706' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 10 02:29:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 507860: <4FGL_J2325.4-4800_daily_bin1706> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1706> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Aug 10 02:15:37 2022
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 10 02:18:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 10 02:18:51 2022
Terminated at Wed Aug 10 02:29:18 2022
Results reported at Wed Aug 10 02:29:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1706 351.35 -48.0022 681523201 681782401 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 :                                   558.57 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            821 sec.

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

