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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin526
RA = 346.922, Dec = 14.8644
tmin = 375667201, tmax = 375926401
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='666643', job_status='RUN', time_executed='2021-09-29 06:55:46.226496', time_epoch_executed='1632923746.23' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='526'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666643

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666643/ft1_4FGL_J2307.6+1451_daily_bin526.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666643/ft2_4FGL_J2307.6+1451_daily_bin526.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666643/ft1_4FGL_J2307.6+1451_daily_bin526.fits outfile=/scratch/kocevski/666643/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin526.fits ra=346.922 dec=14.8644 rad=12.0 tmin=375667201.0 tmax=375926401.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 4.77
user 4.53
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666643/ft1_filtered_4FGL_J2307.6+1451_daily_bin526.fits evtable="EVENTS" scfile=/scratch/kocevski/666643/ft2_4FGL_J2307.6+1451_daily_bin526.fits sctable="SC_DATA" expcube=/scratch/kocevski/666643/ltcube_375667201_375926401_4FGL_J2307.6+1451_daily_bin526.fits outfile=/scratch/kocevski/666643/expmap_375667201_375926401_4FGL_J2307.6+1451_daily_bin526.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/666643/ltcube_375667201_375926401_4FGL_J2307.6+1451_daily_bin526.fits
.....................!
real 190.48
user 185.10
sys 4.98

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/666643/ft1_filtered_4FGL_J2307.6+1451_daily_bin526.fits scfile=/scratch/kocevski/666643/ft2_4FGL_J2307.6+1451_daily_bin526.fits outfile=/scratch/kocevski/666643/cmap_375667201_375926401_4FGL_J2307.6+1451_daily_bin526.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666643/ft1_filtered_4FGL_J2307.6+1451_daily_bin526.fits scfile=/scratch/kocevski/666643/ft2_4FGL_J2307.6+1451_daily_bin526.fits outfile=/scratch/kocevski/666643/cmap_HighResolution_375667201_375926401_4FGL_J2307.6+1451_daily_bin526.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.922 yref=14.8644 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5926       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.8777       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9554       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.157       1.0000         .10000E-03   10000.    
     5 'norm      '    2.7784       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.313       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .34272       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .51561       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.4016       1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.958       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .78190E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.1253       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2453       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.099       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2751       1.0000         .10000E-03   10000.    
    20 'Prefactor '    46.561       1.0000         .10000E-03   10000.    
    21 'norm      '    .10149E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2133       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92964       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=   7355.079     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2770 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5898        16.578        .41646E-05   -.73933E-04
   2  Prefactor     6.8765        9.1827        .46160E-06   -.33589E-04
   3  Prefactor     1.9555        .34724        .38437E-07   -.10627E-02
   4  Prefactor     12.154        10.522        .81505E-06   -.22424E-04
   5  norm          2.7784        1.7400        .94062E-07    .85462E-04
   6  Prefactor     .10000E-03    13.377       -.63676E-05** at limit **
   7  Prefactor     13.308        11.412        .12877E-05   -.84115E-04
   8  Prefactor     .70098E-01    26.190       -.22737E-06    .15158E-03
   9  Prefactor     .51612        .19162        .84645E-07   -.24954E-02
  10  Prefactor     6.4004        8.3509        .38583E-06   -.12464E-03
  11  Prefactor     18.922        40.901        .26607E-04   -.42865E-04
  12  Prefactor     .10000E-03    5.0380        .59476E-06** at limit **
  13  Prefactor     .10000E-03    13.436        .65176E-05** at limit **
  14  Prefactor     .10000E-03    4.0644        .49138E-07** at limit **
  15  Prefactor     8.1190        6.8541        .38588E-05   -.26515E-03
  16  Prefactor     3.2462        8.4208       -.16366E-05   -.34924E-03
  17  Prefactor     .10000E-03    25.665       -.65696E-06** at limit **
  18  norm          10.100        9.3124        .17782E-06   -.25242E-03
  19  Prefactor     3.2741        8.4008        .26605E-05   -.49625E-03
  20  Prefactor     46.547        27.364        .21220E-04   -.53393E-04
  21  norm          .10000E-03    6.3331        .26753E-07** at limit **
  22  Prefactor     .10000E-03    2.1178        .11897E-07** at limit **
  23  Normalizat    1.2130        .24244       -.10341E-04    .66754E-04
  24  Prefactor     .92984        .12957        .65398E-06   -.60290E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.58982
  Prefactor  = 6.87654
  Prefactor  = 1.95555
  Prefactor  = 12.1541
  norm       = 2.77844
  Prefactor  = 0.0001
  Prefactor  = 13.3078
  Prefactor  = 0.0700975
  Prefactor  = 0.516121
  Prefactor  = 6.4004
  Prefactor  = 18.9218
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.11903
  Prefactor  = 3.24621
  Prefactor  = 0.0001
  norm       = 10.1
  Prefactor  = 3.27408
  Prefactor  = 46.5473
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21304
  Prefactor  = 0.929842
 **********
 **   18 **HESSE 
 **********

 FCN=   7355.079     FROM HESSE     STATUS=OK           411 CALLS     3181 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5898        16.572        .21319E-03   -1.5329    
   2  Prefactor     6.8765        9.1798        .15298E-03   -1.5183    
   3  Prefactor     1.9555        .34852        .19508E-04   -1.5428    
   4  Prefactor     12.154        10.539        .11489E-03   -1.5011    
   5  norm          2.7784        1.7413        .85939E-04   -1.5375    
   6  Prefactor     .10000E-03    13.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.308        11.403        .10978E-03   -1.4978    
   8  Prefactor     .70098E-01    33.405        .11052       -1.5655    
   9  Prefactor     .51612        .19099        .20130E-04   -1.5564    
  10  Prefactor     6.4004        8.3466        .15863E-03   -1.5202    
  11  Prefactor     18.922        40.947        .91987E-04   -1.4838    
  12  Prefactor     .10000E-03    32.975        .36512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.0652        .16886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.1190        6.8431        .14065E-03   -1.5138    
  16  Prefactor     3.2462        8.3896        .22483E-03   -1.5348    
  17  Prefactor     .10000E-03    25.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.100        9.2220        .12609E-03   -1.5072    
  19  Prefactor     3.2741        8.3134        .22375E-03   -1.5346    
  20  Prefactor     46.547        27.472        .58761E-04   -1.4342    
  21  norm          .10000E-03    6.3426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.1270        .12188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2130        .28434        .32871E-03   -.86201    
  24  Prefactor     .92984        .15340        .21456E-03   -.95106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31226e-09
Minuit parameter uncertainties:
  1  15.4331
  2  9.18167
  3  0.348522
  4  10.5411
  5  1.74132
  6  2.0173e-05
  7  11.4048
  8  3.06002
  9  0.190987
  10  8.34814
  11  41.0074
  12  0.000407887
  13  1.26755e-05
  14  5.40791e-06
  15  6.8438
  16  8.39262
  17  0.000179713
  18  9.22334
  19  8.31628
  20  27.4795
  21  1.0424e-05
  22  6.92795e-06
  23  0.284699
  24  0.153472
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  4.079e-04  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.298e-01  1.535e-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.213e+00  2.847e-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: 9.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666643/likelihoodResults_375667201_375926401_4FGL_J2307.6+1451_daily_bin526.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) = 7355.07961546
delta logL = -0.000142133059853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7354.16088846
delta logL = 0.918584861186

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22208       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9739       1.0000          .0000       10.000    
     3 'Normalizat'    1.1038       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96255       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=   7354.161     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      267 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22310        2.4427        .69443E-02    .11158E-02
   2  Index         3.9722        2.0000        .83168E-01    .17398E-03
   3  Normalizat    1.1037        .51956E-01    .77277E-01   -.30016E-04
   4  Prefactor     .96255        .30190E-01    .45797E-01   -.51574E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.2231
  Index      = 3.97216
  Normalizat = 1.10374
  Prefactor  = 0.962549
 **********
 **   18 **HESSE 
 **********

 FCN=   7354.161     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      302 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22310        6.6225        .31492E-03   -1.5614    
   2  Index         3.9722        3.7227        .42409E-02   -.20705    
   3  Normalizat    1.1037        .20654        .34204E-03   -.89632    
   4  Prefactor     .96255        .11767        .21110E-03   -.93988    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.03088e-10
Minuit parameter uncertainties:
  1  2.43079
  2  4.23026
  3  0.20669
  4  0.117699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666643': 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) = 7354.16088713
delta logL = 0.918586189508

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  2.231e-01  2.431e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  3.972e+00  4.230e+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:  9.625e-01  1.177e-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.104e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.96
Ra Dec: 346.922 14.864
Photon Index (Free Index): 3.97 +/- 4.23
Photon Flux (Free Index): 9.59e-08 +/- 7.69e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.32e-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/666643/cmap_HighResolution_375667201_375926401_4FGL_J2307.6+1451_daily_bin526.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', comment='SUCCESS', energy_flux2='1.44e-05', dlogl='9.19e-01', photon_flux2='9.59e-08', job_status='DONE', time_completed='2021-09-29 07:08:33.824447', photon_index_error2='4.23', photon_index2='3.97', ts='-0.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='9.48e-08', energy_flux_error2='1.32e-05', EG='1.21', time_epoch_completed='1632924513.82', return_code='0', job_id='666643', GAL2='0.96', EG2='1.10', return_code2='102', photon_flux_error2='7.69e-08', ts2='1.96', photon_index='2.18' WHERE bin_id='526' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:08:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 666643: <4FGL_J2307.6+1451_daily_bin526> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin526> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 06:55:35 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 06:55:36 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:36 2021
Terminated at Wed Sep 29 07:08:34 2021
Results reported at Wed Sep 29 07:08:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin526 346.922 14.8644 375667201 375926401 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 :                                   762.00 sec.
    Max Memory :                                 1077 MB
    Average Memory :                             352.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            779 sec.

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

