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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1728
RA = 351.436, Dec = 18.3654
tmin = 687225601, tmax = 687484801
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='305570', job_status='RUN', time_executed='2022-10-15 00:41:04.050991', time_epoch_executed='1665819664.05' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/305570

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/305570/ft1_4FGL_J2325.7+1821_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/305570/ft2_4FGL_J2325.7+1821_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/305570/ft1_4FGL_J2325.7+1821_daily_bin1728.fits outfile=/scratch/kocevski/305570/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1728.fits ra=351.436 dec=18.3654 rad=12.0 tmin=687225601.0 tmax=687484801.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.76
user 2.53
sys 0.22

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

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

Number of photons that the gtmktime cut: 122

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/305570/ft1_filtered_4FGL_J2325.7+1821_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/305570/ft2_4FGL_J2325.7+1821_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/305570/ltcube_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.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/305570/ft2_4FGL_J2325.7+1821_daily_bin1728.fits
.....................!
real 12.69
user 12.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/305570/ft1_filtered_4FGL_J2325.7+1821_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/305570/ft2_4FGL_J2325.7+1821_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/305570/ltcube_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.fits outfile=/scratch/kocevski/305570/expmap_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.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/305570/ltcube_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.fits
.....................!
real 192.97
user 187.03
sys 5.57

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/305570/ft1_filtered_4FGL_J2325.7+1821_daily_bin1728.fits scfile=/scratch/kocevski/305570/ft2_4FGL_J2325.7+1821_daily_bin1728.fits outfile=/scratch/kocevski/305570/cmap_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.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/305570/ft1_filtered_4FGL_J2325.7+1821_daily_bin1728.fits scfile=/scratch/kocevski/305570/ft2_4FGL_J2325.7+1821_daily_bin1728.fits outfile=/scratch/kocevski/305570/cmap_HighResolution_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/305570/ft1_filtered_4FGL_J2325.7+1821_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/305570/ft2_4FGL_J2325.7+1821_daily_bin1728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/305570/Model_4FGL_J2325.7+1821_daily_bin1728.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/305570/ft1_filtered_4FGL_J2325.7+1821_daily_bin1728.fits.....................!
real 27.47
user 26.13
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/305570/ft1_filtered_4FGL_J2325.7+1821_daily_bin1728.fits', '/scratch/kocevski/305570/ft2_4FGL_J2325.7+1821_daily_bin1728.fits', expMap='/scratch/kocevski/305570/expmap_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.fits', expCube='/scratch/kocevski/305570/ltcube_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/305570/Model_4FGL_J2325.7+1821_daily_bin1728.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/305570/ft1_filtered_4FGL_J2325.7+1821_daily_bin1728.fits
Spacecraft file(s): /scratch/kocevski/305570/ft2_4FGL_J2325.7+1821_daily_bin1728.fits
Exposure map: /scratch/kocevski/305570/expmap_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.fits
Exposure cube: /scratch/kocevski/305570/ltcube_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/305570/Model_4FGL_J2325.7+1821_daily_bin1728.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1364.00683724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12591E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36398       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38354E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .26507E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    87.308       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32047E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.6740       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.053       1.0000          .0000       .10000E+07
     9 'Prefactor '    211.39       1.0000          .0000       .10000E+07
    10 'Prefactor '    139.05       1.0000          .0000       .10000E+07
    11 'Prefactor '    .26620E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21688E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16824       1.0000          .0000       .10000E+07
    14 'norm      '    78.338       1.0000          .0000       .10000E+07
    15 'Prefactor '    .84483E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    214.03       1.0000          .0000       .10000E+07
    17 'norm      '    49.082       1.0000          .0000       .10000E+07
    18 'Prefactor '    25.986       1.0000          .0000       .10000E+07
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .83775       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=   1363.908     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1906 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        44.914        .17572E-05** at limit **
   2  Prefactor     .15216E-05    238.91       -.30208E-04** at limit **
   3  Prefactor     .57323E-04    446.69       -.32827E-04** at limit **
   4  norm           .0000        1.1062        .64744E-07** at limit **
   5  Prefactor     86.474        33.847        .58983E-05   -.12393E-02
   6  Prefactor      .0000        7.7916        .11651E-06** at limit **
   7  Prefactor     3.6764        .62163       -.33973E-06   -.69197E-03
   8  Prefactor     12.926        19.118       -.10905E-06    .38788E-03
   9  Prefactor     214.14        52.474        .43372E-06    .40693E-01
  10  Prefactor     138.93        33.758       -.66596E-05    .19982    
  11  Prefactor     .29421E-08    34.235        .46653E-06** at limit **
  12  Prefactor      .0000        41.915        .11508E-06** at limit **
  13  Prefactor     .46629E-08    139.79        .25337E-05** at limit **
  14  norm          78.794        51.695        .11671E-04    .51566E-01
  15  Prefactor     .14544E-07    72.930       -.17429E-06** at limit **
  16  Prefactor     213.29        28.376       -.32631E-05    .21959    
  17  norm          47.389        61.880        .13153E-04    .82852E-01
  18  Prefactor     26.972        23.579        .14039E-05    .37501E-01
  19  Normalizat    .10000E-01    .12901       -.99383E-05** at limit **
  20  Prefactor     .83695        .18229       -.27545E-04   -.67113E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.52156e-06
  Prefactor  = 5.73233e-05
  norm       = 0
  Prefactor  = 86.4739
  Prefactor  = 0
  Prefactor  = 3.67642
  Prefactor  = 12.9264
  Prefactor  = 214.139
  Prefactor  = 138.926
  Prefactor  = 2.94209e-09
  Prefactor  = 0
  Prefactor  = 4.66294e-09
  norm       = 78.7939
  Prefactor  = 1.45439e-08
  Prefactor  = 213.288
  norm       = 47.3889
  Prefactor  = 26.9715
  Normalizat = 0.01
  Prefactor  = 0.836948
 **********
 **   18 **HESSE 
 **********

 FCN=   1363.908     FROM HESSE     STATUS=OK           321 CALLS     2227 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        44.906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15216E-05    239.22        .93784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .57323E-04    601.87        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.1061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     86.474        78.789        .10703E-03   -1.5522    
   6  Prefactor      .0000        7.7866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6764        .62943        .25593E-02   -1.5324    
   8  Prefactor     12.926        19.126        .27700E-03   -1.5636    
   9  Prefactor     214.14        113.49        .68786E-04   -1.5415    
  10  Prefactor     138.93        144.77        .84810E-04   -1.5472    
  11  Prefactor     .29421E-08    34.240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        41.787        .16928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .46629E-08    139.75        .12371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          78.794        55.486        .11299E-03   -1.5530    
  15  Prefactor     .14544E-07    73.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     213.29        191.65        .68361E-04   -1.5416    
  17  norm          47.389        73.053        .14275E-03   -1.5570    
  18  Prefactor     26.972        99.293        .19621E-03   -1.5604    
  19  Normalizat    .10000E-01    .12677        .18546       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .83695        .20024        .44207E-01   -.98380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5044e-05
Minuit parameter uncertainties:
  1  2.58132e-06
  2  0.038159
  3  0.371527
  4  1.16755e-06
  5  78.7901
  6  1.09552e-05
  7  0.629428
  8  19.126
  9  113.488
  10  144.769
  11  0.000635491
  12  4.02684e-05
  13  0.00161913
  14  55.486
  15  0.00206911
  16  191.652
  17  73.0546
  18  99.2994
  19  5.23916e-07
  20  0.200417
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  4.663e-09  1.619e-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:  8.369e-01  2.004e-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  5.239e-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: 5.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/305570/likelihoodResults_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.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) = 1363.911858
delta logL = -0.00346598017336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1363.90839583
delta logL = -3.81370477953e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75617E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.6545       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83648       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=   1363.908     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      255 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46629E-08    12.117        .42118E-03** at limit **
   2  Index         1.6322        8.8970        .50000       -.12506E-09
   3  Normalizat    .10000E-01    .32858E-04    .18546    ** at limit **
   4  Prefactor     .83695        .28243E-02    .44190E-01   -.50155E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66294e-09
  Index      = 1.63223
  Normalizat = 0.01
  Prefactor  = 0.836948
 **********
 **   18 **HESSE 
 **********

 FCN=   1363.908     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      286 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46629E-08    60.487        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6322        5.4943        .50000       -.73901    
   3  Normalizat    .10000E-01    .17503E-03    .79461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .83695        .63118E-02    .22342E-03   -.98380    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.89883e-11
Minuit parameter uncertainties:
  1  0.00106171
  2  51183.5
  3  5.11547e-08
  4  0.00631185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/305570': 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) = 1363.90839202
delta logL = -5.68434188608e-12

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  4.663e-09  1.062e-03  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  1.632e+00  5.118e+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:  8.369e-01  6.312e-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  5.115e-08  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/305570/cmap_HighResolution_687225601_687484801_4FGL_J2325.7+1821_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-02', job_status='DONE', photon_flux_upper_limit='5.38e-07', time_completed='2022-10-15 00:47:27.456297', job_id='305570', GAL2='0.84', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1665820047.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-5.68e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1728' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:47:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 305570: <4FGL_J2325.7+1821_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1728> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Oct 15 00:40:15 2022
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:40:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:40:16 2022
Terminated at Sat Oct 15 00:47:28 2022
Results reported at Sat Oct 15 00:47:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1728 351.436 18.3654 687225601 687484801 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 :                                   374.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             357.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   431 sec.
    Turnaround time :                            433 sec.

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

