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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1682
RA = 351.359, Dec = -35.9878
tmin = 675302401, tmax = 675561601
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='901304', job_status='RUN', time_executed='2022-05-30 01:11:08.152776', time_epoch_executed='1653898268.15' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1682'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/901304

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/901304/ft1_4FGL_J2325.4-3559_daily_bin1682.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/901304/ft1_4FGL_J2325.4-3559_daily_bin1682.fits outfile=/scratch/kocevski/901304/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1682.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=675302401.0 tmax=675561601.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.50
user 3.24
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.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/901304/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1682.fits evtable="EVENTS" outfile="/scratch/kocevski/901304/ft1_filtered_4FGL_J2325.4-3559_daily_bin1682.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.33
sys 0.17

Number of photons that the gtmktime cut: 616

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/901304/ft1_filtered_4FGL_J2325.4-3559_daily_bin1682.fits" evtable="EVENTS" scfile=/scratch/kocevski/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.fits sctable="SC_DATA" outfile=/scratch/kocevski/901304/ltcube_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.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/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.fits
.....................!
real 13.98
user 13.62
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/901304/ft1_filtered_4FGL_J2325.4-3559_daily_bin1682.fits evtable="EVENTS" scfile=/scratch/kocevski/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.fits sctable="SC_DATA" expcube=/scratch/kocevski/901304/ltcube_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.fits outfile=/scratch/kocevski/901304/expmap_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.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/901304/ltcube_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.fits
.....................!
real 195.09
user 188.41
sys 5.60

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

Setting source of interest to:
4FGL J2325.4-3559 @ 351.359 -35.9878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/901304/ft1_filtered_4FGL_J2325.4-3559_daily_bin1682.fits scfile=/scratch/kocevski/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.fits outfile=/scratch/kocevski/901304/cmap_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.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.359 yref=-35.9878 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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/901304/ft1_filtered_4FGL_J2325.4-3559_daily_bin1682.fits scfile=/scratch/kocevski/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.fits outfile=/scratch/kocevski/901304/cmap_HighResolution_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.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.359 yref=-35.9878 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.57
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/901304/ft1_filtered_4FGL_J2325.4-3559_daily_bin1682.fits evtable="EVENTS" scfile=/scratch/kocevski/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/901304/Model_4FGL_J2325.4-3559_daily_bin1682.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/901304/ft1_filtered_4FGL_J2325.4-3559_daily_bin1682.fits.....................!
real 48.64
user 47.27
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/901304/ft1_filtered_4FGL_J2325.4-3559_daily_bin1682.fits', '/scratch/kocevski/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.fits', expMap='/scratch/kocevski/901304/expmap_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.fits', expCube='/scratch/kocevski/901304/ltcube_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/901304/Model_4FGL_J2325.4-3559_daily_bin1682.xml', optimizer='MINUIT')

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

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.197e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/901304/ft1_filtered_4FGL_J2325.4-3559_daily_bin1682.fits
Spacecraft file(s): /scratch/kocevski/901304/ft2_4FGL_J2325.4-3559_daily_bin1682.fits
Exposure map: /scratch/kocevski/901304/expmap_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.fits
Exposure cube: /scratch/kocevski/901304/ltcube_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/901304/Model_4FGL_J2325.4-3559_daily_bin1682.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) = 6621.20375083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.198       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0896       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.7140       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5523       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.058       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4437       1.0000         .10000E-03   10000.    
     9 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.009       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5698       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3370       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    20.640       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.314       1.0000         .10000E-03   10000.    
    20 'norm      '    .20750E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10746E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.2983       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2610       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .45444       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6621.103     FROM MIGRAD    STATUS=CONVERGED    723 CALLS     3223 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.195        40.520       -.49430E-05    .33539E-04
   2  Prefactor     1.0894        2.0379       -.19533E-06   -.67250E-03
   3  Prefactor     7.7143        12.438        .36870E-07   -.85641E-05
   4  Prefactor     .10000E-03    14.147        .69133E-05** at limit **
   5  Prefactor     1.5422        19.538       -.27949E-05   -.22902E-03
   6  Prefactor     .10000E-03    7.9079        .10511E-05** at limit **
   7  Prefactor     21.060        10.488        .42664E-07   -.20223E-04
   8  Prefactor     1.4439        4.6907       -.53748E-05   -.81295E-03
   9  norm          .10000E-03    1.3649       -.58475E-08** at limit **
  10  Prefactor     24.007        19.761        .15466E-05    .19893E-04
  11  Prefactor     6.5466        13.277       -.24710E-05   -.10295E-03
  12  norm          1.3384        .90284        .11226E-06   -.67985E-03
  13  Prefactor     .10000E-03    13.578        .38744E-05** at limit **
  14  Prefactor     .10000E-03    7.2781       -.49273E-06** at limit **
  15  norm          .10000E-03    3.0213       -.24086E-07** at limit **
  16  norm          .10000E-03    1.2061        .22953E-08** at limit **
  17  norm          20.640        9.9355       -.13157E-06   -.72961E-04
  18  Prefactor     .10000E-03    33.015        .12267E-04** at limit **
  19  Prefactor     34.314        35.159       -.58708E-06    .94548E-05
  20  norm          .10079E-03    1.3612        .26880E-06** at limit **
  21  Prefactor     .10000E-03    27.057       -.12508E-04** at limit **
  22  norm          .10000E-03    1.0527        .56251E-09** at limit **
  23  Prefactor     .10000E-03    68.529       -.94392E-05** at limit **
  24  Prefactor     .10000E-03    18.570       -.27677E-05** at limit **
  25  Prefactor     1.2984        2.5925       -.44143E-06   -.65166E-03
  26  Prefactor     .10000E-03    2.6085       -.41238E-08** at limit **
  27  Prefactor     .10000E-03    12.535       -.77445E-05** at limit **
  28  Normalizat    1.2611        .15986        .86221E-06    .92511E-04
  29  Prefactor     .45437        .17069        .47430E-06    .69853E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1949
  Prefactor  = 1.08935
  Prefactor  = 7.71431
  Prefactor  = 0.000100001
  Prefactor  = 1.54218
  Prefactor  = 0.0001
  Prefactor  = 21.0603
  Prefactor  = 1.44389
  norm       = 0.0001
  Prefactor  = 24.0071
  Prefactor  = 6.54663
  norm       = 1.33838
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 20.64
  Prefactor  = 0.000100005
  Prefactor  = 34.3138
  norm       = 0.000100794
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 1.29837
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.26108
  Prefactor  = 0.454365
 **********
 **   18 **HESSE 
 **********

 FCN=   6621.103     FROM HESSE     STATUS=OK           561 CALLS     3784 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.195        40.602        .99516E-04   -1.4903    
   2  Prefactor     1.0894        1.6117        .15062E-02   -1.5499    
   3  Prefactor     7.7143        12.257        .14438E-03   -1.5152    
   4  Prefactor     .10000E-03    14.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5422        20.023        .34180E-03   -1.5460    
   6  Prefactor     .10000E-03    7.9746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.060        10.489        .87284E-04   -1.4790    
   8  Prefactor     1.4439        5.0144        .32547E-03   -1.5468    
   9  norm          .10000E-03    1.3714        .92735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.007        19.595        .81751E-04   -1.4728    
  11  Prefactor     6.5466        13.789        .15657E-03   -1.5196    
  12  norm          1.3384        .94703        .42928E-04   -1.5477    
  13  Prefactor     .10000E-03    13.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.3265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.0228        .13813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.2078        .87261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          20.640        9.9327        .88162E-04   -1.4799    
  18  Prefactor     .10000E-03    32.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     34.314        35.181        .68410E-04   -1.4536    
  20  norm          .10079E-03    2.4539        .34317E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    27.113        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.0591        .81476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    68.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    18.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.2984        2.5603        .17997E-03   -1.5480    
  26  Prefactor     .10000E-03    2.6739        .25661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    12.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.2611        .18134        .19151E-03   -.84736    
  29  Prefactor     .45437        .19129        .32876E-03   -1.1412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56103e-09
Minuit parameter uncertainties:
  1  40.6712
  2  1.61173
  3  12.2609
  4  0.000215695
  5  11.1179
  6  2.21295e-05
  7  10.4898
  8  5.01589
  9  9.5285e-08
  10  19.6003
  11  13.7956
  12  0.947043
  13  0.000129024
  14  4.12232e-05
  15  9.88607e-08
  16  1.70885e-06
  17  9.93345
  18  0.000782253
  19  35.2019
  20  0.0027913
  21  0.000724898
  22  3.50822e-06
  23  0.000678758
  24  0.000101292
  25  2.56052
  26  3.37328e-06
  27  0.000244715
  28  0.181435
  29  0.191564
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.064e+01  9.933e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  4.544e-01  1.916e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.261e+00  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.83
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 6.43e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 2.58e-05 +/- 1.24e-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) = 6620.27252445
delta logL = 0.830755953027

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6620.25065899
delta logL = 0.852621411014

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.849       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7650       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2154       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .48962       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6620.251     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      306 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.865        10.109        .50302E-03   -.44071E-05
   2  alpha         2.7659        .55151        .10460E-01    .21050E-03
   3  Normalizat    1.2155        .17831        .19432E-03    .21635E-04
   4  Prefactor     .48935        .19022        .31740E-03    .82740E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.8649
  alpha      = 2.76593
  Normalizat = 1.21553
  Prefactor  = 0.48935
 **********
 **   18 **HESSE 
 **********

 FCN=   6620.251     FROM HESSE     STATUS=OK            27 CALLS      333 TOTAL
                     EDM=   .79E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.865        9.5779        .20121E-04   -1.4911    
   2  alpha         2.7659        .52274        .20919E-02    .10657    
   3  Normalizat    1.2155        .17822        .38864E-04   -.86124    
   4  Prefactor     .48935        .19003        .12696E-04   -1.1247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.91484e-13
Minuit parameter uncertainties:
  1  9.57881
  2  0.526671
  3  0.178307
  4  0.190276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/901304': 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) = 6620.25064739
delta logL = 0.852633018219

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.586e+01  9.579e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.766e+00  5.267e-01  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  4.894e-01  1.903e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.216e+00  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.47
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.77 +/- 0.53
Photon Flux (Free Index): 9.43e-08 +/- 4.25e-08
Energy Flux (Free Index): 2.29e-05 +/- 1.00e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/901304/cmap_HighResolution_675302401_675561601_4FGL_J2325.4-3559_daily_bin1682.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.43e-08', energy_flux2='2.29e-05', photon_flux_error='3.09e-08', dlogl='8.53e-01', energy_flux='2.58e-05', photon_flux2='9.43e-08', job_status='DONE', time_completed='2022-05-30 01:23:14.358094', photon_index_error2='0.53', photon_index2='2.77', ts='7.83', fit_tolerance='1e-08', GAL='0.45', photon_index_error='0.00', energy_flux_error2='1.00e-05', EG='1.26', time_epoch_completed='1653898994.36', return_code='0', job_id='901304', GAL2='0.49', EG2='1.22', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='4.25e-08', ts2='9.47', photon_index='2.13' WHERE bin_id='1682' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May 30 01:23:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 901304: <4FGL_J2325.4-3559_daily_bin1682> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1682> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon May 30 01:10:18 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May 30 01:10:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May 30 01:10:23 2022
Terminated at Mon May 30 01:23:15 2022
Results reported at Mon May 30 01:23:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1682 351.359 -35.9878 675302401 675561601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-3559 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   727.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            777 sec.

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

