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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1713
RA = 346.922, Dec = 14.8644
tmin = 683337601, tmax = 683596801
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='253728', job_status='RUN', time_executed='2022-09-17 00:22:29.015692', time_epoch_executed='1663399349.02' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253728/ft1_4FGL_J2307.6+1451_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253728/ft2_4FGL_J2307.6+1451_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253728/ft1_4FGL_J2307.6+1451_daily_bin1713.fits outfile=/scratch/kocevski/253728/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1713.fits ra=346.922 dec=14.8644 rad=12.0 tmin=683337601.0 tmax=683596801.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.53
user 3.28
sys 0.23

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

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

Number of photons that the gtmktime cut: 751

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253728/ft1_filtered_4FGL_J2307.6+1451_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/253728/ft2_4FGL_J2307.6+1451_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/253728/ltcube_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.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/253728/ft2_4FGL_J2307.6+1451_daily_bin1713.fits
.....................!
real 14.21
user 13.85
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253728/ft1_filtered_4FGL_J2307.6+1451_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/253728/ft2_4FGL_J2307.6+1451_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/253728/ltcube_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.fits outfile=/scratch/kocevski/253728/expmap_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.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/253728/ltcube_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.fits
.....................!
real 194.33
user 188.44
sys 5.45

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/253728/ft1_filtered_4FGL_J2307.6+1451_daily_bin1713.fits scfile=/scratch/kocevski/253728/ft2_4FGL_J2307.6+1451_daily_bin1713.fits outfile=/scratch/kocevski/253728/cmap_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253728/ft1_filtered_4FGL_J2307.6+1451_daily_bin1713.fits scfile=/scratch/kocevski/253728/ft2_4FGL_J2307.6+1451_daily_bin1713.fits outfile=/scratch/kocevski/253728/cmap_HighResolution_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253728/ft1_filtered_4FGL_J2307.6+1451_daily_bin1713.fits', '/scratch/kocevski/253728/ft2_4FGL_J2307.6+1451_daily_bin1713.fits', expMap='/scratch/kocevski/253728/expmap_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.fits', expCube='/scratch/kocevski/253728/ltcube_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253728/Model_4FGL_J2307.6+1451_daily_bin1713.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/253728/ft1_filtered_4FGL_J2307.6+1451_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/253728/ft2_4FGL_J2307.6+1451_daily_bin1713.fits
Exposure map: /scratch/kocevski/253728/expmap_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.fits
Exposure cube: /scratch/kocevski/253728/ltcube_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253728/Model_4FGL_J2307.6+1451_daily_bin1713.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) = 7732.57074195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11306E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.341       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5360       1.0000         .10000E-03   10000.    
     5 'norm      '    3.5519       1.0000          .0000       .10000E+07
     6 'Prefactor '    23.850       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0980       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4389       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24293E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27200E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    50.858       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.978       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77206E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .11039E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .35688E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.4600       1.0000          .0000       .10000E+07
    17 'Prefactor '    .97326E-02   1.0000          .0000       .10000E+07
    18 'norm      '    7.1227       1.0000          .0000       .10000E+07
    19 'Prefactor '    .50399E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0693       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90338       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=   7732.566     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1597 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12512E-06    3.7791       -.90571E-07** at limit **
   2  Prefactor     10.330        1.2999       -.11591E-06   -.38029E-02
   3  Prefactor     .10000E-03    .63438E-01   -.39659E-06** at limit **
   4  Prefactor     3.5349        4.3751        .29085E-06    .52324E-04
   5  norm          3.5490        1.9021       -.95731E-08    .13980E-02
   6  Prefactor     23.942        1.2706        .91807E-07   -.46356E-01
   7  Prefactor     1.1489        1.8300       -.24567E-06   -.57990E-02
   8  Prefactor     2.4388        .26659       -.18037E-06   -.15638E-03
   9  Prefactor     .61617E-08    29.820        .45534E-06** at limit **
  10  Prefactor     .60507E-08    7.7151       -.17506E-05** at limit **
  11  Prefactor     51.051        1.2370        .11453E-07   -.23482E-01
  12  Prefactor     13.994        4.3252        .47100E-06   -.29243E-02
  13  Prefactor      .0000        3.7482        .61413E-06** at limit **
  14  Prefactor     .18063E-06    2.8631        .30920E-06** at limit **
  15  norm          .55511E-10    2.2820        .34398E-06** at limit **
  16  Prefactor     7.4515        6.8023        .14727E-05    .73309E-02
  17  Prefactor     .12768E-08    11.477       -.19119E-06** at limit **
  18  norm          7.1189        6.5123        .14689E-05    .95253E-02
  19  Prefactor     .55511E-10    1.7905       -.35841E-06** at limit **
  20  Normalizat    1.0690        .24663       -.12736E-06   -.21129E-03
  21  Prefactor     .90341        .14000        .29181E-05   -.28938E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.25122e-07
  Prefactor  = 10.3304
  Prefactor  = 0.0001
  Prefactor  = 3.53488
  norm       = 3.549
  Prefactor  = 23.9416
  Prefactor  = 1.14894
  Prefactor  = 2.43882
  Prefactor  = 6.16174e-09
  Prefactor  = 6.05072e-09
  Prefactor  = 51.0506
  Prefactor  = 13.994
  Prefactor  = 0
  Prefactor  = 1.80633e-07
  norm       = 5.55112e-11
  Prefactor  = 7.4515
  Prefactor  = 1.27676e-09
  norm       = 7.1189
  Prefactor  = 5.55112e-11
  Normalizat = 1.06904
  Prefactor  = 0.903411
 **********
 **   18 **HESSE 
 **********

 FCN=   7732.566     FROM HESSE     STATUS=OK           361 CALLS     1958 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12512E-06    6.2807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.330        12.768        .31134E-03   -1.5644    
   3  Prefactor     .10000E-03    .51346E-01    .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5349        4.3776        .53741E-02   -1.5332    
   5  norm          3.5490        2.0224        .53605E-03   -1.5670    
   6  Prefactor     23.942        32.740        .20481E-03   -1.5610    
   7  Prefactor     1.1489        16.910        .11354E-02   -1.5687    
   8  Prefactor     2.4388        .27094        .32106E-02   -1.5396    
   9  Prefactor     .61617E-08    29.956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .60507E-08    7.9112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     51.051        29.484        .14023E-03   -1.5565    
  12  Prefactor     13.994        7.8575        .26764E-03   -1.5633    
  13  Prefactor      .0000        3.7601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .18063E-06    6.4018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    2.2867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.4515        6.9288        .36696E-03   -1.5653    
  17  Prefactor     .12768E-08    11.549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.1189        7.7797        .37563E-03   -1.5655    
  19  Prefactor     .55511E-10    1.7993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0690        .21566        .75696E-01   -.90752    
  21  Prefactor     .90341        .11948        .45048E-01   -.96022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20623e-06
Minuit parameter uncertainties:
  1  0.00177294
  2  12.7675
  3  2.71015e-07
  4  4.37796
  5  2.02239
  6  32.7403
  7  8.81563
  8  0.270941
  9  0.000860929
  10  0.000437231
  11  29.4843
  12  7.85754
  13  6.84221e-06
  14  0.00215055
  15  2.68714e-05
  16  6.92881
  17  0.000245247
  18  7.77967
  19  1.41915e-05
  20  0.215835
  21  0.119513
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  6.051e-09  4.372e-04  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:  9.034e-01  1.195e-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.069e+00  2.158e-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: 8.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253728/likelihoodResults_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.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) = 7732.63198745
delta logL = -0.0661813590777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7732.25424932
delta logL = 0.311556771502

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15707       1.0000          .0000       .10000E+07
     2 'Index     '    3.8472       1.0000          .0000       10.000    
     3 'Normalizat'    1.0291       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91395       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.

 FCN=   7732.254     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      266 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15412        2.6424        .10124E-02** at limit **
   2  Index         3.8544        2.1318        .10919        .21137E-03
   3  Normalizat    1.0293        .34435E-01    .76831E-01   -.25932E-04
   4  Prefactor     .91396        .20093E-01    .45183E-01   -.66249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.154123
  Index      = 3.85437
  Normalizat = 1.02927
  Prefactor  = 0.913957
 **********
 **   18 **HESSE 
 **********

 FCN=   7732.254     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      299 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15412        14.174        .45294E-05   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.8544        6.9003        .63171E-02   -.23118    
   3  Normalizat    1.0293        .19372        .34004E-03   -.92056    
   4  Prefactor     .91396        .11273        .20811E-03   -.95655    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.55444e-09
Minuit parameter uncertainties:
  1  2.95609
  2  7.23476
  3  0.193856
  4  0.11276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253728': 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) = 7732.25424166
delta logL = 0.311564432342

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.541e-01  2.956e+00  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  3.854e+00  7.235e+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:  9.140e-01  1.128e-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.029e+00  1.939e-01  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/253728/cmap_HighResolution_683337601_683596801_4FGL_J2307.6+1451_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.74e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2022-09-17 00:33:08.927094', job_id='253728', GAL2='0.91', fit_tolerance='1e-08', EG2='1.03', EG='1.07', time_epoch_completed='1663399988.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='3.12e-01', ts2='0.64', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1713' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:33:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 253728: <4FGL_J2307.6+1451_daily_bin1713> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1713> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 00:20:29 2022
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:21:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:21:28 2022
Terminated at Sat Sep 17 00:33:09 2022
Results reported at Sat Sep 17 00:33:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1713 346.922 14.8644 683337601 683596801 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 :                                   642.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             326.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            760 sec.

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

