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 70 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1748
RA = 351.359, Dec = -35.9878
tmin = 692409601, tmax = 692668801
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='899416', job_status='RUN', time_executed='2022-12-14 01:26:43.300038', time_epoch_executed='1671010003.3' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899416

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899416/ft1_4FGL_J2325.4-3559_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899416/ft2_4FGL_J2325.4-3559_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899416/ft1_4FGL_J2325.4-3559_daily_bin1748.fits outfile=/scratch/kocevski/899416/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1748.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=692409601.0 tmax=692668801.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.58
user 3.35
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/899416/ft2_4FGL_J2325.4-3559_daily_bin1748.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/899416/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/899416/ft1_filtered_4FGL_J2325.4-3559_daily_bin1748.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.47
user 0.32
sys 0.14

Number of photons that the gtmktime cut: 378

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899416/ft1_filtered_4FGL_J2325.4-3559_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/899416/ft2_4FGL_J2325.4-3559_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/899416/ltcube_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.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/899416/ft2_4FGL_J2325.4-3559_daily_bin1748.fits
.....................!
real 11.99
user 11.65
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899416/ft1_filtered_4FGL_J2325.4-3559_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/899416/ft2_4FGL_J2325.4-3559_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/899416/ltcube_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.fits outfile=/scratch/kocevski/899416/expmap_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.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/899416/ltcube_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.fits
.....................!
real 193.74
user 188.11
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/899416/ft1_filtered_4FGL_J2325.4-3559_daily_bin1748.fits scfile=/scratch/kocevski/899416/ft2_4FGL_J2325.4-3559_daily_bin1748.fits outfile=/scratch/kocevski/899416/cmap_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899416/ft1_filtered_4FGL_J2325.4-3559_daily_bin1748.fits scfile=/scratch/kocevski/899416/ft2_4FGL_J2325.4-3559_daily_bin1748.fits outfile=/scratch/kocevski/899416/cmap_HighResolution_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.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/899416/ft1_filtered_4FGL_J2325.4-3559_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/899416/ft2_4FGL_J2325.4-3559_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/899416/Model_4FGL_J2325.4-3559_daily_bin1748.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/899416/ft1_filtered_4FGL_J2325.4-3559_daily_bin1748.fits.....................!
real 37.92
user 36.63
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/899416/ft1_filtered_4FGL_J2325.4-3559_daily_bin1748.fits', '/scratch/kocevski/899416/ft2_4FGL_J2325.4-3559_daily_bin1748.fits', expMap='/scratch/kocevski/899416/expmap_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.fits', expCube='/scratch/kocevski/899416/ltcube_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/899416/Model_4FGL_J2325.4-3559_daily_bin1748.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  0.000e+00  1.000e+06 ( 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 -5.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/899416/ft1_filtered_4FGL_J2325.4-3559_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/899416/ft2_4FGL_J2325.4-3559_daily_bin1748.fits
Exposure map: /scratch/kocevski/899416/expmap_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.fits
Exposure cube: /scratch/kocevski/899416/ltcube_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/899416/Model_4FGL_J2325.4-3559_daily_bin1748.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) = 4243.07616231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.508       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13027E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .32055E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    16.132       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11928E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.994       1.0000          .0000       .10000E+07
     7 'Prefactor '    .81022E-04   1.0000          .0000       .10000E+07
     8 'norm      '    4.3605       1.0000          .0000       .10000E+07
     9 'Prefactor '    .74519E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    10.615       1.0000          .0000       .10000E+07
    11 'norm      '    2.6096       1.0000          .0000       .10000E+07
    12 'Prefactor '    14.568       1.0000          .0000       .10000E+07
    13 'norm      '    .62099E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .40817E-04   1.0000          .0000       .10000E+07
    15 'norm      '    2.6484       1.0000          .0000       .10000E+07
    16 'Prefactor '    .33961E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .36308E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .83326E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .55567E-02   1.0000          .0000       .10000E+07
    20 'norm      '    1.3789       1.0000          .0000       .10000E+07
    21 'Prefactor '    .47396E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    8.6900       1.0000          .0000       .10000E+07
    23 'Prefactor '    9.6079       1.0000          .0000       .10000E+07
    24 'Prefactor '    .35290E-01   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1791       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .72114       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4243.037     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2264 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.640        81.146       -.17499E-04   -.20385E-02
   2  Prefactor     .16653E-09    8.5097        .34859E-07** at limit **
   3  Prefactor     .21448E-05    7.4046       -.26723E-05** at limit **
   4  Prefactor     16.239        1.3241       -.29759E-06    .52663E-02
   5  Prefactor     .65503E-08    10.921       -.88756E-06** at limit **
   6  Prefactor     14.107        1.7270       -.35917E-06   -.12398E-01
   7  Prefactor      .0000        3.5981       -.10236E-05** at limit **
   8  norm          4.4427        6.5512       -.14203E-05    .59750E-02
   9  Prefactor     .20617E-05    8.0681       -.23272E-05** at limit **
  10  Prefactor     10.110        4.5795       -.24469E-05   -.46828E-01
  11  norm          2.6094        1.1065       -.46525E-07    .15247E-01
  12  Prefactor     15.234        5.3003        .16090E-05    .49820E-01
  13  norm          .22204E-09    5.6131        .36898E-05** at limit **
  14  norm           .0000        1.8215       -.39383E-06** at limit **
  15  norm          2.6185        8.2368       -.74851E-06    .35846E-03
  16  Prefactor     .94874E-06    39.353       -.18210E-04** at limit **
  17  Prefactor     .23981E-07    18.435        .28708E-05** at limit **
  18  norm          .55511E-10    1.8151       -.56331E-06** at limit **
  19  Prefactor     .12224E-06    12.005        .11259E-05** at limit **
  20  norm          1.3851        4.7611        .26729E-05   -.18200E-02
  21  Prefactor     .12668E-06    61.900        .96018E-05** at limit **
  22  Prefactor     8.5715        7.7478        .10468E-06   -.49950E-03
  23  Prefactor     9.5973        7.1080       -.45040E-06    .23931E-03
  24  Prefactor     .11102E-09    26.434       -.35587E-05** at limit **
  25  Normalizat    1.1756        .25562       -.41078E-04    .30530E-03
  26  Prefactor     .72232        .25926        .34382E-04    .22849E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.6403
  Prefactor  = 1.66533e-10
  Prefactor  = 2.14478e-06
  Prefactor  = 16.2386
  Prefactor  = 6.55032e-09
  Prefactor  = 14.1068
  Prefactor  = 0
  norm       = 4.44271
  Prefactor  = 2.06174e-06
  Prefactor  = 10.11
  norm       = 2.60942
  Prefactor  = 15.2336
  norm       = 2.22045e-10
  norm       = 0
  norm       = 2.61846
  Prefactor  = 9.48741e-07
  Prefactor  = 2.39808e-08
  norm       = 5.55112e-11
  Prefactor  = 1.22236e-07
  norm       = 1.38513
  Prefactor  = 1.26676e-07
  Prefactor  = 8.57147
  Prefactor  = 9.59725
  Prefactor  = 1.11022e-10
  Normalizat = 1.17558
  Prefactor  = 0.722323
 **********
 **   18 **HESSE 
 **********

 FCN=   4243.037     FROM HESSE     STATUS=OK           506 CALLS     2770 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.640        80.259        .17025E-03   -1.5579    
   2  Prefactor     .16653E-09    8.4618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21448E-05    14.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.239        22.357        .24910E-03   -1.5627    
   5  Prefactor     .65503E-08    11.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.107        16.691        .26749E-03   -1.5633    
   7  Prefactor      .0000        3.6030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.4427        7.2049        .48211E-03   -1.5666    
   9  Prefactor     .20617E-05    15.250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.110        22.386        .30727E-03   -1.5644    
  11  norm          2.6094        1.2764        .63119E-04   -1.5676    
  12  Prefactor     15.234        24.941        .26215E-03   -1.5630    
  13  norm          .22204E-09    5.6067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.8225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6185        8.2717        .62618E-03   -1.5676    
  16  Prefactor     .94874E-06    41.466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .23981E-07    18.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55511E-10    1.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12224E-06    12.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.3851        4.7804        .92683E-03   -1.5684    
  21  Prefactor     .12668E-06    62.127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.5715        7.7260        .33979E-03   -1.5649    
  23  Prefactor     9.5973        7.1087        .32306E-03   -1.5646    
  24  Prefactor     .11102E-09    26.390        .16183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1756        .21517        .50777E-01   -.87361    
  26  Prefactor     .72232        .21667        .66756E-01   -1.0266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.60043e-07
Minuit parameter uncertainties:
  1  80.2609
  2  7.07194e-05
  3  0.0111537
  4  22.3575
  5  0.000536737
  6  16.6909
  7  8.22858e-06
  8  7.20491
  9  0.0112145
  10  22.3859
  11  1.27636
  12  24.9413
  13  7.33429e-05
  14  5.4994e-06
  15  8.27177
  16  0.0125447
  17  0.00133742
  18  1.86031e-05
  19  0.00245574
  20  4.78039
  21  0.00561057
  22  7.726
  23  7.10873
  24  0.000102303
  25  0.215336
  26  0.21692
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.618e+00  8.272e+00  0.000e+00  1.000e+06 ( 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 -5.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.223e-01  2.169e-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.176e+00  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 8.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/899416/likelihoodResults_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4243.03566348
delta logL = 0.00120421162501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4243.03564835
delta logL = 0.00121934076651

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6100       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2310       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1745       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72303       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=   4243.036     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      275 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6175        8.3099        .25246E-04    .13510E-04
   2  alpha         2.2323        1.9055        .47799E-01   -.28293E-04
   3  Normalizat    1.1745        .24156        .22459E-03   -.13485E-03
   4  Prefactor     .72304        .25628        .29523E-03   -.54103E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61747
  alpha      = 2.23232
  Normalizat = 1.1745
  Prefactor  = 0.72304
 **********
 **   18 **HESSE 
 **********

 FCN=   4243.036     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6175        8.1836        .10098E-05   -1.5676    
   2  alpha         2.2323        1.8852        .95598E-02   -.10728    
   3  Normalizat    1.1745        .24164        .44917E-04   -.87395    
   4  Prefactor     .72304        .25630        .11809E-04   -1.0263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84774e-11
Minuit parameter uncertainties:
  1  8.1836
  2  2.13999
  3  0.241867
  4  0.256724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899416': 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) = 4243.03564769
delta logL = 0.00122000526244

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.617e+00  8.184e+00  0.000e+00  1.000e+06 ( 1.000e-12)
426        alpha:  2.232e+00  2.140e+00  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00 -5.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.230e-01  2.567e-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.174e+00  2.419e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 351.359 -35.988

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/899416/cmap_HighResolution_692409601_692668801_4FGL_J2325.4-3559_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.26e-05', job_status='DONE', photon_flux_upper_limit='8.12e-08', time_completed='2022-12-14 01:35:41.112655', job_id='899416', GAL2='0.72', fit_tolerance='1e-08', EG2='1.17', EG='1.18', time_epoch_completed='1671010541.11', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.22e-03', ts2='0.13', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1748' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:35:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 899416: <4FGL_J2325.4-3559_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1748> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Dec 14 01:25:23 2022
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:25:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:25:25 2022
Terminated at Wed Dec 14 01:35:41 2022
Results reported at Wed Dec 14 01:35:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1748 351.359 -35.9878 692409601 692668801 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 :                                   540.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            618 sec.

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

