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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1734
RA = 351.35, Dec = -48.0022
tmin = 688780801, tmax = 689040001
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='776562', job_status='RUN', time_executed='2022-11-02 00:36:22.665614', time_epoch_executed='1667374582.67' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776562

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776562/ft1_4FGL_J2325.4-4800_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776562/ft2_4FGL_J2325.4-4800_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776562/ft1_4FGL_J2325.4-4800_daily_bin1734.fits outfile=/scratch/kocevski/776562/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1734.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=688780801.0 tmax=689040001.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.56
user 3.31
sys 0.22

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

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

Number of photons that the gtmktime cut: 636

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776562/ft1_filtered_4FGL_J2325.4-4800_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776562/ft2_4FGL_J2325.4-4800_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776562/ltcube_688780801_689040001_4FGL_J2325.4-4800_daily_bin1734.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/776562/ft2_4FGL_J2325.4-4800_daily_bin1734.fits
.....................!
real 11.89
user 11.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776562/ft1_filtered_4FGL_J2325.4-4800_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776562/ft2_4FGL_J2325.4-4800_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776562/ltcube_688780801_689040001_4FGL_J2325.4-4800_daily_bin1734.fits outfile=/scratch/kocevski/776562/expmap_688780801_689040001_4FGL_J2325.4-4800_daily_bin1734.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/776562/ltcube_688780801_689040001_4FGL_J2325.4-4800_daily_bin1734.fits
.....................!
real 192.04
user 185.93
sys 5.75

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/776562/ft1_filtered_4FGL_J2325.4-4800_daily_bin1734.fits scfile=/scratch/kocevski/776562/ft2_4FGL_J2325.4-4800_daily_bin1734.fits outfile=/scratch/kocevski/776562/cmap_688780801_689040001_4FGL_J2325.4-4800_daily_bin1734.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776562/ft1_filtered_4FGL_J2325.4-4800_daily_bin1734.fits scfile=/scratch/kocevski/776562/ft2_4FGL_J2325.4-4800_daily_bin1734.fits outfile=/scratch/kocevski/776562/cmap_HighResolution_688780801_689040001_4FGL_J2325.4-4800_daily_bin1734.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776562/ft1_filtered_4FGL_J2325.4-4800_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776562/ft2_4FGL_J2325.4-4800_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776562/Model_4FGL_J2325.4-4800_daily_bin1734.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/776562/ft1_filtered_4FGL_J2325.4-4800_daily_bin1734.fits.....................!
real 48.75
user 47.40
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20382E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .71036E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18490E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .99752E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    13.606       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12010E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.9848       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74930E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.043       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6217       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.088       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15443E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .32113E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17923E-02   1.0000          .0000       .10000E+07
    15 'norm      '    9.5241       1.0000          .0000       .10000E+07
    16 'norm      '    2.6120       1.0000          .0000       .10000E+07
    17 'norm      '    .48237E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .72091       1.0000          .0000       .10000E+07
    19 'Prefactor '    45.242       1.0000          .0000       .10000E+07
    20 'norm      '    .23936E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    22.406       1.0000          .0000       .10000E+07
    22 'norm      '    .17476E-02   1.0000          .0000       .10000E+07
    23 'norm      '    2.6721       1.0000          .0000       .10000E+07
    24 'Prefactor '    .15033E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    5.7597       1.0000          .0000       .10000E+07
    26 'Prefactor '    .18099E-01   1.0000          .0000       .10000E+07
    27 'norm      '    .58032E-04   1.0000          .0000       .10000E+07
    28 'Prefactor '    .98749E-05   1.0000          .0000       .10000E+07
    29 'Prefactor '    4.3011       1.0000          .0000       .10000E+07
    30 'Normalizat'    1.1043       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .76012       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=   6813.291     FROM MIGRAD    STATUS=CONVERGED    248 CALLS     3015 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39801E-07    9.0467        .86073E-06** at limit **
   2  Prefactor     .15009E-05    16.286       -.12202E-06** at limit **
   3  Prefactor     .27311E-07    7.8446       -.59443E-06** at limit **
   4  Prefactor      .0000        2.8974       -.11741E-06** at limit **
   5  Prefactor     13.617        3.1234       -.16540E-06    .26686E-01
   6  Prefactor     .27200E-08    2.3102       -.36949E-06** at limit **
   7  norm          1.9810        3.4746       -.97432E-07   -.90003E-03
   8  Prefactor     .11102E-09    1.1299        .25519E-06** at limit **
   9  Prefactor     12.972        1.0131       -.56676E-09    .78960E-03
  10  Prefactor     1.6208        2.4524        .44049E-07    .97965E-04
  11  Prefactor     20.197        1.2014       -.18958E-07    .48159E-02
  12  Prefactor     .90483E-08    2.3156        .72299E-06** at limit **
  13  Prefactor     .27628E-06    5.8618        .23228E-06** at limit **
  14  Prefactor     .40024E-07    5.0340        .10251E-06** at limit **
  15  norm          9.5061        1.4053        .40578E-07   -.12564E-01
  16  norm          2.6298        3.4683        .29114E-06    .41214E-03
  17  norm           .0000        1.2956       -.40234E-06** at limit **
  18  Prefactor     .67626        1.2264        .10681E-08   -.15605E-01
  19  Prefactor     45.239        1.4355        .28523E-07   -.24803E-01
  20  norm          .44409E-09    2.3727        .34832E-06** at limit **
  21  Prefactor     22.549        2.3272       -.74610E-08   -.35923E-01
  22  norm          .49960E-08    141.02       -.87729E-06** at limit **
  23  norm          2.6558        4.2024        .55229E-07    .39032E-02
  24  Prefactor     .51459E-07    3.3399       -.71682E-07** at limit **
  25  Prefactor     5.7695        3.4452        .23550E-06    .59370E-03
  26  Prefactor     .55511E-10    16.262        .14363E-05** at limit **
  27  norm          .22449E-05    10.606        .54160E-06** at limit **
  28  Prefactor     .61062E-09    5.2171       -.37179E-06** at limit **
  29  Prefactor     4.2983        3.1809        .87063E-07   -.40127E-03
  30  Normalizat    1.1041        .18595       -.16261E-05    .16135E-04
  31  Prefactor     .76036        .19832       -.80438E-06    .23079E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.98015e-08
  Prefactor  = 1.50085e-06
  Prefactor  = 2.73115e-08
  Prefactor  = 0
  Prefactor  = 13.6172
  Prefactor  = 2.72005e-09
  norm       = 1.98103
  Prefactor  = 1.11022e-10
  Prefactor  = 12.9723
  Prefactor  = 1.6208
  Prefactor  = 20.1968
  Prefactor  = 9.04832e-09
  Prefactor  = 2.76279e-07
  Prefactor  = 4.00235e-08
  norm       = 9.50607
  norm       = 2.62982
  norm       = 0
  Prefactor  = 0.676259
  Prefactor  = 45.2395
  norm       = 4.44089e-10
  Prefactor  = 22.5485
  norm       = 4.996e-09
  norm       = 2.65575
  Prefactor  = 5.14588e-08
  Prefactor  = 5.76951
  Prefactor  = 5.55112e-11
  norm       = 2.24493e-06
  Prefactor  = 6.10623e-10
  Prefactor  = 4.29832
  Normalizat = 1.10412
  Prefactor  = 0.760355
 **********
 **   18 **HESSE 
 **********

 FCN=   6813.291     FROM HESSE     STATUS=OK           688 CALLS     3703 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39801E-07    14.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15009E-05    26.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27311E-07    10.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.0326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.617        8.3819        .27129E-03   -1.5634    
   6  Prefactor     .27200E-08    2.3665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.9810        3.5085        .73529E-03   -1.5680    
   8  Prefactor     .11102E-09    1.1399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.972        16.218        .27710E-03   -1.5636    
  10  Prefactor     1.6208        2.4653        .83067E-03   -1.5683    
  11  Prefactor     20.197        22.016        .22319E-03   -1.5618    
  12  Prefactor     .90483E-08    2.5799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27628E-06    13.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .40024E-07    7.8929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.5061        11.706        .32448E-03   -1.5646    
  16  norm          2.6298        3.5382        .63088E-03   -1.5676    
  17  norm           .0000        1.3087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .67626        24.852        .59027E-03   -1.5692    
  19  Prefactor     45.239        34.328        .14868E-03   -1.5573    
  20  norm          .44409E-09    2.3955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.549        18.131        .21131E-03   -1.5613    
  22  norm          .49960E-08    .51086        .31191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.6558        4.8289        .62317E-03   -1.5675    
  24  Prefactor     .51459E-07    8.5051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.7695        3.5030        .41827E-03   -1.5660    
  26  Prefactor     .55511E-10    16.145        .17165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .22449E-05    24.857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .61062E-09    5.2905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     4.2983        3.1809        .48552E-03   -1.5666    
  30  Normalizat    1.1041        .16239        .37827E-01   -.89620    
  31  Prefactor     .76036        .16935        .62043E-01   -1.0121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28026e-07
Minuit parameter uncertainties:
  1  0.00152491
  2  0.0125209
  3  0.00104988
  4  2.62443e-06
  5  8.38192
  6  0.000160732
  7  3.5085
  8  2.12977e-05
  9  16.2184
  10  2.46534
  11  22.0162
  12  0.000305742
  13  0.00384502
  14  0.00112417
  15  11.7061
  16  3.5382
  17  6.52637e-06
  18  8.19917
  19  34.328
  20  6.66382e-05
  21  18.1306
  22  0.000100867
  23  4.82886
  24  0.00132309
  25  3.50302
  26  4.35741e-05
  27  0.0149401
  28  0.000115502
  29  3.18093
  30  0.162463
  31  0.169463
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  6.763e-01  8.199e+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:  7.604e-01  1.695e-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.104e+00  1.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/776562/likelihoodResults_688780801_689040001_4FGL_J2325.4-4800_daily_bin1734.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): 102
logL (Free Index) = 6811.57827017
delta logL = 1.71320895382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6811.02909856
delta logL = 2.26238056081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15031E-05   1.0000          .0000       .10000E+07
     2 'Index     '    8.3485       1.0000          .0000       10.000    
     3 'Normalizat'    .98863       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84810       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6813.297     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      441 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .93973        .42118E-03** at limit **
   2  Index         .72129        .72194        .19560E-04     .0000    
   3  Normalizat    1.1057        1.3866        .40818E-06    .22808E-03
   4  Prefactor     .76076        1.1374        .28404E-05    .19925E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.721291
  Normalizat = 1.10572
  Prefactor  = 0.760762
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6813.297     FROM HESSE     STATUS=FAILED         9 CALLS      450 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .93973        .42118E-03   -749.27    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5287        1.6374        .19560E-04   -.33889E+07
   3  Normalizat    1.1057        1.3866        .40818E-06    13086.    
   4  Prefactor     .76076        1.1374        .28404E-05   -13530.    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.2832e-11
Minuit parameter uncertainties:
  1  4.16741e-06
  2  0.731657
  3  1.43679
  4  1.17554
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776562': 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) = 6813.29735149
delta logL = -0.00587237171385

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  0.000e+00  4.167e-06  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  7.213e-01  7.317e-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.608e-01  1.176e+00  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.106e+00  1.437e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/776562/cmap_HighResolution_688780801_689040001_4FGL_J2325.4-4800_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.26e-03', job_status='DONE', photon_flux_upper_limit='6.96e-08', time_completed='2022-11-02 00:49:49.231779', job_id='776562', GAL2='0.76', fit_tolerance='1e-08', EG2='1.11', EG='1.10', time_epoch_completed='1667375389.23', return_code2='101', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='-5.87e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1734' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:49:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 776562: <4FGL_J2325.4-4800_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:34 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:36 2022
Terminated at Wed Nov  2 00:49:50 2022
Results reported at Wed Nov  2 00:49:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1734 351.35 -48.0022 688780801 689040001 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 :                                   808.49 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             318.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            856 sec.

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

