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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1765
RA = 351.436, Dec = 18.3654
tmin = 696816001, tmax = 697075201
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='649815', job_status='RUN', time_executed='2023-02-03 01:53:44.657005', time_epoch_executed='1675418024.66' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649815

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649815/ft1_4FGL_J2325.7+1821_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649815/ft2_4FGL_J2325.7+1821_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649815/ft1_4FGL_J2325.7+1821_daily_bin1765.fits outfile=/scratch/kocevski/649815/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1765.fits ra=351.436 dec=18.3654 rad=12.0 tmin=696816001.0 tmax=697075201.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.69
user 3.42
sys 0.22

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

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

Number of photons that the gtmktime cut: 779

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649815/ft1_filtered_4FGL_J2325.7+1821_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/649815/ft2_4FGL_J2325.7+1821_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/649815/ltcube_696816001_697075201_4FGL_J2325.7+1821_daily_bin1765.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/649815/ft2_4FGL_J2325.7+1821_daily_bin1765.fits
.....................!
real 14.94
user 14.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649815/ft1_filtered_4FGL_J2325.7+1821_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649815/ft2_4FGL_J2325.7+1821_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/649815/ltcube_696816001_697075201_4FGL_J2325.7+1821_daily_bin1765.fits outfile=/scratch/kocevski/649815/expmap_696816001_697075201_4FGL_J2325.7+1821_daily_bin1765.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/649815/ltcube_696816001_697075201_4FGL_J2325.7+1821_daily_bin1765.fits
.....................!
real 191.77
user 185.72
sys 5.07

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/649815/ft1_filtered_4FGL_J2325.7+1821_daily_bin1765.fits scfile=/scratch/kocevski/649815/ft2_4FGL_J2325.7+1821_daily_bin1765.fits outfile=/scratch/kocevski/649815/cmap_696816001_697075201_4FGL_J2325.7+1821_daily_bin1765.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.436 yref=18.3654 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649815/ft1_filtered_4FGL_J2325.7+1821_daily_bin1765.fits scfile=/scratch/kocevski/649815/ft2_4FGL_J2325.7+1821_daily_bin1765.fits outfile=/scratch/kocevski/649815/cmap_HighResolution_696816001_697075201_4FGL_J2325.7+1821_daily_bin1765.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/649815/ft1_filtered_4FGL_J2325.7+1821_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649815/ft2_4FGL_J2325.7+1821_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/649815/Model_4FGL_J2325.7+1821_daily_bin1765.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/649815/ft1_filtered_4FGL_J2325.7+1821_daily_bin1765.fits.....................!
real 92.36
user 90.74
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3755       1.0000          .0000       .10000E+07
     2 'Prefactor '    .30914E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.6635       1.0000          .0000       .10000E+07
     4 'norm      '    1.5745       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.121       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.8487       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.3521       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15888E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .14105E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22440E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .45516E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .63370E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.7736       1.0000          .0000       .10000E+07
    14 'norm      '    .20517E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .41196E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .79523       1.0000          .0000       .10000E+07
    17 'norm      '    6.1633       1.0000          .0000       .10000E+07
    18 'Prefactor '    .65429E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2387       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0007       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=   8165.718     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1260 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3776        2.7823        .79656E-07   -.20888E-03
   2  Prefactor     .22223E-04    25.456       -.10587E-05** at limit **
   3  Prefactor     4.6762        7.6340        .12573E-06   -.24444E-03
   4  norm          1.5752        1.2382       -.79771E-08    .27504E-02
   5  Prefactor     15.088        1.4675        .18061E-08    .36637E-02
   6  Prefactor     8.8132        7.8404        .49301E-07    .76394E-03
   7  Prefactor     1.3520        .21743        .33162E-07    .78340E-03
   8  Prefactor     .89928E-08    15.550       -.81939E-07** at limit **
   9  Prefactor     .67080E-04    195.75        .41320E-05** at limit **
  10  Prefactor     .48739E-07    11.259       -.23506E-07** at limit **
  11  Prefactor     .60618E-07    45.400       -.16471E-05** at limit **
  12  Prefactor     .26790        54.358        .22802E-05    .41664E-03
  13  Prefactor     2.7523        34.506        .86445E-06    .13305E-01
  14  norm           .0000        2.3867       -.23604E-07** at limit **
  15  Prefactor     .43854E-08    11.286        .19165E-06** at limit **
  16  Prefactor     .30940        27.000        .16038E-05   -.50479E-01
  17  norm          6.2061        10.894       -.11161E-06    .16311E-03
  18  Prefactor      .0000        4.2555        .17972E-08** at limit **
  19  Normalizat    1.2389        .24534       -.46078E-05   -.23299E-04
  20  Prefactor     1.0006        .14185        .56885E-06   -.57440E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.37763
  Prefactor  = 2.22226e-05
  Prefactor  = 4.67623
  norm       = 1.57525
  Prefactor  = 15.088
  Prefactor  = 8.81321
  Prefactor  = 1.35203
  Prefactor  = 8.99281e-09
  Prefactor  = 6.70799e-05
  Prefactor  = 4.87388e-08
  Prefactor  = 6.06182e-08
  Prefactor  = 0.267904
  Prefactor  = 2.75226
  norm       = 0
  Prefactor  = 4.38538e-09
  Prefactor  = 0.309403
  norm       = 6.20614
  Prefactor  = 0
  Normalizat = 1.23892
  Prefactor  = 1.0006
 **********
 **   18 **HESSE 
 **********

 FCN=   8165.718     FROM HESSE     STATUS=OK           369 CALLS     1629 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3776        2.9809        .92849E-03   -1.5684    
   2  Prefactor     .22223E-04    6.0445        .12134E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.6762        7.7395        .46578E-03   -1.5665    
   4  norm          1.5752        1.2405        .84657E-03   -1.5683    
   5  Prefactor     15.088        17.181        .25731E-03   -1.5630    
   6  Prefactor     8.8132        7.8495        .33671E-03   -1.5649    
   7  Prefactor     1.3520        .21870        .36479E-02   -1.5475    
   8  Prefactor     .89928E-08    15.580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .67080E-04    11.679        .85174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .48739E-07    11.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .60618E-07    5.7518        .57349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .26790        4.6424        .10512E-01   -1.5698    
  13  Prefactor     2.7523        42.614        .61081E-03   -1.5675    
  14  norm           .0000        2.4002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .43854E-08    11.198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .30940        16.652        .10140E-01   -1.5697    
  17  norm          6.2061        10.959        .40415E-03   -1.5658    
  18  Prefactor      .0000        4.2651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2389        .20978        .70525E-01   -.85409    
  20  Prefactor     1.0006        .11922        .45566E-01   -.92710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14831e-07
Minuit parameter uncertainties:
  1  2.98091
  2  0.0231797
  3  7.73955
  4  1.24047
  5  17.1809
  6  7.84947
  7  0.218696
  8  0.000749173
  9  0.0559806
  10  0.00148544
  11  0.0011808
  12  2.23045
  13  21.6599
  14  9.0837e-07
  15  0.000444447
  16  4.53974
  17  10.9588
  18  2.07024e-05
  19  0.209926
  20  0.119255
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.752e+00  2.166e+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.001e+00  1.193e-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.239e+00  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/649815/likelihoodResults_696816001_697075201_4FGL_J2325.7+1821_daily_bin1765.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) = 8165.32616047
delta logL = 0.391808990597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8165.26746555
delta logL = 0.450503918903

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6635       1.0000          .0000       .10000E+07
     2 'Index     '    3.8578       1.0000          .0000       10.000    
     3 'Normalizat'    1.1774       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0219       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=   8165.267     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      233 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6526        42.398        .81747E-03    .10416E-01
   2  Index         3.8606        3.4380        .11857        .20625E-03
   3  Normalizat    1.1774        .55044E-01    .72086E-01    .17053E-04
   4  Prefactor     1.0219        .33135E-01    .41960E-01    .52832E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.65257
  Index      = 3.86058
  Normalizat = 1.17739
  Prefactor  = 1.02185
 **********
 **   18 **HESSE 
 **********

 FCN=   8165.267     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6526        98.838        .12252E-04   -1.5682    
   2  Index         3.8606        6.8928        .73754E-02   -.22990    
   3  Normalizat    1.1774        .20348        .31899E-03   -.87304    
   4  Prefactor     1.0219        .12140        .20425E-03   -.92005    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.74701e-09
Minuit parameter uncertainties:
  1  25.5611
  2  7.37251
  3  0.20362
  4  0.121436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649815': 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) = 8165.26746354
delta logL = 0.45050592229

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.653e+00  2.556e+01  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  3.861e+00  7.373e+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.022e+00  1.214e-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.177e+00  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/649815/cmap_HighResolution_696816001_697075201_4FGL_J2325.7+1821_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2023-02-03 02:04:04.808896', job_id='649815', GAL2='1.02', fit_tolerance='1e-08', EG2='1.18', EG='1.24', time_epoch_completed='1675418644.81', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='4.51e-01', ts2='0.98', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1765' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:04:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 649815: <4FGL_J2325.7+1821_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:50:28 2023
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:51:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:51:23 2023
Terminated at Fri Feb  3 02:04:05 2023
Results reported at Fri Feb  3 02:04:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1765 351.436 18.3654 696816001 697075201 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 :                                   621.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            817 sec.

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

