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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin197
RA = 346.922, Dec = 14.8644
tmin = 290390401, tmax = 290649601
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='665069', job_status='RUN', time_executed='2021-09-29 06:50:51.576090', time_epoch_executed='1632923451.58' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='197'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/665069

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/665069/ft1_4FGL_J2307.6+1451_daily_bin197.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/665069/ft2_4FGL_J2307.6+1451_daily_bin197.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/665069/ft1_4FGL_J2307.6+1451_daily_bin197.fits outfile=/scratch/kocevski/665069/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin197.fits ra=346.922 dec=14.8644 rad=12.0 tmin=290390401.0 tmax=290649601.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.45
user 3.23
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/665069/ft1_filtered_4FGL_J2307.6+1451_daily_bin197.fits" evtable="EVENTS" scfile=/scratch/kocevski/665069/ft2_4FGL_J2307.6+1451_daily_bin197.fits sctable="SC_DATA" outfile=/scratch/kocevski/665069/ltcube_290390401_290649601_4FGL_J2307.6+1451_daily_bin197.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/665069/ft2_4FGL_J2307.6+1451_daily_bin197.fits
.....................!
real 11.82
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/665069/ft1_filtered_4FGL_J2307.6+1451_daily_bin197.fits evtable="EVENTS" scfile=/scratch/kocevski/665069/ft2_4FGL_J2307.6+1451_daily_bin197.fits sctable="SC_DATA" expcube=/scratch/kocevski/665069/ltcube_290390401_290649601_4FGL_J2307.6+1451_daily_bin197.fits outfile=/scratch/kocevski/665069/expmap_290390401_290649601_4FGL_J2307.6+1451_daily_bin197.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/665069/ltcube_290390401_290649601_4FGL_J2307.6+1451_daily_bin197.fits
.....................!
real 191.95
user 186.45
sys 5.14

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/665069/ft1_filtered_4FGL_J2307.6+1451_daily_bin197.fits scfile=/scratch/kocevski/665069/ft2_4FGL_J2307.6+1451_daily_bin197.fits outfile=/scratch/kocevski/665069/cmap_290390401_290649601_4FGL_J2307.6+1451_daily_bin197.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/665069/ft1_filtered_4FGL_J2307.6+1451_daily_bin197.fits scfile=/scratch/kocevski/665069/ft2_4FGL_J2307.6+1451_daily_bin197.fits outfile=/scratch/kocevski/665069/cmap_HighResolution_290390401_290649601_4FGL_J2307.6+1451_daily_bin197.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.56
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0652       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .73812E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    44.431       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8322       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1331       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    118.51       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.075       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.6337       1.0000         .10000E-03   10000.    
    14 'Prefactor '    36.795       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2290       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.239       1.0000         .10000E-03   10000.    
    18 'norm      '    .10113E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0088       1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.835       1.0000         .10000E-03   10000.    
    21 'norm      '    30.502       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.3185       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0650       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96407       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=   10211.72     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2722 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0677        10.778        .36686E-06    .29248E-04
   2  Prefactor     .10000E-03    3.9029       -.12082E-07** at limit **
   3  Prefactor     .73696E-01    .13521       -.72820E-07   -.40076E-02
   4  Prefactor     .10000E-03    6.5375       -.14445E-06** at limit **
   5  norm          .10000E-03    .51196       -.16348E-07** at limit **
   6  Prefactor     44.401        46.492        .54447E-05    .17830E-03
   7  Prefactor     .10000E-03    4.9965       -.57939E-07** at limit **
   8  Prefactor     6.8374        25.186       -.26040E-05   -.51798E-04
   9  Prefactor     5.1329        .40775        .27254E-08    .45957E-02
  10  Prefactor     .10000E-03    2.0070        .75647E-08** at limit **
  11  Prefactor     118.51        49.953        .98124E-06    .52823E-04
  12  Prefactor     12.075        11.756        .85233E-07    .11261E-04
  13  Prefactor     4.6349        11.252        .32831E-07   -.12685E-04
  14  Prefactor     36.796        28.700       -.99284E-07   -.16375E-04
  15  Prefactor     2.2293        4.3165        .39076E-05   -.27309E-03
  16  Prefactor     .10000E-03    6.4560        .31382E-06** at limit **
  17  Prefactor     34.243        24.656       -.13940E-05   -.53254E-04
  18  norm          .10000E-03    14.287        .17988E-06** at limit **
  19  Prefactor     4.0121        8.3657        .11263E-06   -.43003E-04
  20  Prefactor     33.834        33.790        .31507E-06   -.17776E-04
  21  norm          30.502        17.236        .14194E-06    .13933E-04
  22  Prefactor     3.3185        5.8310        .26364E-05   -.16894E-03
  23  Normalizat    1.0646        .24538       -.15610E-05    .20562E-04
  24  Prefactor     .96436        .12691        .13367E-06    .82639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.06769
  Prefactor  = 0.0001
  Prefactor  = 0.0736962
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 44.4009
  Prefactor  = 0.0001
  Prefactor  = 6.83741
  Prefactor  = 5.13291
  Prefactor  = 0.0001
  Prefactor  = 118.508
  Prefactor  = 12.0745
  Prefactor  = 4.63494
  Prefactor  = 36.7963
  Prefactor  = 2.22929
  Prefactor  = 0.0001
  Prefactor  = 34.2428
  norm       = 0.0001
  Prefactor  = 4.01212
  Prefactor  = 33.8341
  norm       = 30.5019
  Prefactor  = 3.3185
  Normalizat = 1.06457
  Prefactor  = 0.964357
 **********
 **   18 **HESSE 
 **********

 FCN=   10211.72     FROM HESSE     STATUS=OK           401 CALLS     3123 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0677        10.634        .23170E-03   -1.5358    
   2  Prefactor     .10000E-03    3.9040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .73696E-01    .11313        .47482E-03   -1.5654    
   4  Prefactor     .10000E-03    6.7546        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .51677        .70602E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.401        46.601        .60147E-04   -1.4374    
   7  Prefactor     .10000E-03    5.0145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.8374        25.286        .15350E-03   -1.5185    
   9  Prefactor     5.1329        .41170        .15940E-04   -1.5255    
  10  Prefactor     .10000E-03    2.0074        .13981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     118.51        50.069        .36963E-04   -1.3526    
  12  Prefactor     12.075        11.749        .11528E-03   -1.5013    
  13  Prefactor     4.6349        11.229        .18697E-03   -1.5277    
  14  Prefactor     36.796        28.709        .66070E-04   -1.4494    
  15  Prefactor     2.2293        4.3201        .13768E-02   -1.5409    
  16  Prefactor     .10000E-03    6.4719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     34.243        24.703        .68484E-04   -1.4537    
  18  norm          .10000E-03    14.535        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.0121        8.3291        .20142E-03   -1.5307    
  20  Prefactor     33.834        33.728        .68891E-04   -1.4544    
  21  norm          30.502        17.233        .72546E-04   -1.4603    
  22  Prefactor     3.3185        5.8155        .11111E-02   -1.5344    
  23  Normalizat    1.0646        .28350        .41619E-03   -.90898    
  24  Prefactor     .96436        .14772        .24119E-03   -.93927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20901e-10
Minuit parameter uncertainties:
  1  10.6407
  2  1.57176e-06
  3  0.113131
  4  1.59629e-05
  5  6.58952e-07
  6  46.639
  7  2.72025e-06
  8  25.3257
  9  0.411697
  10  5.53985e-07
  11  50.0869
  12  11.7512
  13  11.2338
  14  28.7197
  15  4.3207
  16  7.95045e-06
  17  24.7107
  18  4.33567e-05
  19  8.33147
  20  33.7465
  21  17.2353
  22  5.81652
  23  0.283904
  24  0.147778
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.207e+01  1.175e+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:  9.644e-01  1.478e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.065e+00  2.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 346.922 14.864
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 6.53e-08 +/- 6.35e-08
Energy Flux (Fixed Index): 3.03e-05 +/- 2.94e-05

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

Saving results to:
/scratch/kocevski/665069/likelihoodResults_290390401_290649601_4FGL_J2307.6+1451_daily_bin197.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10209.8296991
delta logL = 1.88721799547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10209.8081716
delta logL = 1.90874543103

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6443       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3130       1.0000          .0000       10.000    
     3 'Normalizat'    .95303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0018       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=   10209.81     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      237 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6432        16.610        .62680E-02    .86576E-03
   2  Index         3.3131        1.6406        .91076E-01    .32138E-03
   3  Normalizat    .95305        .72858E-01    .98094E-01    .34113E-04
   4  Prefactor     1.0018        .39636E-01    .45053E-01    .74432E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.64317
  Index      = 3.31314
  Normalizat = 0.953049
  Prefactor  = 1.00178
 **********
 **   18 **HESSE 
 **********

 FCN=   10209.81     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6432        31.357        .77122E-04   -1.5383    
   2  Index         3.3131        2.6383        .33635E-02   -.34412    
   3  Normalizat    .95305        .27996        .43464E-03   -.94620    
   4  Prefactor     1.0018        .15969        .23656E-03   -.92670    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.88851e-07
Minuit parameter uncertainties:
  1  18.2194
  2  2.80067
  3  0.280387
  4  0.159762
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/665069': 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) = 10209.8081716
delta logL = 1.90874546724

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  2.643e+00  1.822e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  3.313e+00  2.801e+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:  1.002e+00  1.598e-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.530e-01  2.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.35
Ra Dec: 346.922 14.864
Photon Index (Free Index): 3.31 +/- 2.80
Photon Flux (Free Index): 2.07e-07 +/- 1.11e-07
Energy Flux (Free Index): 3.65e-05 +/- 3.18e-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/665069/cmap_HighResolution_290390401_290649601_4FGL_J2307.6+1451_daily_bin197.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-02', comment='SUCCESS', photon_flux='6.53e-08', energy_flux2='3.65e-05', photon_flux_error='6.35e-08', dlogl='1.91e+00', energy_flux='3.03e-05', photon_flux2='2.07e-07', job_status='DONE', time_completed='2021-09-29 07:06:13.967871', photon_index_error2='2.80', photon_index2='3.31', ts='1.32', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.89e-07', energy_flux_error2='3.18e-05', EG='1.06', time_epoch_completed='1632924373.97', return_code='0', job_id='665069', GAL2='1.00', EG2='0.95', return_code2='102', energy_flux_error='2.94e-05', photon_flux_error2='1.11e-07', ts2='5.35', photon_index='2.18' WHERE bin_id='197' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:06:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 665069: <4FGL_J2307.6+1451_daily_bin197> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin197 346.922 14.8644 290390401 290649601 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 :                                   915.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

