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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1681
RA = 351.436, Dec = 18.3654
tmin = 675043201, tmax = 675302401
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='756049', job_status='RUN', time_executed='2022-05-27 00:59:39.748390', time_epoch_executed='1653638379.75' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/756049

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/756049/ft1_4FGL_J2325.7+1821_daily_bin1681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/756049/ft2_4FGL_J2325.7+1821_daily_bin1681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/756049/ft1_4FGL_J2325.7+1821_daily_bin1681.fits outfile=/scratch/kocevski/756049/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1681.fits ra=351.436 dec=18.3654 rad=12.0 tmin=675043201.0 tmax=675302401.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.54
user 3.32
sys 0.21

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

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

Number of photons that the gtmktime cut: 788

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/756049/ft1_filtered_4FGL_J2325.7+1821_daily_bin1681.fits" evtable="EVENTS" scfile=/scratch/kocevski/756049/ft2_4FGL_J2325.7+1821_daily_bin1681.fits sctable="SC_DATA" outfile=/scratch/kocevski/756049/ltcube_675043201_675302401_4FGL_J2325.7+1821_daily_bin1681.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/756049/ft2_4FGL_J2325.7+1821_daily_bin1681.fits
.....................!
real 15.42
user 14.95
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/756049/ft1_filtered_4FGL_J2325.7+1821_daily_bin1681.fits evtable="EVENTS" scfile=/scratch/kocevski/756049/ft2_4FGL_J2325.7+1821_daily_bin1681.fits sctable="SC_DATA" expcube=/scratch/kocevski/756049/ltcube_675043201_675302401_4FGL_J2325.7+1821_daily_bin1681.fits outfile=/scratch/kocevski/756049/expmap_675043201_675302401_4FGL_J2325.7+1821_daily_bin1681.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/756049/ltcube_675043201_675302401_4FGL_J2325.7+1821_daily_bin1681.fits
.....................!
real 190.95
user 185.98
sys 4.48

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/756049/ft1_filtered_4FGL_J2325.7+1821_daily_bin1681.fits scfile=/scratch/kocevski/756049/ft2_4FGL_J2325.7+1821_daily_bin1681.fits outfile=/scratch/kocevski/756049/cmap_675043201_675302401_4FGL_J2325.7+1821_daily_bin1681.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/756049/ft1_filtered_4FGL_J2325.7+1821_daily_bin1681.fits scfile=/scratch/kocevski/756049/ft2_4FGL_J2325.7+1821_daily_bin1681.fits outfile=/scratch/kocevski/756049/cmap_HighResolution_675043201_675302401_4FGL_J2325.7+1821_daily_bin1681.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/756049/ft1_filtered_4FGL_J2325.7+1821_daily_bin1681.fits evtable="EVENTS" scfile=/scratch/kocevski/756049/ft2_4FGL_J2325.7+1821_daily_bin1681.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/756049/Model_4FGL_J2325.7+1821_daily_bin1681.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/756049/ft1_filtered_4FGL_J2325.7+1821_daily_bin1681.fits.....................!
real 94.76
user 93.28
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53617       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.705       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.6541       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    45.188       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .31775       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.309       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.0529       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2357       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.3862       1.0000         .10000E-03   10000.    
    13 'Prefactor '    69.144       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10725E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    43.946       1.0000         .10000E-03   10000.    
    17 'norm      '    5.8851       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.2839       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.371       1.0000         .10000E-03   10000.    
    20 'norm      '    1.6115       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .84131       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95113       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=   8718.731     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2569 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53748        1.9690        .44382E-06   -.29816E-03
   2  Prefactor     12.701        12.578       -.73227E-06   -.88714E-04
   3  Prefactor     .10000E-03    5.5062        .60858E-07** at limit **
   4  norm          4.6542        2.0832       -.42740E-08    .39189E-05
   5  Prefactor     .10000E-03    25.882        .42548E-05** at limit **
   6  Prefactor     45.189        15.458        .55338E-08    .45871E-05
   7  Prefactor     .10000E-03    21.250       -.28332E-05** at limit **
   8  Prefactor     .31770        .14114       -.14588E-08    .12213E-03
   9  Prefactor     12.309        8.8594        .29674E-06   -.15209E-04
  10  Prefactor     4.0519        7.1257        .79232E-07   -.18704E-04
  11  Prefactor     4.2365        7.8056        .49813E-05   -.33309E-03
  12  Prefactor     5.3526        20.107       -.64956E-05   -.17852E-03
  13  Prefactor     69.147        32.071        .58856E-06    .61702E-04
  14  Prefactor     .10001E-03    3.7389       -.59614E-06** at limit **
  15  Prefactor     .10000E-03    6.9919        .21764E-07** at limit **
  16  Prefactor     43.915        20.174       -.12265E-05   -.36958E-03
  17  norm          5.8852        8.3120       -.15651E-06   -.46518E-04
  18  Prefactor     7.2880        8.0644       -.15602E-06   -.37141E-04
  19  Prefactor     18.375        20.534        .18341E-06    .29269E-04
  20  norm          1.6119        17.834        .15479E-05   -.23635E-04
  21  Prefactor     .10000E-03    2.0303        .36506E-07** at limit **
  22  Normalizat    .84090        .19343        .37645E-06    .90969E-05
  23  Prefactor     .95127        .10878        .53770E-07    .46455E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.537483
  Prefactor  = 12.7009
  Prefactor  = 0.0001
  norm       = 4.65416
  Prefactor  = 0.000100001
  Prefactor  = 45.1892
  Prefactor  = 0.000100001
  Prefactor  = 0.317703
  Prefactor  = 12.3089
  Prefactor  = 4.05186
  Prefactor  = 4.23653
  Prefactor  = 5.35259
  Prefactor  = 69.1469
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 43.9146
  norm       = 5.88519
  Prefactor  = 7.28797
  Prefactor  = 18.3751
  norm       = 1.61189
  Prefactor  = 0.0001
  Normalizat = 0.840898
  Prefactor  = 0.95127
 **********
 **   18 **HESSE 
 **********

 FCN=   8718.731     FROM HESSE     STATUS=OK           380 CALLS     2949 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53748        2.9077        .21351E-02   -1.5561    
   2  Prefactor     12.701        12.320        .11238E-03   -1.4995    
   3  Prefactor     .10000E-03    5.5252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.6542        2.0825        .85028E-04   -1.5276    
   5  Prefactor     .10000E-03    26.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     45.189        15.443        .59643E-04   -1.4362    
   7  Prefactor     .10000E-03    21.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .31770        .13812        .21783E-04   -1.5595    
   9  Prefactor     12.309        8.8621        .57088E-03   -1.5006    
  10  Prefactor     4.0519        7.0854        .20029E-03   -1.5305    
  11  Prefactor     4.2365        8.0847        .97894E-03   -1.5296    
  12  Prefactor     5.3526        20.747        .17315E-03   -1.5245    
  13  Prefactor     69.147        32.101        .48273E-04   -1.4043    
  14  Prefactor     .10001E-03    9.9814        .33446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.0554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.915        20.272        .60476E-04   -1.4382    
  17  norm          5.8852        8.2260        .16554E-03   -1.5223    
  18  Prefactor     7.2880        8.0205        .14862E-03   -1.5168    
  19  Prefactor     18.375        20.505        .93444E-04   -1.4850    
  20  norm          1.6119        17.959        .33365E-03   -1.5454    
  21  Prefactor     .10000E-03    2.0495        .12991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84090        .22135        .34119E-03   -.98569    
  23  Prefactor     .95127        .12714        .19214E-03   -.94372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66577e-08
Minuit parameter uncertainties:
  1  2.50022
  2  12.3227
  3  2.92828e-06
  4  2.08253
  5  0.000337
  6  15.4443
  7  0.000270834
  8  0.138122
  9  8.86305
  10  7.08689
  11  8.08681
  12  20.7753
  13  32.1089
  14  0.000752038
  15  1.2155e-05
  16  20.275
  17  8.22762
  18  8.02168
  19  20.5126
  20  10.7644
  21  1.16784e-06
  22  0.221591
  23  0.127182
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  4.391e+01  2.028e+01  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:  9.513e-01  1.272e-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:  8.409e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.71
Ra Dec: 351.436 18.365
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 9.28e-08 +/- 4.28e-08
Energy Flux (Fixed Index): 2.92e-05 +/- 1.35e-05

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) = 8718.10256995
delta logL = 0.628677635214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8718.01617046
delta logL = 0.715077118557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.866       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9828       1.0000          .0000       10.000    
     3 'Normalizat'    .87908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93750       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=   8718.016     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      315 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.847        29.151        .26145E-03   -.13567E-04
   2  Index         1.9824        .36448        .65394E-02    .97982E-05
   3  Normalizat    .87946        .20895        .33435E-03   -.12989E-04
   4  Prefactor     .93727        .12387        .19338E-03    .11758E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.8467
  Index      = 1.98244
  Normalizat = 0.879462
  Prefactor  = 0.937269
 **********
 **   18 **HESSE 
 **********

 FCN=   8718.016     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.847        29.061        .10458E-04   -1.4172    
   2  Index         1.9824        .36314        .26157E-03   -.64790    
   3  Normalizat    .87946        .20907        .13374E-04   -.97186    
   4  Prefactor     .93727        .12395        .77353E-05   -.94851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36894e-12
Minuit parameter uncertainties:
  1  29.0684
  2  0.363648
  3  0.209266
  4  0.123987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/756049': 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) = 8718.01616812
delta logL = 0.715079460186

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  5.885e+01  2.907e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.982e+00  3.636e-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:  9.373e-01  1.240e-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:  8.795e-01  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.05
Ra Dec: 351.436 18.365
Photon Index (Free Index): 1.98 +/- 0.36
Photon Flux (Free Index): 6.30e-08 +/- 4.17e-08
Energy Flux (Free Index): 4.55e-05 +/- 3.10e-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/756049/cmap_HighResolution_675043201_675302401_4FGL_J2325.7+1821_daily_bin1681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.28e-08', energy_flux2='4.55e-05', photon_flux_error='4.28e-08', dlogl='7.15e-01', energy_flux='2.92e-05', photon_flux2='6.30e-08', job_status='DONE', time_completed='2022-05-27 01:11:40.527088', photon_index_error2='0.36', photon_index2='1.98', ts='13.71', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='3.10e-05', EG='0.84', time_epoch_completed='1653639100.53', return_code='0', job_id='756049', GAL2='0.94', EG2='0.88', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='4.17e-08', ts2='15.05', photon_index='2.43' WHERE bin_id='1681' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 27 01:11:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 756049: <4FGL_J2325.7+1821_daily_bin1681> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1681> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri May 27 00:55:37 2022
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May 27 00:58:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May 27 00:58:22 2022
Terminated at Fri May 27 01:11:41 2022
Results reported at Fri May 27 01:11:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1681 351.436 18.3654 675043201 675302401 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 :                                   722.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            964 sec.

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

