/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 194 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 = 7378
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2307.6+1451_daily_bin29
RA = 346.922, Dec = 14.8644
tmin = 246844801, tmax = 247104001
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='664817', job_status='RUN', time_executed='2021-09-29 06:53:41.652814', time_epoch_executed='1632923621.65' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='29'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/664817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/664817/ft1_4FGL_J2307.6+1451_daily_bin29.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/664817/ft2_4FGL_J2307.6+1451_daily_bin29.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/664817/ft1_4FGL_J2307.6+1451_daily_bin29.fits outfile=/scratch/kocevski/664817/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin29.fits ra=346.922 dec=14.8644 rad=12.0 tmin=246844801.0 tmax=247104001.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 1.42
user 1.24
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/664817/ft1_filtered_4FGL_J2307.6+1451_daily_bin29.fits evtable="EVENTS" scfile=/scratch/kocevski/664817/ft2_4FGL_J2307.6+1451_daily_bin29.fits sctable="SC_DATA" expcube=/scratch/kocevski/664817/ltcube_246844801_247104001_4FGL_J2307.6+1451_daily_bin29.fits outfile=/scratch/kocevski/664817/expmap_246844801_247104001_4FGL_J2307.6+1451_daily_bin29.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/664817/ltcube_246844801_247104001_4FGL_J2307.6+1451_daily_bin29.fits
.....................!
real 191.83
user 186.19
sys 5.27

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/664817/ft1_filtered_4FGL_J2307.6+1451_daily_bin29.fits scfile=/scratch/kocevski/664817/ft2_4FGL_J2307.6+1451_daily_bin29.fits outfile=/scratch/kocevski/664817/cmap_246844801_247104001_4FGL_J2307.6+1451_daily_bin29.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/664817/ft1_filtered_4FGL_J2307.6+1451_daily_bin29.fits scfile=/scratch/kocevski/664817/ft2_4FGL_J2307.6+1451_daily_bin29.fits outfile=/scratch/kocevski/664817/cmap_HighResolution_246844801_247104001_4FGL_J2307.6+1451_daily_bin29.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4770       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1598       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .79535       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .84343       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2227       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.429       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8776       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.122       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0871       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.991       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.061       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.425       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.6395       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    59.640       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11324E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.218       1.0000         .10000E-03   10000.    
    21 'norm      '    .10161E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .78383       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90475       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=   8473.544     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2737 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4759        9.3081        .50325E-05   -.45257E-03
   2  Prefactor     1.1596        48.544        .35406E-05   -.34446E-04
   3  Prefactor     .79535        .22042       -.34439E-07    .17170E-03
   4  Prefactor     .10000E-03    5.3363        .14823E-06** at limit **
   5  norm          .84360        1.3113        .44877E-07    .81318E-04
   6  Prefactor     4.2041        125.25       -.12899E-04   -.97488E-04
   7  Prefactor     .10000E-03    6.4225        .30661E-06** at limit **
   8  Prefactor     11.428        14.679       -.12460E-06   -.15259E-04
   9  Prefactor     3.8777        .34876        .38056E-07   -.57548E-03
  10  Prefactor     21.124        15.123        .40034E-06    .47521E-04
  11  Prefactor     4.0866        12.990        .22662E-06   -.19588E-04
  12  Prefactor     14.990        8.8839        .40893E-06   -.14334E-03
  13  Prefactor     .10000E-03    3.8145        .27609E-07** at limit **
  14  Prefactor     31.056        28.606       -.10005E-05   -.19661E-03
  15  Prefactor     12.424        7.9979        .35135E-06   -.46014E-04
  16  Prefactor     1.6371        14.524        .13963E-05   -.83814E-04
  17  Prefactor     .10000E-03    23.252        .36726E-05** at limit **
  18  norm          59.648        13.884        .10667E-06    .53242E-03
  19  Prefactor     .10000E-03    3.0813       -.94602E-07** at limit **
  20  Prefactor     24.219        18.254       -.98002E-07    .10500E-04
  21  norm          .10000E-03    24.568       -.38220E-05** at limit **
  22  Prefactor     .10000E-03    5.2998       -.52645E-07** at limit **
  23  Normalizat    .78381        .23072       -.17684E-05    .79405E-06
  24  Prefactor     .90478        .12462        .99642E-07   -.41676E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.47595
  Prefactor  = 1.15959
  Prefactor  = 0.795348
  Prefactor  = 0.0001
  norm       = 0.843602
  Prefactor  = 4.20406
  Prefactor  = 0.0001
  Prefactor  = 11.4277
  Prefactor  = 3.87765
  Prefactor  = 21.1241
  Prefactor  = 4.08658
  Prefactor  = 14.99
  Prefactor  = 0.0001
  Prefactor  = 31.0557
  Prefactor  = 12.4241
  Prefactor  = 1.63707
  Prefactor  = 0.000100004
  norm       = 59.6479
  Prefactor  = 0.0001
  Prefactor  = 24.2188
  norm       = 0.000100004
  Prefactor  = 0.0001
  Normalizat = 0.78381
  Prefactor  = 0.904779
 **********
 **   18 **HESSE 
 **********

 FCN=   8473.544     FROM HESSE     STATUS=OK           405 CALLS     3142 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4759        9.6030        .95148E-03   -1.5285    
   2  Prefactor     1.1596        50.152        .42802E-03   -1.5493    
   3  Prefactor     .79535        .21997        .21453E-04   -1.5530    
   4  Prefactor     .10000E-03    5.4459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .84360        1.0369        .12772E-02   -1.5524    
   6  Prefactor     4.2041        135.91        .19610E-03   -1.5298    
   7  Prefactor     .10000E-03    6.4501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.428        14.683        .11850E-03   -1.5032    
   9  Prefactor     3.8777        .35182        .14435E-04   -1.5314    
  10  Prefactor     21.124        15.119        .87151E-04   -1.4788    
  11  Prefactor     4.0866        12.977        .19942E-03   -1.5304    
  12  Prefactor     14.990        8.9087        .51723E-03   -1.4933    
  13  Prefactor     .10000E-03    3.8208        .17557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.056        28.847        .71892E-04   -1.4593    
  15  Prefactor     12.424        7.9992        .11364E-03   -1.5003    
  16  Prefactor     1.6371        14.489        .33003E-03   -1.5452    
  17  Prefactor     .10000E-03    24.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          59.648        13.624        .51952E-04   -1.4162    
  19  Prefactor     .10000E-03    7.5749        .30671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     24.219        18.245        .81397E-04   -1.4723    
  21  norm          .10000E-03    25.732        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.4048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .78381        .26136        .40721E-03   -1.0067    
  24  Prefactor     .90478        .14333        .21926E-03   -.95974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59516e-09
Minuit parameter uncertainties:
  1  9.60633
  2  15.265
  3  0.219975
  4  8.68858e-06
  5  1.03693
  6  47.9254
  7  2.82556e-05
  8  14.6875
  9  0.351819
  10  15.1215
  11  12.9857
  12  8.90953
  13  2.67067e-07
  14  28.8604
  15  7.99988
  16  9.74355
  17  0.000639876
  18  13.6247
  19  4.08954e-05
  20  18.2488
  21  0.000665784
  22  4.77171e-06
  23  0.261783
  24  0.143389
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.499e+01  8.910e+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:  9.048e-01  1.434e-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:  7.838e-01  2.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.52
Ra Dec: 346.922 14.864
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 8.11e-08 +/- 4.82e-08
Energy Flux (Fixed Index): 3.76e-05 +/- 2.23e-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) = 8473.51020429
delta logL = 0.0335901222152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8473.5017914
delta logL = 0.0420030095847

Fit tolerance = 1e-08

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

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

 FCN=   8473.502     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      284 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.170        12.769        .96663E-04    .61393E-04
   2  Index         2.0646        .42070        .62149E-02    .59403E-03
   3  Normalizat    .79090        .24493        .40569E-03   -.80651E-04
   4  Prefactor     .90236        .14207        .21955E-03   -.75602E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1703
  Index      = 2.06458
  Normalizat = 0.790899
  Prefactor  = 0.902358
 **********
 **   18 **HESSE 
 **********

 FCN=   8473.502     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.170        12.373        .38665E-05   -1.4879    
   2  Index         2.0646        .40766        .12430E-02   -.62745    
   3  Normalizat    .79090        .24494        .16228E-04   -1.0041    
   4  Prefactor     .90236        .14211        .87819E-05   -.96059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43192e-11
Minuit parameter uncertainties:
  1  12.3751
  2  0.408357
  3  0.245281
  4  0.142173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/664817': 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) = 8473.50179118
delta logL = 0.0420032321435

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.717e+01  1.238e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.065e+00  4.084e-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:  9.024e-01  1.422e-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:  7.909e-01  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.63
Ra Dec: 346.922 14.864
Photon Index (Free Index): 2.06 +/- 0.41
Photon Flux (Free Index): 7.26e-08 +/- 5.33e-08
Energy Flux (Free Index): 4.31e-05 +/- 3.35e-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/664817/cmap_HighResolution_246844801_247104001_4FGL_J2307.6+1451_daily_bin29.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.11e-08', energy_flux2='4.31e-05', photon_flux_error='4.82e-08', dlogl='4.20e-02', energy_flux='3.76e-05', photon_flux2='7.26e-08', job_status='DONE', time_completed='2021-09-29 07:06:03.656290', photon_index_error2='0.41', photon_index2='2.06', ts='5.52', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='3.35e-05', EG='0.78', time_epoch_completed='1632924363.66', return_code='0', job_id='664817', GAL2='0.90', EG2='0.79', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='5.33e-08', ts2='5.63', photon_index='2.18' WHERE bin_id='29' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:06:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 664817: <4FGL_J2307.6+1451_daily_bin29> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin29> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 06:50:18 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 06:50:19 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:50:19 2021
Terminated at Wed Sep 29 07:06:04 2021
Results reported at Wed Sep 29 07:06:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin29 346.922 14.8644 246844801 247104001 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 :                                   735.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            946 sec.

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

