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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1084
RA = 346.922, Dec = 14.8644
tmin = 520300801, tmax = 520560001
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='669755', job_status='RUN', time_executed='2021-09-29 07:09:05.601167', time_epoch_executed='1632924545.6' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1084'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669755

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669755/ft1_4FGL_J2307.6+1451_daily_bin1084.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669755/ft2_4FGL_J2307.6+1451_daily_bin1084.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669755/ft1_4FGL_J2307.6+1451_daily_bin1084.fits outfile=/scratch/kocevski/669755/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1084.fits ra=346.922 dec=14.8644 rad=12.0 tmin=520300801.0 tmax=520560001.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 6.06
user 5.80
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/669755/ft1_filtered_4FGL_J2307.6+1451_daily_bin1084.fits" evtable="EVENTS" scfile=/scratch/kocevski/669755/ft2_4FGL_J2307.6+1451_daily_bin1084.fits sctable="SC_DATA" outfile=/scratch/kocevski/669755/ltcube_520300801_520560001_4FGL_J2307.6+1451_daily_bin1084.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/669755/ft2_4FGL_J2307.6+1451_daily_bin1084.fits
.....................!
real 11.93
user 11.60
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669755/ft1_filtered_4FGL_J2307.6+1451_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/669755/ft2_4FGL_J2307.6+1451_daily_bin1084.fits sctable="SC_DATA" expcube=/scratch/kocevski/669755/ltcube_520300801_520560001_4FGL_J2307.6+1451_daily_bin1084.fits outfile=/scratch/kocevski/669755/expmap_520300801_520560001_4FGL_J2307.6+1451_daily_bin1084.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/669755/ltcube_520300801_520560001_4FGL_J2307.6+1451_daily_bin1084.fits
.....................!
real 189.94
user 185.34
sys 4.24

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/669755/ft1_filtered_4FGL_J2307.6+1451_daily_bin1084.fits scfile=/scratch/kocevski/669755/ft2_4FGL_J2307.6+1451_daily_bin1084.fits outfile=/scratch/kocevski/669755/cmap_520300801_520560001_4FGL_J2307.6+1451_daily_bin1084.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/669755/ft1_filtered_4FGL_J2307.6+1451_daily_bin1084.fits scfile=/scratch/kocevski/669755/ft2_4FGL_J2307.6+1451_daily_bin1084.fits outfile=/scratch/kocevski/669755/cmap_HighResolution_520300801_520560001_4FGL_J2307.6+1451_daily_bin1084.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.725       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.497       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4591       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10381E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.826       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.524       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10432E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.004       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.2252       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.261       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.740       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .45487E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .20118E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.318       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    21.265       1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.775       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96503       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0892       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=   5251.887     FROM MIGRAD    STATUS=CONVERGED   1008 CALLS     3691 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.733        24.054        .95132E-04    .31669E-04
   2  Prefactor     16.516        32.465        .98609E-04    .41274E-04
   3  Prefactor     3.4591        .50320        .17429E-04    .96580E-03
   4  Prefactor     .10000E-03    2.8803        .12006E-02** at limit **
   5  norm          .10000E-03    .85346        .65251E-03** at limit **
   6  Prefactor     .10000E-03    26.074        .18142E-02** at limit **
   7  Prefactor     20.823        18.857        .87768E-04    .70413E-04
   8  Prefactor     29.525        28.716        .73736E-04    .52884E-04
   9  Prefactor     .10000E-03    .23345        .80832E-02** at limit **
  10  Prefactor     .10000E-03    21.765        .18142E-02** at limit **
  11  Prefactor     28.035        40.342        .75706E-04    .28532E-05
  12  Prefactor     8.2248        17.365        .13979E-03    .18087E-03
  13  Prefactor     .10000E-03    31.508        .18142E-02** at limit **
  14  Prefactor     38.283        51.846        .64797E-04   -.24739E-04
  15  Prefactor     13.686        18.225        .10806E-03    .41558E-04
  16  Prefactor     .10000E-03    9.6295        .18142E-02** at limit **
  17  Prefactor     .11473        69.640        .13077        .53080E-04
  18  norm          .10000E-03    31.435        .76707E-01** at limit **
  19  Prefactor     24.321        20.585        .81230E-04    .47471E-03
  20  Prefactor     .10000E-03    60.688        .18142E-02** at limit **
  21  norm          21.254        29.987        .86858E-04   -.45811E-05
  22  Prefactor     11.779        17.730        .11674E-03    .11589E-04
  23  Normalizat    .96464        .40610        .43455E-03    .87983E-04
  24  Prefactor     1.0893        .20569        .22741E-03    .32668E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.7327
  Prefactor  = 16.5157
  Prefactor  = 3.45914
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.8232
  Prefactor  = 29.5245
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 28.0347
  Prefactor  = 8.22475
  Prefactor  = 0.0001
  Prefactor  = 38.2834
  Prefactor  = 13.6857
  Prefactor  = 0.0001
  Prefactor  = 0.114732
  norm       = 0.0001
  Prefactor  = 24.3206
  Prefactor  = 0.0001
  norm       = 21.2544
  Prefactor  = 11.7787
  Normalizat = 0.964644
  Prefactor  = 1.08932
 **********
 **   18 **HESSE 
 **********

 FCN=   5251.887     FROM HESSE     STATUS=OK           403 CALLS     4094 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.733        24.052        .38053E-05   -1.4866    
   2  Prefactor     16.516        32.468        .39444E-05   -1.4895    
   3  Prefactor     3.4591        .50319        .34857E-05   -1.5336    
   4  Prefactor     .10000E-03    2.8803        .24012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .85347        .13050E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    26.076        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.823        18.856        .17554E-04   -1.4795    
   8  Prefactor     29.525        28.713        .14747E-04   -1.4621    
   9  Prefactor     .10000E-03    .20757        .87244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.770        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     28.035        40.335        .30282E-05   -1.4649    
  12  Prefactor     8.2248        17.365        .55916E-05   -1.5134    
  13  Prefactor     .10000E-03    31.531        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     38.283        51.811        .25919E-05   -1.4470    
  15  Prefactor     13.686        18.249        .43223E-05   -1.4968    
  16  Prefactor     .10000E-03    9.6304        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11473        70.921        .12950       -1.5640    
  18  norm          .10000E-03    28.020        .82030E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.321        20.514        .16246E-04   -1.4721    
  20  Prefactor     .10000E-03    60.700        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          21.254        29.990        .34743E-05   -1.4786    
  22  Prefactor     11.779        17.728        .46696E-05   -1.5021    
  23  Normalizat    .96464        .40643        .17382E-04   -.94224    
  24  Prefactor     1.0893        .20585        .45483E-04   -.89809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53586e-10
Minuit parameter uncertainties:
  1  24.0649
  2  32.5031
  3  0.503195
  4  1.27923e-06
  5  7.3792e-06
  6  2.85335e-06
  7  18.8618
  8  28.726
  9  2.8117e-05
  10  0.000359723
  11  40.3738
  12  17.3757
  13  0.000177165
  14  51.8718
  15  18.2561
  16  2.60993e-05
  17  5.70938
  18  0.00017995
  19  20.5203
  20  0.000102861
  21  30.0112
  22  17.7364
  23  0.407743
  24  0.205998
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  8.225e+00  1.738e+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:  1.089e+00  2.060e-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.646e-01  4.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/669755/likelihoodResults_520300801_520560001_4FGL_J2307.6+1451_daily_bin1084.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) = 5251.8832799
delta logL = 0.00399183348054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5251.88109377
delta logL = 0.00617797020641

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5312       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0662       1.0000          .0000       10.000    
     3 'Normalizat'    .97051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0867       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=   5251.881     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      249 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5374        22.755        .12981E-03   -.84286E-03
   2  Index         2.0653        1.0773        .10913E-01   -.34233E-03
   3  Normalizat    .97060        .36269        .43337E-03    .61670E-03
   4  Prefactor     1.0867        .20348        .22764E-03    .17959E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.53739
  Index      = 2.06528
  Normalizat = 0.970596
  Prefactor  = 1.08674
 **********
 **   18 **HESSE 
 **********

 FCN=   5251.881     FROM HESSE     STATUS=OK            23 CALLS      272 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5374        21.488        .25961E-04   -1.5090    
   2  Index         2.0653        1.0178        .43651E-03   -.62728    
   3  Normalizat    .97060        .36201        .86674E-04   -.94022    
   4  Prefactor     1.0867        .20313        .45529E-04   -.89891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31697e-08
Minuit parameter uncertainties:
  1  21.5055
  2  1.02881
  3  0.362925
  4  0.20327
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/669755': 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) = 5251.88109337
delta logL = 0.00617836265246

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  9.537e+00  2.151e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.065e+00  1.029e+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.087e+00  2.033e-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.706e-01  3.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
Ra Dec: 346.922 14.864

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/669755/cmap_HighResolution_520300801_520560001_4FGL_J2307.6+1451_daily_bin1084.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.86e-02', job_status='DONE', photon_flux_upper_limit='2.44e-07', time_completed='2021-09-29 07:20:12.079861', job_id='669755', GAL2='1.09', fit_tolerance='1e-08', EG2='0.97', EG='0.96', time_epoch_completed='1632925212.08', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='6.18e-03', ts2='0.27', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1084' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:20:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 669755: <4FGL_J2307.6+1451_daily_bin1084> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1084 346.922 14.8644 520300801 520560001 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 :                                   664.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            871 sec.

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

