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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1761
RA = 351.436, Dec = 18.3654
tmin = 695779201, tmax = 696038401
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='936522', job_status='RUN', time_executed='2023-01-22 01:48:45.852605', time_epoch_executed='1674380925.85' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/936522

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/936522/ft1_4FGL_J2325.7+1821_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/936522/ft2_4FGL_J2325.7+1821_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/936522/ft1_4FGL_J2325.7+1821_daily_bin1761.fits outfile=/scratch/kocevski/936522/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1761.fits ra=351.436 dec=18.3654 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.11
user 4.81
sys 0.25

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

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

Number of photons that the gtmktime cut: 821

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/936522/ft1_filtered_4FGL_J2325.7+1821_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/936522/ft2_4FGL_J2325.7+1821_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/936522/ltcube_695779201_696038401_4FGL_J2325.7+1821_daily_bin1761.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/936522/ft2_4FGL_J2325.7+1821_daily_bin1761.fits
.....................!
real 15.04
user 14.53
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/936522/ft1_filtered_4FGL_J2325.7+1821_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936522/ft2_4FGL_J2325.7+1821_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/936522/ltcube_695779201_696038401_4FGL_J2325.7+1821_daily_bin1761.fits outfile=/scratch/kocevski/936522/expmap_695779201_696038401_4FGL_J2325.7+1821_daily_bin1761.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/936522/ltcube_695779201_696038401_4FGL_J2325.7+1821_daily_bin1761.fits
.....................!
real 195.73
user 189.37
sys 5.33

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/936522/ft1_filtered_4FGL_J2325.7+1821_daily_bin1761.fits scfile=/scratch/kocevski/936522/ft2_4FGL_J2325.7+1821_daily_bin1761.fits outfile=/scratch/kocevski/936522/cmap_695779201_696038401_4FGL_J2325.7+1821_daily_bin1761.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.59
user 0.38
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/936522/ft1_filtered_4FGL_J2325.7+1821_daily_bin1761.fits scfile=/scratch/kocevski/936522/ft2_4FGL_J2325.7+1821_daily_bin1761.fits outfile=/scratch/kocevski/936522/cmap_HighResolution_695779201_696038401_4FGL_J2325.7+1821_daily_bin1761.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.59
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/936522/ft1_filtered_4FGL_J2325.7+1821_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936522/ft2_4FGL_J2325.7+1821_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/936522/Model_4FGL_J2325.7+1821_daily_bin1761.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/936522/ft1_filtered_4FGL_J2325.7+1821_daily_bin1761.fits.....................!
real 94.02
user 92.06
sys 1.45

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84932E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.2670       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1063       1.0000          .0000       .10000E+07
     4 'norm      '    2.7922       1.0000          .0000       .10000E+07
     5 'Prefactor '    22.257       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.8828       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6684       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .20419E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26017E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    39.707       1.0000          .0000       .10000E+07
    11 'Prefactor '    .98873       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12257E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .73362E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .33436E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .35134E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26931E-04   1.0000          .0000       .10000E+07
    17 'norm      '    2.2152       1.0000          .0000       .10000E+07
    18 'Prefactor '    .73395E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0429       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0165       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=   8545.014     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1515 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37192E-08    3.6839        .48411E-07** at limit **
   2  Prefactor     9.2710        8.0830        .43739E-07    .27507E-01
   3  Prefactor     2.0915        6.5489       -.19137E-06   -.31487E-02
   4  norm          2.7889        2.0386        .75786E-07    .34121E-02
   5  Prefactor     22.471        6.0609       -.23056E-07    .30094E-02
   6  Prefactor     7.9706        1.6109       -.15097E-07   -.12589E-02
   7  Prefactor     1.6682        .22096       -.38926E-07   -.53359E-03
   8  Prefactor     .16287E-06    4.2446        .38435E-08** at limit **
   9  Prefactor     .55511E-10    15.208        .21320E-06** at limit **
  10  Prefactor     40.665        28.287       -.79159E-07   -.56371E-02
  11  Prefactor     .99150        .51407       -.53479E-08    .79883E-04
  12  Prefactor     .24952E-06    6.4721       -.24161E-06** at limit **
  13  Prefactor     .24991E-06    4.7446       -.13339E-06** at limit **
  14  norm          .49738E-07    4.5903        .65696E-08** at limit **
  15  Prefactor     .17208E-08    3.1302       -.10143E-06** at limit **
  16  Prefactor     .32752E-07    10.099       -.88572E-07** at limit **
  17  norm          2.2120        1.1963       -.55312E-08    .73850E-04
  18  Prefactor     .11102E-09    2.4955       -.10122E-06** at limit **
  19  Normalizat    1.0424        .22108        .28843E-05    .46145E-04
  20  Prefactor     1.0162        .13470       -.13662E-05    .26718E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.71925e-09
  Prefactor  = 9.27095
  Prefactor  = 2.09148
  norm       = 2.78887
  Prefactor  = 22.4709
  Prefactor  = 7.9706
  Prefactor  = 1.66824
  Prefactor  = 1.6287e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 40.6647
  Prefactor  = 0.991502
  Prefactor  = 2.49523e-07
  Prefactor  = 2.49911e-07
  norm       = 4.9738e-08
  Prefactor  = 1.72085e-09
  Prefactor  = 3.27516e-08
  norm       = 2.21205
  Prefactor  = 1.11022e-10
  Normalizat = 1.04244
  Prefactor  = 1.01624
 **********
 **   18 **HESSE 
 **********

 FCN=   8545.014     FROM HESSE     STATUS=OK           333 CALLS     1848 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37192E-08    3.6294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.2710        8.3429        .32898E-03   -1.5647    
   3  Prefactor     2.0915        6.6091        .71067E-03   -1.5679    
   4  norm          2.7889        2.1432        .60863E-03   -1.5675    
   5  Prefactor     22.471        27.765        .21202E-03   -1.5613    
   6  Prefactor     7.9706        12.804        .35690E-03   -1.5651    
   7  Prefactor     1.6682        .22410        .34291E-02   -1.5450    
   8  Prefactor     .16287E-06    5.6587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    14.979        .16669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     40.665        28.932        .15871E-03   -1.5580    
  11  Prefactor     .99150        6.1889        .43366E-03   -1.5688    
  12  Prefactor     .24952E-06    8.6499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .24991E-06    6.9099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .49738E-07    5.0100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .17208E-08    3.1442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .32752E-07    10.381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2120        10.053        .69073E-03   -1.5678    
  18  Prefactor     .11102E-09    2.4840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0424        .19325        .73696E-01   -.91622    
  20  Prefactor     1.0162        .11551        .42506E-01   -.92190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70444e-07
Minuit parameter uncertainties:
  1  0.000232789
  2  8.34292
  3  6.60914
  4  2.14324
  5  27.7647
  6  12.8044
  7  0.224102
  8  0.00191991
  9  6.87984e-05
  10  28.9317
  11  4.95431
  12  0.00293813
  13  0.00262822
  14  0.000998188
  15  0.000145974
  16  0.0011664
  17  9.43129
  18  3.41756e-05
  19  0.193383
  20  0.115539
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.499e-07  2.628e-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:  1.016e+00  1.155e-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.042e+00  1.934e-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: 6.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/936522/likelihoodResults_695779201_696038401_4FGL_J2325.7+1821_daily_bin1761.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) = 8545.01513667
delta logL = -0.000750808703742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8545.01438585
delta logL = 1.56360329129e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43854E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.2539       1.0000          .0000       10.000    
     3 'Normalizat'    1.0424       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0163       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=   8545.014     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      269 TOTAL
                     EDM=   .62E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    .75256E-02    .42118E-03** at limit **
   2  Index         3.5043        5.8257        .50000        .13188E-08
   3  Normalizat    1.0424        .27353E-03    .73696E-01   -.10737E-02
   4  Prefactor     1.0162        .16785E-03    .42535E-01   -.15995E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 3.50427
  Normalizat = 1.04243
  Prefactor  = 1.01624
 **********
 **   18 **HESSE 
 **********

 FCN=   8545.014     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      298 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    .15725        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5043        5.0130        .50000       -.30380    
   3  Normalizat    1.0424        .12437E-02    .32612E-03   -.91622    
   4  Prefactor     1.0162        .76428E-03    .20141E-03   -.92190    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.30265e-11
Minuit parameter uncertainties:
  1  2.55384e-05
  2  6055.44
  3  0.00124373
  4  0.000764276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/936522': 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) = 8545.01438585
delta logL = 1.70803104993e-08

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.055e-09  2.554e-05  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  3.504e+00  6.055e+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:  1.016e+00  7.643e-04  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.042e+00  1.244e-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/936522/cmap_HighResolution_695779201_696038401_4FGL_J2325.7+1821_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', job_status='DONE', photon_flux_upper_limit='6.29e-08', time_completed='2023-01-22 01:59:57.063471', job_id='936522', GAL2='1.02', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1674381597.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.71e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1761' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:59:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 936522: <4FGL_J2325.7+1821_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1761> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan 22 01:45:18 2023
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:46:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:46:27 2023
Terminated at Sun Jan 22 01:59:57 2023
Results reported at Sun Jan 22 01:59:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1761 351.436 18.3654 695779201 696038401 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 :                                   671.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            879 sec.

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

