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 52 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1696
RA = 351.35, Dec = -48.0022
tmin = 678931201, tmax = 679190401
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='794172', job_status='RUN', time_executed='2022-07-11 00:36:31.212462', time_epoch_executed='1657524991.21' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794172

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794172/ft1_4FGL_J2325.4-4800_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794172/ft2_4FGL_J2325.4-4800_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794172/ft1_4FGL_J2325.4-4800_daily_bin1696.fits outfile=/scratch/kocevski/794172/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1696.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=678931201.0 tmax=679190401.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.55
user 3.34
sys 0.19

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

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

Number of photons that the gtmktime cut: 482

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794172/ft1_filtered_4FGL_J2325.4-4800_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/794172/ft2_4FGL_J2325.4-4800_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/794172/ltcube_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.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/794172/ft2_4FGL_J2325.4-4800_daily_bin1696.fits
.....................!
real 11.94
user 11.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794172/ft1_filtered_4FGL_J2325.4-4800_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794172/ft2_4FGL_J2325.4-4800_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/794172/ltcube_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.fits outfile=/scratch/kocevski/794172/expmap_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.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/794172/ltcube_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.fits
.....................!
real 190.97
user 186.04
sys 4.60

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/794172/ft1_filtered_4FGL_J2325.4-4800_daily_bin1696.fits scfile=/scratch/kocevski/794172/ft2_4FGL_J2325.4-4800_daily_bin1696.fits outfile=/scratch/kocevski/794172/cmap_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794172/ft1_filtered_4FGL_J2325.4-4800_daily_bin1696.fits scfile=/scratch/kocevski/794172/ft2_4FGL_J2325.4-4800_daily_bin1696.fits outfile=/scratch/kocevski/794172/cmap_HighResolution_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794172/ft1_filtered_4FGL_J2325.4-4800_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794172/ft2_4FGL_J2325.4-4800_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794172/Model_4FGL_J2325.4-4800_daily_bin1696.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/794172/ft1_filtered_4FGL_J2325.4-4800_daily_bin1696.fits.....................!
real 40.41
user 39.16
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/794172/ft1_filtered_4FGL_J2325.4-4800_daily_bin1696.fits', '/scratch/kocevski/794172/ft2_4FGL_J2325.4-4800_daily_bin1696.fits', expMap='/scratch/kocevski/794172/expmap_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.fits', expCube='/scratch/kocevski/794172/ltcube_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/794172/Model_4FGL_J2325.4-4800_daily_bin1696.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  1.000e-04  1.000e+04 ( 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/794172/ft1_filtered_4FGL_J2325.4-4800_daily_bin1696.fits
Spacecraft file(s): /scratch/kocevski/794172/ft2_4FGL_J2325.4-4800_daily_bin1696.fits
Exposure map: /scratch/kocevski/794172/expmap_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.fits
Exposure cube: /scratch/kocevski/794172/ltcube_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/794172/Model_4FGL_J2325.4-4800_daily_bin1696.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) = 5265.32115927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    69.139       1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.521       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2936       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.775       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    117.00       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.3272       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.7100       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12320E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .87045       1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.661       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.947       1.0000         .10000E-03   10000.    
    19 'norm      '    13.739       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.8951       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.5987       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .44505E-02   1.0000         .10000E-03   10000.    
    25 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .52339E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.3193       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .58281       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.

 FCN=   5265.320     FROM MIGRAD    STATUS=CONVERGED    920 CALLS     4854 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     69.156        73.074        .17561E-04    .25269E-04
   2  Prefactor     33.524        29.254        .20419E-05    .15452E-03
   3  Prefactor     .10000E-03    25.958        .54846E-05** at limit **
   4  Prefactor     2.2932        8.8932        .67033E-06   -.29906E-03
   5  Prefactor     22.775        10.878        .11110E-06   -.29830E-04
   6  Prefactor     .10000E-03    9.6273       -.55411E-05** at limit **
   7  Prefactor     .10000E-03    1.8498       -.41414E-06** at limit **
   8  norm          .10000E-03    5.0387        .24831E-05** at limit **
   9  Prefactor     .10000E-03    1.8358        .39261E-06** at limit **
  10  Prefactor     117.02        70.129        .11859E-04    .80672E-05
  11  Prefactor     .10000E-03    5.0559       -.21325E-05** at limit **
  12  Prefactor     7.3109        28.834       -.22082E-04   -.19909E-04
  13  Prefactor     8.7130        13.469        .57130E-05    .94090E-04
  14  Prefactor     .10000E-03    59.495       -.91700E-06** at limit **
  15  Prefactor     .86917        2.0562        .34766E-06   -.14009E-02
  16  Prefactor     26.659        26.626       -.58037E-06    .99472E-05
  17  Prefactor     .10000E-03    12.427        .12064E-04** at limit **
  18  norm          10.948        10.478        .11813E-06    .35165E-04
  19  norm          13.740        8.5793        .76766E-09   -.65586E-04
  20  norm          .10000E-03    1.4266        .21146E-07** at limit **
  21  Prefactor     8.8943        9.2233        .35985E-06    .44133E-03
  22  Prefactor     .10000E-03    17.777       -.16147E-04** at limit **
  23  norm          1.5986        2.2947        .76783E-07    .17211E-03
  24  Prefactor     .10014E-03    17.185       -.17910E-05** at limit **
  25  norm          .10000E-03    .59991        .92073E-07** at limit **
  26  norm          .10000E-03    1.1476        .27154E-07** at limit **
  27  Prefactor     .10000E-03    6.1983        .33364E-05** at limit **
  28  Prefactor     .10000E-03    1.1720        .19871E-07** at limit **
  29  Prefactor     .10000E-03    26.179        .79256E-05** at limit **
  30  norm          .10000E-03    5.8292       -.24679E-05** at limit **
  31  Prefactor     .10000E-03    1.8152       -.94577E-07** at limit **
  32  Prefactor     .10000E-03    2.8458       -.64876E-06** at limit **
  33  Normalizat    1.3192        .18709       -.60550E-06    .26813E-03
  34  Prefactor     .58283        .19005       -.15089E-05    .93789E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 69.1564
  Prefactor  = 33.5237
  Prefactor  = 0.0001
  Prefactor  = 2.29315
  Prefactor  = 22.7746
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 117.022
  Prefactor  = 0.0001
  Prefactor  = 7.3109
  Prefactor  = 8.713
  Prefactor  = 0.0001
  Prefactor  = 0.86917
  Prefactor  = 26.6585
  Prefactor  = 0.0001
  norm       = 10.9475
  norm       = 13.7399
  norm       = 0.0001
  Prefactor  = 8.89433
  Prefactor  = 0.0001
  norm       = 1.59863
  Prefactor  = 0.000100144
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Normalizat = 1.31922
  Prefactor  = 0.58283
 **********
 **   18 **HESSE 
 **********

 FCN=   5265.320     FROM HESSE     STATUS=OK           726 CALLS     5580 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     69.156        73.282        .48274E-04   -1.4043    
   2  Prefactor     33.524        27.494        .69212E-04   -1.4549    
   3  Prefactor     .10000E-03    25.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.2932        9.0554        .13551E-02   -1.5405    
   5  Prefactor     22.775        10.879        .41967E-03   -1.4753    
   6  Prefactor     .10000E-03    9.6321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8513        .96380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.0621        .15912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.8441        .95923E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     117.02        70.633        .18599E-03   -1.3540    
  11  Prefactor     .10000E-03    5.1179        .15891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3109        28.742        .14817E-03   -1.5167    
  13  Prefactor     8.7130        13.382        .13582E-03   -1.5118    
  14  Prefactor     .10000E-03    59.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .86917        13.789        .25095E-02   -1.5522    
  16  Prefactor     26.659        26.624        .77586E-04   -1.4675    
  17  Prefactor     .10000E-03    12.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.948        10.477        .12109E-03   -1.5046    
  19  norm          13.740        8.5027        .10806E-03   -1.4966    
  20  norm          .10000E-03    1.4269        .84637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.8943        7.7379        .13439E-03   -1.5111    
  22  Prefactor     .10000E-03    17.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.5986        2.2714        .12788E-03   -1.5455    
  24  Prefactor     .10014E-03    69.453        .47482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .96214        .10663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.1504        .75900E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.2119        .17644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1.1797        .76679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    26.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    5.8293        .17111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.8238        .95445E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    31.266        .21661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.3192        .22027        .20735E-03   -.82994    
  34  Prefactor     .58283        .22267        .31432E-03   -1.0831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30635e-08
Minuit parameter uncertainties:
  1  73.3775
  2  27.5048
  3  1.20826e-05
  4  9.06082
  5  10.8796
  6  1.12791e-05
  7  2.5247e-07
  8  1.48888e-05
  9  1.59191e-05
  10  70.6841
  11  8.376e-05
  12  28.7966
  13  13.3869
  14  3.67039e-06
  15  6.92536
  16  26.6362
  17  1.90544e-05
  18  10.4783
  19  8.5034
  20  4.91493e-07
  21  7.73876
  22  3.74267e-06
  23  2.2715
  24  0.00632533
  25  3.72899e-06
  26  3.00401e-07
  27  7.70663e-06
  28  2.84008e-07
  29  5.38558e-06
  30  1.10838e-06
  31  1.30765e-06
  32  0.000791153
  33  0.220429
  34  0.223002
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  8.894e+00  7.739e+00  1.000e-04  1.000e+04 ( 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:  5.828e-01  2.230e-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.319e+00  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.12
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.83e-08 +/- 3.33e-08
Energy Flux (Fixed Index): 2.08e-05 +/- 1.81e-05

TS (Fixed Index): 2.12
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794172/likelihoodResults_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.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) = 5264.88812537
delta logL = 0.431441283112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5264.88698214
delta logL = 0.432584512551

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7426       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7836       1.0000          .0000       10.000    
     3 'Normalizat'    1.2733       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61245       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=   5264.887     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      276 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7240        45.659        .52177E-02   -.48415E-03
   2  Index         2.7879        2.4743        .10864       -.28335E-04
   3  Normalizat    1.2729        .62299E-01    .47587E-01   -.43029E-03
   4  Prefactor     .61307        .59894E-01    .69375E-01   -.24230E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.72402
  Index      = 2.7879
  Normalizat = 1.27286
  Prefactor  = 0.613065
 **********
 **   18 **HESSE 
 **********

 FCN=   5264.887     FROM HESSE     STATUS=OK            31 CALLS      307 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7240        10.565        .89618E-04   -1.5322    
   2  Index         2.7879        1.3333        .38618E-02   -.45830    
   3  Normalizat    1.2729        .22474        .21037E-03   -.84380    
   4  Prefactor     .61307        .22936        .30704E-03   -1.0704    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17615e-10
Minuit parameter uncertainties:
  1  10.5707
  2  1.35375
  3  0.224912
  4  0.229712
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794172': 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) = 5264.88695239
delta logL = 0.432614269558

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.724e+00  1.057e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.788e+00  1.354e+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:  6.131e-01  2.297e-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.273e+00  2.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.79 +/- 1.35
Photon Flux (Free Index): 7.32e-08 +/- 5.97e-08
Energy Flux (Free Index): 1.65e-05 +/- 1.37e-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/794172/cmap_HighResolution_678931201_679190401_4FGL_J2325.4-4800_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.34e-03', comment='SUCCESS', photon_flux='3.83e-08', energy_flux2='1.65e-05', photon_flux_error='3.33e-08', dlogl='4.33e-01', energy_flux='2.08e-05', photon_flux2='7.32e-08', job_status='DONE', time_completed='2022-07-11 00:50:44.596495', photon_index_error2='1.35', photon_index2='2.79', ts='2.12', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='1.37e-05', EG='1.32', time_epoch_completed='1657525844.6', return_code='0', job_id='794172', GAL2='0.61', EG2='1.27', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='5.97e-08', ts2='3.03', photon_index='2.11' WHERE bin_id='1696' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:50:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 794172: <4FGL_J2325.4-4800_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:35:30 2022
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:35:31 2022
Terminated at Mon Jul 11 00:50:45 2022
Results reported at Mon Jul 11 00:50:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1696 351.35 -48.0022 678931201 679190401 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 :                                   855.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            915 sec.

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

