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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin852
RA = 346.922, Dec = 14.8644
tmin = 460166401, tmax = 460425601
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='669413', job_status='RUN', time_executed='2021-09-29 07:05:34.579957', time_epoch_executed='1632924334.58' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='852'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669413

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669413/ft1_4FGL_J2307.6+1451_daily_bin852.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669413/ft2_4FGL_J2307.6+1451_daily_bin852.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669413/ft1_4FGL_J2307.6+1451_daily_bin852.fits outfile=/scratch/kocevski/669413/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin852.fits ra=346.922 dec=14.8644 rad=12.0 tmin=460166401.0 tmax=460425601.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.43
user 3.15
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669413/ft1_filtered_4FGL_J2307.6+1451_daily_bin852.fits evtable="EVENTS" scfile=/scratch/kocevski/669413/ft2_4FGL_J2307.6+1451_daily_bin852.fits sctable="SC_DATA" expcube=/scratch/kocevski/669413/ltcube_460166401_460425601_4FGL_J2307.6+1451_daily_bin852.fits outfile=/scratch/kocevski/669413/expmap_460166401_460425601_4FGL_J2307.6+1451_daily_bin852.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/669413/ltcube_460166401_460425601_4FGL_J2307.6+1451_daily_bin852.fits
.....................!
real 190.47
user 185.16
sys 4.90

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/669413/ft1_filtered_4FGL_J2307.6+1451_daily_bin852.fits scfile=/scratch/kocevski/669413/ft2_4FGL_J2307.6+1451_daily_bin852.fits outfile=/scratch/kocevski/669413/cmap_460166401_460425601_4FGL_J2307.6+1451_daily_bin852.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/669413/ft1_filtered_4FGL_J2307.6+1451_daily_bin852.fits scfile=/scratch/kocevski/669413/ft2_4FGL_J2307.6+1451_daily_bin852.fits outfile=/scratch/kocevski/669413/cmap_HighResolution_460166401_460425601_4FGL_J2307.6+1451_daily_bin852.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.41
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.324       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .31540       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.267       1.0000         .10000E-03   10000.    
     5 'norm      '    .67416       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11152E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.060       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9505       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11264       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.698       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.936       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.359       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.8636       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.626       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9236       1.0000         .10000E-03   10000.    
    20 'Prefactor '    60.286       1.0000         .10000E-03   10000.    
    21 'norm      '    .10540E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0127       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91514       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=   10094.30     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2750 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6047       -.16736E-07** at limit **
   2  Prefactor     33.319        19.529       -.27974E-06    .43791E-04
   3  Prefactor     .31535        .16601       -.67804E-07   -.11340E-02
   4  Prefactor     10.268        7.4713        .17368E-06   -.29134E-04
   5  norm          .67421        1.1640       -.15352E-06   -.80392E-03
   6  Prefactor     .10000E-03    19.189        .16228E-05** at limit **
   7  Prefactor     .10000E-03    13.252       -.56718E-06** at limit **
   8  Prefactor     18.056        17.239        .48096E-06   -.83408E-05
   9  Prefactor     3.9505        .32161       -.48068E-07    .18291E-02
  10  Prefactor     .10010E-03    6.2359       -.10755E-05** at limit **
  11  Prefactor     27.651        37.768       -.44306E-04    .29010E-04
  12  Prefactor     .10000E-03    1.8006        .23457E-07** at limit **
  13  Prefactor     20.932        14.364        .16939E-05    .48005E-04
  14  Prefactor     .10000E-03    22.796       -.25084E-05** at limit **
  15  Prefactor     14.356        8.0592       -.11064E-05    .20660E-04
  16  Prefactor     7.8656        8.8004        .15673E-06   -.24925E-05
  17  Prefactor     .10000E-03    5.4155        .62999E-07** at limit **
  18  norm          10.627        9.0471        .27287E-06    .90063E-04
  19  Prefactor     2.9231        8.1697       -.24474E-05   -.41012E-03
  20  Prefactor     60.291        25.917       -.30877E-05    .49505E-04
  21  norm          .10000E-03    4.2527       -.12903E-06** at limit **
  22  Prefactor     .10000E-03    4.3016       -.21193E-06** at limit **
  23  Normalizat    1.0125        .22327        .89305E-05   -.83534E-04
  24  Prefactor     .91537        .11620       -.70447E-06    .55067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 33.3193
  Prefactor  = 0.315351
  Prefactor  = 10.2679
  norm       = 0.674212
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.0564
  Prefactor  = 3.95051
  Prefactor  = 0.000100102
  Prefactor  = 27.6507
  Prefactor  = 0.0001
  Prefactor  = 20.9317
  Prefactor  = 0.0001
  Prefactor  = 14.3556
  Prefactor  = 7.86562
  Prefactor  = 0.0001
  norm       = 10.6268
  Prefactor  = 2.92307
  Prefactor  = 60.2915
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01251
  Prefactor  = 0.915368
 **********
 **   18 **HESSE 
 **********

 FCN=   10094.30     FROM HESSE     STATUS=OK           409 CALLS     3159 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.319        19.546        .69416E-04   -1.4553    
   3  Prefactor     .31535        .16205        .28409E-04   -1.5596    
   4  Prefactor     10.268        7.4694        .12505E-03   -1.5067    
   5  norm          .67421        .85386        .13847E-02   -1.5544    
   6  Prefactor     .10000E-03    19.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.621        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.056        17.255        .94247E-04   -1.4858    
   9  Prefactor     3.9505        .32255        .15220E-04   -1.5310    
  10  Prefactor     .10010E-03    8.4164        .77076E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     27.651        37.797        .76122E-04   -1.4656    
  12  Prefactor     .10000E-03    1.8031        .13165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.932        14.368        .87537E-04   -1.4793    
  14  Prefactor     .10000E-03    22.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.356        8.0865        .10570E-03   -1.4950    
  16  Prefactor     7.8656        8.7859        .14299E-03   -1.5147    
  17  Prefactor     .10000E-03    5.4192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.627        8.9087        .12291E-03   -1.5056    
  19  Prefactor     2.9231        8.0622        .23758E-03   -1.5366    
  20  Prefactor     60.291        25.896        .51675E-04   -1.4153    
  21  norm          .10000E-03    4.2580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.3914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0125        .25897        .38755E-03   -.92612    
  24  Prefactor     .91537        .13588        .22777E-03   -.95606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5757e-09
Minuit parameter uncertainties:
  1  5.01128e-06
  2  19.5499
  3  0.162054
  4  7.47003
  5  0.85388
  6  2.04595e-05
  7  0.000104616
  8  17.26
  9  0.322551
  10  0.00185229
  11  37.8293
  12  2.66906e-06
  13  14.3702
  14  0.000147675
  15  8.08713
  16  8.78739
  17  7.52935e-06
  18  8.90983
  19  8.06521
  20  25.9007
  21  7.30069e-06
  22  3.58796e-05
  23  0.259292
  24  0.13593
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  2.669e-06  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.154e-01  1.359e-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.013e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 5.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/669413/likelihoodResults_460166401_460425601_4FGL_J2307.6+1451_daily_bin852.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) = 10094.304131
delta logL = -0.00261729491831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10094.3015126
delta logL = 1.03624188341e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1531       1.0000          .0000       10.000    
     3 'Normalizat'    1.0125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91536       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=   10094.30     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      246 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10248E-03    1.1777        .13667E-01** at limit **
   2  Index         2.0766        5.5203        .50000        .11223E-03
   3  Normalizat    1.0125        .40155E-02    .38755E-03   -.31036E-04
   4  Prefactor     .91536        .22718E-02    .22777E-03   -.69877E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010248
  Index      = 2.07662
  Normalizat = 1.01252
  Prefactor  = 0.915364
 **********
 **   18 **HESSE 
 **********

 FCN=   10094.30     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .69E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10248E-03    20.658        .14021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0766        5.5713        .50000       -.62448    
   3  Normalizat    1.0125        .16962E-01    .15502E-04   -.92612    
   4  Prefactor     .91536        .95965E-02    .91110E-05   -.95606    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.88866e-08
Minuit parameter uncertainties:
  1  0.0143196
  2  133.792
  3  0.016962
  4  0.00959654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/669413': 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) = 10094.301511
delta logL = 2.7122132451e-06

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.025e-04  1.432e-02  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.077e+00  1.338e+02  0.000e+00  1.000e+01 (-1.000e+00)
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.154e-01  9.597e-03  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.013e+00  1.696e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.922 14.864

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/669413/cmap_HighResolution_460166401_460425601_4FGL_J2307.6+1451_daily_bin852.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-03', job_status='DONE', photon_flux_upper_limit='5.26e-08', time_completed='2021-09-29 07:20:41.914266', job_id='669413', GAL2='0.92', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1632925241.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.71e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='852' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:20:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 669413: <4FGL_J2307.6+1451_daily_bin852> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin852> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:05:16 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:05:18 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:05:18 2021
Terminated at Wed Sep 29 07:20:42 2021
Results reported at Wed Sep 29 07:20:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin852 346.922 14.8644 460166401 460425601 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 :                                   903.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            926 sec.

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

