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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1726
RA = 351.436, Dec = 18.3654
tmin = 686707201, tmax = 686966401
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='89593', job_status='RUN', time_executed='2022-10-09 00:43:24.405391', time_epoch_executed='1665301404.41' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89593

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89593/ft1_4FGL_J2325.7+1821_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89593/ft2_4FGL_J2325.7+1821_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89593/ft1_4FGL_J2325.7+1821_daily_bin1726.fits outfile=/scratch/kocevski/89593/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1726.fits ra=351.436 dec=18.3654 rad=12.0 tmin=686707201.0 tmax=686966401.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.05
user 2.82
sys 0.21

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

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

Number of photons that the gtmktime cut: 164

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89593/ft1_filtered_4FGL_J2325.7+1821_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/89593/ft2_4FGL_J2325.7+1821_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/89593/ltcube_686707201_686966401_4FGL_J2325.7+1821_daily_bin1726.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/89593/ft2_4FGL_J2325.7+1821_daily_bin1726.fits
.....................!
real 13.37
user 13.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89593/ft1_filtered_4FGL_J2325.7+1821_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/89593/ft2_4FGL_J2325.7+1821_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/89593/ltcube_686707201_686966401_4FGL_J2325.7+1821_daily_bin1726.fits outfile=/scratch/kocevski/89593/expmap_686707201_686966401_4FGL_J2325.7+1821_daily_bin1726.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/89593/ltcube_686707201_686966401_4FGL_J2325.7+1821_daily_bin1726.fits
.....................!
real 191.72
user 185.63
sys 5.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 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/89593/ft1_filtered_4FGL_J2325.7+1821_daily_bin1726.fits scfile=/scratch/kocevski/89593/ft2_4FGL_J2325.7+1821_daily_bin1726.fits outfile=/scratch/kocevski/89593/cmap_686707201_686966401_4FGL_J2325.7+1821_daily_bin1726.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89593/ft1_filtered_4FGL_J2325.7+1821_daily_bin1726.fits scfile=/scratch/kocevski/89593/ft2_4FGL_J2325.7+1821_daily_bin1726.fits outfile=/scratch/kocevski/89593/cmap_HighResolution_686707201_686966401_4FGL_J2325.7+1821_daily_bin1726.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75590E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25469E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .35158E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .63838E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53629E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    76.993       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.5991       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .98621E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    59.212       1.0000          .0000       .10000E+07
    10 'Prefactor '    81.131       1.0000          .0000       .10000E+07
    11 'Prefactor '    .94835E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    27.302       1.0000          .0000       .10000E+07
    13 'Prefactor '    22.189       1.0000          .0000       .10000E+07
    14 'norm      '    77.424       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34722E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    35.855       1.0000          .0000       .10000E+07
    17 'norm      '    .64809E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10386E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    .25957       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91251       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=   1773.679     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     2539 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46629E-08    52.832       -.59833E-05** at limit **
   2  Prefactor     .22903E-04    87.708        .32154E-05** at limit **
   3  Prefactor     .69167E-06    330.63       -.70638E-04** at limit **
   4  norm           .0000        1.7073       -.65794E-06** at limit **
   5  Prefactor     .17615E-04    101.93        .10395E-04** at limit **
   6  Prefactor     76.992        1.7566        .10756E-06    .25464E-01
   7  Prefactor     6.5986        .87280       -.17656E-06    .84587E-03
   8  Prefactor      .0000        24.415        .62590E-06** at limit **
   9  Prefactor     59.202        1.7636       -.36410E-06   -.39797E-02
  10  Prefactor     81.132        1.2250       -.14585E-06   -.53224E-02
  11  Prefactor      .0000        21.794       -.96742E-07** at limit **
  12  Prefactor     27.299        1.6388       -.45641E-06   -.58476E-02
  13  Prefactor     22.189        1.4840        .42922E-06    .28719E-02
  14  norm          77.421        1.2171       -.51997E-07   -.16156E-01
  15  Prefactor      .0000        15.214        .18529E-06** at limit **
  16  Prefactor     35.851        1.0171       -.33358E-07   -.30560E-02
  17  norm          .94369E-08    44.853       -.16348E-05** at limit **
  18  Prefactor     .12212E-08    40.638        .38449E-05** at limit **
  19  Normalizat    .25960        .66681        .12616E-04    .10005E-04
  20  Prefactor     .91247        .36357        .69462E-05   -.53202E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 4.66294e-09
  Prefactor  = 2.29027e-05
  Prefactor  = 6.91669e-07
  norm       = 0
  Prefactor  = 1.76155e-05
  Prefactor  = 76.9923
  Prefactor  = 6.59861
  Prefactor  = 0
  Prefactor  = 59.202
  Prefactor  = 81.1322
  Prefactor  = 0
  Prefactor  = 27.2987
  Prefactor  = 22.1885
  norm       = 77.4206
  Prefactor  = 0
  Prefactor  = 35.8511
  norm       = 9.4369e-09
  Prefactor  = 1.22125e-09
  Normalizat = 0.259603
  Prefactor  = 0.912475
 **********
 **   18 **HESSE 
 **********

 FCN=   1773.679     FROM HESSE     STATUS=OK           327 CALLS     2866 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46629E-08    52.842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22903E-04    191.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .69167E-06    333.55        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.7103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17615E-04    184.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     76.992        45.460        .11397E-03   -1.5532    
   7  Prefactor     6.5986        .93691        .30140E-02   -1.5194    
   8  Prefactor      .0000        24.404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     59.202        93.716        .12996E-03   -1.5554    
  10  Prefactor     81.132        95.140        .11103E-03   -1.5528    
  11  Prefactor      .0000        21.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.299        84.578        .19142E-03   -1.5603    
  13  Prefactor     22.189        78.194        .21235E-03   -1.5614    
  14  norm          77.421        66.863        .11366E-03   -1.5532    
  15  Prefactor      .0000        15.203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.851        281.71        .16702E-03   -1.5588    
  17  norm          .94369E-08    44.903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .12212E-08    40.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .25960        1.4890        .20709       -1.2533    
  20  Prefactor     .91247        .58657        .45164E-01   -.95707    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51624e-07
Minuit parameter uncertainties:
  1  0.000991259
  2  0.132293
  3  0.0303804
  4  7.37634e-07
  5  0.114002
  6  45.4606
  7  0.936914
  8  5.06013e-06
  9  93.7183
  10  95.1421
  11  1.54068e-05
  12  84.5816
  13  78.1973
  14  66.8635
  15  2.73482e-06
  16  201.006
  17  0.00130038
  18  0.0004503
  19  1.27001
  20  0.5907
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.219e+01  7.820e+01  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:  9.125e-01  5.907e-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:  2.596e-01  1.270e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 5.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.38e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/89593/likelihoodResults_686707201_686966401_4FGL_J2325.7+1821_daily_bin1726.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) = 1773.58927541
delta logL = 0.0894639336375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1773.58876383
delta logL = 0.0899755134619

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1773.589     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      291 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.996        100.98        .59650E-05    .32591E-04
   2  Index         1.8252        1.1516        .10029E-01   -.96543E-05
   3  Normalizat    .28509        .66474        .87176E-03   -.33809E-05
   4  Prefactor     .89478        .36633        .26662E-03    .27254E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.9964
  Index      = 1.82517
  Normalizat = 0.285093
  Prefactor  = 0.894775
 **********
 **   18 **HESSE 
 **********

 FCN=   1773.589     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.996        100.88        .11930E-05   -1.5574    
   2  Index         1.8252        1.1507        .20058E-02   -.68797    
   3  Normalizat    .28509        .66380        .34871E-04   -1.2374    
   4  Prefactor     .89478        .36580        .53323E-04   -.96324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26501e-11
Minuit parameter uncertainties:
  1  100.886
  2  1.16846
  3  0.683539
  4  0.366805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89593': 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) = 1773.58876375
delta logL = 0.0899755925909

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  4.500e+01  1.009e+02  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  1.825e+00  1.168e+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:  8.948e-01  3.668e-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:  2.851e-01  6.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/89593/cmap_HighResolution_686707201_686966401_4FGL_J2325.7+1821_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-02', job_status='DONE', photon_flux_upper_limit='5.65e-07', time_completed='2022-10-09 00:50:12.802834', job_id='89593', GAL2='0.89', fit_tolerance='1e-08', EG2='0.29', EG='0.26', time_epoch_completed='1665301812.8', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='9.00e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1726' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:50:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 89593: <4FGL_J2325.7+1821_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1726> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Oct  9 00:40:18 2022
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:40:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:40:19 2022
Terminated at Sun Oct  9 00:50:13 2022
Results reported at Sun Oct  9 00:50:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1726 351.436 18.3654 686707201 686966401 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 :                                   410.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             239.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            595 sec.

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

