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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1765
RA = 351.35, Dec = -48.0022
tmin = 696816001, tmax = 697075201
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='649814', job_status='RUN', time_executed='2023-02-03 01:53:58.432944', time_epoch_executed='1675418038.43' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649814/ft1_4FGL_J2325.4-4800_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649814/ft2_4FGL_J2325.4-4800_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649814/ft1_4FGL_J2325.4-4800_daily_bin1765.fits outfile=/scratch/kocevski/649814/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1765.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=696816001.0 tmax=697075201.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.65
user 3.41
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/649814/ft2_4FGL_J2325.4-4800_daily_bin1765.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/649814/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/649814/ft1_filtered_4FGL_J2325.4-4800_daily_bin1765.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 390

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649814/ft1_filtered_4FGL_J2325.4-4800_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/649814/ft2_4FGL_J2325.4-4800_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/649814/ltcube_696816001_697075201_4FGL_J2325.4-4800_daily_bin1765.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/649814/ft2_4FGL_J2325.4-4800_daily_bin1765.fits
.....................!
real 14.54
user 14.08
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649814/ft1_filtered_4FGL_J2325.4-4800_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649814/ft2_4FGL_J2325.4-4800_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/649814/ltcube_696816001_697075201_4FGL_J2325.4-4800_daily_bin1765.fits outfile=/scratch/kocevski/649814/expmap_696816001_697075201_4FGL_J2325.4-4800_daily_bin1765.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/649814/ltcube_696816001_697075201_4FGL_J2325.4-4800_daily_bin1765.fits
.....................!
real 192.07
user 186.57
sys 5.10

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/649814/ft1_filtered_4FGL_J2325.4-4800_daily_bin1765.fits scfile=/scratch/kocevski/649814/ft2_4FGL_J2325.4-4800_daily_bin1765.fits outfile=/scratch/kocevski/649814/cmap_696816001_697075201_4FGL_J2325.4-4800_daily_bin1765.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649814/ft1_filtered_4FGL_J2325.4-4800_daily_bin1765.fits scfile=/scratch/kocevski/649814/ft2_4FGL_J2325.4-4800_daily_bin1765.fits outfile=/scratch/kocevski/649814/cmap_HighResolution_696816001_697075201_4FGL_J2325.4-4800_daily_bin1765.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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/649814/ft1_filtered_4FGL_J2325.4-4800_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649814/ft2_4FGL_J2325.4-4800_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/649814/Model_4FGL_J2325.4-4800_daily_bin1765.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/649814/ft1_filtered_4FGL_J2325.4-4800_daily_bin1765.fits.....................!
real 35.10
user 33.75
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12306E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    31.253       1.0000          .0000       .10000E+07
     3 'Prefactor '    .46568E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .55825E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    15.627       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15616E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .39320E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .17606E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .67502E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.0100       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20427       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.3348       1.0000          .0000       .10000E+07
    13 'Prefactor '    101.85       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.6073       1.0000          .0000       .10000E+07
    15 'norm      '    .27305E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .67441E-04   1.0000          .0000       .10000E+07
    17 'norm      '    5.8877       1.0000          .0000       .10000E+07
    18 'Prefactor '    .25480E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    17.713       1.0000          .0000       .10000E+07
    20 'norm      '    .14365E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .10883E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .83022       1.0000          .0000       .10000E+07
    23 'norm      '    .18006E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    .38913E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .97145E-07   1.0000          .0000       .10000E+07
    26 'Prefactor '    25.528       1.0000          .0000       .10000E+07
    27 'norm      '    .60852E-04   1.0000          .0000       .10000E+07
    28 'Prefactor '    3.6396       1.0000          .0000       .10000E+07
    29 'Prefactor '    .14433E-04   1.0000          .0000       .10000E+07
    30 'Normalizat'    .93864       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .93270       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=   4279.836     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2911 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81557E-06    20.029       -.19814E-06** at limit **
   2  Prefactor     31.606        4.3732       -.13147E-06    .30090E-01
   3  Prefactor     .22887E-05    10.955        .44446E-06** at limit **
   4  Prefactor     .11774E-06    7.1750        .52526E-06** at limit **
   5  Prefactor     15.655        1.3642        .42756E-08   -.22389E-02
   6  Prefactor     .40024E-06    9.0086       -.82973E-06** at limit **
   7  norm          .27423E-07    2.5332        .13151E-05** at limit **
   8  Prefactor     .38858E-09    2.8215        .22080E-06** at limit **
   9  Prefactor     .19135E-06    22.147        .22555E-05** at limit **
  10  Prefactor     8.0062        6.6963        .46291E-08    .25689E-02
  11  Prefactor     .86313        42.758       -.17416E-05   -.37297E-02
  12  Prefactor     2.3476        6.2762        .73522E-07   -.10088E-03
  13  Prefactor     102.27        17.192        .60226E-06   -.30146    
  14  Prefactor     8.6079        1.0483        .39795E-08    .57403E-03
  15  norm          .49405E-08    4.6702       -.43418E-06** at limit **
  16  norm          .28866E-07    5.1109        .72546E-06** at limit **
  17  norm          5.8250        5.8118       -.21178E-06   -.17063E-02
  18  Prefactor     .71054E-08    1.1617       -.46000E-06** at limit **
  19  Prefactor     19.289        39.567        .10349E-05    .42532E-01
  20  norm          .11102E-09    2.2440        .37515E-06** at limit **
  21  Prefactor     .50793E-07    5.9218       -.51048E-06** at limit **
  22  norm          .83054        .96080       -.17014E-06   -.27534E-02
  23  norm          .17542E-07    1.6431       -.88526E-06** at limit **
  24  Prefactor     .45242E-07    4.9703       -.10922E-06** at limit **
  25  Prefactor      .0000        1.3655        .15297E-06** at limit **
  26  Prefactor     25.832        4.1001       -.70214E-07    .29851E-01
  27  norm          .56177E-07    5.3661       -.76201E-07** at limit **
  28  Prefactor     3.6843        5.3459        .13492E-06    .10220E-03
  29  Prefactor     .55511E-10    2.5624        .29541E-06** at limit **
  30  Normalizat    .93486        .24641        .49405E-06    .32310E-04
  31  Prefactor     .93414        .25449       -.13881E-05    .37048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.1557e-07
  Prefactor  = 31.6061
  Prefactor  = 2.28872e-06
  Prefactor  = 1.17739e-07
  Prefactor  = 15.655
  Prefactor  = 4.00235e-07
  norm       = 2.74225e-08
  Prefactor  = 3.88578e-10
  Prefactor  = 1.91347e-07
  Prefactor  = 8.00623
  Prefactor  = 0.863131
  Prefactor  = 2.34757
  Prefactor  = 102.273
  Prefactor  = 8.60786
  norm       = 4.94049e-09
  norm       = 2.88658e-08
  norm       = 5.82495
  Prefactor  = 7.10543e-09
  Prefactor  = 19.2892
  norm       = 1.11022e-10
  Prefactor  = 5.07927e-08
  norm       = 0.830544
  norm       = 1.75415e-08
  Prefactor  = 4.52416e-08
  Prefactor  = 0
  Prefactor  = 25.8324
  norm       = 5.61773e-08
  Prefactor  = 3.68431
  Prefactor  = 5.55112e-11
  Normalizat = 0.934862
  Prefactor  = 0.934142
 **********
 **   18 **HESSE 
 **********

 FCN=   4279.836     FROM HESSE     STATUS=OK           676 CALLS     3587 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81557E-06    25.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.606        27.732        .17890E-03   -1.5596    
   3  Prefactor     .22887E-05    29.353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11774E-06    7.2382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.655        11.683        .25310E-03   -1.5629    
   6  Prefactor     .40024E-06    9.2465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27423E-07    2.6170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38858E-09    2.8134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19135E-06    33.884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.0062        6.8554        .35403E-03   -1.5651    
  11  Prefactor     .86313        30.320        .11700E-01   -1.5689    
  12  Prefactor     2.3476        6.2871        .67080E-03   -1.5677    
  13  Prefactor     102.27        59.113        .99096E-04   -1.5506    
  14  Prefactor     8.6079        12.369        .34143E-03   -1.5649    
  15  norm          .49405E-08    4.6716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .28866E-07    5.1057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.8250        5.8340        .41363E-03   -1.5660    
  18  Prefactor     .71054E-08    2.6813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.289        40.668        .23770E-03   -1.5620    
  20  norm          .11102E-09    2.2409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .50793E-07    5.9607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .83054        .97997        .50709E-03   -1.5690    
  23  norm          .17542E-07    2.7005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .45242E-07    10.371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        1.3647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     25.832        22.566        .19796E-03   -1.5606    
  27  norm          .56177E-07    10.333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.6843        5.3760        .52929E-03   -1.5670    
  29  Prefactor     .55511E-10    2.5550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .93486        .20992        .45393E-01   -.95246    
  31  Prefactor     .93414        .21285        .45420E-01   -.94958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47576e-06
Minuit parameter uncertainties:
  1  0.00913188
  2  27.732
  3  0.0163928
  4  0.0018461
  5  11.6827
  6  0.00384753
  7  0.00053569
  8  6.66045e-05
  9  0.00509263
  10  6.8554
  11  10.2315
  12  6.28714
  13  59.1135
  14  12.3689
  15  0.000304115
  16  0.000767556
  17  5.83403
  18  0.000276507
  19  40.6687
  20  3.28744e-05
  21  0.00110067
  22  0.979966
  23  0.000435591
  24  0.0013698
  25  7.55331e-06
  26  22.5656
  27  0.00152406
  28  5.37604
  29  2.068e-05
  30  0.210101
  31  0.213042
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  7.105e-09  2.765e-04  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:  9.341e-01  2.130e-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.349e-01  2.101e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 5.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/649814/likelihoodResults_696816001_697075201_4FGL_J2325.4-4800_daily_bin1765.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) = 4279.83815061
delta logL = -0.0017688665057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4279.83638407
delta logL = -2.33171522268e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38501E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .80694       1.0000          .0000       10.000    
     3 'Normalizat'    .93507       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93381       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=   4279.836     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      240 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13323E-08    .82540E-01    .42118E-03** at limit **
   2  Index         1.9250        8.4422        .43808        .49308E-09
   3  Normalizat    .93486        .78223E-03    .45348E-01   -.78260E-03
   4  Prefactor     .93414        .84031E-03    .45435E-01   -.62263E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.33227e-09
  Index      = 1.92503
  Normalizat = 0.934859
  Prefactor  = 0.934142
 **********
 **   18 **HESSE 
 **********

 FCN=   4279.836     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13323E-08    .37839        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9250        8.6348        .50000       -.66238    
   3  Normalizat    .93486        .16733E-02    .23498E-03   -.95246    
   4  Prefactor     .93414        .17976E-02    .25116E-03   -.94958    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.06568e-11
Minuit parameter uncertainties:
  1  4.4674e-05
  2  8490.41
  3  0.00167328
  4  0.00179763
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649814': 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): 102
logL (Free Index) = 4279.83638174
delta logL = 6.81211531628e-10

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.332e-09  4.467e-05  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  1.925e+00  8.490e+03  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:  9.341e-01  1.798e-03  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.349e-01  1.673e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.350 -48.002

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/649814/cmap_HighResolution_696816001_697075201_4FGL_J2325.4-4800_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-03', job_status='DONE', photon_flux_upper_limit='5.49e-08', time_completed='2023-02-03 02:04:09.696812', job_id='649814', GAL2='0.93', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1675418649.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='6.81e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1765' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:04:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 649814: <4FGL_J2325.4-4800_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:50:28 2023
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:51:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:51:22 2023
Terminated at Fri Feb  3 02:04:10 2023
Results reported at Fri Feb  3 02:04:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1765 351.35 -48.0022 696816001 697075201 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 :                                   613.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            822 sec.

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

