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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1735
RA = 351.35, Dec = -48.0022
tmin = 689040001, tmax = 689299201
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='866734', job_status='RUN', time_executed='2022-11-05 00:37:42.592523', time_epoch_executed='1667633862.59' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866734

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866734/ft1_4FGL_J2325.4-4800_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866734/ft1_4FGL_J2325.4-4800_daily_bin1735.fits outfile=/scratch/kocevski/866734/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1735.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=689040001.0 tmax=689299201.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.64
user 3.41
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.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/866734/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1735.fits evtable="EVENTS" outfile="/scratch/kocevski/866734/ft1_filtered_4FGL_J2325.4-4800_daily_bin1735.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.49
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 592

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866734/ft1_filtered_4FGL_J2325.4-4800_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866734/ltcube_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.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/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.fits
.....................!
real 12.03
user 11.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866734/ft1_filtered_4FGL_J2325.4-4800_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866734/ltcube_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.fits outfile=/scratch/kocevski/866734/expmap_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.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/866734/ltcube_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.fits
.....................!
real 189.55
user 184.83
sys 4.39

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

Setting source of interest to:
4FGL J2325.4-4800 @ 351.35 -48.0022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/866734/ft1_filtered_4FGL_J2325.4-4800_daily_bin1735.fits scfile=/scratch/kocevski/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.fits outfile=/scratch/kocevski/866734/cmap_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.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.35 yref=-48.0022 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866734/ft1_filtered_4FGL_J2325.4-4800_daily_bin1735.fits scfile=/scratch/kocevski/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.fits outfile=/scratch/kocevski/866734/cmap_HighResolution_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.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.35 yref=-48.0022 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/866734/ft1_filtered_4FGL_J2325.4-4800_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866734/Model_4FGL_J2325.4-4800_daily_bin1735.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/866734/ft1_filtered_4FGL_J2325.4-4800_daily_bin1735.fits.....................!
real 44.85
user 43.59
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866734/ft1_filtered_4FGL_J2325.4-4800_daily_bin1735.fits', '/scratch/kocevski/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.fits', expMap='/scratch/kocevski/866734/expmap_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.fits', expCube='/scratch/kocevski/866734/ltcube_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866734/Model_4FGL_J2325.4-4800_daily_bin1735.xml', optimizer='MINUIT')

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

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.164e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/866734/ft1_filtered_4FGL_J2325.4-4800_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866734/ft2_4FGL_J2325.4-4800_daily_bin1735.fits
Exposure map: /scratch/kocevski/866734/expmap_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866734/ltcube_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866734/Model_4FGL_J2325.4-4800_daily_bin1735.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) = 6482.75579793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52466E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    15.502       1.0000          .0000       .10000E+07
     3 'Prefactor '    .68680E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12071E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8117       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21500E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .23078E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13656E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .38985E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.3621       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.8093       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.6460       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.4881       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12195E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .53686E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .22570E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .61285E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.3025       1.0000          .0000       .10000E+07
    19 'Prefactor '    .12780E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .54342       1.0000          .0000       .10000E+07
    21 'Prefactor '    .44695E-04   1.0000          .0000       .10000E+07
    22 'norm      '    2.5111       1.0000          .0000       .10000E+07
    23 'norm      '    .16071E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .23870E-08   1.0000          .0000       .10000E+07
    25 'Prefactor '    .53851       1.0000          .0000       .10000E+07
    26 'Prefactor '    11.546       1.0000          .0000       .10000E+07
    27 'norm      '    .81873E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    .85183E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    .57113E-05   1.0000          .0000       .10000E+07
    30 'Normalizat'    .56899       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1664       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6482.695     FROM MIGRAD    STATUS=CONVERGED    208 CALLS     2350 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14821E-06    8.8828       -.83236E-06** at limit **
   2  Prefactor     15.492        1.0290       -.11192E-08    .22231E-02
   3  Prefactor     .42627E-06    34.486        .83124E-06** at limit **
   4  Prefactor     .20428E-07    4.1037       -.19596E-06** at limit **
   5  Prefactor     4.8110        6.8500       -.43335E-06   -.13453E-01
   6  Prefactor     .38858E-09    2.6520        .72355E-06** at limit **
   7  norm          .16653E-09    1.7474       -.11419E-06** at limit **
   8  Prefactor     .27461E-05    3.0591       -.42582E-06** at limit **
   9  Prefactor     .34178E-06    6.7096       -.41711E-06** at limit **
  10  Prefactor     2.4081        4.3253       -.66123E-07   -.30071E-03
  11  Prefactor     9.8317        1.6175        .25502E-07   -.15724E-01
  12  Prefactor     8.6420        7.0478        .14527E-06    .67434E-03
  13  Prefactor     6.4718        1.0394       -.55567E-08    .30649E-02
  14  Prefactor     .46629E-08    5.8407       -.49714E-06** at limit **
  15  norm          .24036E-07    2.7346        .37231E-06** at limit **
  16  norm          .55511E-10    1.7616       -.22136E-06** at limit **
  17  norm          .22204E-09    1.9291       -.10292E-06** at limit **
  18  Prefactor     4.2652        3.7831       -.28459E-06   -.41472E-03
  19  Prefactor     .24108E-06    67.567       -.25736E-05** at limit **
  20  norm          .54008        2.2411       -.20878E-06    .10951E-02
  21  Prefactor     .55067E-07    3.8839       -.39877E-06** at limit **
  22  norm          2.5128        1.0151        .11573E-06    .27685E-02
  23  norm          .10714E-07    2.9259        .79331E-06** at limit **
  24  Prefactor     .11366E-05    19.765       -.28710E-06** at limit **
  25  Prefactor     .54160        3.1928       -.10127E-05   -.93838E-03
  26  Prefactor     11.523        1.2544       -.70264E-07    .53632E-02
  27  norm          .27723E-05    6.2239       -.22020E-06** at limit **
  28  Prefactor      .0000        1.5368        .10699E-06** at limit **
  29  Prefactor      .0000        .72251        .34431E-06** at limit **
  30  Normalizat    .56912        .16928       -.48996E-05    .52497E-04
  31  Prefactor     1.1663        .19170        .69349E-05    .50309E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.48215e-07
  Prefactor  = 15.4916
  Prefactor  = 4.2627e-07
  Prefactor  = 2.04281e-08
  Prefactor  = 4.81104
  Prefactor  = 3.88578e-10
  norm       = 1.66533e-10
  Prefactor  = 2.74608e-06
  Prefactor  = 3.41782e-07
  Prefactor  = 2.40809
  Prefactor  = 9.83173
  Prefactor  = 8.64198
  Prefactor  = 6.47178
  Prefactor  = 4.66294e-09
  norm       = 2.40363e-08
  norm       = 5.55112e-11
  norm       = 2.22045e-10
  Prefactor  = 4.26517
  Prefactor  = 2.41085e-07
  norm       = 0.540084
  Prefactor  = 5.50671e-08
  norm       = 2.51278
  norm       = 1.07137e-08
  Prefactor  = 1.13665e-06
  Prefactor  = 0.541599
  Prefactor  = 11.5234
  norm       = 2.77234e-06
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.56912
  Prefactor  = 1.16632
 **********
 **   18 **HESSE 
 **********

 FCN=   6482.695     FROM HESSE     STATUS=OK           682 CALLS     3032 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14821E-06    9.2101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.492        15.463        .25412E-03   -1.5629    
   3  Prefactor     .42627E-06    35.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .20428E-07    4.1740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.8110        6.8850        .45839E-03   -1.5664    
   6  Prefactor     .38858E-09    2.6520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .16653E-09    1.7488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27461E-05    2.6549        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .34178E-06    12.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.4081        4.4537        .66652E-03   -1.5677    
  11  Prefactor     9.8317        17.875        .31971E-03   -1.5645    
  12  Prefactor     8.6420        7.0841        .34066E-03   -1.5649    
  13  Prefactor     6.4718        15.232        .39377E-03   -1.5657    
  14  Prefactor     .46629E-08    5.9072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .24036E-07    4.4666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    1.7628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .22204E-09    1.9288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.2652        3.7874        .48544E-03   -1.5667    
  19  Prefactor     .24108E-06    67.250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .54008        2.3225        .74456E-03   -1.5693    
  21  Prefactor     .55067E-07    4.7529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.5128        1.0158        .64453E-03   -1.5676    
  23  norm          .10714E-07    1.2353        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11366E-05    21.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .54160        4.0782        .74927E-03   -1.5693    
  26  Prefactor     11.523        14.920        .29457E-03   -1.5640    
  27  norm          .27723E-05    13.914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor      .0000        1.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor      .0000        .72125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .56912        .14949        .40513E-01   -1.0931    
  31  Prefactor     1.1663        .16508        .35478E-01   -.87374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.90343e-07
Minuit parameter uncertainties:
  1  0.00233661
  2  15.4635
  3  0.00774755
  4  0.000583948
  5  6.88504
  6  6.50697e-05
  7  3.13093e-05
  8  0.00540017
  9  0.0041727
  10  4.4537
  11  17.8746
  12  7.08408
  13  15.2322
  14  0.000332432
  15  0.000655162
  16  2.06866e-05
  17  4.00415e-05
  18  3.78739
  19  0.00805331
  20  2.23996
  21  0.00102298
  22  1.01577
  23  0.000229946
  24  0.00991665
  25  2.97239
  26  14.9196
  27  0.0124218
  28  1.05871e-05
  29  5.55322e-07
  30  0.149596
  31  0.165154
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  4.265e+00  3.787e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.166e+00  1.652e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  5.691e-01  1.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.05
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 1.63e-08
Energy Flux (Fixed Index): 9.96e-06 +/- 8.84e-06

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) = 6482.67906013
delta logL = 0.0156813434123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6482.67110357
delta logL = 0.0236379014668

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8574       1.0000          .0000       .10000E+07
     2 'Index     '    1.9662       1.0000          .0000       10.000    
     3 'Normalizat'    .57187       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6482.671     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      211 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8557        115.91        .45618E-03    .78241E-03
   2  Index         1.9667        5.9701        .20350        .77694E-04
   3  Normalizat    .57188        .52582E-01    .40553E-01   -.73594E-04
   4  Prefactor     1.1646        .51452E-01    .35526E-01   -.11357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.85569
  Index      = 1.96673
  Normalizat = 0.571882
  Prefactor  = 1.16461
 **********
 **   18 **HESSE 
 **********

 FCN=   6482.671     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8557        5.0895        .15502E-04   -1.5664    
   2  Index         1.9667        .64850        .73386E-02   -.65185    
   3  Normalizat    .57188        .16670        .25279E-03   -1.0919    
   4  Prefactor     1.1646        .19120        .20844E-03   -.87427    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05173e-11
Minuit parameter uncertainties:
  1  5.08955
  2  0.651408
  3  0.166845
  4  0.19131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866734': 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) = 6482.67110323
delta logL = 0.0236382414187

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  4.856e+00  5.090e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  1.967e+00  6.514e-01  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.165e+00  1.913e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  5.719e-01  1.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.11
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.97 +/- 0.65
Photon Flux (Free Index): 1.59e-08 +/- 1.81e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.58e-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/866734/cmap_HighResolution_689040001_689299201_4FGL_J2325.4-4800_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='1.20e-05', photon_flux_error='1.63e-08', dlogl='2.36e-02', energy_flux='9.96e-06', photon_flux2='1.59e-08', job_status='DONE', time_completed='2022-11-05 00:48:05.257845', photon_index_error2='0.65', photon_index2='1.97', ts='4.05', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='0.57', time_epoch_completed='1667634485.26', return_code='0', job_id='866734', GAL2='1.16', EG2='0.57', return_code2='0', energy_flux_error='8.84e-06', photon_flux_error2='1.81e-08', ts2='4.11', photon_index='2.11' WHERE bin_id='1735' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:48:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 866734: <4FGL_J2325.4-4800_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:30 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:31 2022
Terminated at Sat Nov  5 00:48:06 2022
Results reported at Sat Nov  5 00:48:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1735 351.35 -48.0022 689040001 689299201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-4800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   624.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

