/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 19 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 = 7366
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1252
RA = 346.922, Dec = 14.8644
tmin = 563846401, tmax = 564105601
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='671096', job_status='RUN', time_executed='2021-09-29 07:11:12.554154', time_epoch_executed='1632924672.55' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1252'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/671096

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/671096/ft1_4FGL_J2307.6+1451_daily_bin1252.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/671096/ft2_4FGL_J2307.6+1451_daily_bin1252.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/671096/ft1_4FGL_J2307.6+1451_daily_bin1252.fits outfile=/scratch/kocevski/671096/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1252.fits ra=346.922 dec=14.8644 rad=12.0 tmin=563846401.0 tmax=564105601.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 2.98
user 2.57
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/671096/ft1_filtered_4FGL_J2307.6+1451_daily_bin1252.fits" evtable="EVENTS" scfile=/scratch/kocevski/671096/ft2_4FGL_J2307.6+1451_daily_bin1252.fits sctable="SC_DATA" outfile=/scratch/kocevski/671096/ltcube_563846401_564105601_4FGL_J2307.6+1451_daily_bin1252.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/671096/ft2_4FGL_J2307.6+1451_daily_bin1252.fits
.....................!
real 12.41
user 11.96
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/671096/ft1_filtered_4FGL_J2307.6+1451_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/671096/ft2_4FGL_J2307.6+1451_daily_bin1252.fits sctable="SC_DATA" expcube=/scratch/kocevski/671096/ltcube_563846401_564105601_4FGL_J2307.6+1451_daily_bin1252.fits outfile=/scratch/kocevski/671096/expmap_563846401_564105601_4FGL_J2307.6+1451_daily_bin1252.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/671096/ltcube_563846401_564105601_4FGL_J2307.6+1451_daily_bin1252.fits
.....................!
real 194.62
user 188.77
sys 5.43

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/671096/ft1_filtered_4FGL_J2307.6+1451_daily_bin1252.fits scfile=/scratch/kocevski/671096/ft2_4FGL_J2307.6+1451_daily_bin1252.fits outfile=/scratch/kocevski/671096/cmap_563846401_564105601_4FGL_J2307.6+1451_daily_bin1252.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.73
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/671096/ft1_filtered_4FGL_J2307.6+1451_daily_bin1252.fits scfile=/scratch/kocevski/671096/ft2_4FGL_J2307.6+1451_daily_bin1252.fits outfile=/scratch/kocevski/671096/cmap_HighResolution_563846401_564105601_4FGL_J2307.6+1451_daily_bin1252.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8222       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9054       1.0000         .10000E-03   10000.    
     5 'norm      '    1.3407       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.121       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2895       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .85506       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1652       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.586       1.0000         .10000E-03   10000.    
    14 'Prefactor '    52.722       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .28280E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10345E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    35.984       1.0000         .10000E-03   10000.    
    18 'norm      '    .22535E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.974       1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.071       1.0000         .10000E-03   10000.    
    21 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.0775       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .55318       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0015       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=   6714.460     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2827 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.1672        .60562E-07** at limit **
   2  Prefactor     .10000E-03    56.669       -.19162E-05** at limit **
   3  Prefactor     2.8223        .33160       -.13460E-07    .34561E-05
   4  Prefactor     2.9057        4.2864       -.42923E-07    .50092E-05
   5  norm          1.3406        1.3145       -.24756E-07   -.69999E-04
   6  Prefactor     22.116        33.409        .28086E-06   -.34132E-04
   7  Prefactor     4.2887        11.233        .31573E-06   -.17115E-03
   8  Prefactor     .10000E-03    17.296       -.52859E-06** at limit **
   9  Prefactor     .85513        .18472       -.71775E-08   -.24432E-02
  10  Prefactor     4.1674        10.281       -.36684E-06   -.37015E-04
  11  Prefactor     .10000E-03    29.219        .10297E-05** at limit **
  12  Prefactor     .10000E-03    2.3558       -.12957E-07** at limit **
  13  Prefactor     22.590        13.772        .13272E-06   -.61300E-04
  14  Prefactor     52.731        32.379       -.43916E-06   -.71845E-04
  15  Prefactor     .10001E-03    5.7013        .58285E-05** at limit **
  16  Prefactor     .10000E-03    15.313        .14046E-06** at limit **
  17  Prefactor     36.008        23.135       -.83730E-05   -.44452E-03
  18  norm          .10093E-03    8.3870       -.71959E-06** at limit **
  19  Prefactor     12.979        9.9047       -.11791E-05    .46729E-03
  20  Prefactor     21.058        33.420        .51121E-05   -.12161E-03
  21  norm          .10000E-03    9.4429       -.52964E-06** at limit **
  22  Prefactor     1.0773        1.1379        .76937E-08   -.64044E-03
  23  Normalizat    .55279        .25146        .22006E-05   -.38569E-03
  24  Prefactor     1.0016        .13440       -.58545E-06   -.72101E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.8223
  Prefactor  = 2.90571
  norm       = 1.34064
  Prefactor  = 22.116
  Prefactor  = 4.2887
  Prefactor  = 0.0001
  Prefactor  = 0.855135
  Prefactor  = 4.16742
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.5899
  Prefactor  = 52.731
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 36.0083
  norm       = 0.000100928
  Prefactor  = 12.9793
  Prefactor  = 21.0584
  norm       = 0.0001
  Prefactor  = 1.07734
  Normalizat = 0.552787
  Prefactor  = 1.00158
 **********
 **   18 **HESSE 
 **********

 FCN=   6714.460     FROM HESSE     STATUS=OK           407 CALLS     3234 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.1823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    59.059        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8223        .33162        .15259E-04   -1.5372    
   4  Prefactor     2.9057        4.2760        .20060E-03   -1.5367    
   5  norm          1.3406        1.3050        .88903E-04   -1.5476    
   6  Prefactor     22.116        33.510        .85163E-04   -1.4767    
   7  Prefactor     4.2887        11.270        .97261E-03   -1.5294    
   8  Prefactor     .10000E-03    17.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .85513        .18521        .15070E-04   -1.5523    
  10  Prefactor     4.1674        10.253        .19749E-03   -1.5300    
  11  Prefactor     .10000E-03    29.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.3652        .12281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.590        13.768        .84282E-04   -1.4757    
  14  Prefactor     52.731        32.346        .55237E-04   -1.4254    
  15  Prefactor     .10001E-03    13.153        .35478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     36.008        23.942        .66808E-04   -1.4507    
  18  norm          .10093E-03    15.961        .61000E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.979        10.058        .11120E-03   -1.4987    
  20  Prefactor     21.058        33.326        .87257E-04   -1.4790    
  21  norm          .10000E-03    9.4680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.0773        9.7274        .23262E-02   -1.5500    
  23  Normalizat    .55279        .27368        .43571E-03   -1.1003    
  24  Prefactor     1.0016        .14954        .19221E-03   -.92677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87016e-09
Minuit parameter uncertainties:
  1  4.32555e-06
  2  0.000154947
  3  0.331624
  4  4.27644
  5  1.30502
  6  33.5382
  7  11.2755
  8  3.96633e-05
  9  0.185213
  10  10.2576
  11  0.000146154
  12  1.33571e-06
  13  13.7696
  14  32.3571
  15  0.000621732
  16  0.000111175
  17  23.9488
  18  0.0076998
  19  10.0593
  20  33.3556
  21  4.93782e-05
  22  6.47556
  23  0.274348
  24  0.149606
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  1.336e-06  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:  1.002e+00  1.496e-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:  5.528e-01  2.743e-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: 5.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/671096/likelihoodResults_563846401_564105601_4FGL_J2307.6+1451_daily_bin1252.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) = 6714.4623459
delta logL = -0.00200390950704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6714.46034351
delta logL = -1.51172025653e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10778E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1578       1.0000          .0000       10.000    
     3 'Normalizat'    .55255       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0017       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6714.460     FROM MIGRAD    STATUS=FAILED        90 CALLS      236 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10112E-03    21.806        .12622E-02** at limit **
   2  Index         2.1077        5.9827        .50000        .77646E-04
   3  Normalizat    .55279        .16178E-01    .43571E-03    .20587E-04
   4  Prefactor     1.0016        .94905E-02    .19221E-03   -.46134E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6714.460     FROM SIMPLEX   STATUS=UNCHANGED    123 CALLS      359 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10112E-03    21.806        .24212E-03** at limit **
   2  Index         2.1077        5.9827        .46041E-03    .77646E-04
   3  Normalizat    .55279        .16178E-01    .45636E-05    .20587E-04
   4  Prefactor     1.0016        .94905E-02    .22036E-05   -.46134E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6714.460     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      409 TOTAL
                     EDM=   .82E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.438        .25245E-02** at limit **
   2  Index         1.6431        6.3356        .50000        .36312E-07
   3  Normalizat    .55279        .16795E-01    .17428E-04   -.28884E-03
   4  Prefactor     1.0016        .98526E-02    .76885E-05   -.57284E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.6431
  Normalizat = 0.552788
  Prefactor  = 1.00158
 **********
 **   18 **HESSE 
 **********

 FCN=   6714.460     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      438 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    138.83        .50489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6431        6.5214        .50000       -.73607    
   3  Normalizat    .55279        .38007E-01    .34857E-05   -1.1003    
   4  Prefactor     1.0016        .22293E-01    .15377E-05   -.92677    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.89115e-11
Minuit parameter uncertainties:
  1  3.44567e-05
  2  451.054
  3  0.0380089
  4  0.022293
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/671096': 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) = 6714.46033644
delta logL = 5.55654787604e-06

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  3.446e-05  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  1.643e+00  4.511e+02  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.002e+00  2.229e-02  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:  5.528e-01  3.801e-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/671096/cmap_HighResolution_563846401_564105601_4FGL_J2307.6+1451_daily_bin1252.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.56e-03', job_status='DONE', photon_flux_upper_limit='5.99e-08', time_completed='2021-09-29 07:23:20.014859', job_id='671096', GAL2='1.00', fit_tolerance='1e-08', EG2='0.55', EG='0.55', time_epoch_completed='1632925400.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='5.56e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1252' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:23:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 671096: <4FGL_J2307.6+1451_daily_bin1252> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1252> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 07:10:36 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:10:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:10:38 2021
Terminated at Wed Sep 29 07:23:20 2021
Results reported at Wed Sep 29 07:23:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1252 346.922 14.8644 563846401 564105601 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.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            764 sec.

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

