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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1720
RA = 351.436, Dec = 18.3654
tmin = 685152001, tmax = 685411201
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='849992', job_status='RUN', time_executed='2022-09-21 00:58:41.817336', time_epoch_executed='1663747121.82' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849992

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849992/ft1_4FGL_J2325.7+1821_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849992/ft2_4FGL_J2325.7+1821_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849992/ft1_4FGL_J2325.7+1821_daily_bin1720.fits outfile=/scratch/kocevski/849992/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1720.fits ra=351.436 dec=18.3654 rad=12.0 tmin=685152001.0 tmax=685411201.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.76
user 3.48
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849992/ft1_filtered_4FGL_J2325.7+1821_daily_bin1720.fits" evtable="EVENTS" scfile=/scratch/kocevski/849992/ft2_4FGL_J2325.7+1821_daily_bin1720.fits sctable="SC_DATA" outfile=/scratch/kocevski/849992/ltcube_685152001_685411201_4FGL_J2325.7+1821_daily_bin1720.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/849992/ft2_4FGL_J2325.7+1821_daily_bin1720.fits
.....................!
real 13.69
user 13.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849992/ft1_filtered_4FGL_J2325.7+1821_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/849992/ft2_4FGL_J2325.7+1821_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/849992/ltcube_685152001_685411201_4FGL_J2325.7+1821_daily_bin1720.fits outfile=/scratch/kocevski/849992/expmap_685152001_685411201_4FGL_J2325.7+1821_daily_bin1720.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/849992/ltcube_685152001_685411201_4FGL_J2325.7+1821_daily_bin1720.fits
.....................!
real 192.53
user 187.21
sys 4.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/849992/ft1_filtered_4FGL_J2325.7+1821_daily_bin1720.fits scfile=/scratch/kocevski/849992/ft2_4FGL_J2325.7+1821_daily_bin1720.fits outfile=/scratch/kocevski/849992/cmap_685152001_685411201_4FGL_J2325.7+1821_daily_bin1720.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849992/ft1_filtered_4FGL_J2325.7+1821_daily_bin1720.fits scfile=/scratch/kocevski/849992/ft2_4FGL_J2325.7+1821_daily_bin1720.fits outfile=/scratch/kocevski/849992/cmap_HighResolution_685152001_685411201_4FGL_J2325.7+1821_daily_bin1720.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.60
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/849992/ft1_filtered_4FGL_J2325.7+1821_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/849992/ft2_4FGL_J2325.7+1821_daily_bin1720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849992/Model_4FGL_J2325.7+1821_daily_bin1720.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/849992/ft1_filtered_4FGL_J2325.7+1821_daily_bin1720.fits.....................!
real 89.66
user 87.74
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30864E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .17095E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.5827       1.0000          .0000       .10000E+07
     4 'norm      '    5.8021       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17421E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    51.853       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.3629       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .86804E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.1086       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.744       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16631E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.8901       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41651E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .24638E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.284       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11942       1.0000          .0000       .10000E+07
    17 'norm      '    .15232E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .23280E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4274       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99436       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=   7348.011     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1483 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    1.1961       -.74737E-07** at limit **
   2  Prefactor     .79214E-07    11.013       -.20806E-05** at limit **
   3  Prefactor     6.6343        8.4849        .20688E-06    .99654E-03
   4  norm          5.8032        2.5641       -.71947E-07    .15522E-02
   5  Prefactor     .25796E-06    25.197       -.11722E-05** at limit **
   6  Prefactor     51.834        1.0995       -.23117E-07    .46664E-02
   7  Prefactor     2.3635        .33978        .68350E-07    .29327E-02
   8  Prefactor     .55511E-10    1.9911        .44725E-07** at limit **
   9  Prefactor     3.1864        1.3928        .42755E-06   -.92888E-02
  10  Prefactor     11.609        7.8593       -.16665E-05    .83823E-01
  11  Prefactor     .11102E-09    4.0765       -.57345E-06** at limit **
  12  Prefactor     8.9136        1.2739        .13594E-06   -.20678E-02
  13  Prefactor     .18263E-06    18.046        .12808E-05** at limit **
  14  norm          .16098E-08    4.4794        .14842E-06** at limit **
  15  Prefactor     14.326        4.0311        .66129E-06   -.17677E-01
  16  Prefactor     .64521E-06    45.151       -.11434E-04** at limit **
  17  norm          .18874E-07    9.4122        .13950E-05** at limit **
  18  Prefactor      .0000        2.1050       -.38909E-07** at limit **
  19  Normalizat    1.4273        .29233       -.49257E-05    .57121E-05
  20  Prefactor     .99449        .16364        .38510E-05    .17991E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  Prefactor  = 7.92144e-08
  Prefactor  = 6.63425
  norm       = 5.8032
  Prefactor  = 2.5796e-07
  Prefactor  = 51.8343
  Prefactor  = 2.36346
  Prefactor  = 5.55112e-11
  Prefactor  = 3.18637
  Prefactor  = 11.6089
  Prefactor  = 1.11022e-10
  Prefactor  = 8.9136
  Prefactor  = 1.82632e-07
  norm       = 1.60982e-09
  Prefactor  = 14.3264
  Prefactor  = 6.45206e-07
  norm       = 1.88738e-08
  Prefactor  = 0
  Normalizat = 1.42729
  Prefactor  = 0.994495
 **********
 **   18 **HESSE 
 **********

 FCN=   7348.011     FROM HESSE     STATUS=OK           329 CALLS     1812 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    1.1972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .79214E-07    11.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.6343        8.4940        .39090E-03   -1.5656    
   4  norm          5.8032        2.6117        .41671E-03   -1.5660    
   5  Prefactor     .25796E-06    25.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     51.834        21.052        .13888E-03   -1.5564    
   7  Prefactor     2.3635        .34074        .41039E-02   -1.5400    
   8  Prefactor     .55511E-10    1.9912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1864        72.394        .57487E-03   -1.5672    
  10  Prefactor     11.609        33.285        .29207E-03   -1.5640    
  11  Prefactor     .11102E-09    4.0724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.9136        14.968        .33592E-03   -1.5648    
  13  Prefactor     .18263E-06    18.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .16098E-08    4.4881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.326        12.166        .26476E-03   -1.5632    
  16  Prefactor     .64521E-06    50.248        .13434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .18874E-07    9.5180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.1074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4273        .25484        .80260E-01   -.79842    
  20  Prefactor     .99449        .14077        .46197E-01   -.92913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.95226e-07
Minuit parameter uncertainties:
  1  2.39642e-05
  2  0.00187941
  3  8.49405
  4  2.61167
  5  0.00514063
  6  21.0519
  7  0.340739
  8  1.55839e-05
  9  30.3764
  10  33.2858
  11  3.92356e-05
  12  14.9685
  13  0.00365855
  14  0.000169917
  15  12.1664
  16  0.0113876
  17  0.000847065
  18  1.20798e-05
  19  0.25507
  20  0.140821
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.826e-07  3.659e-03  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:  9.945e-01  1.408e-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.427e+00  2.551e-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: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849992/likelihoodResults_685152001_685411201_4FGL_J2325.7+1821_daily_bin1720.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) = 7348.03742879
delta logL = -0.0264717041455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7348.01095743
delta logL = -3.46059096046e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27399E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.8327       1.0000          .0000       10.000    
     3 'Normalizat'    1.4274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99443       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=   7348.011     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      232 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31641E-08    .35990        .42118E-03** at limit **
   2  Index         2.3934        5.2398        .50000        .79581E-09
   3  Normalizat    1.4273        .88576E-03    .80260E-01   -.15361E-06
   4  Prefactor     .99450        .49704E-03    .46197E-01    .11641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.16414e-09
  Index      = 2.39344
  Normalizat = 1.42729
  Prefactor  = 0.994496
 **********
 **   18 **HESSE 
 **********

 FCN=   7348.011     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31641E-08    1.8382        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3934        8.8019        .50000       -.54839    
   3  Normalizat    1.4273        .19975E-02    .35524E-03   -.79842    
   4  Prefactor     .99450        .11221E-02    .23219E-03   -.92913    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.65135e-12
Minuit parameter uncertainties:
  1  0.000152489
  2  6559.1
  3  0.00199746
  4  0.00112212
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849992': 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) = 7348.01095708
delta logL = 4.87852958031e-09

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.164e-09  1.525e-04  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.393e+00  6.559e+03  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.945e-01  1.122e-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.427e+00  1.997e-03  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/849992/cmap_HighResolution_685152001_685411201_4FGL_J2325.7+1821_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.31e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2022-09-21 01:08:37.605203', job_id='849992', GAL2='0.99', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1663747717.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.88e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1720' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:08:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 849992: <4FGL_J2325.7+1821_daily_bin1720> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1720> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Sep 21 00:55:23 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:57:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:57:42 2022
Terminated at Wed Sep 21 01:08:38 2022
Results reported at Wed Sep 21 01:08:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1720 351.436 18.3654 685152001 685411201 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 :                                   597.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            795 sec.

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

