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 217 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1663
RA = 346.922, Dec = 14.8644
tmin = 670377601, tmax = 670636801
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='261620', job_status='RUN', time_executed='2022-04-03 00:39:31.533560', time_epoch_executed='1648971571.53' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1663'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/261620

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/261620/ft1_4FGL_J2307.6+1451_daily_bin1663.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/261620/ft2_4FGL_J2307.6+1451_daily_bin1663.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/261620/ft1_4FGL_J2307.6+1451_daily_bin1663.fits outfile=/scratch/kocevski/261620/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1663.fits ra=346.922 dec=14.8644 rad=12.0 tmin=670377601.0 tmax=670636801.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.79
user 3.57
sys 0.21

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

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

Number of photons that the gtmktime cut: 719

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/261620/ft1_filtered_4FGL_J2307.6+1451_daily_bin1663.fits evtable="EVENTS" scfile=/scratch/kocevski/261620/ft2_4FGL_J2307.6+1451_daily_bin1663.fits sctable="SC_DATA" expcube=/scratch/kocevski/261620/ltcube_670377601_670636801_4FGL_J2307.6+1451_daily_bin1663.fits outfile=/scratch/kocevski/261620/expmap_670377601_670636801_4FGL_J2307.6+1451_daily_bin1663.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/261620/ltcube_670377601_670636801_4FGL_J2307.6+1451_daily_bin1663.fits
.....................!
real 192.51
user 186.61
sys 5.59

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/261620/ft1_filtered_4FGL_J2307.6+1451_daily_bin1663.fits scfile=/scratch/kocevski/261620/ft2_4FGL_J2307.6+1451_daily_bin1663.fits outfile=/scratch/kocevski/261620/cmap_HighResolution_670377601_670636801_4FGL_J2307.6+1451_daily_bin1663.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.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/261620/ft1_filtered_4FGL_J2307.6+1451_daily_bin1663.fits', '/scratch/kocevski/261620/ft2_4FGL_J2307.6+1451_daily_bin1663.fits', expMap='/scratch/kocevski/261620/expmap_670377601_670636801_4FGL_J2307.6+1451_daily_bin1663.fits', expCube='/scratch/kocevski/261620/ltcube_670377601_670636801_4FGL_J2307.6+1451_daily_bin1663.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/261620/Model_4FGL_J2307.6+1451_daily_bin1663.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  1.000e-04  1.000e+04 ( 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/261620/ft1_filtered_4FGL_J2307.6+1451_daily_bin1663.fits
Spacecraft file(s): /scratch/kocevski/261620/ft2_4FGL_J2307.6+1451_daily_bin1663.fits
Exposure map: /scratch/kocevski/261620/expmap_670377601_670636801_4FGL_J2307.6+1451_daily_bin1663.fits
Exposure cube: /scratch/kocevski/261620/ltcube_670377601_670636801_4FGL_J2307.6+1451_daily_bin1663.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/261620/Model_4FGL_J2307.6+1451_daily_bin1663.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) = 7954.09265293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.953       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .77183       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.928       1.0000         .10000E-03   10000.    
     5 'norm      '    3.0424       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.810       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .47963       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5158       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.6307       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .44767E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14360E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.939       1.0000         .10000E-03   10000.    
    21 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.3897       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3818       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .80640       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7954.055     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2750 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.946        19.479        .14223E-06   -.10492E-03
   2  Prefactor     .10000E-03    6.3599       -.34387E-07** at limit **
   3  Prefactor     .77179        .26410        .24358E-07   -.21323E-03
   4  Prefactor     10.927        8.6834        .11622E-06   -.26728E-04
   5  norm          3.0421        1.9662        .29786E-07    .10475E-05
   6  Prefactor     .10000E-03    15.332        .15524E-07** at limit **
   7  Prefactor     14.808        11.831        .22450E-06    .11323E-04
   8  Prefactor     .10000E-03    4.9065       -.25229E-07** at limit **
   9  Prefactor     .47960        .15275        .15064E-07   -.83150E-03
  10  Prefactor     .10000E-03    4.8493       -.33888E-07** at limit **
  11  Prefactor     .10000E-03    47.764       -.22389E-07** at limit **
  12  Prefactor     1.5150        5.0437        .44545E-06   -.21876E-03
  13  Prefactor     .10000E-03    10.498       -.19163E-06** at limit **
  14  Prefactor     .10000E-03    24.566       -.40423E-07** at limit **
  15  Prefactor     5.6284        6.7452        .24246E-06   -.91844E-04
  16  Prefactor     .10000E-03    21.427        .13809E-05** at limit **
  17  Prefactor     .10000E-03    10.998       -.70118E-07** at limit **
  18  norm          .10000E-03    8.2524        .32311E-05** at limit **
  19  Prefactor     .10000E-03    4.0220       -.18734E-06** at limit **
  20  Prefactor     12.963        26.172       -.21082E-05   -.80608E-04
  21  norm          .10000E-03    9.8996       -.39925E-07** at limit **
  22  Prefactor     3.3872        6.7648        .29393E-05   -.33569E-03
  23  Normalizat    1.3818        .21290       -.23725E-05   -.71473E-03
  24  Prefactor     .80651        .11491        .47257E-06   -.84844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.9459
  Prefactor  = 0.0001
  Prefactor  = 0.771793
  Prefactor  = 10.9268
  norm       = 3.04211
  Prefactor  = 0.0001
  Prefactor  = 14.8083
  Prefactor  = 0.0001
  Prefactor  = 0.479602
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.51499
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.62835
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 12.9627
  norm       = 0.0001
  Prefactor  = 3.38722
  Normalizat = 1.3818
  Prefactor  = 0.806509
 **********
 **   18 **HESSE 
 **********

 FCN=   7954.055     FROM HESSE     STATUS=OK           397 CALLS     3147 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.946        19.557        .78634E-04   -1.4689    
   2  Prefactor     .10000E-03    6.3739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .77179        .26380        .23887E-04   -1.5532    
   4  Prefactor     10.927        8.7123        .60599E-03   -1.5047    
   5  norm          3.0421        1.9628        .94661E-04   -1.5359    
   6  Prefactor     .10000E-03    15.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.808        11.824        .10408E-03   -1.4938    
   8  Prefactor     .10000E-03    4.9076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .47960        .15203        .18662E-04   -1.5569    
  10  Prefactor     .10000E-03    4.8686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    48.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5150        5.0138        .34721E-03   -1.5462    
  13  Prefactor     .10000E-03    10.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.6284        6.7489        .16929E-03   -1.5233    
  16  Prefactor     .10000E-03    22.080        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    19.378        .40946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.122        .31628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.963        26.536        .11136E-03   -1.4988    
  21  norm          .10000E-03    9.9364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.3872        6.9774        .10988E-02   -1.5340    
  23  Normalizat    1.3818        .24821        .30068E-03   -.81156    
  24  Prefactor     .80651        .13488        .21315E-03   -.99489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.75946e-10
Minuit parameter uncertainties:
  1  19.5623
  2  1.93814e-06
  3  0.263796
  4  8.71334
  5  1.96284
  6  7.55787e-05
  7  11.8256
  8  5.24841e-06
  9  0.152035
  10  2.42288e-06
  11  0.000194524
  12  5.01521
  13  5.25675e-05
  14  0.000120361
  15  6.74977
  16  8.40609e-05
  17  1.90134e-05
  18  0.000412169
  19  0.000292361
  20  26.56
  21  1.60414e-05
  22  6.97903
  23  0.248421
  24  0.134935
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.515e+00  5.015e+00  1.000e-04  1.000e+04 ( 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.065e-01  1.349e-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.382e+00  2.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/261620/likelihoodResults_670377601_670636801_4FGL_J2307.6+1451_daily_bin1663.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) = 7954.05506876
delta logL = 6.36626282358e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7954.05506814
delta logL = 1.25892802316e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5150       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1834       1.0000          .0000       10.000    
     3 'Normalizat'    1.3818       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80651       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=   7954.055     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      253 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5434        6.7955        .17367E-02   -.20286E-03
   2  Index         2.1576        2.8399        .38222E-02   -.21525E-04
   3  Normalizat    1.3822        .24202        .30065E-03   -.86781E-03
   4  Prefactor     .80639        .13496        .21316E-03   -.13471E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.54338
  Index      = 2.15757
  Normalizat = 1.38217
  Prefactor  = 0.806389
 **********
 **   18 **HESSE 
 **********

 FCN=   7954.055     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5434        5.9303        .69468E-04   -1.5459    
   2  Index         2.1576        2.6431        .15289E-03   -.60467    
   3  Normalizat    1.3822        .24157        .60129E-04   -.81146    
   4  Prefactor     .80639        .13482        .42633E-04   -.99493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14578e-09
Minuit parameter uncertainties:
  1  5.93256
  2  2.87039
  3  0.241768
  4  0.134874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/261620': 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) = 7954.05502951
delta logL = 3.98897700506e-05

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.543e+00  5.933e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.158e+00  2.870e+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.064e-01  1.349e-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.382e+00  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/261620/cmap_HighResolution_670377601_670636801_4FGL_J2307.6+1451_daily_bin1663.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.74e-03', job_status='DONE', photon_flux_upper_limit='8.85e-08', time_completed='2022-04-03 00:51:59.881977', job_id='261620', GAL2='0.81', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1648972319.88', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.99e-05', ts2='0.11', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1663' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr  3 00:51:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 261620: <4FGL_J2307.6+1451_daily_bin1663> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1663> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr  3 00:35:43 2022
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr  3 00:35:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr  3 00:35:45 2022
Terminated at Sun Apr  3 00:52:00 2022
Results reported at Sun Apr  3 00:52:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1663 346.922 14.8644 670377601 670636801 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 :                                   751.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             262.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   975 sec.
    Turnaround time :                            977 sec.

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

