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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1676
RA = 351.359, Dec = -35.9878
tmin = 673747201, tmax = 674006401
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='68804', job_status='RUN', time_executed='2022-05-12 01:32:49.103976', time_epoch_executed='1652344369.1' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68804

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68804/ft1_4FGL_J2325.4-3559_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68804/ft2_4FGL_J2325.4-3559_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68804/ft1_4FGL_J2325.4-3559_daily_bin1676.fits outfile=/scratch/kocevski/68804/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1676.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=673747201.0 tmax=674006401.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.89
user 3.59
sys 0.23

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

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

Number of photons that the gtmktime cut: 445

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68804/ft1_filtered_4FGL_J2325.4-3559_daily_bin1676.fits" evtable="EVENTS" scfile=/scratch/kocevski/68804/ft2_4FGL_J2325.4-3559_daily_bin1676.fits sctable="SC_DATA" outfile=/scratch/kocevski/68804/ltcube_673747201_674006401_4FGL_J2325.4-3559_daily_bin1676.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/68804/ft2_4FGL_J2325.4-3559_daily_bin1676.fits
.....................!
real 14.53
user 13.94
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68804/ft1_filtered_4FGL_J2325.4-3559_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68804/ft2_4FGL_J2325.4-3559_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/68804/ltcube_673747201_674006401_4FGL_J2325.4-3559_daily_bin1676.fits outfile=/scratch/kocevski/68804/expmap_673747201_674006401_4FGL_J2325.4-3559_daily_bin1676.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/68804/ltcube_673747201_674006401_4FGL_J2325.4-3559_daily_bin1676.fits
.....................!
real 196.34
user 185.66
sys 6.40

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/68804/ft1_filtered_4FGL_J2325.4-3559_daily_bin1676.fits scfile=/scratch/kocevski/68804/ft2_4FGL_J2325.4-3559_daily_bin1676.fits outfile=/scratch/kocevski/68804/cmap_673747201_674006401_4FGL_J2325.4-3559_daily_bin1676.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68804/ft1_filtered_4FGL_J2325.4-3559_daily_bin1676.fits scfile=/scratch/kocevski/68804/ft2_4FGL_J2325.4-3559_daily_bin1676.fits outfile=/scratch/kocevski/68804/cmap_HighResolution_673747201_674006401_4FGL_J2325.4-3559_daily_bin1676.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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/68804/ft1_filtered_4FGL_J2325.4-3559_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68804/ft2_4FGL_J2325.4-3559_daily_bin1676.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/68804/Model_4FGL_J2325.4-3559_daily_bin1676.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/68804/ft1_filtered_4FGL_J2325.4-3559_daily_bin1676.fits.....................!
real 40.22
user 38.38
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.580       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9700       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16108E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .21948       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.421       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.394       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10435E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10393E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.005       1.0000         .10000E-03   10000.    
    12 'norm      '    .37160       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0424       1.0000         .10000E-03   10000.    
    15 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2529       1.0000         .10000E-03   10000.    
    17 'norm      '    26.772       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19391E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.1785       1.0000         .10000E-03   10000.    
    22 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    131.52       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .12819E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    11.020       1.0000         .10000E-03   10000.    
    27 'Prefactor '    18.412       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0217       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .80813       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=   4935.543     FROM MIGRAD    STATUS=CONVERGED    777 CALLS     3751 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.555        66.564        .70590E-07   -.19866E-05
   2  Prefactor     3.9697        3.5647        .40378E-07   -.12476E-03
   3  Prefactor     .10000E-03    84.576        .25999E-05** at limit **
   4  Prefactor     .91809E-01    33.728       -.85202E-06    .80418E-04
   5  Prefactor     20.425        17.814       -.54676E-06    .10111E-04
   6  Prefactor     .10000E-03    7.0064       -.16643E-07** at limit **
   7  Prefactor     18.393        13.199        .33933E-06   -.17492E-03
   8  Prefactor     .10000E-03    1.7469       -.88319E-08** at limit **
   9  norm          .10000E-03    4.1352       -.64503E-08** at limit **
  10  Prefactor     .10000E-03    17.824       -.29294E-06** at limit **
  11  Prefactor     28.008        17.018        .13646E-05    .11556E-03
  12  norm          .37158        1.1782       -.10013E-05   -.18159E-03
  13  Prefactor     .10000E-03    17.509        .99865E-07** at limit **
  14  Prefactor     2.0520        12.415        .11755E-05   -.80959E-04
  15  norm          .10000E-03    7.7723       -.55967E-07** at limit **
  16  norm          1.2530        3.2122        .24609E-06   -.16460E-03
  17  norm          26.764        11.246        .45964E-08   -.37976E-04
  18  Prefactor     .10000E-03    12.846        .14370E-07** at limit **
  19  Prefactor     .10000E-03    380.69        .27361E-05** at limit **
  20  norm          .10000E-03    2.3271       -.56962E-08** at limit **
  21  Prefactor     6.1798        14.084        .85595E-06   -.20725E-04
  22  norm          .10000E-03    2.1427        .52271E-09** at limit **
  23  Prefactor     .10000E-03    86.337       -.25536E-05** at limit **
  24  Prefactor     131.55        66.995       -.51016E-06   -.51150E-05
  25  Prefactor     .10000E-03    7.6516        .47645E-07** at limit **
  26  Prefactor     11.020        6.0158       -.51830E-07   -.17386E-04
  27  Prefactor     18.398        37.403        .11151E-06   -.20187E-04
  28  Normalizat    1.0219        .19112        .14579E-07   -.38841E-04
  29  Prefactor     .80766        .20323        .35924E-06   -.20194E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.5545
  Prefactor  = 3.96971
  Prefactor  = 0.0001
  Prefactor  = 0.091809
  Prefactor  = 20.4253
  Prefactor  = 0.0001
  Prefactor  = 18.3925
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.0085
  norm       = 0.371585
  Prefactor  = 0.0001
  Prefactor  = 2.05199
  norm       = 0.0001
  norm       = 1.25304
  norm       = 26.7642
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 6.17982
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 131.546
  Prefactor  = 0.0001
  Prefactor  = 11.02
  Prefactor  = 18.3985
  Normalizat = 1.02189
  Prefactor  = 0.807662
 **********
 **   18 **HESSE 
 **********

 FCN=   4935.543     FROM HESSE     STATUS=OK           559 CALLS     4310 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.555        66.821        .61435E-04   -1.4402    
   2  Prefactor     3.9697        3.5644        .12091E-03   -1.5309    
   3  Prefactor     .10000E-03    85.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .91809E-01    35.798        .13692       -1.5647    
   5  Prefactor     20.425        17.774        .88634E-04   -1.4804    
   6  Prefactor     .10000E-03    7.0142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.393        13.139        .46694E-03   -1.4850    
   8  Prefactor     .10000E-03    1.7483        .90681E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.2326        .27815E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     28.008        16.648        .75705E-04   -1.4649    
  12  norm          .37158        1.1698        .83647E-04   -1.5586    
  13  Prefactor     .10000E-03    17.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.0520        12.542        .28934E-03   -1.5421    
  15  norm          .10000E-03    7.8776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2530        3.1343        .19579E-03   -1.5484    
  17  norm          26.764        11.247        .77425E-04   -1.4673    
  18  Prefactor     .10000E-03    12.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    390.23        .40513E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.3565        .10459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.1798        13.994        .16151E-03   -1.5211    
  22  norm          .10000E-03    2.1874        .10039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    86.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     131.55        66.985        .17555E-03   -1.3409    
  25  Prefactor     .10000E-03    7.8861        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     11.020        6.0210        .12069E-03   -1.5044    
  27  Prefactor     18.398        37.389        .93342E-04   -1.4850    
  28  Normalizat    1.0219        .22844        .23133E-03   -.92301    
  29  Prefactor     .80766        .24139        .27818E-03   -.99447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09625e-10
Minuit parameter uncertainties:
  1  66.9393
  2  3.56458
  3  0.000281903
  4  3.62598
  5  17.7785
  6  2.70665e-06
  7  13.1412
  8  1.17032e-07
  9  5.53747e-06
  10  3.48014e-05
  11  16.6509
  12  1.16991
  13  8.05475e-07
  14  10.149
  15  4.77437e-06
  16  3.13469
  17  11.2479
  18  6.73194e-06
  19  0.000999936
  20  3.09529e-06
  21  14.0012
  22  2.43783e-06
  23  6.58536e-05
  24  67.0236
  25  8.13458e-06
  26  6.02128
  27  37.4365
  28  0.228661
  29  0.241702
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.676e+01  1.125e+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.077e-01  2.417e-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.022e+00  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.78
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 8.33e-08 +/- 3.50e-08
Energy Flux (Fixed Index): 3.34e-05 +/- 1.41e-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) = 4935.25223806
delta logL = 0.290465795271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4935.24817196
delta logL = 0.294531896578

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.194       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8143       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79531       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=   4935.248     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      202 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.194        12.132        .19206E-02   -.12638E-02
   2  alpha         1.8143        .39851        .25691       -.18168E-04
   3  Normalizat    1.0412        .18480        .41187E-01    .68386E-05
   4  Prefactor     .79533        .20020        .63328E-01    .13927E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 27.1941
  alpha      = 1.81427
  Normalizat = 1.04121
  Prefactor  = 0.795331
 **********
 **   18 **HESSE 
 **********

 FCN=   4935.248     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.194        11.727        .76822E-04   -1.4665    
   2  alpha         1.8143        .40277        .10834E-01   -.27785    
   3  Normalizat    1.0412        .21795        .22942E-03   -.91662    
   4  Prefactor     .79533        .23580        .28012E-03   -.99901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.29825e-10
Minuit parameter uncertainties:
  1  11.7281
  2  0.404681
  3  0.218135
  4  0.236101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68804': 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) = 4935.24817194
delta logL = 0.294531915465

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.719e+01  1.173e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.814e+00  4.047e-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:  7.953e-01  2.361e-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.041e+00  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.32
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.81 +/- 0.40
Photon Flux (Free Index): 6.70e-08 +/- 3.53e-08
Energy Flux (Free Index): 3.95e-05 +/- 1.97e-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/68804/cmap_HighResolution_673747201_674006401_4FGL_J2325.4-3559_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.33e-08', energy_flux2='3.95e-05', photon_flux_error='3.50e-08', dlogl='2.95e-01', energy_flux='3.34e-05', photon_flux2='6.70e-08', job_status='DONE', time_completed='2022-05-12 01:43:50.946748', photon_index_error2='0.40', photon_index2='1.81', ts='17.78', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.97e-05', EG='1.02', time_epoch_completed='1652345030.95', return_code='0', job_id='68804', GAL2='0.80', EG2='1.04', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='3.53e-08', ts2='18.32', photon_index='2.13' WHERE bin_id='1676' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:43:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 68804: <4FGL_J2325.4-3559_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1676> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu May 12 01:30:29 2022
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:31:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:31:00 2022
Terminated at Thu May 12 01:43:52 2022
Results reported at Thu May 12 01:43:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1676 351.359 -35.9878 673747201 674006401 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 :                                   655.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            803 sec.

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

