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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1748
RA = 351.436, Dec = 18.3654
tmin = 692409601, tmax = 692668801
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='900344', job_status='RUN', time_executed='2022-12-14 01:32:39.196528', time_epoch_executed='1671010359.2' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/900344

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/900344/ft1_4FGL_J2325.7+1821_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/900344/ft2_4FGL_J2325.7+1821_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/900344/ft1_4FGL_J2325.7+1821_daily_bin1748.fits outfile=/scratch/kocevski/900344/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1748.fits ra=351.436 dec=18.3654 rad=12.0 tmin=692409601.0 tmax=692668801.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.57
user 3.32
sys 0.23

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

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

Number of photons that the gtmktime cut: 825

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/900344/ft1_filtered_4FGL_J2325.7+1821_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/900344/ft2_4FGL_J2325.7+1821_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/900344/ltcube_692409601_692668801_4FGL_J2325.7+1821_daily_bin1748.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/900344/ft2_4FGL_J2325.7+1821_daily_bin1748.fits
.....................!
real 12.12
user 11.77
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/900344/ft1_filtered_4FGL_J2325.7+1821_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/900344/ft2_4FGL_J2325.7+1821_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/900344/ltcube_692409601_692668801_4FGL_J2325.7+1821_daily_bin1748.fits outfile=/scratch/kocevski/900344/expmap_692409601_692668801_4FGL_J2325.7+1821_daily_bin1748.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/900344/ltcube_692409601_692668801_4FGL_J2325.7+1821_daily_bin1748.fits
.....................!
real 191.47
user 186.03
sys 5.12

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/900344/ft1_filtered_4FGL_J2325.7+1821_daily_bin1748.fits scfile=/scratch/kocevski/900344/ft2_4FGL_J2325.7+1821_daily_bin1748.fits outfile=/scratch/kocevski/900344/cmap_692409601_692668801_4FGL_J2325.7+1821_daily_bin1748.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.436 yref=18.3654 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/900344/ft1_filtered_4FGL_J2325.7+1821_daily_bin1748.fits scfile=/scratch/kocevski/900344/ft2_4FGL_J2325.7+1821_daily_bin1748.fits outfile=/scratch/kocevski/900344/cmap_HighResolution_692409601_692668801_4FGL_J2325.7+1821_daily_bin1748.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/900344/ft1_filtered_4FGL_J2325.7+1821_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/900344/ft2_4FGL_J2325.7+1821_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/900344/Model_4FGL_J2325.7+1821_daily_bin1748.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/900344/ft1_filtered_4FGL_J2325.7+1821_daily_bin1748.fits.....................!
real 95.53
user 94.17
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99920E-09   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.753       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.8865       1.0000          .0000       .10000E+07
     4 'norm      '    2.9742       1.0000          .0000       .10000E+07
     5 'Prefactor '    21.483       1.0000          .0000       .10000E+07
     6 'Prefactor '    .72164E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.7236       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .61732       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    76.942       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10407E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    14.639       1.0000          .0000       .10000E+07
    13 'Prefactor '    23.351       1.0000          .0000       .10000E+07
    14 'norm      '    .20983E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .48295E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    .78457E-04   1.0000          .0000       .10000E+07
    17 'norm      '    23.341       1.0000          .0000       .10000E+07
    18 'Prefactor '    .86042E-08   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1142       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0262       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=   8576.128     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1909 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .72419        .63799E-07** at limit **
   2  Prefactor     10.751        10.371       -.99794E-06   -.15742E-02
   3  Prefactor     6.8845        11.143        .91950E-06    .40738E-03
   4  norm          2.9740        1.5579        .55748E-07    .62468E-02
   5  Prefactor     21.482        1.2884       -.50608E-07    .62017E-02
   6  Prefactor      .0000        3.6578       -.36795E-06** at limit **
   7  Prefactor     1.7237        .23184       -.24052E-06    .14616E-02
   8  Prefactor     .61739        9.6892       -.22522E-05   -.51309E-02
   9  Prefactor      .0000        34.202        .18743E-05** at limit **
  10  Prefactor     76.928        2.3316       -.67782E-07    .16792E-01
  11  Prefactor     .13878E-08    47.868       -.91054E-06** at limit **
  12  Prefactor     14.646        9.7888        .29000E-06   -.33591E-03
  13  Prefactor     23.400        18.909        .57979E-06   -.10242E-02
  14  norm           .0000        4.1724        .75542E-06** at limit **
  15  Prefactor     .55511E-10    4.7734        .15828E-05** at limit **
  16  Prefactor     .16653E-09    90.198        .11828E-05** at limit **
  17  norm          23.339        11.757        .96765E-06   -.13173E-01
  18  Prefactor      .0000        4.6909       -.19593E-06** at limit **
  19  Normalizat    1.1144        .24747        .84136E-05    .56163E-04
  20  Prefactor     1.0262        .14636       -.26052E-05    .10650E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 10.7508
  Prefactor  = 6.88449
  norm       = 2.97404
  Prefactor  = 21.4818
  Prefactor  = 0
  Prefactor  = 1.7237
  Prefactor  = 0.617389
  Prefactor  = 0
  Prefactor  = 76.9284
  Prefactor  = 1.38778e-09
  Prefactor  = 14.6461
  Prefactor  = 23.3996
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  norm       = 23.3392
  Prefactor  = 0
  Normalizat = 1.11445
  Prefactor  = 1.0262
 **********
 **   18 **HESSE 
 **********

 FCN=   8576.128     FROM HESSE     STATUS=OK           341 CALLS     2250 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .72389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.751        10.428        .30528E-03   -1.5642    
   3  Prefactor     6.8845        11.178        .38208E-03   -1.5655    
   4  norm          2.9740        1.5556        .58847E-03   -1.5673    
   5  Prefactor     21.482        21.690        .21581E-03   -1.5615    
   6  Prefactor      .0000        3.6606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7237        .23548        .35207E-02   -1.5445    
   8  Prefactor     .61739        23.655        .67690E-03   -1.5692    
   9  Prefactor      .0000        34.205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     76.928        36.403        .11401E-03   -1.5533    
  11  Prefactor     .13878E-08    5.3817        .59635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.646        9.8005        .26152E-03   -1.5631    
  13  Prefactor     23.400        19.907        .20699E-03   -1.5611    
  14  norm           .0000        4.1692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    4.7597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16653E-09    89.682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          23.339        15.155        .20703E-03   -1.5611    
  18  Prefactor      .0000        4.6851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1144        .21274        .76646E-01   -.89289    
  20  Prefactor     1.0262        .12509        .41575E-01   -.91861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.026e-09
Minuit parameter uncertainties:
  1  5.21203e-06
  2  10.4284
  3  11.1781
  4  1.55561
  5  21.6896
  6  1.98368e-07
  7  0.235476
  8  7.64311
  9  5.14598e-05
  10  36.4032
  11  0.000172209
  12  9.80048
  13  19.9073
  14  2.10701e-05
  15  3.31614e-05
  16  0.000262513
  17  15.155
  18  9.66528e-06
  19  0.212908
  20  0.125129
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.340e+01  1.991e+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:  1.026e+00  1.251e-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:  1.114e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.39
Ra Dec: 351.436 18.365
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 4.94e-08 +/- 4.20e-08
Energy Flux (Fixed Index): 1.55e-05 +/- 1.32e-05

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

Saving results to:
/scratch/kocevski/900344/likelihoodResults_692409601_692668801_4FGL_J2325.7+1821_daily_bin1748.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) = 8575.92237352
delta logL = 0.205382066688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8575.83265991
delta logL = 0.295095674934

Fit tolerance = 1e-08

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

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

 FCN=   8575.833     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      215 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.805        13.910        .27967E-03    .66116E-02
   2  Index         1.3440        .43886        .31631       -.92669E-04
   3  Normalizat    1.1728        .20410        .74939E-01    .14545E-04
   4  Prefactor     1.0087        .12321        .43527E-01    .66040E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.8049
  Index      = 1.34403
  Normalizat = 1.17275
  Prefactor  = 1.00872
 **********
 **   18 **HESSE 
 **********

 FCN=   8575.833     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.805        21.132        .11187E-04   -1.5636    
   2  Index         1.3440        .80723        .11463E-01   -.82007    
   3  Normalizat    1.1728        .24035        .33165E-03   -.87449    
   4  Prefactor     1.0087        .14539        .21333E-03   -.92439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36036e-09
Minuit parameter uncertainties:
  1  21.1323
  2  0.814957
  3  0.24058
  4  0.145448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/900344': 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) = 8575.83265951
delta logL = 0.295096079755

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.280e+01  2.113e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  1.344e+00  8.150e-01  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.009e+00  1.454e-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:  1.173e+00  2.406e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.92
Ra Dec: 351.436 18.365
Photon Index (Free Index): 1.34 +/- 0.81
Photon Flux (Free Index): 7.93e-09 +/- 1.38e-08
Energy Flux (Free Index): 4.21e-05 +/- 7.02e-05

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/900344/cmap_HighResolution_692409601_692668801_4FGL_J2325.7+1821_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.94e-08', energy_flux2='4.21e-05', photon_flux_error='4.20e-08', dlogl='2.95e-01', energy_flux='1.55e-05', photon_flux2='7.93e-09', job_status='DONE', time_completed='2022-12-14 01:44:00.315286', photon_index_error2='0.81', photon_index2='1.34', ts='2.39', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='7.02e-05', EG='1.11', time_epoch_completed='1671011040.32', return_code='0', job_id='900344', GAL2='1.01', EG2='1.17', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='1.38e-08', ts2='2.92', photon_index='2.43' WHERE bin_id='1748' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:44:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 900344: <4FGL_J2325.7+1821_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:30:19 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:30:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:30:20 2022
Terminated at Wed Dec 14 01:44:01 2022
Results reported at Wed Dec 14 01:44:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1748 351.436 18.3654 692409601 692668801 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 :                                   683.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            822 sec.

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

