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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1729
RA = 351.436, Dec = 18.3654
tmin = 687484801, tmax = 687744001
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='378819', job_status='RUN', time_executed='2022-10-18 00:35:53.881018', time_epoch_executed='1666078553.88' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378819

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378819/ft1_4FGL_J2325.7+1821_daily_bin1729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378819/ft1_4FGL_J2325.7+1821_daily_bin1729.fits outfile=/scratch/kocevski/378819/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1729.fits ra=351.436 dec=18.3654 rad=12.0 tmin=687484801.0 tmax=687744001.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.66
user 3.43
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.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/378819/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1729.fits evtable="EVENTS" outfile="/scratch/kocevski/378819/ft1_filtered_4FGL_J2325.7+1821_daily_bin1729.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 543

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378819/ft1_filtered_4FGL_J2325.7+1821_daily_bin1729.fits" evtable="EVENTS" scfile=/scratch/kocevski/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.fits sctable="SC_DATA" outfile=/scratch/kocevski/378819/ltcube_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.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/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.fits
.....................!
real 12.60
user 12.21
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378819/ft1_filtered_4FGL_J2325.7+1821_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.fits sctable="SC_DATA" expcube=/scratch/kocevski/378819/ltcube_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.fits outfile=/scratch/kocevski/378819/expmap_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.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/378819/ltcube_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.fits
.....................!
real 191.92
user 186.63
sys 4.86

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.7+1821 @ 351.436 18.3654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/378819/ft1_filtered_4FGL_J2325.7+1821_daily_bin1729.fits scfile=/scratch/kocevski/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.fits outfile=/scratch/kocevski/378819/cmap_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.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.436 yref=18.3654 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378819/ft1_filtered_4FGL_J2325.7+1821_daily_bin1729.fits scfile=/scratch/kocevski/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.fits outfile=/scratch/kocevski/378819/cmap_HighResolution_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.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.436 yref=18.3654 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/378819/ft1_filtered_4FGL_J2325.7+1821_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378819/Model_4FGL_J2325.7+1821_daily_bin1729.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/378819/ft1_filtered_4FGL_J2325.7+1821_daily_bin1729.fits.....................!
real 68.49
user 67.04
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/378819/ft1_filtered_4FGL_J2325.7+1821_daily_bin1729.fits', '/scratch/kocevski/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.fits', expMap='/scratch/kocevski/378819/expmap_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.fits', expCube='/scratch/kocevski/378819/ltcube_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/378819/Model_4FGL_J2325.7+1821_daily_bin1729.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.7+1821'

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.854e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/378819/ft1_filtered_4FGL_J2325.7+1821_daily_bin1729.fits
Spacecraft file(s): /scratch/kocevski/378819/ft2_4FGL_J2325.7+1821_daily_bin1729.fits
Exposure map: /scratch/kocevski/378819/expmap_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.fits
Exposure cube: /scratch/kocevski/378819/ltcube_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/378819/Model_4FGL_J2325.7+1821_daily_bin1729.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) = 5315.89577654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3011       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12777E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .83730E-04   1.0000          .0000       .10000E+07
     4 'norm      '    3.0546       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18654       1.0000          .0000       .10000E+07
     6 'Prefactor '    .83589E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.4196       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .59424E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9448       1.0000          .0000       .10000E+07
    10 'Prefactor '    63.054       1.0000          .0000       .10000E+07
    11 'Prefactor '    16.015       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.2947       1.0000          .0000       .10000E+07
    13 'Prefactor '    .45686E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .17407E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.007       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37150E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .68337E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    11.463       1.0000          .0000       .10000E+07
    19 'Normalizat'    .43652       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2925       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5315.781     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1538 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3371        7.3787       -.19519E-06   -.10542E-02
   2  Prefactor     .32431E-05    38.639        .25710E-06** at limit **
   3  Prefactor     .73830E-07    12.872        .14725E-06** at limit **
   4  norm          3.0557        2.0949        .46950E-08    .54403E-03
   5  Prefactor     .24752E-06    2.3015        .24686E-07** at limit **
   6  Prefactor     .11419E-06    20.757        .16419E-06** at limit **
   7  Prefactor     6.4226        .51240        .34773E-07    .72725E-03
   8  Prefactor     .10159E-07    12.064       -.37639E-07** at limit **
   9  Prefactor     10.401        16.473       -.14737E-07    .86356E-01
  10  Prefactor     67.095        56.034       -.10841E-06    .47423E-01
  11  Prefactor     16.073        11.234       -.34273E-07    .35530E-02
  12  Prefactor     3.3176        7.1878       -.76509E-07   -.49659E-03
  13  Prefactor     .65614E-07    5.6728        .88424E-07** at limit **
  14  norm          .11102E-09    3.3910        .14129E-06** at limit **
  15  Prefactor     14.192        10.679       -.22391E-07    .31725E-02
  16  Prefactor     .98532E-07    5.8901        .85786E-07** at limit **
  17  norm          .20944E-06    4.1897        .11294E-06** at limit **
  18  Prefactor     11.516        12.538        .13253E-06    .52869E-02
  19  Normalizat    .43276        .36248       -.45816E-05   -.70449E-04
  20  Prefactor     1.2917        .20876        .91678E-06   -.12579E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.3371
  Prefactor  = 3.24307e-06
  Prefactor  = 7.38298e-08
  norm       = 3.05567
  Prefactor  = 2.47524e-07
  Prefactor  = 1.14186e-07
  Prefactor  = 6.42258
  Prefactor  = 1.01585e-08
  Prefactor  = 10.4015
  Prefactor  = 67.0946
  Prefactor  = 16.0728
  Prefactor  = 3.31765
  Prefactor  = 6.56142e-08
  norm       = 1.11022e-10
  Prefactor  = 14.1925
  Prefactor  = 9.85323e-08
  norm       = 2.09444e-07
  Prefactor  = 11.5164
  Normalizat = 0.432765
  Prefactor  = 1.29167
 **********
 **   18 **HESSE 
 **********

 FCN=   5315.781     FROM HESSE     STATUS=OK           335 CALLS     1873 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3371        8.2195        .96822E-03   -1.5685    
   2  Prefactor     .32431E-05    42.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .73830E-07    15.527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.0557        2.0931        .58021E-03   -1.5673    
   5  Prefactor     .24752E-06    102.16        .12020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11419E-06    20.841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.4226        .51491        .31886E-02   -1.5201    
   8  Prefactor     .10159E-07    12.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.401        35.847        .31751E-03   -1.5643    
  10  Prefactor     67.095        56.319        .12594E-03   -1.5544    
  11  Prefactor     16.073        11.361        .25001E-03   -1.5628    
  12  Prefactor     3.3176        7.2136        .55754E-03   -1.5672    
  13  Prefactor     .65614E-07    13.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11102E-09    3.3685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.192        10.811        .26736E-03   -1.5633    
  16  Prefactor     .98532E-07    13.591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .20944E-06    14.298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.516        12.638        .29565E-03   -1.5640    
  19  Normalizat    .43276        .38304        .13116       -1.1564    
  20  Prefactor     1.2917        .20478        .49097E-01   -.83555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04261e-06
Minuit parameter uncertainties:
  1  6.63035
  2  0.0233643
  3  0.00214138
  4  2.09315
  5  0.0100576
  6  0.00308561
  7  0.514906
  8  0.000699226
  9  35.848
  10  56.3196
  11  11.3614
  12  7.21358
  13  0.00189028
  14  3.50955e-05
  15  10.8113
  16  0.00231417
  17  0.00346074
  18  12.6376
  19  0.385395
  20  0.204909
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  6.561e-08  1.890e-03  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.292e+00  2.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  4.328e-01  3.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378819/likelihoodResults_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.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) = 5315.8166872
delta logL = -0.0352141631229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5315.78147314
delta logL = -1.08235326479e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61728E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.3219       1.0000          .0000       10.000    
     3 'Normalizat'    .43263       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2918       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   5315.781     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      222 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.7503        .42118E-03** at limit **
   2  Index         3.3367        1.4940       -.84329E-04     .0000    
   3  Normalizat    .43277        .75712        .16874E-05    .21164E-04
   4  Prefactor     1.2917        1.0790        .10389E-05    .83034E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.33666
  Normalizat = 0.432766
  Prefactor  = 1.29167
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5315.781     FROM HESSE     STATUS=FAILED         9 CALLS      231 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2465        2.1759       -.84329E-04   -.33913    
   3  Normalizat    .43277        .75712        .16874E-05   -1.1564    
   4  Prefactor     1.2917        1.0790        .10389E-05   -.83555    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.60977e-12
Minuit parameter uncertainties:
  1  1.09792e-05
  2  1.52015
  3  0.77625
  4  1.09854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378819': 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) = 5315.78147303
delta logL = 2.42380338022e-09

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  3.337e+00  1.520e+00  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.292e+00  1.099e+00  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  4.328e-01  7.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.436 18.365

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/378819/cmap_HighResolution_687484801_687744001_4FGL_J2325.7+1821_daily_bin1729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.12e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2022-10-18 00:45:04.053393', job_id='378819', GAL2='1.29', fit_tolerance='1e-08', EG2='0.43', EG='0.43', time_epoch_completed='1666079104.05', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='2.42e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1729' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:45:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 378819: <4FGL_J2325.7+1821_daily_bin1729> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1729> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:34 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:35 2022
Terminated at Tue Oct 18 00:45:04 2022
Results reported at Tue Oct 18 00:45:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1729 351.436 18.3654 687484801 687744001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.7+1821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   552.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             390.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            570 sec.

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

