/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 56 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 = 7468
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1473
RA = 346.922, Dec = 14.8644
tmin = 621129601, tmax = 621388801
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='671429', job_status='RUN', time_executed='2021-09-29 07:12:15.417441', time_epoch_executed='1632924735.42' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/671429

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/671429/ft1_4FGL_J2307.6+1451_daily_bin1473.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/671429/ft2_4FGL_J2307.6+1451_daily_bin1473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/671429/ft1_4FGL_J2307.6+1451_daily_bin1473.fits outfile=/scratch/kocevski/671429/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1473.fits ra=346.922 dec=14.8644 rad=12.0 tmin=621129601.0 tmax=621388801.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.08
user 2.89
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/671429/ft1_filtered_4FGL_J2307.6+1451_daily_bin1473.fits" evtable="EVENTS" scfile=/scratch/kocevski/671429/ft2_4FGL_J2307.6+1451_daily_bin1473.fits sctable="SC_DATA" outfile=/scratch/kocevski/671429/ltcube_621129601_621388801_4FGL_J2307.6+1451_daily_bin1473.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/671429/ft2_4FGL_J2307.6+1451_daily_bin1473.fits
.....................!
real 12.54
user 12.20
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/671429/ft1_filtered_4FGL_J2307.6+1451_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/671429/ft2_4FGL_J2307.6+1451_daily_bin1473.fits sctable="SC_DATA" expcube=/scratch/kocevski/671429/ltcube_621129601_621388801_4FGL_J2307.6+1451_daily_bin1473.fits outfile=/scratch/kocevski/671429/expmap_621129601_621388801_4FGL_J2307.6+1451_daily_bin1473.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/671429/ltcube_621129601_621388801_4FGL_J2307.6+1451_daily_bin1473.fits
.....................!
real 192.27
user 187.46
sys 4.48

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/671429/ft1_filtered_4FGL_J2307.6+1451_daily_bin1473.fits scfile=/scratch/kocevski/671429/ft2_4FGL_J2307.6+1451_daily_bin1473.fits outfile=/scratch/kocevski/671429/cmap_621129601_621388801_4FGL_J2307.6+1451_daily_bin1473.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/671429/ft1_filtered_4FGL_J2307.6+1451_daily_bin1473.fits scfile=/scratch/kocevski/671429/ft2_4FGL_J2307.6+1451_daily_bin1473.fits outfile=/scratch/kocevski/671429/cmap_HighResolution_621129601_621388801_4FGL_J2307.6+1451_daily_bin1473.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9519       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .77049       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.417       1.0000         .10000E-03   10000.    
     5 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.836       1.0000         .10000E-03   10000.    
     7 'Prefactor '    70.659       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .23983       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2863       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4655       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .85400       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97013       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83677       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=   3997.103     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2322 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.879       -.19496E-05** at limit **
   2  Prefactor     1.9523        48.757        .27983E-06    .18488E-04
   3  Prefactor     .77037        .38494        .25818E-08    .57641E-03
   4  Prefactor     20.416        20.833        .40203E-06    .10954E-04
   5  norm          .10000E-03    1.0730       -.14739E-06** at limit **
   6  Prefactor     10.841        45.049       -.26004E-05    .13734E-04
   7  Prefactor     70.654        22.650        .11388E-05    .16152E-03
   8  Prefactor     .10000E-03    17.568       -.27907E-05** at limit **
   9  Prefactor     .23964        .21545        .91700E-07    .22678E-02
  10  Prefactor     1.2873        6.9394       -.11305E-05    .20599E-03
  11  Prefactor     .10000E-03    138.29        .22164E-04** at limit **
  12  Prefactor     1.4609        29.048       -.26999E-05    .52905E-04
  13  Prefactor     .10000E-03    14.005        .34726E-05** at limit **
  14  Prefactor     .10000E-03    6.1753       -.53440E-07** at limit **
  15  Prefactor     .10000E-03    3.2554       -.66395E-07** at limit **
  16  Prefactor     .10000E-03    19.212        .22374E-05** at limit **
  17  Prefactor     .10000E-03    9.0187       -.29117E-06** at limit **
  18  norm          .10000E-03    9.8129        .88037E-06** at limit **
  19  Prefactor     .10000E-03    11.282       -.70301E-06** at limit **
  20  Prefactor     .10000E-03    43.921        .16994E-05** at limit **
  21  norm          .72546        213.12        .57115E-04   -.66777E-06
  22  Prefactor     .10000E-03    11.140       -.12693E-05** at limit **
  23  Normalizat    .97041        .27393        .27011E-06    .18808E-03
  24  Prefactor     .83664        .14548       -.19198E-06    .33517E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.95235
  Prefactor  = 0.770369
  Prefactor  = 20.4157
  norm       = 0.0001
  Prefactor  = 10.8412
  Prefactor  = 70.6539
  Prefactor  = 0.0001
  Prefactor  = 0.239642
  Prefactor  = 1.28726
  Prefactor  = 0.0001
  Prefactor  = 1.4609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.725458
  Prefactor  = 0.0001
  Normalizat = 0.970407
  Prefactor  = 0.836642
 **********
 **   18 **HESSE 
 **********

 FCN=   3997.103     FROM HESSE     STATUS=OK           393 CALLS     2715 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9523        49.637        .29702E-03   -1.5429    
   3  Prefactor     .77037        .38540        .26154E-04   -1.5532    
   4  Prefactor     20.416        20.904        .88642E-04   -1.4804    
   5  norm          .10000E-03    1.0957        .63895E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.841        44.363        .12171E-03   -1.5049    
   7  Prefactor     70.654        22.607        .47756E-04   -1.4025    
   8  Prefactor     .10000E-03    17.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .23964        .20874        .24067E-04   -1.5610    
  10  Prefactor     1.2873        7.4771        .33467E-03   -1.5481    
  11  Prefactor     .10000E-03    140.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4609        29.939        .35520E-03   -1.5466    
  13  Prefactor     .10000E-03    14.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.1803        .15345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.2717        .11137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.0270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.8323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    43.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .72546        211.74        .57651E-02   -1.5538    
  22  Prefactor     .10000E-03    11.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97041        .31441        .32996E-03   -.94029    
  24  Prefactor     .83664        .16906        .19221E-03   -.98391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88652e-08
Minuit parameter uncertainties:
  1  2.73493e-05
  2  19.7061
  3  0.385401
  4  20.912
  5  1.98441e-05
  6  43.9174
  7  22.6099
  8  8.39306e-06
  9  0.20874
  10  6.20577
  11  0.000132373
  12  13.234
  13  1.91441e-05
  14  1.24742e-05
  15  1.61273e-05
  16  3.90991e-05
  17  2.05147e-05
  18  2.13751e-05
  19  3.8252e-05
  20  4.77919e-05
  21  24.8752
  22  7.22992e-05
  23  0.315012
  24  0.169162
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.461e+00  1.323e+01  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.366e-01  1.692e-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:  9.704e-01  3.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 1.74e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.32e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/671429/likelihoodResults_621129601_621388801_4FGL_J2307.6+1451_daily_bin1473.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) = 3996.24053576
delta logL = 0.862898618476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3996.10942974
delta logL = 0.994004643915

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34608E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    6.5989       1.0000          .0000       10.000    
     3 'Normalizat'    .81349       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89269       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=   3996.109     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      424 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33964E-03    .69150E-02    .22155E-03** at limit **
   2  Index         6.6064        2.2162        .82493E-01    .17602E-03
   3  Normalizat    .81345        .73326E-01    .80480E-01    .22248E-04
   4  Prefactor     .89259        .40230E-01    .44912E-01    .67973E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000339637
  Index      = 6.60642
  Normalizat = 0.813455
  Prefactor  = 0.892587
 **********
 **   18 **HESSE 
 **********

 FCN=   3996.109     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      459 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33964E-03    .15497E-01    .11046E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.6064        3.5626        .32353E-02    .32708    
   3  Normalizat    .81345        .24917        .35631E-03   -.99572    
   4  Prefactor     .89259        .13312        .18656E-03   -.96401    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.05566e-10
Minuit parameter uncertainties:
  1  0.00385415
  2  4.03281
  3  0.249523
  4  0.133164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/671429': 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) = 3996.10942375
delta logL = 0.994010634329

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  3.396e-04  3.854e-03  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  6.606e+00  4.033e+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.926e-01  1.332e-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:  8.135e-01  2.495e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.23
Ra Dec: 346.922 14.864
Photon Index (Free Index): 6.61 +/- 4.03
Photon Flux (Free Index): 1.90e-07 +/- 1.50e-07
Energy Flux (Free Index): 2.30e-05 +/- 1.90e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/671429/cmap_HighResolution_621129601_621388801_4FGL_J2307.6+1451_daily_bin1473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', energy_flux2='2.30e-05', dlogl='9.94e-01', photon_flux2='1.90e-07', job_status='DONE', time_completed='2021-09-29 07:27:31.367371', photon_index_error2='4.03', photon_index2='6.61', ts='0.01', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.74e-07', energy_flux_error2='1.90e-05', EG='0.97', time_epoch_completed='1632925651.37', return_code='0', job_id='671429', GAL2='0.89', EG2='0.81', return_code2='102', photon_flux_error2='1.50e-07', ts2='2.23', photon_index='2.18' WHERE bin_id='1473' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:27:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 671429: <4FGL_J2307.6+1451_daily_bin1473> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1473> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 07:11:01 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:11:03 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:11:03 2021
Terminated at Wed Sep 29 07:27:32 2021
Results reported at Wed Sep 29 07:27:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1473 346.922 14.8644 621129601 621388801 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 :                                   513.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             262.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            991 sec.

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

