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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1730
RA = 351.35, Dec = -48.0022
tmin = 687744001, tmax = 688003201
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='469228', job_status='RUN', time_executed='2022-10-21 00:38:59.509544', time_epoch_executed='1666337939.51' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469228

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469228/ft1_4FGL_J2325.4-4800_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469228/ft2_4FGL_J2325.4-4800_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469228/ft1_4FGL_J2325.4-4800_daily_bin1730.fits outfile=/scratch/kocevski/469228/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1730.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=687744001.0 tmax=688003201.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.93
user 4.68
sys 0.23

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

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

Number of photons that the gtmktime cut: 400

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469228/ft1_filtered_4FGL_J2325.4-4800_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/469228/ft2_4FGL_J2325.4-4800_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/469228/ltcube_687744001_688003201_4FGL_J2325.4-4800_daily_bin1730.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/469228/ft2_4FGL_J2325.4-4800_daily_bin1730.fits
.....................!
real 11.72
user 11.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469228/ft1_filtered_4FGL_J2325.4-4800_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469228/ft2_4FGL_J2325.4-4800_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469228/ltcube_687744001_688003201_4FGL_J2325.4-4800_daily_bin1730.fits outfile=/scratch/kocevski/469228/expmap_687744001_688003201_4FGL_J2325.4-4800_daily_bin1730.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/469228/ltcube_687744001_688003201_4FGL_J2325.4-4800_daily_bin1730.fits
.....................!
real 192.92
user 187.44
sys 5.14

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/469228/ft1_filtered_4FGL_J2325.4-4800_daily_bin1730.fits scfile=/scratch/kocevski/469228/ft2_4FGL_J2325.4-4800_daily_bin1730.fits outfile=/scratch/kocevski/469228/cmap_687744001_688003201_4FGL_J2325.4-4800_daily_bin1730.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469228/ft1_filtered_4FGL_J2325.4-4800_daily_bin1730.fits scfile=/scratch/kocevski/469228/ft2_4FGL_J2325.4-4800_daily_bin1730.fits outfile=/scratch/kocevski/469228/cmap_HighResolution_687744001_688003201_4FGL_J2325.4-4800_daily_bin1730.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469228/ft1_filtered_4FGL_J2325.4-4800_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469228/ft2_4FGL_J2325.4-4800_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469228/Model_4FGL_J2325.4-4800_daily_bin1730.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/469228/ft1_filtered_4FGL_J2325.4-4800_daily_bin1730.fits....................!
real 35.53
user 34.14
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35105E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .83571E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .26412E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12384E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8526       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18584E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .88569E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.8307       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.0016       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1205       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7961       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.5758       1.0000          .0000       .10000E+07
    13 'Prefactor '    .24017E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.3033       1.0000          .0000       .10000E+07
    15 'norm      '    .70581E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .28463E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.7943       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.4095       1.0000          .0000       .10000E+07
    19 'Prefactor '    .12990E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .52127E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    9.9243       1.0000          .0000       .10000E+07
    22 'norm      '    .85734       1.0000          .0000       .10000E+07
    23 'norm      '    .58916E-01   1.0000          .0000       .10000E+07
    24 'Prefactor '    .11429E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .34157       1.0000          .0000       .10000E+07
    26 'Prefactor '    .28110E-02   1.0000          .0000       .10000E+07
    27 'norm      '    .93780E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    .12379E-06   1.0000          .0000       .10000E+07
    29 'Prefactor '    .20308E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.3123       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .74317       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=   4434.851     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     3060 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11213E-07    1.4999        .77958E-06** at limit **
   2  Prefactor     .40825E-05    15.208        .15498E-05** at limit **
   3  Prefactor     .12568E-06    7.1974       -.50513E-06** at limit **
   4  Prefactor     .16098E-08    4.6861        .36563E-06** at limit **
   5  Prefactor     5.8506        4.2964       -.76673E-06   -.34646E-01
   6  Prefactor     .63838E-08    3.8502       -.21609E-06** at limit **
   7  norm          .55511E-10    2.3006       -.19060E-06** at limit **
   8  Prefactor     7.8727        6.2112       -.37550E-06   -.10383E-02
   9  Prefactor     3.0201        1.0596       -.60055E-07    .52129E-03
  10  Prefactor     3.0875        5.9852       -.44128E-06   -.48939E-03
  11  Prefactor     5.7817        1.1131       -.83202E-08    .17344E-02
  12  Prefactor     5.5837        1.6593       -.21708E-06    .24897E-02
  13  Prefactor     .10848E-05    7.1420       -.35228E-07** at limit **
  14  Prefactor     8.2998        1.4708       -.72607E-07   -.11850E-02
  15  norm          .65448E-07    4.2428       -.43626E-06** at limit **
  16  norm          .29421E-08    3.1179       -.25739E-06** at limit **
  17  norm          1.7943        4.5951       -.20613E-08   -.41484E-03
  18  Prefactor     9.5359        8.5896        .83777E-06   -.33146E-01
  19  Prefactor     .15388E-05    32.155        .12822E-05** at limit **
  20  norm          .17042E-07    3.3903        .53939E-06** at limit **
  21  Prefactor     9.6101        20.601       -.18812E-05    .72895E-01
  22  norm          .85838        1.3494        .11210E-06   -.39318E-03
  23  norm          .59550E-01    .90043        .10658E-06** at limit **
  24  Prefactor     .78865E-06    6.7569       -.50682E-06** at limit **
  25  Prefactor     .32789        9.9566        .26916E-05    .91219E-02
  26  Prefactor     .62117E-06    7.9395       -.74940E-06** at limit **
  27  norm          .21017E-06    5.3738       -.51480E-06** at limit **
  28  Prefactor     .55511E-10    1.9889        .47203E-06** at limit **
  29  Prefactor     .11657E-08    2.5685       -.29428E-06** at limit **
  30  Normalizat    1.3129        .26087        .19886E-04   -.90460E-05
  31  Prefactor     .74280        .26920       -.20231E-04   -.17986E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.12133e-08
  Prefactor  = 4.08251e-06
  Prefactor  = 1.25677e-07
  Prefactor  = 1.60982e-09
  Prefactor  = 5.85063
  Prefactor  = 6.38378e-09
  norm       = 5.55112e-11
  Prefactor  = 7.87269
  Prefactor  = 3.02013
  Prefactor  = 3.08746
  Prefactor  = 5.7817
  Prefactor  = 5.5837
  Prefactor  = 1.0848e-06
  Prefactor  = 8.29981
  norm       = 6.54476e-08
  norm       = 2.94209e-09
  norm       = 1.79425
  Prefactor  = 9.53586
  Prefactor  = 1.53882e-06
  norm       = 1.70419e-08
  Prefactor  = 9.61013
  norm       = 0.858382
  norm       = 0.0595498
  Prefactor  = 7.88647e-07
  Prefactor  = 0.327895
  Prefactor  = 6.2117e-07
  norm       = 2.10165e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.16573e-09
  Normalizat = 1.3129
  Prefactor  = 0.742797
 **********
 **   18 **HESSE 
 **********

 FCN=   4434.851     FROM HESSE     STATUS=OK           694 CALLS     3754 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11213E-07    39.336        .16192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .40825E-05    21.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12568E-06    18.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16098E-08    4.7033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8506        7.5146        .41489E-03   -1.5660    
   6  Prefactor     .63838E-08    3.8769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    2.2998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.8727        6.4445        .35809E-03   -1.5652    
   9  Prefactor     3.0201        226.14        .58562E-03   -1.5673    
  10  Prefactor     3.0875        6.1065        .57371E-03   -1.5673    
  11  Prefactor     5.7817        19.766        .41694E-03   -1.5660    
  12  Prefactor     5.5837        9.6690        .42522E-03   -1.5661    
  13  Prefactor     .10848E-05    11.367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.2998        17.777        .34767E-03   -1.5650    
  15  norm          .65448E-07    9.4307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .29421E-08    3.1190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7943        4.6396        .78038E-03   -1.5681    
  18  Prefactor     9.5359        18.410        .32646E-03   -1.5646    
  19  Prefactor     .15388E-05    33.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .17042E-07    3.4680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6101        38.573        .31784E-03   -1.5646    
  22  norm          .85838        1.4701        .48755E-03   -1.5689    
  23  norm          .59550E-01    2.9021        .66538E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .78865E-06    12.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .32789        2.6589        .64007E-02   -1.5697    
  26  Prefactor     .62117E-06    17.585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .21017E-06    9.2189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    1.9884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .11657E-08    2.6395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.3129        .21831        .49157E-01   -.83182    
  31  Prefactor     .74280        .22168        .66302E-01   -1.0187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74144e-06
Minuit parameter uncertainties:
  1  0.00132766
  2  0.0186143
  3  0.00300898
  4  0.000173905
  5  7.51466
  6  0.000314141
  7  2.23912e-05
  8  6.44452
  9  52.2694
  10  6.10647
  11  19.7665
  12  9.66901
  13  0.00702323
  14  17.7772
  15  0.00157115
  16  0.000191733
  17  4.63961
  18  18.4097
  19  0.0142976
  20  0.000486125
  21  38.5071
  22  1.4701
  23  0.831432
  24  0.00631553
  25  1.86744
  26  0.00661008
  27  0.00278377
  28  1.75263e-05
  29  0.000110979
  30  0.218464
  31  0.221946
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  9.536e+00  1.841e+01  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.428e-01  2.219e-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.313e+00  2.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.13
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 4.11e-08 +/- 7.92e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 4.30e-05

TS (Fixed Index): 1.13
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469228/likelihoodResults_687744001_688003201_4FGL_J2325.4-4800_daily_bin1730.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) = 4434.46070296
delta logL = 0.390408624845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4434.4461574
delta logL = 0.40495418692

Fit tolerance = 1e-08

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

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

 FCN=   4434.446     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      308 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8716        10.958        .98991E-05    .16922E-01
   2  Index         2.7964        1.2679        .39145E-02    .38217E-03
   3  Normalizat    1.2619        .26871        .22077E-03    .61643E-03
   4  Prefactor     .77984        .27673        .28678E-03    .42812E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.87159
  Index      = 2.79641
  Normalizat = 1.26189
  Prefactor  = 0.779841
 **********
 **   18 **HESSE 
 **********

 FCN=   4434.446     FROM HESSE     STATUS=OK            23 CALLS      331 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8716        7.3175        .39597E-06   -1.5669    
   2  Index         2.7964        .85197        .15658E-03   -.45640    
   3  Normalizat    1.2619        .26531        .44153E-04   -.84711    
   4  Prefactor     .77984        .27328        .57356E-04   -1.0048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90396e-10
Minuit parameter uncertainties:
  1  7.31755
  2  0.857172
  3  0.265593
  4  0.273757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469228': 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) = 4434.44615344
delta logL = 0.404958144924

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.872e+00  7.318e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  2.796e+00  8.572e-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:  7.798e-01  2.738e-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.262e+00  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.80 +/- 0.86
Photon Flux (Free Index): 7.77e-08 +/- 6.74e-08
Energy Flux (Free Index): 1.74e-05 +/- 1.47e-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/469228/cmap_HighResolution_687744001_688003201_4FGL_J2325.4-4800_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', comment='SUCCESS', photon_flux='4.11e-08', energy_flux2='1.74e-05', photon_flux_error='7.92e-08', dlogl='4.05e-01', energy_flux='2.23e-05', photon_flux2='7.77e-08', job_status='DONE', time_completed='2022-10-21 00:49:30.763878', photon_index_error2='0.86', photon_index2='2.80', ts='1.13', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='1.47e-05', EG='1.31', time_epoch_completed='1666338570.76', return_code='0', job_id='469228', GAL2='0.78', EG2='1.26', return_code2='0', energy_flux_error='4.30e-05', photon_flux_error2='6.74e-08', ts2='2.00', photon_index='2.11' WHERE bin_id='1730' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:49:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 469228: <4FGL_J2325.4-4800_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:32 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:33 2022
Terminated at Fri Oct 21 00:49:31 2022
Results reported at Fri Oct 21 00:49:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1730 351.35 -48.0022 687744001 688003201 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.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            839 sec.

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

