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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1736
RA = 346.922, Dec = 14.8644
tmin = 689299201, tmax = 689558401
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='963426', job_status='RUN', time_executed='2022-11-08 00:42:04.697463', time_epoch_executed='1667896924.7' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963426

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963426/ft1_4FGL_J2307.6+1451_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963426/ft2_4FGL_J2307.6+1451_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963426/ft1_4FGL_J2307.6+1451_daily_bin1736.fits outfile=/scratch/kocevski/963426/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1736.fits ra=346.922 dec=14.8644 rad=12.0 tmin=689299201.0 tmax=689558401.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.61
user 3.34
sys 0.22

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

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

Number of photons that the gtmktime cut: 942

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963426/ft1_filtered_4FGL_J2307.6+1451_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/963426/ft2_4FGL_J2307.6+1451_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/963426/ltcube_689299201_689558401_4FGL_J2307.6+1451_daily_bin1736.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/963426/ft2_4FGL_J2307.6+1451_daily_bin1736.fits
.....................!
real 12.05
user 11.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963426/ft1_filtered_4FGL_J2307.6+1451_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963426/ft2_4FGL_J2307.6+1451_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/963426/ltcube_689299201_689558401_4FGL_J2307.6+1451_daily_bin1736.fits outfile=/scratch/kocevski/963426/expmap_689299201_689558401_4FGL_J2307.6+1451_daily_bin1736.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/963426/ltcube_689299201_689558401_4FGL_J2307.6+1451_daily_bin1736.fits
.....................!
real 190.02
user 184.82
sys 4.86

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/963426/ft1_filtered_4FGL_J2307.6+1451_daily_bin1736.fits scfile=/scratch/kocevski/963426/ft2_4FGL_J2307.6+1451_daily_bin1736.fits outfile=/scratch/kocevski/963426/cmap_689299201_689558401_4FGL_J2307.6+1451_daily_bin1736.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.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963426/ft1_filtered_4FGL_J2307.6+1451_daily_bin1736.fits scfile=/scratch/kocevski/963426/ft2_4FGL_J2307.6+1451_daily_bin1736.fits outfile=/scratch/kocevski/963426/cmap_HighResolution_689299201_689558401_4FGL_J2307.6+1451_daily_bin1736.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/963426/ft1_filtered_4FGL_J2307.6+1451_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963426/ft2_4FGL_J2307.6+1451_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963426/Model_4FGL_J2307.6+1451_daily_bin1736.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/963426/ft1_filtered_4FGL_J2307.6+1451_daily_bin1736.fits.....................!
real 113.41
user 111.36
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8740       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.873       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.6416       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.914       1.0000         .10000E-03   10000.    
     5 'norm      '    3.2907       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11127E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .38929E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2048       1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.573       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.2498       1.0000          .0000       .10000E+07
    11 'Prefactor '    269.75       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.0417       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18519E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .59932E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .78715E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.7172       1.0000          .0000       .10000E+07
    17 'Prefactor '    .65280E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .20474E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .95221E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    .63815       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1595       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=   10111.86     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1661 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9023        1.2003       -.26085E-07   -.10461E-02
   2  Prefactor     16.027        1.3519        .46552E-07   -.92650E-02
   3  Prefactor     1.6425        .29064       -.38921E-06    .24904E-03
   4  Prefactor     14.894        8.8257        .21485E-04    .26295E-02
   5  norm          3.2928        1.9573       -.13287E-06    .17235E-02
   6  Prefactor     .18874E-07    8.9443       -.73822E-08** at limit **
   7  Prefactor     .57138E-06    5.0991        .30827E-06** at limit **
   8  Prefactor     3.2055        .30231       -.52234E-07    .12732E-02
   9  Prefactor     26.805        3.3522        .22289E-06   -.67774E-01
  10  Prefactor     3.2634        5.6028       -.14903E-06    .53586E-03
  11  Prefactor     273.15        58.101        .10443E-06    .10553E-01
  12  Prefactor     5.0879        6.6385        .49347E-07   -.48833E-03
  13  Prefactor     .16653E-09    3.8028       -.59711E-07** at limit **
  14  Prefactor     .66613E-09    15.808        .75578E-06** at limit **
  15  norm           .0000        3.5328        .39120E-06** at limit **
  16  Prefactor     9.7672        6.7728        .13288E-06   -.52440E-03
  17  Prefactor     .61062E-09    6.6856        .11353E-06** at limit **
  18  norm          .45547E-06    6.5219       -.99765E-06** at limit **
  19  Prefactor      .0000        4.7631        .79126E-06** at limit **
  20  Normalizat    .63574        .25182       -.20954E-04    .23747E-04
  21  Prefactor     1.1591        .14294        .48522E-05   -.15663E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.90229
  Prefactor  = 16.0269
  Prefactor  = 1.64252
  Prefactor  = 14.8937
  norm       = 3.29275
  Prefactor  = 1.88738e-08
  Prefactor  = 5.71376e-07
  Prefactor  = 3.20553
  Prefactor  = 26.8051
  Prefactor  = 3.26342
  Prefactor  = 273.149
  Prefactor  = 5.08793
  Prefactor  = 1.66533e-10
  Prefactor  = 6.66134e-10
  norm       = 0
  Prefactor  = 9.7672
  Prefactor  = 6.10623e-10
  norm       = 4.55469e-07
  Prefactor  = 0
  Normalizat = 0.635743
  Prefactor  = 1.15914
 **********
 **   18 **HESSE 
 **********

 FCN=   10111.86     FROM HESSE     STATUS=OK           361 CALLS     2022 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9023        15.089        .51243E-03   -1.5668    
   2  Prefactor     16.027        21.049        .25112E-03   -1.5628    
   3  Prefactor     1.6425        .29903        .48997E-02   -1.5452    
   4  Prefactor     14.894        8.9075        .25929E-02   -1.4936    
   5  norm          3.2928        1.9581        .55789E-03   -1.5672    
   6  Prefactor     .18874E-07    9.1095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .57138E-06    10.797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2055        .30266        .36225E-02   -1.5350    
   9  Prefactor     26.805        33.586        .19403E-03   -1.5604    
  10  Prefactor     3.2634        5.6120        .56157E-03   -1.5672    
  11  Prefactor     273.15        58.201        .60895E-04   -1.5377    
  12  Prefactor     5.0879        6.6834        .44759E-03   -1.5663    
  13  Prefactor     .16653E-09    3.8040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .66613E-09    15.811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        3.5325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.7672        6.7796        .32123E-03   -1.5645    
  17  Prefactor     .61062E-09    6.6892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .45547E-06    11.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        4.7648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .63574        .24422        .11184       -1.0649    
  21  Prefactor     1.1591        .13351        .35667E-01   -.87598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50964e-07
Minuit parameter uncertainties:
  1  15.089
  2  21.049
  3  0.299028
  4  8.90834
  5  1.95809
  6  0.000829799
  7  0.00496757
  8  0.302661
  9  33.586
  10  5.61203
  11  58.2011
  12  6.68343
  13  5.1935e-05
  14  0.000206239
  15  1.45687e-05
  16  6.77963
  17  0.000125844
  18  0.00455897
  19  8.85814e-08
  20  0.24464
  21  0.133544
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  3.263e+00  5.612e+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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.159e+00  1.335e-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:  6.357e-01  2.446e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.50
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/963426/likelihoodResults_689299201_689558401_4FGL_J2307.6+1451_daily_bin1736.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10111.8486258
delta logL = 0.0123626630411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10111.8444578
delta logL = 0.016530631452

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7416       1.0000          .0000       .10000E+07
     2 'Index     '    2.3807       1.0000          .0000       10.000    
     3 'Normalizat'    .63233       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1598       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10111.84     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      242 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7415        6.6989        .12292E-03   -.73803E-03
   2  Index         2.3799        1.2644        .91889E-02    .24835E-03
   3  Normalizat    .63183        .24291        .49743E-03   -.21849E-04
   4  Prefactor     1.1601        .14214        .21897E-03    .17029E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.74155
  Index      = 2.37988
  Normalizat = 0.631828
  Prefactor  = 1.16013
 **********
 **   18 **HESSE 
 **********

 FCN=   10111.84     FROM HESSE     STATUS=OK            27 CALLS      269 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7415        5.8045        .49170E-05   -1.5675    
   2  Index         2.3799        1.1002        .18378E-02   -.55157    
   3  Normalizat    .63183        .24260        .19897E-04   -1.0665    
   4  Prefactor     1.1601        .14203        .87590E-05   -.87567    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97519e-11
Minuit parameter uncertainties:
  1  5.80453
  2  1.1128
  3  0.243011
  4  0.142079
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963426': 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): 0
logL (Free Index) = 10111.8444539
delta logL = 0.0165346044796

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  2.742e+00  5.805e+00  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.380e+00  1.113e+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:  1.160e+00  1.421e-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:  6.318e-01  2.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.50
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/963426/cmap_HighResolution_689299201_689558401_4FGL_J2307.6+1451_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.74e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2022-11-08 00:54:02.965786', job_id='963426', GAL2='1.16', fit_tolerance='1e-08', EG2='0.63', EG='0.64', time_epoch_completed='1667897642.97', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.65e-02', ts2='0.53', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1736' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:54:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 963426: <4FGL_J2307.6+1451_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 00:40:24 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:40:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:40:25 2022
Terminated at Tue Nov  8 00:54:03 2022
Results reported at Tue Nov  8 00:54:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1736 346.922 14.8644 689299201 689558401 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 :                                   719.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            819 sec.

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

