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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1724
RA = 351.35, Dec = -48.0022
tmin = 686188801, tmax = 686448001
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='707970', job_status='RUN', time_executed='2022-10-03 01:19:13.913043', time_epoch_executed='1664785153.91' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707970

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707970/ft1_4FGL_J2325.4-4800_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707970/ft2_4FGL_J2325.4-4800_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707970/ft1_4FGL_J2325.4-4800_daily_bin1724.fits outfile=/scratch/kocevski/707970/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1724.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=686188801.0 tmax=686448001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.68
user 4.43
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/707970/ft2_4FGL_J2325.4-4800_daily_bin1724.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/707970/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1724.fits evtable="EVENTS" outfile="/scratch/kocevski/707970/ft1_filtered_4FGL_J2325.4-4800_daily_bin1724.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.53
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 498

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707970/ft1_filtered_4FGL_J2325.4-4800_daily_bin1724.fits" evtable="EVENTS" scfile=/scratch/kocevski/707970/ft2_4FGL_J2325.4-4800_daily_bin1724.fits sctable="SC_DATA" outfile=/scratch/kocevski/707970/ltcube_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.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/707970/ft2_4FGL_J2325.4-4800_daily_bin1724.fits
.....................!
real 12.83
user 12.41
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707970/ft1_filtered_4FGL_J2325.4-4800_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707970/ft2_4FGL_J2325.4-4800_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/707970/ltcube_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.fits outfile=/scratch/kocevski/707970/expmap_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.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/707970/ltcube_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.fits
.....................!
real 192.40
user 185.00
sys 6.71

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/707970/ft1_filtered_4FGL_J2325.4-4800_daily_bin1724.fits scfile=/scratch/kocevski/707970/ft2_4FGL_J2325.4-4800_daily_bin1724.fits outfile=/scratch/kocevski/707970/cmap_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707970/ft1_filtered_4FGL_J2325.4-4800_daily_bin1724.fits scfile=/scratch/kocevski/707970/ft2_4FGL_J2325.4-4800_daily_bin1724.fits outfile=/scratch/kocevski/707970/cmap_HighResolution_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/707970/ft1_filtered_4FGL_J2325.4-4800_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707970/ft2_4FGL_J2325.4-4800_daily_bin1724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/707970/Model_4FGL_J2325.4-4800_daily_bin1724.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/707970/ft1_filtered_4FGL_J2325.4-4800_daily_bin1724.fits.....................!
real 41.10
user 39.46
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/707970/ft1_filtered_4FGL_J2325.4-4800_daily_bin1724.fits', '/scratch/kocevski/707970/ft2_4FGL_J2325.4-4800_daily_bin1724.fits', expMap='/scratch/kocevski/707970/expmap_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.fits', expCube='/scratch/kocevski/707970/ltcube_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/707970/Model_4FGL_J2325.4-4800_daily_bin1724.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/707970/ft1_filtered_4FGL_J2325.4-4800_daily_bin1724.fits
Spacecraft file(s): /scratch/kocevski/707970/ft2_4FGL_J2325.4-4800_daily_bin1724.fits
Exposure map: /scratch/kocevski/707970/expmap_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.fits
Exposure cube: /scratch/kocevski/707970/ltcube_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/707970/Model_4FGL_J2325.4-4800_daily_bin1724.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) = 5473.39119172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66775E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32578E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62230E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18333E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49062E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.6353       1.0000          .0000       .10000E+07
     7 'norm      '    .22627E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .18938E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .49210E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .17078E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .21230E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11861E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.776       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.8171       1.0000          .0000       .10000E+07
    15 'norm      '    .10678E-03   1.0000          .0000       .10000E+07
    16 'norm      '    1.7696       1.0000          .0000       .10000E+07
    17 'norm      '    .14720E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    12.043       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.8709       1.0000          .0000       .10000E+07
    20 'norm      '    .44564E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .36077       1.0000          .0000       .10000E+07
    22 'norm      '    .91131       1.0000          .0000       .10000E+07
    23 'norm      '    .30890E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .19645E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    4.4745       1.0000          .0000       .10000E+07
    26 'Prefactor '    .44287E-04   1.0000          .0000       .10000E+07
    27 'norm      '    .67947E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    .56408       1.0000          .0000       .10000E+07
    29 'Prefactor '    .19884E-05   1.0000          .0000       .10000E+07
    30 'Normalizat'    .92083       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0108       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=   5473.316     FROM MIGRAD    STATUS=CONVERGED    225 CALLS     2984 TOTAL
                     EDM=   .76E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11747E-05    27.312       -.16222E-06** at limit **
   2  Prefactor     .14905E-06    9.8204        .37522E-07** at limit **
   3  Prefactor     .21122E-06    14.271       -.20538E-07** at limit **
   4  Prefactor     .21094E-08    3.5859        .15902E-07** at limit **
   5  Prefactor      .0000        3.4072       -.98032E-07** at limit **
   6  Prefactor     7.6802        3.9270       -.16286E-08    .76589E-02
   7  norm           .0000        1.7576       -.41672E-07** at limit **
   8  Prefactor      .0000        2.6395        .37957E-07** at limit **
   9  Prefactor     .13878E-08    9.9273        .51585E-07** at limit **
  10  Prefactor      .0000        1.7951       -.93350E-07** at limit **
  11  Prefactor     .55511E-10    4.7612        .57379E-07** at limit **
  12  Prefactor      .0000        2.2552       -.45823E-07** at limit **
  13  Prefactor     23.154        10.356        .20264E-07    .35647E-01
  14  Prefactor     8.8458        2.4499       -.10935E-08    .22903E-02
  15  norm          .66613E-09    4.1364       -.27275E-07** at limit **
  16  norm          1.7594        3.8474        .54046E-07   -.10465E-03
  17  norm           .0000        1.5902       -.13099E-07** at limit **
  18  Prefactor     12.146        6.3863        .64989E-08    .49527E-04
  19  Prefactor     11.692        30.474        .32407E-07    .14764E-01
  20  norm          .88818E-09    8.7912       -.49918E-07** at limit **
  21  Prefactor     .43043E-06    23.366        .12583E-06** at limit **
  22  norm          .91624        1.2078        .18324E-07   -.21674E-03
  23  norm          .16098E-08    11.153        .60541E-07** at limit **
  24  Prefactor     .38858E-09    3.8486       -.31777E-07** at limit **
  25  Prefactor     4.4871        4.0227       -.21733E-07    .13276E-03
  26  Prefactor     .23870E-08    16.340        .97241E-07** at limit **
  27  norm          .37859E-07    107.47        .30303E-06** at limit **
  28  Prefactor     .56621        7.1757        .99825E-07    .20325E-03
  29  Prefactor      .0000        3.2026        .35628E-07** at limit **
  30  Normalizat    .91854        .21212        .64171E-06   -.19661E-05
  31  Prefactor     1.0121        .22592       -.56946E-06   -.10363E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.17473e-06
  Prefactor  = 1.49047e-07
  Prefactor  = 2.1122e-07
  Prefactor  = 2.10942e-09
  Prefactor  = 0
  Prefactor  = 7.68016
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.38778e-09
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 23.1538
  Prefactor  = 8.84581
  norm       = 6.66134e-10
  norm       = 1.75936
  norm       = 0
  Prefactor  = 12.1464
  Prefactor  = 11.6924
  norm       = 8.88178e-10
  Prefactor  = 4.30433e-07
  norm       = 0.916242
  norm       = 1.60982e-09
  Prefactor  = 3.88578e-10
  Prefactor  = 4.48706
  Prefactor  = 2.38698e-09
  norm       = 3.78586e-08
  Prefactor  = 0.566209
  Prefactor  = 0
  Normalizat = 0.918539
  Prefactor  = 1.01208
 **********
 **   18 **HESSE 
 **********

 FCN=   5473.316     FROM HESSE     STATUS=OK           676 CALLS     3660 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11747E-05    41.423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14905E-06    31.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21122E-06    32.882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .21094E-08    4.0483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.4078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.6802        10.156        .36268E-03   -1.5653    
   7  norm           .0000        1.7582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.6162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .13878E-08    9.9621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    4.8610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.2523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     23.154        23.590        .20513E-03   -1.5612    
  14  Prefactor     8.8458        9.8790        .33732E-03   -1.5648    
  15  norm          .66613E-09    4.2969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7594        3.8972        .78693E-03   -1.5681    
  17  norm           .0000        1.5888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.146        7.0971        .28841E-03   -1.5638    
  19  Prefactor     11.692        35.891        .31870E-03   -1.5640    
  20  norm          .88818E-09    8.8229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .43043E-06    12.549        .94181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .91624        1.2386        .44981E-03   -1.5689    
  23  norm          .16098E-08    10.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .38858E-09    3.8789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.4871        4.0849        .47577E-03   -1.5666    
  26  Prefactor     .23870E-08    30.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .37859E-07    107.63        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .56621        7.2798        .72509E-03   -1.5693    
  29  Prefactor      .0000        3.1907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .91854        .17989        .45167E-01   -.95812    
  31  Prefactor     1.0121        .18828        .43218E-01   -.92328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03505e-07
Minuit parameter uncertainties:
  1  0.0139516
  2  0.00436723
  3  0.00527049
  4  0.000183899
  5  1.54876e-05
  6  10.1558
  7  1.43444e-06
  8  1.92897e-06
  9  0.000233766
  10  2.305e-06
  11  3.55316e-05
  12  2.50959e-06
  13  23.5901
  14  9.87898
  15  0.000106865
  16  3.89723
  17  9.99319e-07
  18  7.09715
  19  35.8914
  20  0.000177207
  21  0.00464805
  22  1.23863
  23  0.000265643
  24  7.80327e-05
  25  4.08486
  26  0.000537813
  27  0.00403815
  28  4.0605
  29  4.73921e-07
  30  0.180011
  31  0.188407
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.215e+01  7.097e+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.012e+00  1.884e-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:  9.185e-01  1.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.54
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.23e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 2.84e-05 +/- 1.66e-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) = 5472.88645662
delta logL = 0.429314236132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5472.8859106
delta logL = 0.429860258695

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.693       1.0000          .0000       .10000E+07
     2 'Index     '    1.7328       1.0000          .0000       10.000    
     3 'Normalizat'    .93761       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99995       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=   5472.886     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      256 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.664        233.77        .24487E-03   -.18254E-02
   2  Index         1.7311        5.7474        .15690        .65855E-04
   3  Normalizat    .93768        .16173        .45380E-01    .26670E-05
   4  Prefactor     1.0000        .11079        .46266E-01    .49538E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.6639
  Index      = 1.73113
  Normalizat = 0.937679
  Prefactor  = 1.00004
 **********
 **   18 **HESSE 
 **********

 FCN=   5472.886     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .98E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.664        9.3288        .48974E-04   -1.5626    
   2  Index         1.7311        .38656        .59044E-02   -.71256    
   3  Normalizat    .93768        .20342        .22934E-03   -.95149    
   4  Prefactor     1.0000        .22327        .24418E-03   -.92728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.77146e-12
Minuit parameter uncertainties:
  1  9.3288
  2  0.387232
  3  0.203583
  4  0.223475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707970': 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) = 5472.88589006
delta logL = 0.429880793214

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.666e+01  9.329e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  1.731e+00  3.872e-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.000e+00  2.235e-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:  9.377e-01  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.45
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.73 +/- 0.39
Photon Flux (Free Index): 3.60e-08 +/- 2.51e-08
Energy Flux (Free Index): 5.33e-05 +/- 4.98e-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/707970/cmap_HighResolution_686188801_686448001_4FGL_J2325.4-4800_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.23e-08', energy_flux2='5.33e-05', photon_flux_error='3.05e-08', dlogl='4.30e-01', energy_flux='2.84e-05', photon_flux2='3.60e-08', job_status='DONE', time_completed='2022-10-03 01:29:56.533945', photon_index_error2='0.39', photon_index2='1.73', ts='9.54', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='4.98e-05', EG='0.92', time_epoch_completed='1664785796.53', return_code='0', job_id='707970', GAL2='1.00', EG2='0.94', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='2.51e-08', ts2='10.45', photon_index='2.11' WHERE bin_id='1724' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 01:29:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 707970: <4FGL_J2325.4-4800_daily_bin1724> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1724> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Oct  3 01:15:49 2022
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 01:18:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 01:18:31 2022
Terminated at Mon Oct  3 01:29:57 2022
Results reported at Mon Oct  3 01:29:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1724 351.35 -48.0022 686188801 686448001 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 :                                   644.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            848 sec.

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

