/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 8 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2307.6+1451_daily_bin405
RA = 346.922, Dec = 14.8644
tmin = 344304001, tmax = 344563201
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='666465', job_status='RUN', time_executed='2021-09-29 06:55:37.087478', time_epoch_executed='1632923737.09' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666465

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666465/ft1_4FGL_J2307.6+1451_daily_bin405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666465/ft2_4FGL_J2307.6+1451_daily_bin405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666465/ft1_4FGL_J2307.6+1451_daily_bin405.fits outfile=/scratch/kocevski/666465/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin405.fits ra=346.922 dec=14.8644 rad=12.0 tmin=344304001.0 tmax=344563201.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.40
user 3.20
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/666465/ft2_4FGL_J2307.6+1451_daily_bin405.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/666465/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin405.fits evtable="EVENTS" outfile="/scratch/kocevski/666465/ft1_filtered_4FGL_J2307.6+1451_daily_bin405.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.49
user 0.32
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666465/ft1_filtered_4FGL_J2307.6+1451_daily_bin405.fits evtable="EVENTS" scfile=/scratch/kocevski/666465/ft2_4FGL_J2307.6+1451_daily_bin405.fits sctable="SC_DATA" expcube=/scratch/kocevski/666465/ltcube_344304001_344563201_4FGL_J2307.6+1451_daily_bin405.fits outfile=/scratch/kocevski/666465/expmap_344304001_344563201_4FGL_J2307.6+1451_daily_bin405.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/666465/ltcube_344304001_344563201_4FGL_J2307.6+1451_daily_bin405.fits
.....................!
real 189.53
user 184.94
sys 4.28

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/666465/ft1_filtered_4FGL_J2307.6+1451_daily_bin405.fits scfile=/scratch/kocevski/666465/ft2_4FGL_J2307.6+1451_daily_bin405.fits outfile=/scratch/kocevski/666465/cmap_344304001_344563201_4FGL_J2307.6+1451_daily_bin405.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666465/ft1_filtered_4FGL_J2307.6+1451_daily_bin405.fits scfile=/scratch/kocevski/666465/ft2_4FGL_J2307.6+1451_daily_bin405.fits outfile=/scratch/kocevski/666465/cmap_HighResolution_344304001_344563201_4FGL_J2307.6+1451_daily_bin405.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8942       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2222       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.3528       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15439E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.727       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.388       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.126       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.816       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.379       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2885       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.6005       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.4187       1.0000         .10000E-03   10000.    
    18 'norm      '    .73093       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3112       1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.735       1.0000         .10000E-03   10000.    
    21 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .44006       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2203       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=   6863.721     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     3625 TOTAL
                     EDM=   .90E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8918        15.343        .52933E-06   -.15336E-04
   2  Prefactor     .10000E-03    25.603       -.54884E-06** at limit **
   3  Prefactor     1.2222        .27013        .52434E-08   -.34725E-03
   4  Prefactor     .10000E-03    4.2317       -.40030E-08** at limit **
   5  norm          3.3527        1.6506        .35077E-08    .24815E-04
   6  Prefactor     .10000E-03    15.445       -.40025E-07** at limit **
   7  Prefactor     .10000E-03    4.3161       -.68559E-07** at limit **
   8  Prefactor     .10000E-03    7.1783        .51148E-07** at limit **
   9  Prefactor     .15463E-01    .56872E-01    .64932E-07   -.17942E-02
  10  Prefactor     12.726        9.2337        .50526E-07   -.40805E-05
  11  Prefactor     23.402        23.500        .36245E-06   -.93926E-05
  12  Prefactor     14.127        7.2809       -.25466E-07   -.75917E-04
  13  Prefactor     15.818        12.274       -.17228E-06   -.31286E-04
  14  Prefactor     18.370        23.146       -.66660E-08   -.26927E-05
  15  Prefactor     4.2881        6.7543        .16548E-06   -.13438E-03
  16  Prefactor     8.6306        8.8588       -.11976E-05   -.82941E-04
  17  Prefactor     1.4161        62.337        .20992E-05   -.28953E-04
  18  norm          .59446        8.8792        .31084E-05   -.19127E-03
  19  Prefactor     6.3796        9.9082       -.32327E-05   -.20136E-03
  20  Prefactor     39.776        29.322        .83469E-06   -.50167E-04
  21  norm          .10000E-03    7.5839       -.12298E-06** at limit **
  22  Prefactor     .10000E-03    3.1567       -.41762E-07** at limit **
  23  Normalizat    .44001        .24363       -.46625E-06   -.11180E-03
  24  Prefactor     1.2203        .13727       -.50074E-06   -.11295E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.8918
  Prefactor  = 0.0001
  Prefactor  = 1.2222
  Prefactor  = 0.0001
  norm       = 3.3527
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0154626
  Prefactor  = 12.7264
  Prefactor  = 23.4021
  Prefactor  = 14.1267
  Prefactor  = 15.8178
  Prefactor  = 18.3697
  Prefactor  = 4.28813
  Prefactor  = 8.63059
  Prefactor  = 1.41605
  norm       = 0.594463
  Prefactor  = 6.37963
  Prefactor  = 39.7764
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.440014
  Prefactor  = 1.22032
 **********
 **   18 **HESSE 
 **********

 FCN=   6863.721     FROM HESSE     STATUS=OK           411 CALLS     4036 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8918        15.328        .20446E-03   -1.5313    
   2  Prefactor     .10000E-03    26.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2222        .26993        .18600E-04   -1.5487    
   4  Prefactor     .10000E-03    4.2496        .16642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.3527        1.6511        .72589E-04   -1.5342    
   6  Prefactor     .10000E-03    15.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.3391        .16803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.1858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15463E-01    .11133        .35458E-03   -1.5683    
  10  Prefactor     12.726        9.2234        .11228E-03   -1.4994    
  11  Prefactor     23.402        23.476        .82827E-04   -1.4740    
  12  Prefactor     14.127        7.2610        .10657E-03   -1.4956    
  13  Prefactor     15.818        12.258        .10071E-03   -1.4912    
  14  Prefactor     18.370        23.117        .93425E-04   -1.4851    
  15  Prefactor     4.2881        6.5106        .19455E-03   -1.5294    
  16  Prefactor     8.6306        9.4563        .13669E-03   -1.5120    
  17  Prefactor     1.4161        58.707        .36330E-03   -1.5470    
  18  norm          .59446        104.04        .35129E-02   -1.5554    
  19  Prefactor     6.3796        12.452        .15978E-03   -1.5203    
  20  Prefactor     39.776        30.096        .63587E-04   -1.4446    
  21  norm          .10000E-03    7.6002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.1789        .14372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .44001        .24328        .44617E-03   -1.1528    
  24  Prefactor     1.2203        .14266        .17271E-03   -.85708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.24579e-10
Minuit parameter uncertainties:
  1  15.3434
  2  0.00011164
  3  0.269931
  4  3.2771e-06
  5  1.65113
  6  1.05755e-05
  7  8.50458e-06
  8  4.06891e-06
  9  0.0827141
  10  9.22441
  11  23.4854
  12  7.26146
  13  12.2603
  14  23.1284
  15  6.5117
  16  9.45793
  17  18.254
  18  15.7551
  19  12.4569
  20  30.1073
  21  1.67026e-05
  22  7.27004e-06
  23  0.243868
  24  0.142704
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.413e+01  7.261e+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:  1.220e+00  1.427e-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:  4.400e-01  2.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.76
Ra Dec: 346.922 14.864
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 7.64e-08 +/- 3.93e-08
Energy Flux (Fixed Index): 3.54e-05 +/- 1.82e-05

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) = 6863.39599754
delta logL = 0.324910126798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6863.39531808
delta logL = 0.325589587401

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.068       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8687       1.0000          .0000       10.000    
     3 'Normalizat'    .46183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2144       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=   6863.395     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      265 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.044        213.85        .22930E-02    .81706E-05
   2  Index         1.8672        3.0296        .16346        .68844E-04
   3  Normalizat    .46239        .15657        .98329E-01    .72407E-04
   4  Prefactor     1.2143        .57408E-01    .34298E-01    .63291E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.044
  Index      = 1.86723
  Normalizat = 0.462391
  Prefactor  = 1.21429
 **********
 **   18 **HESSE 
 **********

 FCN=   6863.395     FROM HESSE     STATUS=OK            31 CALLS      296 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.044        11.144        .91722E-04   -1.4835    
   2  Index         1.8672        .38888        .56230E-02   -.67712    
   3  Normalizat    .46239        .22426        .43574E-03   -1.1419    
   4  Prefactor     1.2143        .14008        .17310E-03   -.85893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.90201e-10
Minuit parameter uncertainties:
  1  11.1454
  2  0.389528
  3  0.224701
  4  0.140127
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666465': 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) = 6863.39530055
delta logL = 0.325607116469

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.904e+01  1.115e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  1.867e+00  3.895e-01  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.214e+00  1.401e-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:  4.624e-01  2.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.41
Ra Dec: 346.922 14.864
Photon Index (Free Index): 1.87 +/- 0.39
Photon Flux (Free Index): 5.50e-08 +/- 3.95e-08
Energy Flux (Free Index): 5.41e-05 +/- 4.47e-05

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/666465/cmap_HighResolution_344304001_344563201_4FGL_J2307.6+1451_daily_bin405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.64e-08', energy_flux2='5.41e-05', photon_flux_error='3.93e-08', dlogl='3.26e-01', energy_flux='3.54e-05', photon_flux2='5.50e-08', job_status='DONE', time_completed='2021-09-29 07:07:20.635266', photon_index_error2='0.39', photon_index2='1.87', ts='10.76', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='4.47e-05', EG='0.44', time_epoch_completed='1632924440.64', return_code='0', job_id='666465', GAL2='1.21', EG2='0.46', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='3.95e-08', ts2='11.41', photon_index='2.18' WHERE bin_id='405' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:07:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 666465: <4FGL_J2307.6+1451_daily_bin405> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin405> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 06:55:19 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 06:55:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 06:55:21 2021
Terminated at Wed Sep 29 07:07:21 2021
Results reported at Wed Sep 29 07:07:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin405 346.922 14.8644 344304001 344563201 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 :                                   701.14 sec.
    Max Memory :                                 1157 MB
    Average Memory :                             348.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            722 sec.

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

