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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1732
RA = 351.35, Dec = -48.0022
tmin = 688262401, tmax = 688521601
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='647742', job_status='RUN', time_executed='2022-10-27 00:37:43.887963', time_epoch_executed='1666856263.89' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647742

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647742/ft1_4FGL_J2325.4-4800_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647742/ft2_4FGL_J2325.4-4800_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647742/ft1_4FGL_J2325.4-4800_daily_bin1732.fits outfile=/scratch/kocevski/647742/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1732.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=688262401.0 tmax=688521601.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.50
user 3.29
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647742/ft2_4FGL_J2325.4-4800_daily_bin1732.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/647742/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1732.fits evtable="EVENTS" outfile="/scratch/kocevski/647742/ft1_filtered_4FGL_J2325.4-4800_daily_bin1732.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.16

Number of photons that the gtmktime cut: 506

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647742/ft1_filtered_4FGL_J2325.4-4800_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647742/ft2_4FGL_J2325.4-4800_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647742/ltcube_688262401_688521601_4FGL_J2325.4-4800_daily_bin1732.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/647742/ft2_4FGL_J2325.4-4800_daily_bin1732.fits
.....................!
real 11.99
user 11.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647742/ft1_filtered_4FGL_J2325.4-4800_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647742/ft2_4FGL_J2325.4-4800_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647742/ltcube_688262401_688521601_4FGL_J2325.4-4800_daily_bin1732.fits outfile=/scratch/kocevski/647742/expmap_688262401_688521601_4FGL_J2325.4-4800_daily_bin1732.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/647742/ltcube_688262401_688521601_4FGL_J2325.4-4800_daily_bin1732.fits
.....................!
real 190.20
user 184.79
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/647742/ft1_filtered_4FGL_J2325.4-4800_daily_bin1732.fits scfile=/scratch/kocevski/647742/ft2_4FGL_J2325.4-4800_daily_bin1732.fits outfile=/scratch/kocevski/647742/cmap_688262401_688521601_4FGL_J2325.4-4800_daily_bin1732.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647742/ft1_filtered_4FGL_J2325.4-4800_daily_bin1732.fits scfile=/scratch/kocevski/647742/ft2_4FGL_J2325.4-4800_daily_bin1732.fits outfile=/scratch/kocevski/647742/cmap_HighResolution_688262401_688521601_4FGL_J2325.4-4800_daily_bin1732.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647742/ft1_filtered_4FGL_J2325.4-4800_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647742/ft2_4FGL_J2325.4-4800_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647742/Model_4FGL_J2325.4-4800_daily_bin1732.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/647742/ft1_filtered_4FGL_J2325.4-4800_daily_bin1732.fits.....................!
real 41.31
user 39.94
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49943E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.8407       1.0000          .0000       .10000E+07
     3 'Prefactor '    .88818E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    .32832E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .83888E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18524E-03   1.0000          .0000       .10000E+07
     7 'norm      '    7.9132       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25474E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .88294E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .54296E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .93856E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .57732E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    15.516       1.0000          .0000       .10000E+07
    14 'Prefactor '    33.408       1.0000          .0000       .10000E+07
    15 'norm      '    15.725       1.0000          .0000       .10000E+07
    16 'norm      '    10.634       1.0000          .0000       .10000E+07
    17 'norm      '    .63080E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .23620E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .11378E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .11872E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .61964E-05   1.0000          .0000       .10000E+07
    22 'norm      '    1.2325       1.0000          .0000       .10000E+07
    23 'norm      '    .79215       1.0000          .0000       .10000E+07
    24 'Prefactor '    7.9028       1.0000          .0000       .10000E+07
    25 'Prefactor '    .10639E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    3.7172       1.0000          .0000       .10000E+07
    27 'norm      '    .75195E-06   1.0000          .0000       .10000E+07
    28 'Prefactor '    6.4644       1.0000          .0000       .10000E+07
    29 'Prefactor '    .20704E-05   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.1835       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .73808       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=   5488.714     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     2280 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19452E-05    18.970        .64370E-06** at limit **
   2  Prefactor     5.8485        1.0922        .14681E-07    .36939E-02
   3  Prefactor     .95479E-08    10.535        .15384E-06** at limit **
   4  Prefactor     .55511E-10    6.9871       -.13596E-06** at limit **
   5  Prefactor     .21094E-08    1.9912       -.70431E-06** at limit **
   6  Prefactor     .92848E-06    56.704       -.28617E-05** at limit **
   7  norm          7.9140        2.9512        .23181E-06    .57987E-01
   8  Prefactor      .0000        1.7054        .34302E-06** at limit **
   9  Prefactor     .51897E-06    7.5231        .49041E-06** at limit **
  10  Prefactor      .0000        5.0996        .78969E-06** at limit **
  11  Prefactor     .52947E-06    6.9551        .75703E-06** at limit **
  12  Prefactor      .0000        1.7380        .78826E-07** at limit **
  13  Prefactor     16.546        5.8666        .20878E-07    .20988E-01
  14  Prefactor     33.448        1.1920       -.17509E-07   -.35252E-02
  15  norm          15.726        1.0081       -.54684E-08   -.19739E-02
  16  norm          10.635        1.3206       -.81523E-08    .11109E-02
  17  norm          .38858E-09    2.0575       -.28185E-06** at limit **
  18  Prefactor     .61062E-09    2.1224       -.25120E-06** at limit **
  19  Prefactor     .18175E-05    15.096        .94608E-06** at limit **
  20  norm           .0000        1.9592       -.22503E-06** at limit **
  21  Prefactor     .55511E-10    5.3673        .11055E-06** at limit **
  22  norm          1.2325        .96173       -.93672E-07    .61774E-03
  23  norm          .79549        1.3900       -.13984E-06    .12850E-02
  24  Prefactor     7.9265        1.4623        .17074E-07   -.23974E-01
  25  Prefactor      .0000        1.5768        .21531E-06** at limit **
  26  Prefactor     3.7006        1.6259       -.46872E-07   -.47709E-02
  27  norm          .13656E-07    21.164       -.35731E-06** at limit **
  28  Prefactor     6.5344        5.5023        .75241E-06    .32110E-02
  29  Prefactor     .22760E-08    2.1390        .28505E-06** at limit **
  30  Normalizat    1.1828        .19952        .13782E-04    .35189E-04
  31  Prefactor     .73799        .21109       -.45580E-05    .24060E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.94517e-06
  Prefactor  = 5.84853
  Prefactor  = 9.54792e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 2.10942e-09
  Prefactor  = 9.2848e-07
  norm       = 7.91398
  Prefactor  = 0
  Prefactor  = 5.18974e-07
  Prefactor  = 0
  Prefactor  = 5.29465e-07
  Prefactor  = 0
  Prefactor  = 16.5465
  Prefactor  = 33.4482
  norm       = 15.7261
  norm       = 10.6349
  norm       = 3.88578e-10
  Prefactor  = 6.10623e-10
  Prefactor  = 1.81755e-06
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 1.23248
  norm       = 0.795485
  Prefactor  = 7.92648
  Prefactor  = 0
  Prefactor  = 3.7006
  norm       = 1.36557e-08
  Prefactor  = 6.53441
  Prefactor  = 2.27596e-09
  Normalizat = 1.18281
  Prefactor  = 0.73799
 **********
 **   18 **HESSE 
 **********

 FCN=   5488.714     FROM HESSE     STATUS=OK           678 CALLS     2958 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19452E-05    34.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8485        12.342        .41532E-03   -1.5660    
   3  Prefactor     .95479E-08    10.695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    7.0001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .21094E-08    2.2163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .92848E-06    58.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.9140        6.5749        .35620E-03   -1.5652    
   8  Prefactor      .0000        1.7022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .51897E-06    14.203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        5.0791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .52947E-06    13.460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.546        30.206        .25401E-03   -1.5627    
  14  Prefactor     33.448        18.695        .17303E-03   -1.5592    
  15  norm          15.726        13.267        .25231E-03   -1.5629    
  16  norm          10.635        7.2230        .30700E-03   -1.5643    
  17  norm          .38858E-09    2.3480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .61062E-09    2.1638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18175E-05    30.445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        1.9593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    5.3742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2325        .99975        .10120E-02   -1.5686    
  23  norm          .79549        3.7438        .53522E-03   -1.5690    
  24  Prefactor     7.9265        12.876        .35644E-03   -1.5652    
  25  Prefactor      .0000        1.5766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.7006        16.871        .52352E-03   -1.5669    
  27  norm          .13656E-07    22.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     6.5344        5.5903        .39450E-03   -1.5657    
  29  Prefactor     .22760E-08    2.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1828        .17477        .35310E-01   -.87136    
  31  Prefactor     .73799        .18229        .62904E-01   -1.0206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67673e-07
Minuit parameter uncertainties:
  1  0.0163301
  2  12.342
  3  0.000639231
  4  3.34158e-05
  5  0.000136526
  6  0.0146788
  7  6.57495
  8  4.64311e-06
  9  0.00542987
  10  3.09435e-06
  11  0.00533921
  12  9.37907e-06
  13  30.2062
  14  18.6948
  15  13.267
  16  7.223
  17  6.08535e-05
  18  7.31961e-05
  19  0.0148776
  20  2.14403e-06
  21  3.87089e-05
  22  0.999748
  23  3.45148
  24  12.8757
  25  5.45265e-06
  26  15.8028
  27  0.00111226
  28  5.59026
  29  0.000146139
  30  0.174852
  31  0.182433
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  6.106e-10  7.320e-05  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:  7.380e-01  1.824e-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:  1.183e+00  1.749e-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: 4.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647742/likelihoodResults_688262401_688521601_4FGL_J2325.4-4800_daily_bin1732.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) = 5488.71415325
delta logL = -0.000474103520901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5488.71368359
delta logL = -4.44227498519e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13156E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .85052       1.0000          .0000       10.000    
     3 'Normalizat'    1.1826       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73787       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5488.714     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      260 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7795        .84235E-04** at limit **
   2  Index         2.3833        3.5852        .21995E-04     .0000    
   3  Normalizat    1.1828        .93396E-01    .41949E-08   -.11262E-02
   4  Prefactor     .73799        .10052        .24500E-08   -.44365E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.38331
  Normalizat = 1.1828
  Prefactor  = 0.737995
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5488.714     FROM HESSE     STATUS=FAILED         9 CALLS      269 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7795        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63636        3.5852        .21995E-04   -.55076    
   3  Normalizat    1.1828        .93396E-01    .41949E-08   -.87136    
   4  Prefactor     .73799        .10052        .24500E-08   -1.0206    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.69289e-10
Minuit parameter uncertainties:
  1  9.1289e-07
  2  4.26063
  3  0.0934096
  4  0.100546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647742': 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): 101
logL (Free Index) = 5488.71367915
delta logL = -6.95763446856e-10

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  0.000e+00  9.129e-07  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  2.383e+00  4.261e+00  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:  7.380e-01  1.005e-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:  1.183e+00  9.341e-02  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/647742/cmap_HighResolution_688262401_688521601_4FGL_J2325.4-4800_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.57e-03', job_status='DONE', photon_flux_upper_limit='4.72e-08', time_completed='2022-10-27 00:48:15.234081', job_id='647742', GAL2='0.74', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1666856895.23', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-6.96e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1732' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:48:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 647742: <4FGL_J2325.4-4800_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:50 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:51 2022
Terminated at Thu Oct 27 00:48:16 2022
Results reported at Thu Oct 27 00:48:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1732 351.35 -48.0022 688262401 688521601 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 :                                   633.31 sec.
    Max Memory :                                 1248 MB
    Average Memory :                             293.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            746 sec.

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

