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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1746
RA = 351.436, Dec = 18.3654
tmin = 691891201, tmax = 692150401
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='743816', job_status='RUN', time_executed='2022-12-08 01:56:17.191929', time_epoch_executed='1670493377.19' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743816

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743816/ft1_4FGL_J2325.7+1821_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743816/ft2_4FGL_J2325.7+1821_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743816/ft1_4FGL_J2325.7+1821_daily_bin1746.fits outfile=/scratch/kocevski/743816/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1746.fits ra=351.436 dec=18.3654 rad=12.0 tmin=691891201.0 tmax=692150401.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.74
user 4.47
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/743816/ft2_4FGL_J2325.7+1821_daily_bin1746.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/743816/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/743816/ft1_filtered_4FGL_J2325.7+1821_daily_bin1746.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.33
sys 0.16

Number of photons that the gtmktime cut: 890

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/743816/ft1_filtered_4FGL_J2325.7+1821_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/743816/ft2_4FGL_J2325.7+1821_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/743816/ltcube_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.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/743816/ft2_4FGL_J2325.7+1821_daily_bin1746.fits
.....................!
real 12.57
user 12.23
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743816/ft1_filtered_4FGL_J2325.7+1821_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/743816/ft2_4FGL_J2325.7+1821_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/743816/ltcube_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.fits outfile=/scratch/kocevski/743816/expmap_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.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/743816/ltcube_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.fits
.....................!
real 191.34
user 185.88
sys 5.31

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/743816/ft1_filtered_4FGL_J2325.7+1821_daily_bin1746.fits scfile=/scratch/kocevski/743816/ft2_4FGL_J2325.7+1821_daily_bin1746.fits outfile=/scratch/kocevski/743816/cmap_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743816/ft1_filtered_4FGL_J2325.7+1821_daily_bin1746.fits scfile=/scratch/kocevski/743816/ft2_4FGL_J2325.7+1821_daily_bin1746.fits outfile=/scratch/kocevski/743816/cmap_HighResolution_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.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 1.15
user 0.37
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/743816/ft1_filtered_4FGL_J2325.7+1821_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/743816/ft2_4FGL_J2325.7+1821_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/743816/Model_4FGL_J2325.7+1821_daily_bin1746.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/743816/ft1_filtered_4FGL_J2325.7+1821_daily_bin1746.fits.....................!
real 100.41
user 98.16
sys 1.92

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/743816/ft1_filtered_4FGL_J2325.7+1821_daily_bin1746.fits', '/scratch/kocevski/743816/ft2_4FGL_J2325.7+1821_daily_bin1746.fits', expMap='/scratch/kocevski/743816/expmap_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.fits', expCube='/scratch/kocevski/743816/ltcube_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/743816/Model_4FGL_J2325.7+1821_daily_bin1746.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/743816/ft1_filtered_4FGL_J2325.7+1821_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/743816/ft2_4FGL_J2325.7+1821_daily_bin1746.fits
Exposure map: /scratch/kocevski/743816/expmap_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.fits
Exposure cube: /scratch/kocevski/743816/ltcube_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/743816/Model_4FGL_J2325.7+1821_daily_bin1746.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) = 9238.7679776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14544E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    19.354       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.4131       1.0000          .0000       .10000E+07
     4 'norm      '    2.5804       1.0000          .0000       .10000E+07
     5 'Prefactor '    25.176       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.7733       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9349       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8308       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.1591       1.0000          .0000       .10000E+07
    10 'Prefactor '    184.38       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.2635       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59341E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13409E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .40457E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.7783       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.6445       1.0000          .0000       .10000E+07
    17 'norm      '    .51098E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.841       1.0000          .0000       .10000E+07
    19 'Normalizat'    .79471       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1472       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=   9238.310     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1031 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.1346       -.59487E-07** at limit **
   2  Prefactor     19.219        11.705       -.37944E-07   -.19694E-02
   3  Prefactor     8.6616        11.004        .42591E-07    .14072E-02
   4  norm          2.5846        1.5958        .61784E-07   -.24238E-02
   5  Prefactor     25.035        4.3761       -.62900E-08   -.16111E-01
   6  Prefactor     6.5924        9.1485        .40121E-07   -.22244E-03
   7  Prefactor     1.9359        .23033        .13924E-06   -.19991E-02
   8  Prefactor     2.6865        6.3810       -.57233E-07    .13128E-03
   9  Prefactor     8.1840        21.122       -.92280E-07    .91081E-02
  10  Prefactor     185.03        48.004        .21169E-07    .54179E-02
  11  Prefactor     1.2622        3.6617       -.59367E-08   -.27686E-04
  12  Prefactor      .0000        6.0699        .15738E-06** at limit **
  13  Prefactor     .66613E-09    16.195       -.12078E-06** at limit **
  14  norm          .20539E-08    43.085        .14534E-06** at limit **
  15  Prefactor     9.7565        6.8467        .38909E-07   -.86556E-03
  16  Prefactor     8.8934        12.723        .21815E-07    .11970E-01
  17  norm           .0000        11.899       -.13895E-06** at limit **
  18  Prefactor     10.834        7.0717       -.87515E-08    .14724E-03
  19  Normalizat    .79540        .23379        .32250E-05   -.33462E-04
  20  Prefactor     1.1476        .14217       -.14421E-05   -.36567E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 19.2188
  Prefactor  = 8.66162
  norm       = 2.58457
  Prefactor  = 25.0349
  Prefactor  = 6.5924
  Prefactor  = 1.93595
  Prefactor  = 2.68647
  Prefactor  = 8.18405
  Prefactor  = 185.031
  Prefactor  = 1.26215
  Prefactor  = 0
  Prefactor  = 6.66134e-10
  norm       = 2.05391e-09
  Prefactor  = 9.75649
  Prefactor  = 8.89345
  norm       = 0
  Prefactor  = 10.8341
  Normalizat = 0.7954
  Prefactor  = 1.1476
 **********
 **   18 **HESSE 
 **********

 FCN=   9238.310     FROM HESSE     STATUS=OK           343 CALLS     1374 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.0867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.219        11.727        .22738E-03   -1.5620    
   3  Prefactor     8.6616        11.044        .34538E-03   -1.5649    
   4  norm          2.5846        1.5980        .63506E-03   -1.5676    
   5  Prefactor     25.035        22.843        .19934E-03   -1.5608    
   6  Prefactor     6.5924        9.1732        .38530E-03   -1.5657    
   7  Prefactor     1.9359        .23247        .34213E-02   -1.5430    
   8  Prefactor     2.6865        6.4170        .60417E-03   -1.5675    
   9  Prefactor     8.1840        25.265        .33092E-03   -1.5651    
  10  Prefactor     185.03        48.108        .73651E-04   -1.5436    
  11  Prefactor     1.2622        3.7136        .99115E-03   -1.5685    
  12  Prefactor      .0000        6.0543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .66613E-09    16.264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .20539E-08    42.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.7565        6.8874        .32021E-03   -1.5645    
  16  Prefactor     8.8934        24.964        .34069E-03   -1.5648    
  17  norm           .0000        11.867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.834        7.0795        .30405E-03   -1.5642    
  19  Normalizat    .79540        .21153        .89158E-01   -1.0024    
  20  Prefactor     1.1476        .12646        .36017E-01   -.87959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21956e-08
Minuit parameter uncertainties:
  1  3.82833e-06
  2  11.7275
  3  11.044
  4  1.598
  5  22.8432
  6  9.17324
  7  0.232471
  8  6.41697
  9  25.265
  10  48.1081
  11  3.71357
  12  1.77611e-05
  13  0.000207557
  14  0.000587627
  15  6.88744
  16  24.9641
  17  2.76091e-05
  18  7.07946
  19  0.211752
  20  0.126493
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  6.661e-10  2.076e-04  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.148e+00  1.265e-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:  7.954e-01  2.118e-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: 7.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743816/likelihoodResults_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.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) = 9238.34103001
delta logL = -0.0305576419432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9238.31047337
delta logL = -9.99842086458e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15635E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .51239       1.0000          .0000       10.000    
     3 'Normalizat'    .79522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1477       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=   9238.310     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      216 TOTAL
                     EDM=   .89E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    11.884        .79229E-06** at limit **
   2  Index         1.6026        5.4134        .72811E-04   -.21360E-10
   3  Normalizat    .79540        .22579       -.12542E-05    .32458E-04
   4  Prefactor     1.1476        .14050        .22575E-06    .38962E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 1.60255
  Normalizat = 0.795401
  Prefactor  = 1.1476
 **********
 **   18 **HESSE 
 **********

 FCN=   9238.310     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      249 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    1.9850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6026        5.6270        .39846       -.74707    
   3  Normalizat    .79540        .20668E-02    .89158E-01   -1.0024    
   4  Prefactor     1.1476        .12862E-02    .36004E-01   -.87960    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.51247e-12
Minuit parameter uncertainties:
  1  3.48674e-05
  2  65320.9
  3  0.00206679
  4  0.00128623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743816': 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): 102
logL (Free Index) = 9238.31047237
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.665e-10  3.487e-05  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  1.603e+00  6.532e+04  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.148e+00  1.286e-03  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:  7.954e-01  2.067e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/743816/cmap_HighResolution_691891201_692150401_4FGL_J2325.7+1821_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.64e-03', job_status='DONE', photon_flux_upper_limit='7.28e-08', time_completed='2022-12-08 02:06:49.815941', job_id='743816', GAL2='1.15', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1670494009.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.46e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1746' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 02:06:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 743816: <4FGL_J2325.7+1821_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1746> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec  8 01:55:22 2022
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:55:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:55:23 2022
Terminated at Thu Dec  8 02:06:50 2022
Results reported at Thu Dec  8 02:06:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1746 351.436 18.3654 691891201 692150401 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 :                                   635.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            688 sec.

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

