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 71 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7529
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1676
RA = 351.436, Dec = 18.3654
tmin = 673747201, tmax = 674006401
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='68807', job_status='RUN', time_executed='2022-05-12 01:32:22.728010', time_epoch_executed='1652344342.73' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68807

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68807/ft1_4FGL_J2325.7+1821_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68807/ft2_4FGL_J2325.7+1821_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68807/ft1_4FGL_J2325.7+1821_daily_bin1676.fits outfile=/scratch/kocevski/68807/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1676.fits ra=351.436 dec=18.3654 rad=12.0 tmin=673747201.0 tmax=674006401.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.85
user 3.60
sys 0.21

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

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

Number of photons that the gtmktime cut: 731

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68807/ft1_filtered_4FGL_J2325.7+1821_daily_bin1676.fits" evtable="EVENTS" scfile=/scratch/kocevski/68807/ft2_4FGL_J2325.7+1821_daily_bin1676.fits sctable="SC_DATA" outfile=/scratch/kocevski/68807/ltcube_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.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/68807/ft2_4FGL_J2325.7+1821_daily_bin1676.fits
.....................!
real 14.05
user 13.65
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68807/ft1_filtered_4FGL_J2325.7+1821_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68807/ft2_4FGL_J2325.7+1821_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/68807/ltcube_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.fits outfile=/scratch/kocevski/68807/expmap_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.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/68807/ltcube_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.fits
.....................!
real 191.27
user 185.20
sys 5.70

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/68807/ft1_filtered_4FGL_J2325.7+1821_daily_bin1676.fits scfile=/scratch/kocevski/68807/ft2_4FGL_J2325.7+1821_daily_bin1676.fits outfile=/scratch/kocevski/68807/cmap_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.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/68807/ft1_filtered_4FGL_J2325.7+1821_daily_bin1676.fits scfile=/scratch/kocevski/68807/ft2_4FGL_J2325.7+1821_daily_bin1676.fits outfile=/scratch/kocevski/68807/cmap_HighResolution_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/68807/ft1_filtered_4FGL_J2325.7+1821_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68807/ft2_4FGL_J2325.7+1821_daily_bin1676.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/68807/Model_4FGL_J2325.7+1821_daily_bin1676.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/68807/ft1_filtered_4FGL_J2325.7+1821_daily_bin1676.fits.....................!
real 87.27
user 85.84
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/68807/ft1_filtered_4FGL_J2325.7+1821_daily_bin1676.fits', '/scratch/kocevski/68807/ft2_4FGL_J2325.7+1821_daily_bin1676.fits', expMap='/scratch/kocevski/68807/expmap_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.fits', expCube='/scratch/kocevski/68807/ltcube_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/68807/Model_4FGL_J2325.7+1821_daily_bin1676.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  1.000e-04  1.000e+04 ( 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/68807/ft1_filtered_4FGL_J2325.7+1821_daily_bin1676.fits
Spacecraft file(s): /scratch/kocevski/68807/ft2_4FGL_J2325.7+1821_daily_bin1676.fits
Exposure map: /scratch/kocevski/68807/expmap_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.fits
Exposure cube: /scratch/kocevski/68807/ltcube_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/68807/Model_4FGL_J2325.7+1821_daily_bin1676.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) = 7719.34011875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7956       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.121       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .13279E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    71.034       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .76421       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.9813       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.083       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.330       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.886       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11935E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    73.045       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.887       1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .68433       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1679       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.

 FCN=   7719.282     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2541 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7940        4.6012       -.66329E-06   -.52950E-03
   2  Prefactor     10.118        11.080       -.20798E-06   -.70926E-04
   3  Prefactor     .10000E-03    9.3701        .41785E-05** at limit **
   4  norm          .10000E-03    .85237        .54683E-07** at limit **
   5  Prefactor     .10000E-03    9.5776        .32153E-05** at limit **
   6  Prefactor     71.033        17.750       -.15832E-07    .14885E-05
   7  Prefactor     .10000E-03    3.7074       -.15947E-05** at limit **
   8  Prefactor     .76419        .17042       -.38629E-07    .37079E-03
   9  Prefactor     7.9780        11.364       -.33060E-06   -.39896E-04
  10  Prefactor     .10000E-03    1.5958       -.34556E-07** at limit **
  11  Prefactor     .10000E-03    3.9487        .11457E-05** at limit **
  12  Prefactor     21.077        26.198       -.85259E-05    .87479E-05
  13  Prefactor     13.330        21.124        .42145E-07    .21550E-05
  14  Prefactor     10.885        6.6035       -.10133E-05   -.17519E-02
  15  Prefactor     .10000E-03    21.705        .90628E-05** at limit **
  16  Prefactor     .10000E-03    12.090       -.69094E-05** at limit **
  17  norm          73.056        15.301        .64736E-05   -.81621E-04
  18  Prefactor     .10000E-03    6.9778       -.25224E-05** at limit **
  19  Prefactor     17.845        29.094       -.66257E-04   -.42228E-04
  20  norm          .10000E-03    14.073       -.41526E-05** at limit **
  21  Prefactor     .10000E-03    2.0197       -.16012E-07** at limit **
  22  Normalizat    .68461        .23669        .17893E-05    .84653E-04
  23  Prefactor     1.1677        .13531        .22845E-05   -.60824E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.79397
  Prefactor  = 10.1182
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 71.0329
  Prefactor  = 0.0001
  Prefactor  = 0.764186
  Prefactor  = 7.97803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.0768
  Prefactor  = 13.33
  Prefactor  = 10.8845
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 73.0559
  Prefactor  = 0.0001
  Prefactor  = 17.8449
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.684612
  Prefactor  = 1.16774
 **********
 **   18 **HESSE 
 **********

 FCN=   7719.282     FROM HESSE     STATUS=OK           368 CALLS     2909 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7940        4.5950        .15073E-03   -1.5227    
   2  Prefactor     10.118        11.060        .12595E-03   -1.5072    
   3  Prefactor     .10000E-03    9.4016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.4978        .15677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.5856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     71.033        17.576        .47631E-04   -1.4020    
   7  Prefactor     .10000E-03    3.7085        .16522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .76419        .17017        .16340E-04   -1.5533    
   9  Prefactor     7.9780        11.353        .14192E-03   -1.5143    
  10  Prefactor     .10000E-03    1.5997        .10839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.9594        .17049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.077        26.200        .87232E-04   -1.4789    
  13  Prefactor     13.330        21.128        .10971E-03   -1.4978    
  14  Prefactor     10.885        6.6211        .60715E-03   -1.5048    
  15  Prefactor     .10000E-03    22.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          73.056        15.213        .46975E-04   -1.3996    
  18  Prefactor     .10000E-03    7.0778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.845        29.113        .94700E-04   -1.4863    
  20  norm          .10000E-03    14.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.0219        .12193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .68461        .25694        .41546E-03   -1.0450    
  23  Prefactor     1.1677        .14875        .19830E-03   -.87330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00507e-09
Minuit parameter uncertainties:
  1  4.5953
  2  11.0627
  3  1.49422e-05
  4  0.000113654
  5  9.36625e-06
  6  17.5774
  7  2.07497e-06
  8  0.170171
  9  11.3565
  10  3.94701e-06
  11  1.94264e-05
  12  26.214
  13  21.1403
  14  6.62155
  15  0.000101077
  16  3.35124e-06
  17  15.2136
  18  0.000108462
  19  29.1363
  20  5.29029e-05
  21  2.84071e-06
  22  0.257389
  23  0.148799
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  3.351e-06  1.000e-04  1.000e+04 ( 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.168e+00  1.488e-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:  6.846e-01  2.574e-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.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/68807/likelihoodResults_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.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) = 7719.2823159
delta logL = -0.000391559664422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7719.28192747
delta logL = -3.13113650918e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12108E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4058       1.0000          .0000       10.000    
     3 'Normalizat'    .68409       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1680       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=   7719.282     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      241 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10167E-03    115.92        .18142E-02** at limit **
   2  Index         2.3432        6.7612        .50000        .13251E-04
   3  Normalizat    .68461        .16200E-01    .41546E-03    .32289E-04
   4  Prefactor     1.1677        .99357E-02    .19830E-03    .57295E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101668
  Index      = 2.34321
  Normalizat = 0.68461
  Prefactor  = 1.16774
 **********
 **   18 **HESSE 
 **********

 FCN=   7719.282     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10167E-03    488.22        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3432        8.6755        .50000       -.56020    
   3  Normalizat    .68461        .34558E-01    .16619E-04   -1.0450    
   4  Prefactor     1.1677        .21195E-01    .39661E-04   -.87330    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.16871e-08
Minuit parameter uncertainties:
  1  0.0575445
  2  708.061
  3  0.0345594
  4  0.0211956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68807': 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) = 7719.28192408
delta logL = 2.55146915151e-07

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.017e-04  5.754e-02  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.343e+00  7.081e+02  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.168e+00  2.120e-02  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:  6.846e-01  3.456e-02  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/68807/cmap_HighResolution_673747201_674006401_4FGL_J2325.7+1821_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.78e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2022-05-12 01:44:57.727376', job_id='68807', GAL2='1.17', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1652345097.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='2.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1676' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:44:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 68807: <4FGL_J2325.7+1821_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1676> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu May 12 01:30:29 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:31:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:31:01 2022
Terminated at Thu May 12 01:44:58 2022
Results reported at Thu May 12 01:44:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1676 351.436 18.3654 673747201 674006401 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 :                                   755.53 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            869 sec.

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

