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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1727
RA = 351.436, Dec = 18.3654
tmin = 686966401, tmax = 687225601
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='215468', job_status='RUN', time_executed='2022-10-12 00:40:53.898346', time_epoch_executed='1665560453.9' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215468

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215468/ft1_4FGL_J2325.7+1821_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215468/ft2_4FGL_J2325.7+1821_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215468/ft1_4FGL_J2325.7+1821_daily_bin1727.fits outfile=/scratch/kocevski/215468/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1727.fits ra=351.436 dec=18.3654 rad=12.0 tmin=686966401.0 tmax=687225601.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 2.91
user 2.71
sys 0.19

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

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

Number of photons that the gtmktime cut: 187

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215468/ft1_filtered_4FGL_J2325.7+1821_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/215468/ft2_4FGL_J2325.7+1821_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/215468/ltcube_686966401_687225601_4FGL_J2325.7+1821_daily_bin1727.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/215468/ft2_4FGL_J2325.7+1821_daily_bin1727.fits
.....................!
real 12.39
user 12.01
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215468/ft1_filtered_4FGL_J2325.7+1821_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/215468/ft2_4FGL_J2325.7+1821_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/215468/ltcube_686966401_687225601_4FGL_J2325.7+1821_daily_bin1727.fits outfile=/scratch/kocevski/215468/expmap_686966401_687225601_4FGL_J2325.7+1821_daily_bin1727.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/215468/ltcube_686966401_687225601_4FGL_J2325.7+1821_daily_bin1727.fits
.....................!
real 192.04
user 185.75
sys 5.93

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/215468/ft1_filtered_4FGL_J2325.7+1821_daily_bin1727.fits scfile=/scratch/kocevski/215468/ft2_4FGL_J2325.7+1821_daily_bin1727.fits outfile=/scratch/kocevski/215468/cmap_686966401_687225601_4FGL_J2325.7+1821_daily_bin1727.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/215468/ft1_filtered_4FGL_J2325.7+1821_daily_bin1727.fits scfile=/scratch/kocevski/215468/ft2_4FGL_J2325.7+1821_daily_bin1727.fits outfile=/scratch/kocevski/215468/cmap_HighResolution_686966401_687225601_4FGL_J2325.7+1821_daily_bin1727.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/215468/ft1_filtered_4FGL_J2325.7+1821_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/215468/ft2_4FGL_J2325.7+1821_daily_bin1727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215468/Model_4FGL_J2325.7+1821_daily_bin1727.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/215468/ft1_filtered_4FGL_J2325.7+1821_daily_bin1727.fits.....................!
real 35.20
user 33.87
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25650E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61163       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15863E-04   1.0000          .0000       .10000E+07
     4 'norm      '    2.0390       1.0000          .0000       .10000E+07
     5 'Prefactor '    .30164E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21550E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.0534       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12696E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    91.705       1.0000          .0000       .10000E+07
    10 'Prefactor '    55.820       1.0000          .0000       .10000E+07
    11 'Prefactor '    .94299E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10754E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .36445E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .10329E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .80774E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .20928       1.0000          .0000       .10000E+07
    17 'norm      '    2.0434       1.0000          .0000       .10000E+07
    18 'Prefactor '    .90079E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.6359       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=   2047.993     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1534 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89373E-08    17.630        .57743E-07** at limit **
   2  Prefactor     .44359E-06    147.32        .78046E-05** at limit **
   3  Prefactor     .49683E-03    203.27       -.23245E-05** at limit **
   4  norm          2.0419        3.2989        .40120E-06    .18158E-03
   5  Prefactor     .12473E-03    190.37       -.12327E-05** at limit **
   6  Prefactor     .22990E-05    21.682        .32217E-05** at limit **
   7  Prefactor     5.0536        .71389        .82280E-06    .14489E-03
   8  Prefactor      .0000        9.3451       -.40596E-06** at limit **
   9  Prefactor     93.476        49.837        .10066E-05   -.72178E-01
  10  Prefactor     54.867        49.379       -.16278E-05    .13402    
  11  Prefactor      .0000        10.626       -.52352E-06** at limit **
  12  Prefactor     .14047E-05    21.062       -.49862E-05** at limit **
  13  Prefactor     .75889E-06    86.176        .88811E-05** at limit **
  14  norm          .27756E-09    15.021        .71356E-06** at limit **
  15  Prefactor     .31086E-08    15.796        .16321E-06** at limit **
  16  Prefactor      .0000        49.532       -.12886E-05** at limit **
  17  norm          2.4527        8.0647        .14068E-05   -.10741E-01
  18  Prefactor     .14827E-06    23.958       -.31113E-05** at limit **
  19  Normalizat    .10000E-01    .22833       -.38099E-04** at limit **
  20  Prefactor     1.6349        .20931        .86982E-06    .35650E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.9373e-09
  Prefactor  = 4.4359e-07
  Prefactor  = 0.000496831
  norm       = 2.04188
  Prefactor  = 0.000124728
  Prefactor  = 2.29905e-06
  Prefactor  = 5.05357
  Prefactor  = 0
  Prefactor  = 93.4764
  Prefactor  = 54.8673
  Prefactor  = 0
  Prefactor  = 1.40471e-06
  Prefactor  = 7.58893e-07
  norm       = 2.77556e-10
  Prefactor  = 3.10862e-09
  Prefactor  = 0
  norm       = 2.45269
  Prefactor  = 1.4827e-07
  Normalizat = 0.01
  Prefactor  = 1.63492
 **********
 **   18 **HESSE 
 **********

 FCN=   2047.993     FROM HESSE     STATUS=OK           321 CALLS     1855 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89373E-08    17.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44359E-06    147.45        .68192E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49683E-03    285.55        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0419        3.3236        .72397E-03   -1.5679    
   5  Prefactor     .12473E-03    210.19        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22990E-05    22.053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0536        .71489        .30537E-02   -1.5258    
   8  Prefactor      .0000        9.3442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     93.476        94.348        .10443E-03   -1.5515    
  10  Prefactor     54.867        105.85        .13385E-03   -1.5560    
  11  Prefactor      .0000        10.622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .14047E-05    21.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .75889E-06    86.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .27756E-09    15.030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .31086E-08    15.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        49.552        .11613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4527        305.10        .72307E-03   -1.5677    
  18  Prefactor     .14827E-06    23.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .20784        .30296       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.6349        .24080        .53455E-01   -.73828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54412e-06
Minuit parameter uncertainties:
  1  0.00079481
  2  0.0161749
  3  0.753352
  4  3.32364
  5  0.32384
  6  0.0142409
  7  0.714889
  8  1.11821e-05
  9  94.349
  10  105.85
  11  1.34942e-05
  12  0.0109382
  13  0.0162025
  14  0.000128851
  15  0.000443812
  16  2.81649e-05
  17  54.7136
  18  0.00377162
  19  1.21138e-07
  20  0.240974
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  7.589e-07  1.620e-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.635e+00  2.410e-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.000e-02  1.211e-07  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/215468/likelihoodResults_686966401_687225601_4FGL_J2325.7+1821_daily_bin1727.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) = 2047.99812621
delta logL = -0.00560527786979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2047.99252137
delta logL = -4.39800032837e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55461E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.2263       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6348       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=   2047.993     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      267 TOTAL
                     EDM=   .37E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    5.2610        .42118E-03** at limit **
   2  Index         1.4822        8.8018        .50000       -.11369E-10
   3  Normalizat    .10000E-01    .19653E-04    .30296    ** at limit **
   4  Prefactor     1.6349        .20942E-02    .53455E-01    .23868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Index      = 1.48217
  Normalizat = 0.01
  Prefactor  = 1.63492
 **********
 **   18 **HESSE 
 **********

 FCN=   2047.993     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      300 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    26.351        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4822        9.0467        .50000       -.78040    
   3  Normalizat    .10000E-01    .12929E-03    .11703E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6349        .46871E-02    .23625E-03   -.73828    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.87155e-12
Minuit parameter uncertainties:
  1  0.000198077
  2  96906.4
  3  9.3198e-09
  4  0.00468711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215468': 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) = 2047.99252092
delta logL = 4.38149072579e-09

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.886e-10  1.981e-04  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  1.482e+00  9.691e+04  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.635e+00  4.687e-03  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.000e-02  9.320e-09  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/215468/cmap_HighResolution_686966401_687225601_4FGL_J2325.7+1821_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-02', job_status='DONE', photon_flux_upper_limit='3.79e-07', time_completed='2022-10-12 00:47:22.607428', job_id='215468', GAL2='1.63', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1665560842.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.63', dlogl='4.38e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1727' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:47:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 215468: <4FGL_J2325.7+1821_daily_bin1727> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:40:16 2022
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:40:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:40:18 2022
Terminated at Wed Oct 12 00:47:23 2022
Results reported at Wed Oct 12 00:47:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1727 351.436 18.3654 686966401 687225601 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 :                                   391.16 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             409.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   424 sec.
    Turnaround time :                            427 sec.

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

