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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1747
RA = 351.436, Dec = 18.3654
tmin = 692150401, tmax = 692409601
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='816138', job_status='RUN', time_executed='2022-12-11 01:52:39.531379', time_epoch_executed='1670752359.53' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816138

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816138/ft1_4FGL_J2325.7+1821_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816138/ft2_4FGL_J2325.7+1821_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816138/ft1_4FGL_J2325.7+1821_daily_bin1747.fits outfile=/scratch/kocevski/816138/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1747.fits ra=351.436 dec=18.3654 rad=12.0 tmin=692150401.0 tmax=692409601.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.99
user 3.78
sys 0.19

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

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

Number of photons that the gtmktime cut: 888

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816138/ft1_filtered_4FGL_J2325.7+1821_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/816138/ft2_4FGL_J2325.7+1821_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/816138/ltcube_692150401_692409601_4FGL_J2325.7+1821_daily_bin1747.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/816138/ft2_4FGL_J2325.7+1821_daily_bin1747.fits
.....................!
real 11.69
user 11.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816138/ft1_filtered_4FGL_J2325.7+1821_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816138/ft2_4FGL_J2325.7+1821_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/816138/ltcube_692150401_692409601_4FGL_J2325.7+1821_daily_bin1747.fits outfile=/scratch/kocevski/816138/expmap_692150401_692409601_4FGL_J2325.7+1821_daily_bin1747.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/816138/ltcube_692150401_692409601_4FGL_J2325.7+1821_daily_bin1747.fits
.....................!
real 190.89
user 185.81
sys 4.75

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/816138/ft1_filtered_4FGL_J2325.7+1821_daily_bin1747.fits scfile=/scratch/kocevski/816138/ft2_4FGL_J2325.7+1821_daily_bin1747.fits outfile=/scratch/kocevski/816138/cmap_692150401_692409601_4FGL_J2325.7+1821_daily_bin1747.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816138/ft1_filtered_4FGL_J2325.7+1821_daily_bin1747.fits scfile=/scratch/kocevski/816138/ft2_4FGL_J2325.7+1821_daily_bin1747.fits outfile=/scratch/kocevski/816138/cmap_HighResolution_692150401_692409601_4FGL_J2325.7+1821_daily_bin1747.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/816138/ft1_filtered_4FGL_J2325.7+1821_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816138/ft2_4FGL_J2325.7+1821_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/816138/Model_4FGL_J2325.7+1821_daily_bin1747.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/816138/ft1_filtered_4FGL_J2325.7+1821_daily_bin1747.fits.....................!
real 100.32
user 98.92
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8262       1.0000          .0000       .10000E+07
     2 'Prefactor '    27.403       1.0000          .0000       .10000E+07
     3 'Prefactor '    .45671E-03   1.0000          .0000       .10000E+07
     4 'norm      '    3.9561       1.0000          .0000       .10000E+07
     5 'Prefactor '    .57993E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.2900       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5988       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11776E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.817       1.0000          .0000       .10000E+07
    10 'Prefactor '    130.66       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.9094       1.0000          .0000       .10000E+07
    12 'Prefactor '    .39090E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    9.4635       1.0000          .0000       .10000E+07
    14 'norm      '    8.7439       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.0318       1.0000          .0000       .10000E+07
    16 'Prefactor '    24.749       1.0000          .0000       .10000E+07
    17 'norm      '    41.442       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10947E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2503       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0053       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=   9086.505     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1505 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8264        2.0515        .25676E-07    .35379E-02
   2  Prefactor     27.414        9.7881       -.72772E-07   -.13891    
   3  Prefactor     .72164E-08    7.7606        .12570E-06** at limit **
   4  norm          3.9567        1.8419        .31137E-08    .19814E-02
   5  Prefactor     .14988E-08    6.7312        .94224E-07** at limit **
   6  Prefactor     7.2964        7.2301        .89301E-07   -.12981E-01
   7  Prefactor     1.5989        .22126        .51214E-08   -.33730E-03
   8  Prefactor     .55511E-10    4.4390       -.15296E-06** at limit **
   9  Prefactor     10.883        6.6164       -.96971E-08   -.36085E-02
  10  Prefactor     131.46        46.859        .52731E-07   -.73997E-02
  11  Prefactor     3.9348        7.6569        .12527E-06    .10560E-02
  12  Prefactor      .0000        3.0205       -.11921E-07** at limit **
  13  Prefactor     8.9198        15.946        .40090E-08   -.53562E-01
  14  norm          8.6942        4.1349       -.14999E-07   -.15199E-02
  15  Prefactor     4.0084        5.3164        .51181E-09   -.24022E-02
  16  Prefactor     25.208        13.793        .55674E-07   -.77780E-01
  17  norm          41.595        7.3714        .37500E-07   -.11185    
  18  Prefactor      .0000        1.6262       -.95258E-08** at limit **
  19  Normalizat    1.2512        .25789       -.27023E-05   -.20236E-03
  20  Prefactor     1.0047        .14729        .84364E-06   -.16333E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.82642
  Prefactor  = 27.4144
  Prefactor  = 7.21645e-09
  norm       = 3.95666
  Prefactor  = 1.4988e-09
  Prefactor  = 7.29636
  Prefactor  = 1.59888
  Prefactor  = 5.55112e-11
  Prefactor  = 10.8827
  Prefactor  = 131.455
  Prefactor  = 3.9348
  Prefactor  = 0
  Prefactor  = 8.91977
  norm       = 8.69422
  Prefactor  = 4.00844
  Prefactor  = 25.2081
  norm       = 41.5948
  Prefactor  = 0
  Normalizat = 1.25116
  Prefactor  = 1.00467
 **********
 **   18 **HESSE 
 **********

 FCN=   9086.505     FROM HESSE     STATUS=OK           339 CALLS     1844 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8264        2.0585        .60469E-03   -1.5674    
   2  Prefactor     27.414        11.133        .19107E-03   -1.5603    
   3  Prefactor     .72164E-08    7.8048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.9567        1.8434        .50690E-03   -1.5668    
   5  Prefactor     .14988E-08    6.7528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.2964        7.2481        .37125E-03   -1.5654    
   7  Prefactor     1.5989        .22129        .36072E-02   -1.5455    
   8  Prefactor     .55511E-10    4.4285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.883        22.147        .30437E-03   -1.5642    
  10  Prefactor     131.46        47.087        .87490E-04   -1.5479    
  11  Prefactor     3.9348        7.9954        .51002E-03   -1.5668    
  12  Prefactor      .0000        3.0245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.9198        20.907        .32552E-03   -1.5648    
  14  norm          8.6942        11.512        .33874E-03   -1.5649    
  15  Prefactor     4.0084        9.4572        .50196E-03   -1.5668    
  16  Prefactor     25.208        20.755        .20106E-03   -1.5608    
  17  norm          41.595        18.087        .15535E-03   -1.5579    
  18  Prefactor      .0000        1.6273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2512        .22208        .77237E-01   -.85036    
  20  Prefactor     1.0047        .12597        .44129E-01   -.92574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45835e-07
Minuit parameter uncertainties:
  1  2.0585
  2  11.1332
  3  0.000474196
  4  1.84336
  5  0.000200594
  6  7.24816
  7  0.221295
  8  3.4907e-05
  9  22.1475
  10  47.0871
  11  7.99547
  12  9.19924e-06
  13  20.9075
  14  11.5123
  15  9.45724
  16  20.7554
  17  18.0869
  18  3.99529e-06
  19  0.222249
  20  0.126007
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  8.920e+00  2.091e+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.005e+00  1.260e-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.251e+00  2.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.28
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/816138/likelihoodResults_692150401_692409601_4FGL_J2325.7+1821_daily_bin1747.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) = 9085.92888423
delta logL = 0.576427121006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9085.81755563
delta logL = 0.68775572298

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11674       1.0000          .0000       .10000E+07
     2 'Index     '    5.3503       1.0000          .0000       10.000    
     3 'Normalizat'    1.1582       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0437       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=   9085.818     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      312 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11515        1.2509        .57980E-03** at limit **
   2  Index         5.3580        2.3305        .10979        .26118E-03
   3  Normalizat    1.1582        .45815E-01    .79826E-01    .27944E-04
   4  Prefactor     1.0436        .27542E-01    .40291E-01    .10866E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.115147
  Index      = 5.35801
  Normalizat = 1.15821
  Prefactor  = 1.04365
 **********
 **   18 **HESSE 
 **********

 FCN=   9085.818     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      347 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11515        3.7870        .26522E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.3580        7.2881        .57651E-02    .71662E-01
   3  Normalizat    1.1582        .17579        .35337E-03   -.87904    
   4  Prefactor     1.0436        .10363        .22155E-03   -.91288    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.56597e-10
Minuit parameter uncertainties:
  1  1.32069
  2  5.3648
  3  0.175883
  4  0.103651
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816138': 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) = 9085.81754818
delta logL = 0.68776317286

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.151e-01  1.321e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  5.358e+00  5.365e+00  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.044e+00  1.037e-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.158e+00  1.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.82
Ra Dec: 351.436 18.365
Photon Index (Free Index): 5.36 +/- 5.36
Photon Flux (Free Index): 7.77e-08 +/- 6.07e-08
Energy Flux (Free Index): 1.01e-05 +/- 8.99e-06

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/816138/cmap_HighResolution_692150401_692409601_4FGL_J2325.7+1821_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.70e-03', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='6.88e-01', photon_flux2='7.77e-08', job_status='DONE', time_completed='2022-12-11 02:04:28.858882', photon_index_error2='5.36', photon_index2='5.36', ts='0.28', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='8.99e-06', EG='1.25', time_epoch_completed='1670753068.86', return_code='0', job_id='816138', GAL2='1.04', EG2='1.16', return_code2='102', photon_flux_error2='6.07e-08', ts2='1.82', photon_index='2.43' WHERE bin_id='1747' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:04:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 816138: <4FGL_J2325.7+1821_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:50:21 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:50:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:50:21 2022
Terminated at Sun Dec 11 02:04:29 2022
Results reported at Sun Dec 11 02:04:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1747 351.436 18.3654 692150401 692409601 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 :                                   711.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            848 sec.

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

