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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1770
RA = 346.922, Dec = 14.8644
tmin = 698112001, tmax = 698371201
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='504249', job_status='RUN', time_executed='2023-02-18 02:07:30.795402', time_epoch_executed='1676714850.8' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/504249

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/504249/ft1_4FGL_J2307.6+1451_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/504249/ft2_4FGL_J2307.6+1451_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/504249/ft1_4FGL_J2307.6+1451_daily_bin1770.fits outfile=/scratch/kocevski/504249/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1770.fits ra=346.922 dec=14.8644 rad=12.0 tmin=698112001.0 tmax=698371201.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.37
user 4.12
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/504249/ft2_4FGL_J2307.6+1451_daily_bin1770.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/504249/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/504249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1770.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 781

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/504249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/504249/ft2_4FGL_J2307.6+1451_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/504249/ltcube_698112001_698371201_4FGL_J2307.6+1451_daily_bin1770.fits outfile=/scratch/kocevski/504249/expmap_698112001_698371201_4FGL_J2307.6+1451_daily_bin1770.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/504249/ltcube_698112001_698371201_4FGL_J2307.6+1451_daily_bin1770.fits
.....................!
real 189.82
user 185.30
sys 4.16

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/504249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1770.fits scfile=/scratch/kocevski/504249/ft2_4FGL_J2307.6+1451_daily_bin1770.fits outfile=/scratch/kocevski/504249/cmap_698112001_698371201_4FGL_J2307.6+1451_daily_bin1770.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/504249/ft1_filtered_4FGL_J2307.6+1451_daily_bin1770.fits scfile=/scratch/kocevski/504249/ft2_4FGL_J2307.6+1451_daily_bin1770.fits outfile=/scratch/kocevski/504249/cmap_HighResolution_698112001_698371201_4FGL_J2307.6+1451_daily_bin1770.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24397E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.4679       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.4198       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .91192       1.0000         .10000E-03   10000.    
     5 'norm      '    1.8910       1.0000          .0000       .10000E+07
     6 'Prefactor '    37.426       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.417       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.6567       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .35323E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .59514E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.986       1.0000          .0000       .10000E+07
    12 'Prefactor '    .79269E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.213       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25991       1.0000          .0000       .10000E+07
    15 'norm      '    .91597       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.815       1.0000          .0000       .10000E+07
    17 'Prefactor '    .39325       1.0000          .0000       .10000E+07
    18 'norm      '    19.546       1.0000          .0000       .10000E+07
    19 'Prefactor '    .19206E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2804       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83115       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=   8514.202     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1703 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29199E-07    13.711       -.29305E-06** at limit **
   2  Prefactor     4.4716        7.6143        .89650E-06    .59380E-01
   3  Prefactor     1.4184        .29559       -.27050E-06   -.30284E-02
   4  Prefactor     .95671        9.6213        .26415E-05    .21556E-04
   5  norm          1.8874        1.5399       -.29610E-06   -.12440E-01
   6  Prefactor     37.255        22.661        .15093E-05   -.11563    
   7  Prefactor     16.464        12.097        .51451E-06    .21423E-01
   8  Prefactor     1.6560        .24145       -.18616E-06   -.31386E-02
   9  Prefactor     .55511E-09    11.898        .16661E-07** at limit **
  10  Prefactor     .33307E-09    4.9513        .50266E-06** at limit **
  11  Prefactor     20.916        12.053       -.58641E-06   -.50994E-01
  12  Prefactor      .0000        1.9921       -.23530E-06** at limit **
  13  Prefactor     10.341        11.683       -.36349E-06   -.59540E-02
  14  Prefactor     .44270E-05    8.1619        .12699E-05** at limit **
  15  norm          .84887E-01    770.16        .15635E-04** at limit **
  16  Prefactor     11.049        12.400       -.31775E-06    .31670E-02
  17  Prefactor     .94391E-06    144.07        .77104E-05** at limit **
  18  norm          19.447        2.9533        .24363E-06    .38921E-01
  19  Prefactor      .0000        1.9969        .29019E-07** at limit **
  20  Normalizat    1.2835        .26757       -.10902E-04   -.20956E-03
  21  Prefactor     .83080        .14171        .72541E-05   -.10414E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.91989e-08
  Prefactor  = 4.47158
  Prefactor  = 1.41844
  Prefactor  = 0.956707
  norm       = 1.88744
  Prefactor  = 37.2554
  Prefactor  = 16.464
  Prefactor  = 1.656
  Prefactor  = 5.55112e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 20.916
  Prefactor  = 0
  Prefactor  = 10.3414
  Prefactor  = 4.42696e-06
  norm       = 0.0848867
  Prefactor  = 11.0491
  Prefactor  = 9.43912e-07
  norm       = 19.4469
  Prefactor  = 0
  Normalizat = 1.28352
  Prefactor  = 0.830805
 **********
 **   18 **HESSE 
 **********

 FCN=   8514.202     FROM HESSE     STATUS=OK           375 CALLS     2078 TOTAL
                     EDM=   .60E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29199E-07    13.874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4716        16.035        .47613E-03   -1.5666    
   3  Prefactor     1.4184        .29877        .49052E-02   -1.5470    
   4  Prefactor     .95671        9.6913        .12851E-01   -1.5512    
   5  norm          1.8874        1.5531        .75636E-03   -1.5680    
   6  Prefactor     37.255        34.872        .16348E-03   -1.5586    
   7  Prefactor     16.464        12.177        .24692E-03   -1.5627    
   8  Prefactor     1.6560        .24363        .36667E-02   -1.5451    
   9  Prefactor     .55511E-09    12.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .33307E-09    4.9738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.916        22.647        .21836E-03   -1.5616    
  12  Prefactor      .0000        1.9948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.341        11.988        .31329E-03   -1.5644    
  14  Prefactor     .44270E-05    11.241        .10794E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .84887E-01    34.456        .64252E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.049        13.306        .30441E-03   -1.5641    
  17  Prefactor     .94391E-06    144.47        .90274E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          19.447        15.533        .22626E-03   -1.5620    
  19  Prefactor      .0000        2.0000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2835        .22998        .76299E-01   -.84060    
  21  Prefactor     .83080        .12046        .44121E-01   -.98603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00945e-06
Minuit parameter uncertainties:
  1  0.00127298
  2  16.0354
  3  0.298769
  4  6.09086
  5  1.55311
  6  34.8726
  7  12.1773
  8  0.243633
  9  0.000168993
  10  8.37329e-05
  11  22.6467
  12  8.84942e-06
  13  11.9885
  14  0.0141086
  15  3.42048
  16  13.3057
  17  0.0233561
  18  15.533
  19  9.0803e-06
  20  0.230164
  21  0.120502
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  3.331e-10  8.373e-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.308e-01  1.205e-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.284e+00  2.302e-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.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/504249/likelihoodResults_698112001_698371201_4FGL_J2307.6+1451_daily_bin1770.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) = 8514.30205665
delta logL = -0.0999139577598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8514.20214599
delta logL = -3.29915201291e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40329E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .63462       1.0000          .0000       10.000    
     3 'Normalizat'    1.2829       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83104       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=   8514.201     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      261 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76130E-02    .23705        .16334E-02** at limit **
   2  Index         4.0128        6.4703        .84929E-01    .38566E-04
   3  Normalizat    1.2802        .11437E-01    .76378E-01    .28817E-03
   4  Prefactor     .83178        .63387E-02    .44120E-01    .66182E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00761298
  Index      = 4.01275
  Normalizat = 1.28019
  Prefactor  = 0.831776
 **********
 **   18 **HESSE 
 **********

 FCN=   8514.201     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      296 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     .76130E-02    3.7107        .42984E-04   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0128        1.3999        .33972       -.19876    
   3  Normalizat    1.2802        .12208E-01    .33803E-03   -.84160    
   4  Prefactor     .83178        .67736E-02    .22578E-03   -.98567    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.61677e-09
Minuit parameter uncertainties:
  1  0.336151
  2  1.41963
  3  0.0122084
  4  0.00677358
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/504249': 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) = 8514.20105788
delta logL = 0.00108481570169

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  7.613e-03  3.362e-01  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  4.013e+00  1.420e+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.318e-01  6.774e-03  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.280e+00  1.221e-02  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/504249/cmap_HighResolution_698112001_698371201_4FGL_J2307.6+1451_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.39e-03', job_status='DONE', photon_flux_upper_limit='8.40e-08', time_completed='2023-02-18 02:18:25.807177', job_id='504249', GAL2='0.83', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1676715505.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.08e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1770' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 02:18:25 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 504249: <4FGL_J2307.6+1451_daily_bin1770> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1770> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Feb 18 02:05:15 2023
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 02:05:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 02:05:16 2023
Terminated at Sat Feb 18 02:18:26 2023
Results reported at Sat Feb 18 02:18:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1770 346.922 14.8644 698112001 698371201 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 :                                   657.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             309.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            791 sec.

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

