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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1730
RA = 346.922, Dec = 14.8644
tmin = 687744001, tmax = 688003201
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='469184', job_status='RUN', time_executed='2022-10-21 00:36:36.449916', time_epoch_executed='1666337796.45' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469184

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469184/ft1_4FGL_J2307.6+1451_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469184/ft1_4FGL_J2307.6+1451_daily_bin1730.fits outfile=/scratch/kocevski/469184/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1730.fits ra=346.922 dec=14.8644 rad=12.0 tmin=687744001.0 tmax=688003201.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 4.92
user 4.65
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.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/469184/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1730.fits evtable="EVENTS" outfile="/scratch/kocevski/469184/ft1_filtered_4FGL_J2307.6+1451_daily_bin1730.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: 1062

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469184/ft1_filtered_4FGL_J2307.6+1451_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/469184/ltcube_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.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/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.fits
.....................!
real 11.92
user 11.52
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469184/ft1_filtered_4FGL_J2307.6+1451_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469184/ltcube_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.fits outfile=/scratch/kocevski/469184/expmap_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.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/469184/ltcube_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.fits
.....................!
real 190.86
user 185.01
sys 5.48

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J2307.6+1451 @ 346.922 14.8644

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/469184/ft1_filtered_4FGL_J2307.6+1451_daily_bin1730.fits scfile=/scratch/kocevski/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.fits outfile=/scratch/kocevski/469184/cmap_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.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=346.922 yref=14.8644 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469184/ft1_filtered_4FGL_J2307.6+1451_daily_bin1730.fits scfile=/scratch/kocevski/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.fits outfile=/scratch/kocevski/469184/cmap_HighResolution_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.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=346.922 yref=14.8644 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469184/ft1_filtered_4FGL_J2307.6+1451_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469184/Model_4FGL_J2307.6+1451_daily_bin1730.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/469184/ft1_filtered_4FGL_J2307.6+1451_daily_bin1730.fits.....................!
real 114.39
user 112.88
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469184/ft1_filtered_4FGL_J2307.6+1451_daily_bin1730.fits', '/scratch/kocevski/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.fits', expMap='/scratch/kocevski/469184/expmap_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.fits', expCube='/scratch/kocevski/469184/ltcube_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469184/Model_4FGL_J2307.6+1451_daily_bin1730.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2307.6+1451'

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.115e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/469184/ft1_filtered_4FGL_J2307.6+1451_daily_bin1730.fits
Spacecraft file(s): /scratch/kocevski/469184/ft2_4FGL_J2307.6+1451_daily_bin1730.fits
Exposure map: /scratch/kocevski/469184/expmap_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.fits
Exposure cube: /scratch/kocevski/469184/ltcube_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469184/Model_4FGL_J2307.6+1451_daily_bin1730.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) = 10136.1689027

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34250E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    24.328       1.0000          .0000       .10000E+07
     3 'Prefactor '    .90182       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.1321       1.0000          .0000       .10000E+07
     6 'Prefactor '    .20197E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    33.284       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.9616       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .25819       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27446E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    18.859       1.0000          .0000       .10000E+07
    12 'Prefactor '    .39636E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .15704       1.0000          .0000       .10000E+07
    14 'Prefactor '    .98961E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .64116E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    13.547       1.0000          .0000       .10000E+07
    17 'Prefactor '    .41558E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .28272E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .75378E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1333       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82964       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10136.04     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1609 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.1203       -.61174E-06** at limit **
   2  Prefactor     24.247        5.3314       -.12707E-05   -.48803E-01
   3  Prefactor     .90176        .22913       -.30360E-06   -.53532E-02
   4  Prefactor     .10000E-03    2.5001        .47816E-05** at limit **
   5  norm          2.1329        1.6593        .91680E-07   -.93820E-02
   6  Prefactor     .38858E-09    12.683        .20479E-05** at limit **
   7  Prefactor     33.250        2.8663        .63937E-06    .62952E-01
   8  Prefactor     6.9617        .39450       -.19475E-06    .49093E-02
   9  Prefactor     .45908E-06    200.51        .31095E-04** at limit **
  10  Prefactor     .27756E-09    3.4913        .26028E-06** at limit **
  11  Prefactor     18.791        2.2225       -.17023E-06   -.97973E-02
  12  Prefactor     .12368E-06    24.816       -.96280E-05** at limit **
  13  Prefactor     .70957E-01    .63322       -.34769E-06** at limit **
  14  Prefactor     .58287E-08    117.11       -.60039E-05** at limit **
  15  norm          .27756E-09    4.9228        .24099E-06** at limit **
  16  Prefactor     13.603        8.8350       -.14951E-06    .47988E-02
  17  Prefactor     .19429E-08    11.639       -.12858E-05** at limit **
  18  norm          .22204E-09    7.8451       -.97393E-08** at limit **
  19  Prefactor     .55511E-09    3.2900       -.48672E-07** at limit **
  20  Normalizat    1.1333        .25273        .33706E-04    .30392E-03
  21  Prefactor     .82986        .13953       -.78061E-05    .14972E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 24.2468
  Prefactor  = 0.901758
  Prefactor  = 0.000100001
  norm       = 2.13293
  Prefactor  = 3.88578e-10
  Prefactor  = 33.2497
  Prefactor  = 6.96168
  Prefactor  = 4.59077e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 18.7912
  Prefactor  = 1.23679e-07
  Prefactor  = 0.0709574
  Prefactor  = 5.82867e-09
  norm       = 2.77556e-10
  Prefactor  = 13.6028
  Prefactor  = 1.94289e-09
  norm       = 2.22045e-10
  Prefactor  = 5.55112e-10
  Normalizat = 1.13327
  Prefactor  = 0.829861
 **********
 **   18 **HESSE 
 **********

 FCN=   10136.04     FROM HESSE     STATUS=OK           371 CALLS     1980 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.1256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.247        18.544        .20279E-03   -1.5609    
   3  Prefactor     .90176        .23007        .52949E-02   -1.5518    
   4  Prefactor     .10000E-03    2.5015        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.1329        1.7019        .70578E-03   -1.5679    
   6  Prefactor     .38858E-09    12.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.250        14.953        .17336E-03   -1.5593    
   8  Prefactor     6.9617        .39464        .32456E-02   -1.5180    
   9  Prefactor     .45908E-06    21.259        .15297E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27756E-09    3.4908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.791        16.982        .23036E-03   -1.5621    
  12  Prefactor     .12368E-06    24.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .70957E-01    5.1019        .82164E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .58287E-08    114.73        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .27756E-09    4.9323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.603        8.8961        .27188E-03   -1.5634    
  17  Prefactor     .19429E-08    11.888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .22204E-09    7.8556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-09    3.2877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1333        .21945        .86131E-01   -.88691    
  21  Prefactor     .82986        .11897        .44102E-01   -.98637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21953e-08
Minuit parameter uncertainties:
  1  1.85761e-05
  2  18.5441
  3  0.230068
  4  9.21987e-05
  5  1.70186
  6  0.000142525
  7  14.953
  8  0.394643
  9  0.00624827
  10  5.95014e-05
  11  16.9822
  12  0.0034969
  13  1.20335
  14  0.00163476
  15  7.66897e-05
  16  8.89612
  17  0.000304574
  18  8.49605e-05
  19  8.62966e-05
  20  0.219622
  21  0.119005
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  2.776e-10  5.950e-05  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  8.299e-01  1.190e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.133e+00  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 6.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469184/likelihoodResults_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.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) = 10136.0385243
delta logL = -0.000695139506206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10136.0378297
delta logL = -5.0825838116e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45020E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0244       1.0000          .0000       10.000    
     3 'Normalizat'    1.1335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82973       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10136.04     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      238 TOTAL
                     EDM=   .67E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.4250        .42118E-03** at limit **
   2  Index         2.0616        1.6394        .24674E-04     .0000    
   3  Normalizat    1.1333        1.1347       -.44596E-04   -.11309E-04
   4  Prefactor     .82986        1.1776        .27147E-04   -.71974E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.06157
  Normalizat = 1.13327
  Prefactor  = 0.829862
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10136.04     FROM HESSE     STATUS=FAILED         9 CALLS      247 TOTAL
                     EDM=   .67E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.4250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .46061        1.8531        .24674E-04   -.62819    
   3  Normalizat    1.1333        1.1347       -.44596E-04   -.88691    
   4  Prefactor     .82986        1.1776        .27147E-04   -.98637    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.67634e-12
Minuit parameter uncertainties:
  1  1.41232e-05
  2  1.688
  3  1.16064
  4  1.21663
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469184': 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): 101
logL (Free Index) = 10136.0378292
delta logL = 1.83717929758e-10

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  0.000e+00  1.412e-05  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.062e+00  1.688e+00  0.000e+00  1.000e+01 (-1.000e+00)
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  8.299e-01  1.217e+00  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.133e+00  1.161e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.922 14.864

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/469184/cmap_HighResolution_687744001_688003201_4FGL_J2307.6+1451_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.75e-03', job_status='DONE', photon_flux_upper_limit='6.24e-08', time_completed='2022-10-21 00:49:20.851026', job_id='469184', GAL2='0.83', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1666338560.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.84e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1730' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:49:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 469184: <4FGL_J2307.6+1451_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:29 2022
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:30 2022
Terminated at Fri Oct 21 00:49:22 2022
Results reported at Fri Oct 21 00:49:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1730 346.922 14.8644 687744001 688003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2307.6+1451 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   764.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

