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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1735
RA = 351.436, Dec = 18.3654
tmin = 689040001, tmax = 689299201
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='866736', job_status='RUN', time_executed='2022-11-05 00:38:27.670852', time_epoch_executed='1667633907.67' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866736

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866736/ft1_4FGL_J2325.7+1821_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866736/ft2_4FGL_J2325.7+1821_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866736/ft1_4FGL_J2325.7+1821_daily_bin1735.fits outfile=/scratch/kocevski/866736/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1735.fits ra=351.436 dec=18.3654 rad=12.0 tmin=689040001.0 tmax=689299201.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.65
user 3.40
sys 0.23

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

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

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

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

Number of photons that the gtmktime cut: 864

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866736/ft1_filtered_4FGL_J2325.7+1821_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866736/ft2_4FGL_J2325.7+1821_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866736/ltcube_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.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/866736/ft2_4FGL_J2325.7+1821_daily_bin1735.fits
.....................!
real 12.08
user 11.71
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866736/ft1_filtered_4FGL_J2325.7+1821_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866736/ft2_4FGL_J2325.7+1821_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866736/ltcube_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.fits outfile=/scratch/kocevski/866736/expmap_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.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/866736/ltcube_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.fits
.....................!
real 190.82
user 185.23
sys 5.27

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/866736/ft1_filtered_4FGL_J2325.7+1821_daily_bin1735.fits scfile=/scratch/kocevski/866736/ft2_4FGL_J2325.7+1821_daily_bin1735.fits outfile=/scratch/kocevski/866736/cmap_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.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/866736/ft1_filtered_4FGL_J2325.7+1821_daily_bin1735.fits scfile=/scratch/kocevski/866736/ft2_4FGL_J2325.7+1821_daily_bin1735.fits outfile=/scratch/kocevski/866736/cmap_HighResolution_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.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/866736/ft1_filtered_4FGL_J2325.7+1821_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866736/ft2_4FGL_J2325.7+1821_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866736/Model_4FGL_J2325.7+1821_daily_bin1735.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/866736/ft1_filtered_4FGL_J2325.7+1821_daily_bin1735.fits.....................!
real 101.80
user 100.42
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866736/ft1_filtered_4FGL_J2325.7+1821_daily_bin1735.fits', '/scratch/kocevski/866736/ft2_4FGL_J2325.7+1821_daily_bin1735.fits', expMap='/scratch/kocevski/866736/expmap_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.fits', expCube='/scratch/kocevski/866736/ltcube_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866736/Model_4FGL_J2325.7+1821_daily_bin1735.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/866736/ft1_filtered_4FGL_J2325.7+1821_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866736/ft2_4FGL_J2325.7+1821_daily_bin1735.fits
Exposure map: /scratch/kocevski/866736/expmap_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866736/ltcube_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866736/Model_4FGL_J2325.7+1821_daily_bin1735.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 9469.64841488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76503       1.0000          .0000       .10000E+07
     2 'Prefactor '    62.731       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12224E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .68940       1.0000          .0000       .10000E+07
     5 'Prefactor '    17.479       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12492E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.9090       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17319E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.937       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47289E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .49183E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .96458       1.0000          .0000       .10000E+07
    13 'Prefactor '    .44680       1.0000          .0000       .10000E+07
    14 'norm      '    25.854       1.0000          .0000       .10000E+07
    15 'Prefactor '    .27358E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.442       1.0000          .0000       .10000E+07
    17 'norm      '    20.636       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.7065       1.0000          .0000       .10000E+07
    19 'Normalizat'    .42454       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3302       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=   9468.259     FROM MIGRAD    STATUS=CONVERGED    139 CALLS      956 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76343        2.6798       -.77268E-08   -.10251E-02
   2  Prefactor     62.680        3.7838        .60544E-08    .16157E-01
   3  Prefactor      .0000        3.6318       -.29162E-07** at limit **
   4  norm          .68915        .86290       -.19004E-07   -.31190E-02
   5  Prefactor     17.742        13.508        .43598E-08   -.78881E-01
   6  Prefactor     .19379E-06    11.226       -.19065E-06** at limit **
   7  Prefactor     2.9083        .29239        .10464E-07    .25158E-03
   8  Prefactor      .0000        3.7080        .43038E-07** at limit **
   9  Prefactor     15.632        24.164        .11677E-06   -.24232E-01
  10  Prefactor     .22654E-06    11.432       -.22833E-07** at limit **
  11  Prefactor      .0000        2.4458        .45385E-07** at limit **
  12  Prefactor     .99875        1.3017        .34765E-07   -.13242E-01
  13  Prefactor     .21166E-05    632.86        .32448E-05** at limit **
  14  norm          25.808        10.349        .13666E-07    .40422E-03
  15  Prefactor     .11102E-09    4.8314       -.59911E-07** at limit **
  16  Prefactor     16.547        6.8028       -.13189E-07    .11283E-01
  17  norm          20.482        12.254       -.34190E-07   -.83922E-01
  18  Prefactor     3.7028        4.7147        .52086E-08   -.43498E-04
  19  Normalizat    .42579        .24555       -.18634E-05   -.32380E-04
  20  Prefactor     1.3303        .14455        .36840E-06   -.39573E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.763433
  Prefactor  = 62.6798
  Prefactor  = 0
  norm       = 0.689146
  Prefactor  = 17.7418
  Prefactor  = 1.93789e-07
  Prefactor  = 2.90828
  Prefactor  = 0
  Prefactor  = 15.6324
  Prefactor  = 2.26541e-07
  Prefactor  = 0
  Prefactor  = 0.99875
  Prefactor  = 2.11664e-06
  norm       = 25.8077
  Prefactor  = 1.11022e-10
  Prefactor  = 16.5472
  norm       = 20.4817
  Prefactor  = 3.70282
  Normalizat = 0.425789
  Prefactor  = 1.33026
 **********
 **   18 **HESSE 
 **********

 FCN=   9468.259     FROM HESSE     STATUS=OK           343 CALLS     1299 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76343        2.8401        .55579E-03   -1.5690    
   2  Prefactor     62.680        18.214        .12627E-03   -1.5550    
   3  Prefactor      .0000        3.6380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .68915        .86905        .61573E-03   -1.5691    
   5  Prefactor     17.742        20.381        .23929E-03   -1.5624    
   6  Prefactor     .19379E-06    11.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9083        .29477        .35679E-02   -1.5367    
   8  Prefactor      .0000        3.7124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.632        26.948        .25062E-03   -1.5629    
  10  Prefactor     .22654E-06    12.253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.4552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .99875        29.873        .42507E-03   -1.5688    
  13  Prefactor     .21166E-05    16.202        .10954E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          25.808        11.953        .19671E-03   -1.5606    
  15  Prefactor     .11102E-09    4.8488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.547        31.611        .24673E-03   -1.5627    
  17  norm          20.482        14.027        .22020E-03   -1.5617    
  18  Prefactor     3.7028        4.7445        .52430E-03   -1.5669    
  19  Normalizat    .42579        .26953        .12582       -1.1599    
  20  Prefactor     1.3303        .15007        .32103E-01   -.82412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3589e-06
Minuit parameter uncertainties:
  1  2.84011
  2  18.2139
  3  6.27675e-06
  4  0.869053
  5  20.3816
  6  0.00303807
  7  0.294773
  8  1.91106e-06
  9  26.9486
  10  0.00333225
  11  1.29045e-05
  12  10.9245
  13  0.0117121
  14  11.9533
  15  5.05205e-05
  16  31.6111
  17  14.0269
  18  4.74454
  19  0.270357
  20  0.150122
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.117e-06  1.171e-02  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.330e+00  1.501e-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.258e-01  2.704e-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: 9.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866736/likelihoodResults_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9468.2610795
delta logL = -0.00195060342412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9468.25747111
delta logL = 0.00165778783412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .77581       1.0000          .0000       .10000E+07
     2 'Index     '    2.7301       1.0000          .0000       10.000    
     3 'Normalizat'    .42271       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3309       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9468.257     FROM MIGRAD    STATUS=FAILED        88 CALLS      274 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76805        76.643        .21902E-04   -.13537E-02
   2  Index         2.7387        3.4855        .14840E-01   -.41776E-04
   3  Normalizat    .42328        .24238        .55947E-03   -.26535E-02
   4  Prefactor     1.3306        .14464        .19744E-03   -.61123E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9468.257     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      357 TOTAL
                     EDM=   .79E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76805        76.643        .58255E-04   -1.5690    
   2  Index         2.7387        3.4855        .18059E-02   -.46929    
   3  Normalizat    .42328        .24238        .16640E-03   -1.1611    
   4  Prefactor     1.3306        .14464        .93965E-04   -.82402    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9468.257     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      387 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76744        63.153        .87608E-06   -.59322E-03
   2  Index         2.7389        3.2481        .59360E-03    .11415E-04
   3  Normalizat    .42331        .24238        .11189E-03   -.26417E-05
   4  Prefactor     1.3306        .14463        .39487E-04   -.47217E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.76744
  Index      = 2.73886
  Normalizat = 0.423306
  Prefactor  = 1.33059
 **********
 **   18 **HESSE 
 **********

 FCN=   9468.257     FROM HESSE     STATUS=OK            23 CALLS      410 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76744        62.718        .37409E-06   -1.5690    
   2  Index         2.7389        3.2408        .23744E-04   -.46926    
   3  Normalizat    .42331        .24233        .44758E-05   -1.1611    
   4  Prefactor     1.3306        .14461        .78975E-05   -.82402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18395e-10
Minuit parameter uncertainties:
  1  13.8757
  2  3.62799
  3  0.242935
  4  0.144651
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866736': 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) = 9468.2574649
delta logL = 0.00166399992122

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  7.674e-01  1.388e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.739e+00  3.628e+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.331e+00  1.447e-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.233e-01  2.429e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/866736/cmap_HighResolution_689040001_689299201_4FGL_J2325.7+1821_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.62e-03', job_status='DONE', photon_flux_upper_limit='9.84e-08', time_completed='2022-11-05 00:48:43.464036', job_id='866736', GAL2='1.33', fit_tolerance='1e-08', EG2='0.42', EG='0.43', time_epoch_completed='1667634523.46', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='1.66e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1735' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:48:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 866736: <4FGL_J2325.7+1821_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:30 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:31 2022
Terminated at Sat Nov  5 00:48:43 2022
Results reported at Sat Nov  5 00:48:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1735 351.436 18.3654 689040001 689299201 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 :                                   618.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            793 sec.

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

