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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1696
RA = 351.359, Dec = -35.9878
tmin = 678931201, tmax = 679190401
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='794171', job_status='RUN', time_executed='2022-07-11 00:38:57.820223', time_epoch_executed='1657525137.82' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794171

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794171/ft1_4FGL_J2325.4-3559_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794171/ft2_4FGL_J2325.4-3559_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794171/ft1_4FGL_J2325.4-3559_daily_bin1696.fits outfile=/scratch/kocevski/794171/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1696.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=678931201.0 tmax=679190401.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.54
user 3.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794171/ft2_4FGL_J2325.4-3559_daily_bin1696.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/794171/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/794171/ft1_filtered_4FGL_J2325.4-3559_daily_bin1696.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 453

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794171/ft1_filtered_4FGL_J2325.4-3559_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/794171/ft2_4FGL_J2325.4-3559_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/794171/ltcube_678931201_679190401_4FGL_J2325.4-3559_daily_bin1696.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/794171/ft2_4FGL_J2325.4-3559_daily_bin1696.fits
.....................!
real 11.95
user 11.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794171/ft1_filtered_4FGL_J2325.4-3559_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794171/ft2_4FGL_J2325.4-3559_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/794171/ltcube_678931201_679190401_4FGL_J2325.4-3559_daily_bin1696.fits outfile=/scratch/kocevski/794171/expmap_678931201_679190401_4FGL_J2325.4-3559_daily_bin1696.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/794171/ltcube_678931201_679190401_4FGL_J2325.4-3559_daily_bin1696.fits
.....................!
real 189.96
user 184.94
sys 4.69

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/794171/ft1_filtered_4FGL_J2325.4-3559_daily_bin1696.fits scfile=/scratch/kocevski/794171/ft2_4FGL_J2325.4-3559_daily_bin1696.fits outfile=/scratch/kocevski/794171/cmap_678931201_679190401_4FGL_J2325.4-3559_daily_bin1696.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794171/ft1_filtered_4FGL_J2325.4-3559_daily_bin1696.fits scfile=/scratch/kocevski/794171/ft2_4FGL_J2325.4-3559_daily_bin1696.fits outfile=/scratch/kocevski/794171/cmap_HighResolution_678931201_679190401_4FGL_J2325.4-3559_daily_bin1696.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794171/ft1_filtered_4FGL_J2325.4-3559_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794171/ft2_4FGL_J2325.4-3559_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794171/Model_4FGL_J2325.4-3559_daily_bin1696.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/794171/ft1_filtered_4FGL_J2325.4-3559_daily_bin1696.fits.....................!
real 39.22
user 37.96
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    120.21       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    134.31       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8050       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4999       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7001       1.0000         .10000E-03   10000.    
     9 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .71306E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.995       1.0000         .10000E-03   10000.    
    12 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3793       1.0000         .10000E-03   10000.    
    15 'norm      '    11.542       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    14.273       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    78.567       1.0000         .10000E-03   10000.    
    20 'norm      '    1.7846       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .27347E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    73.000       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    7.1217       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1863       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .59084       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=   5007.992     FROM MIGRAD    STATUS=CONVERGED    718 CALLS     3707 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     120.23        82.139       -.87465E-06   -.94731E-05
   2  Prefactor     .10000E-03    .78745       -.21554E-07** at limit **
   3  Prefactor     .10000E-03    5.1345        .11673E-08** at limit **
   4  Prefactor     134.32        81.034       -.26702E-05   -.94108E-05
   5  Prefactor     .10000E-03    8.2470        .79539E-07** at limit **
   6  Prefactor     6.8053        22.719        .26395E-06    .45512E-06
   7  Prefactor     1.5013        30.902        .18332E-04    .24469E-04
   8  Prefactor     1.6970        7.8949        .11813E-04    .23850E-04
   9  norm          .10000E-03    2.9474       -.39237E-07** at limit **
  10  Prefactor     .10011E-03    15.142        .84201E-06** at limit **
  11  Prefactor     34.961        16.829       -.51055E-06    .11124E-02
  12  norm          .10000E-03    .86603       -.38128E-06** at limit **
  13  Prefactor     .10000E-03    31.487        .43796E-06** at limit **
  14  Prefactor     3.3701        18.088        .70405E-05    .19969E-03
  15  norm          11.541        10.725        .23051E-06   -.58005E-04
  16  norm          .10000E-03    1.4472        .94108E-08** at limit **
  17  norm          14.276        9.7084        .94153E-07   -.21696E-04
  18  Prefactor     .10000E-03    21.730        .16087E-06** at limit **
  19  Prefactor     78.525        62.975        .45181E-05    .26453E-05
  20  norm          1.7858        2.4195        .16306E-06   -.22613E-04
  21  Prefactor     .10020E-03    10.847        .40093E-05** at limit **
  22  norm          .10000E-03    1.2083        .49015E-07** at limit **
  23  Prefactor     72.833        100.56        .20717E-04   -.88321E-05
  24  Prefactor     .10000E-03    9.4468       -.97678E-07** at limit **
  25  Prefactor     .10000E-03    1.1992       -.20539E-07** at limit **
  26  Prefactor     .10000E-03    1.8076        .83063E-07** at limit **
  27  Prefactor     7.1237        19.031        .50400E-06   -.49916E-05
  28  Normalizat    1.1857        .19767       -.38775E-06    .13216E-03
  29  Prefactor     .59144        .20251       -.47937E-05    .19408E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 120.227
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 134.322
  Prefactor  = 0.0001
  Prefactor  = 6.8053
  Prefactor  = 1.50131
  Prefactor  = 1.69702
  norm       = 0.0001
  Prefactor  = 0.000100113
  Prefactor  = 34.9614
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.37011
  norm       = 11.5413
  norm       = 0.0001
  norm       = 14.2763
  Prefactor  = 0.0001
  Prefactor  = 78.5251
  norm       = 1.78576
  Prefactor  = 0.000100202
  norm       = 0.0001
  Prefactor  = 72.8326
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.12365
  Normalizat = 1.18574
  Prefactor  = 0.591441
 **********
 **   18 **HESSE 
 **********

 FCN=   5007.992     FROM HESSE     STATUS=OK           553 CALLS     4260 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     120.23        82.507        .18353E-03   -1.3511    
   2  Prefactor     .10000E-03    .78818        .61325E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.1353        .15662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     134.32        80.873        .17375E-03   -1.3385    
   5  Prefactor     .10000E-03    8.2515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8053        22.686        .15381E-03   -1.5186    
   7  Prefactor     1.5013        31.046        .17483E-02   -1.5463    
   8  Prefactor     1.6970        7.8795        .16131E-02   -1.5447    
   9  norm          .10000E-03    2.9935        .11843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10011E-03    85.424        .47576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.961        14.428        .67743E-04   -1.4525    
  12  norm          .10000E-03    1.4911        .10685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3701        17.481        .11006E-02   -1.5341    
  15  norm          11.541        10.717        .11792E-03   -1.5028    
  16  norm          .10000E-03    1.4475        .83136E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.276        9.7082        .10602E-03   -1.4952    
  18  Prefactor     .10000E-03    21.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     78.525        63.162        .45307E-04   -1.3933    
  20  norm          1.7858        2.4021        .12413E-03   -1.5441    
  21  Prefactor     .10020E-03    60.682        .44135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.2117        .75953E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     72.833        99.973        .23495E-03   -1.3999    
  24  Prefactor     .10000E-03    9.4474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    1.2004        .75679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    1.8133        .92914E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     7.1237        19.024        .15031E-03   -1.5174    
  28  Normalizat    1.1857        .22988        .21249E-03   -.87045    
  29  Prefactor     .59144        .23138        .30815E-03   -1.0795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83952e-09
Minuit parameter uncertainties:
  1  82.5855
  2  6.35513e-07
  3  8.61832e-07
  4  80.9401
  5  2.91591e-06
  6  22.7149
  7  13.6619
  8  7.31481
  9  9.38337e-06
  10  0.00621408
  11  14.4295
  12  7.19442e-05
  13  1.07409e-05
  14  15.3579
  15  10.7184
  16  4.00012e-07
  17  9.7093
  18  2.57755e-05
  19  63.2155
  20  2.40221
  21  0.00700142
  22  2.55078e-06
  23  100.204
  24  1.42376e-05
  25  7.4087e-07
  26  4.81813e-06
  27  19.0399
  28  0.230077
  29  0.231752
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.428e+01  9.709e+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:  5.914e-01  2.318e-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.186e+00  2.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.46
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 4.44e-08 +/- 3.02e-08
Energy Flux (Fixed Index): 1.78e-05 +/- 1.21e-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) = 5007.67151915
delta logL = 0.3200493808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5007.66702255
delta logL = 0.324545975076

Fit tolerance = 1e-08

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

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

 FCN=   5007.667     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.544        131.03        .27202E-02    .71698E-04
   2  alpha         2.8764        3.7233        .37951        .40831E-04
   3  Normalizat    1.1231        .95485E-01    .37126E-01   -.13104E-05
   4  Prefactor     .63263        .72857E-01    .67488E-01    .16257E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.544
  alpha      = 2.87642
  Normalizat = 1.1231
  Prefactor  = 0.632635
 **********
 **   18 **HESSE 
 **********

 FCN=   5007.667     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.544        10.478        .10881E-03   -1.4972    
   2  alpha         2.8764        .91057        .13475E-01    .15114    
   3  Normalizat    1.1231        .23234        .21724E-03   -.89014    
   4  Prefactor     .63263        .23690        .29865E-03   -1.0623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49868e-12
Minuit parameter uncertainties:
  1  10.4799
  2  0.932542
  3  0.23255
  4  0.237279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794171': 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) = 5007.66701989
delta logL = 0.324548639662

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.354e+01  1.048e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.876e+00  9.325e-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:  6.326e-01  2.373e-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.123e+00  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.88 +/- 0.93
Photon Flux (Free Index): 9.16e-08 +/- 7.16e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.16e-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/794171/cmap_HighResolution_678931201_679190401_4FGL_J2325.4-3559_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.44e-08', energy_flux2='2.10e-05', photon_flux_error='3.02e-08', dlogl='3.25e-01', energy_flux='1.78e-05', photon_flux2='9.16e-08', job_status='DONE', time_completed='2022-07-11 00:49:26.987389', photon_index_error2='0.93', photon_index2='2.88', ts='5.46', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', energy_flux_error2='1.16e-05', EG='1.19', time_epoch_completed='1657525766.99', return_code='0', job_id='794171', GAL2='0.63', EG2='1.12', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='7.16e-08', ts2='6.11', photon_index='2.13' WHERE bin_id='1696' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:49:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 794171: <4FGL_J2325.4-3559_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:35:29 2022
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:35:31 2022
Terminated at Mon Jul 11 00:49:27 2022
Results reported at Mon Jul 11 00:49:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1696 351.359 -35.9878 678931201 679190401 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 :                                   632.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             256.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            838 sec.

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

