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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1677
RA = 351.359, Dec = -35.9878
tmin = 674006401, tmax = 674265601
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='171959', job_status='RUN', time_executed='2022-05-15 01:13:21.727516', time_epoch_executed='1652602401.73' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/171959

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/171959/ft1_4FGL_J2325.4-3559_daily_bin1677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/171959/ft2_4FGL_J2325.4-3559_daily_bin1677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/171959/ft1_4FGL_J2325.4-3559_daily_bin1677.fits outfile=/scratch/kocevski/171959/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1677.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=674006401.0 tmax=674265601.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 4.60
user 4.34
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/171959/ft2_4FGL_J2325.4-3559_daily_bin1677.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/171959/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1677.fits evtable="EVENTS" outfile="/scratch/kocevski/171959/ft1_filtered_4FGL_J2325.4-3559_daily_bin1677.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.52
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 405

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/171959/ft1_filtered_4FGL_J2325.4-3559_daily_bin1677.fits" evtable="EVENTS" scfile=/scratch/kocevski/171959/ft2_4FGL_J2325.4-3559_daily_bin1677.fits sctable="SC_DATA" outfile=/scratch/kocevski/171959/ltcube_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.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/171959/ft2_4FGL_J2325.4-3559_daily_bin1677.fits
.....................!
real 13.53
user 13.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/171959/ft1_filtered_4FGL_J2325.4-3559_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/171959/ft2_4FGL_J2325.4-3559_daily_bin1677.fits sctable="SC_DATA" expcube=/scratch/kocevski/171959/ltcube_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.fits outfile=/scratch/kocevski/171959/expmap_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.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/171959/ltcube_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.fits
.....................!
real 191.69
user 185.80
sys 5.29

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/171959/ft1_filtered_4FGL_J2325.4-3559_daily_bin1677.fits scfile=/scratch/kocevski/171959/ft2_4FGL_J2325.4-3559_daily_bin1677.fits outfile=/scratch/kocevski/171959/cmap_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.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 5.17
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/171959/ft1_filtered_4FGL_J2325.4-3559_daily_bin1677.fits scfile=/scratch/kocevski/171959/ft2_4FGL_J2325.4-3559_daily_bin1677.fits outfile=/scratch/kocevski/171959/cmap_HighResolution_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/171959/ft1_filtered_4FGL_J2325.4-3559_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/171959/ft2_4FGL_J2325.4-3559_daily_bin1677.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/171959/Model_4FGL_J2325.4-3559_daily_bin1677.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/171959/ft1_filtered_4FGL_J2325.4-3559_daily_bin1677.fits.....................!
real 37.63
user 36.26
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/171959/ft1_filtered_4FGL_J2325.4-3559_daily_bin1677.fits', '/scratch/kocevski/171959/ft2_4FGL_J2325.4-3559_daily_bin1677.fits', expMap='/scratch/kocevski/171959/expmap_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.fits', expCube='/scratch/kocevski/171959/ltcube_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/171959/Model_4FGL_J2325.4-3559_daily_bin1677.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/171959/ft1_filtered_4FGL_J2325.4-3559_daily_bin1677.fits
Spacecraft file(s): /scratch/kocevski/171959/ft2_4FGL_J2325.4-3559_daily_bin1677.fits
Exposure map: /scratch/kocevski/171959/expmap_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.fits
Exposure cube: /scratch/kocevski/171959/ltcube_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/171959/Model_4FGL_J2325.4-3559_daily_bin1677.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) = 4527.39030061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.383       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16901E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .90260E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.386       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    46.373       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.358       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.993       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11459E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5524       1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.778       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .81507       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    17.791       1.0000         .10000E-03   10000.    
    18 'Prefactor '    66.084       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10299E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.885       1.0000         .10000E-03   10000.    
    22 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    124.53       1.0000         .10000E-03   10000.    
    24 'Prefactor '    20.728       1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.6456       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .63414       1.0000         .10000E-03   10000.    
    27 'Prefactor '    38.923       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .94009       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .81286       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=   4527.338     FROM MIGRAD    STATUS=CONVERGED    778 CALLS     3851 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.392        70.829       -.85242E-07   -.13071E-04
   2  Prefactor     .10001E-03    3.9920        .17053E-05** at limit **
   3  Prefactor     .10000E-03    15.171        .27510E-06** at limit **
   4  Prefactor     .16474E-03    51.785       -.29057E-05** at limit **
   5  Prefactor     31.389        22.270        .50001E-06    .52746E-04
   6  Prefactor     .10000E-03    17.570        .21889E-06** at limit **
   7  Prefactor     46.376        17.656       -.94301E-06   -.43414E-03
   8  Prefactor     11.362        9.1033       -.21958E-06   -.24528E-04
   9  norm          .10000E-03    1.6166        .11252E-06** at limit **
  10  Prefactor     33.990        20.440       -.84143E-06   -.37791E-03
  11  Prefactor     .10000E-03    9.9524        .28606E-05** at limit **
  12  norm          1.5525        .79824       -.36046E-06   -.21397E-02
  13  Prefactor     37.779        46.828        .49266E-06    .67633E-05
  14  Prefactor     .81054        17.571       -.11059E-05    .16998E-03
  15  norm          .10000E-03    3.8509        .68710E-09** at limit **
  16  norm          .10000E-03    3.2224       -.33564E-06** at limit **
  17  norm          17.792        10.538        .13329E-06    .10857E-04
  18  Prefactor     66.047        41.027       -.33794E-06   -.23363E-04
  19  Prefactor     .10000E-03    56.948        .25738E-06** at limit **
  20  norm          .10000E-03    4.9135       -.10134E-05** at limit **
  21  Prefactor     16.886        18.214       -.10684E-06   -.28686E-04
  22  norm          .10000E-03    3.0003       -.20319E-06** at limit **
  23  Prefactor     124.46        152.34       -.23496E-05   -.42685E-04
  24  Prefactor     20.732        42.877       -.15174E-05   -.55630E-04
  25  Prefactor     7.6434        8.8734       -.20755E-06   -.17056E-03
  26  Prefactor     .63444        4.6293        .18837E-05   -.73255E-04
  27  Prefactor     38.822        51.199        .79716E-06   -.16112E-04
  28  Normalizat    .94021        .21574       -.28416E-06   -.29763E-03
  29  Prefactor     .81262        .21890       -.10950E-05   -.14343E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.3922
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.000164737
  Prefactor  = 31.3886
  Prefactor  = 0.0001
  Prefactor  = 46.3762
  Prefactor  = 11.3618
  norm       = 0.0001
  Prefactor  = 33.9899
  Prefactor  = 0.0001
  norm       = 1.55252
  Prefactor  = 37.7789
  Prefactor  = 0.810537
  norm       = 0.0001
  norm       = 0.0001
  norm       = 17.7917
  Prefactor  = 66.0472
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.8864
  norm       = 0.0001
  Prefactor  = 124.458
  Prefactor  = 20.7316
  Prefactor  = 7.64342
  Prefactor  = 0.634439
  Prefactor  = 38.8217
  Normalizat = 0.940211
  Prefactor  = 0.81262
 **********
 **   18 **HESSE 
 **********

 FCN=   4527.338     FROM HESSE     STATUS=OK           561 CALLS     4412 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.392        70.974        .64694E-04   -1.4468    
   2  Prefactor     .10001E-03    6.9825        .24601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16474E-03    50.916        .14770       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.389        22.289        .71521E-04   -1.4587    
   6  Prefactor     .10000E-03    17.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.376        17.750        .58879E-04   -1.4345    
   8  Prefactor     11.362        9.1116        .11887E-03   -1.5034    
   9  norm          .10000E-03    1.6195        .83536E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.990        20.614        .34365E-03   -1.4541    
  11  Prefactor     .10000E-03    83.249        .34222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5525        .82954        .39246E-04   -1.5459    
  13  Prefactor     37.779        46.848        .65208E-04   -1.4478    
  14  Prefactor     .81054        57.750        .44994E-02   -1.5528    
  15  norm          .10000E-03    3.8513        .12896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.2244        .11774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          17.792        10.555        .94954E-04   -1.4864    
  18  Prefactor     66.047        40.853        .49370E-04   -1.4081    
  19  Prefactor     .10000E-03    57.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.9183        .28730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.886        18.221        .97471E-04   -1.4886    
  22  norm          .10000E-03    3.0245        .11359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     124.46        152.82        .18035E-03   -1.3472    
  24  Prefactor     20.732        42.928        .87975E-04   -1.4797    
  25  Prefactor     7.6434        8.9038        .14503E-03   -1.5155    
  26  Prefactor     .63444        4.5456        .27861E-03   -1.5549    
  27  Prefactor     38.822        51.058        .64245E-04   -1.4461    
  28  Normalizat    .94021        .25957        .24500E-03   -.95061    
  29  Prefactor     .81262        .26072        .28086E-03   -.99265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04588e-09
Minuit parameter uncertainties:
  1  71.1306
  2  0.000437853
  3  2.99232e-05
  4  0.114922
  5  22.2945
  6  1.62782e-05
  7  17.7522
  8  9.11269
  9  2.54923e-06
  10  20.618
  11  0.00010506
  12  0.829542
  13  46.8939
  14  13.6963
  15  1.10516e-06
  16  1.05875e-05
  17  10.5564
  18  40.87
  19  3.08693e-05
  20  4.65601e-05
  21  18.2273
  22  1.22744e-05
  23  153.312
  24  42.9917
  25  8.90538
  26  3.39652
  27  51.1155
  28  0.259921
  29  0.261116
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.779e+01  1.056e+01  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:  8.126e-01  2.611e-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:  9.402e-01  2.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.92
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 5.54e-08 +/- 3.29e-08
Energy Flux (Fixed Index): 2.22e-05 +/- 1.32e-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) = 4527.32102946
delta logL = 0.0174061523394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4527.32033363
delta logL = 0.0181019862648

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.069       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2602       1.0000          .0000       5.0000    
     3 'Normalizat'    .93105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81745       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4527.320     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      267 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.072        10.313        .94221E-04    .43437E-04
   2  alpha         2.2602        .66701        .14284E-01    .74583E-05
   3  Normalizat    .93077        .24440        .24608E-03    .14156E-03
   4  Prefactor     .81775        .25818        .28002E-03   -.53592E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 18.072
  alpha      = 2.26022
  Normalizat = 0.930771
  Prefactor  = 0.817754
 **********
 **   18 **HESSE 
 **********

 FCN=   4527.320     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.072        10.318        .37688E-05   -1.4857    
   2  alpha         2.2602        .66676        .57137E-03   -.96061E-01
   3  Normalizat    .93077        .24464        .98431E-05   -.95387    
   4  Prefactor     .81775        .25841        .11201E-04   -.99077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48157e-10
Minuit parameter uncertainties:
  1  10.3185
  2  0.675011
  3  0.24493
  4  0.258798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/171959': 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) = 4527.32033286
delta logL = 0.0181027541857

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.807e+01  1.032e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.260e+00  6.750e-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:  8.178e-01  2.588e-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:  9.308e-01  2.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.91
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.26 +/- 0.68
Photon Flux (Free Index): 6.33e-08 +/- 5.44e-08
Energy Flux (Free Index): 2.23e-05 +/- 1.27e-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/171959/cmap_HighResolution_674006401_674265601_4FGL_J2325.4-3559_daily_bin1677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.54e-08', energy_flux2='2.23e-05', photon_flux_error='3.29e-08', dlogl='1.81e-02', energy_flux='2.22e-05', photon_flux2='6.33e-08', job_status='DONE', time_completed='2022-05-15 01:23:58.179127', photon_index_error2='0.68', photon_index2='2.26', ts='7.92', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.27e-05', EG='0.94', time_epoch_completed='1652603038.18', return_code='0', job_id='171959', GAL2='0.82', EG2='0.93', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='5.44e-08', ts2='7.91', photon_index='2.13' WHERE bin_id='1677' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 15 01:23:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 171959: <4FGL_J2325.4-3559_daily_bin1677> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1677> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun May 15 01:10:23 2022
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun May 15 01:11:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun May 15 01:11:26 2022
Terminated at Sun May 15 01:23:59 2022
Results reported at Sun May 15 01:23:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1677 351.359 -35.9878 674006401 674265601 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 :                                   633.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            816 sec.

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

