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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin739
RA = 347.931, Dec = 26.0831
tmin = 430876801, tmax = 431136001
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='691900', job_status='RUN', time_executed='2021-09-29 08:18:50.489943', time_epoch_executed='1632928730.49' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/691900

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/691900/ft1_4FGL_J2311.7+2604_daily_bin739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/691900/ft2_4FGL_J2311.7+2604_daily_bin739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/691900/ft1_4FGL_J2311.7+2604_daily_bin739.fits outfile=/scratch/kocevski/691900/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin739.fits ra=347.931 dec=26.0831 rad=12.0 tmin=430876801.0 tmax=431136001.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 5.40
user 5.15
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/691900/ft2_4FGL_J2311.7+2604_daily_bin739.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/691900/ft2_4FGL_J2311.7+2604_daily_bin739.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/691900/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin739.fits evtable="EVENTS" outfile="/scratch/kocevski/691900/ft1_filtered_4FGL_J2311.7+2604_daily_bin739.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/691900/ft1_filtered_4FGL_J2311.7+2604_daily_bin739.fits" evtable="EVENTS" scfile=/scratch/kocevski/691900/ft2_4FGL_J2311.7+2604_daily_bin739.fits sctable="SC_DATA" outfile=/scratch/kocevski/691900/ltcube_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.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/691900/ft2_4FGL_J2311.7+2604_daily_bin739.fits
.....................!
real 12.38
user 11.98
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/691900/ft1_filtered_4FGL_J2311.7+2604_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/691900/ft2_4FGL_J2311.7+2604_daily_bin739.fits sctable="SC_DATA" expcube=/scratch/kocevski/691900/ltcube_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.fits outfile=/scratch/kocevski/691900/expmap_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.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/691900/ltcube_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.fits
.....................!
real 192.20
user 186.62
sys 4.99

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2311.7+2604 @ 347.931 26.0831

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/691900/ft1_filtered_4FGL_J2311.7+2604_daily_bin739.fits scfile=/scratch/kocevski/691900/ft2_4FGL_J2311.7+2604_daily_bin739.fits outfile=/scratch/kocevski/691900/cmap_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.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=347.931 yref=26.0831 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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/691900/ft1_filtered_4FGL_J2311.7+2604_daily_bin739.fits scfile=/scratch/kocevski/691900/ft2_4FGL_J2311.7+2604_daily_bin739.fits outfile=/scratch/kocevski/691900/cmap_HighResolution_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.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=347.931 yref=26.0831 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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/691900/ft1_filtered_4FGL_J2311.7+2604_daily_bin739.fits evtable="EVENTS" scfile=/scratch/kocevski/691900/ft2_4FGL_J2311.7+2604_daily_bin739.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/691900/Model_4FGL_J2311.7+2604_daily_bin739.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/691900/ft1_filtered_4FGL_J2311.7+2604_daily_bin739.fits.....................!
real 84.86
user 83.43
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/691900/ft1_filtered_4FGL_J2311.7+2604_daily_bin739.fits', '/scratch/kocevski/691900/ft2_4FGL_J2311.7+2604_daily_bin739.fits', expMap='/scratch/kocevski/691900/expmap_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.fits', expCube='/scratch/kocevski/691900/ltcube_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/691900/Model_4FGL_J2311.7+2604_daily_bin739.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.7+2604'

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.423e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/691900/ft1_filtered_4FGL_J2311.7+2604_daily_bin739.fits
Spacecraft file(s): /scratch/kocevski/691900/ft2_4FGL_J2311.7+2604_daily_bin739.fits
Exposure map: /scratch/kocevski/691900/expmap_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.fits
Exposure cube: /scratch/kocevski/691900/ltcube_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/691900/Model_4FGL_J2311.7+2604_daily_bin739.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) = 7157.74452047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.712       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1663       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1103       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3348       1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.495       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.9711       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.730       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.804       1.0000         .10000E-03   10000.    
    16 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.168       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.7776       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1209       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .73089       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7157.742     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2362 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.798        .59840E-05** at limit **
   2  Prefactor     21.715        15.627       -.16632E-05    .32717E-04
   3  norm          1.1659        1.0544       -.68543E-07    .14648E-03
   4  Prefactor     .10000E-03    30.288       -.10183E-04** at limit **
   5  norm          1.1096        1.8142       -.17921E-06   -.62254E-03
   6  Prefactor     .10000E-03    20.009        .90237E-05** at limit **
   7  Prefactor     .10000E-03    13.387       -.57239E-05** at limit **
   8  Prefactor     6.3349        .48390       -.48303E-08    .69648E-03
   9  Prefactor     31.497        18.893       -.36480E-05    .74243E-04
  10  Prefactor     .10000E-03    17.186       -.17798E-04** at limit **
  11  Prefactor     .10000E-03    7.5020       -.70274E-08** at limit **
  12  norm          2.9711        1.8379       -.78073E-07    .72549E-05
  13  Prefactor     32.732        29.479       -.47422E-05    .63084E-06
  14  Prefactor     .10000E-03    14.448        .12712E-04** at limit **
  15  Prefactor     27.806        12.566       -.22123E-06    .16577E-04
  16  norm          .10000E-03    3.6184        .27543E-07** at limit **
  17  Prefactor     26.169        26.808       -.17277E-05   -.19153E-04
  18  Prefactor     .10000E-03    9.7468        .42980E-07** at limit **
  19  Prefactor     .10000E-03    37.829        .65377E-05** at limit **
  20  Prefactor     9.6716        59.906       -.14475E-04   -.38729E-05
  21  Normalizat    1.1208        .27801        .34285E-05    .44445E-04
  22  Prefactor     .73098        .12936        .56584E-06    .21713E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 21.7148
  norm       = 1.16588
  Prefactor  = 0.0001
  norm       = 1.10963
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.33488
  Prefactor  = 31.4971
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.97115
  Prefactor  = 32.7316
  Prefactor  = 0.0001
  Prefactor  = 27.8059
  norm       = 0.0001
  Prefactor  = 26.1686
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.67161
  Normalizat = 1.12075
  Prefactor  = 0.730976
 **********
 **   18 **HESSE 
 **********

 FCN=   7157.742     FROM HESSE     STATUS=OK           346 CALLS     2708 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.715        15.681        .85960E-04   -1.4776    
   3  norm          1.1659        1.0518        .77835E-04   -1.5492    
   4  Prefactor     .10000E-03    30.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1096        1.5335        .14017E-02   -1.5497    
   6  Prefactor     .10000E-03    20.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.3349        .48426        .15621E-04   -1.5205    
   9  Prefactor     31.497        18.895        .71397E-04   -1.4585    
  10  Prefactor     .10000E-03    17.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.5642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.9711        1.8358        .86584E-04   -1.5363    
  13  Prefactor     32.732        29.506        .70041E-04   -1.4563    
  14  Prefactor     .10000E-03    14.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.806        12.580        .75977E-04   -1.4653    
  16  norm          .10000E-03    3.6328        .15701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.169        26.837        .78312E-04   -1.4684    
  18  Prefactor     .10000E-03    9.7499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    37.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.6716        60.082        .12815E-03   -1.5086    
  21  Normalizat    1.1208        .33038        .39616E-03   -.89088    
  22  Prefactor     .73098        .15413        .23351E-03   -1.0233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70763e-10
Minuit parameter uncertainties:
  1  4.55485e-06
  2  15.6835
  3  1.05182
  4  1.99637e-05
  5  1.53357
  6  2.06516e-06
  7  6.74461e-05
  8  0.484255
  9  18.899
  10  4.94034e-06
  11  1.00942e-05
  12  1.8358
  13  29.5192
  14  7.13563e-06
  15  12.5817
  16  4.52934e-06
  17  26.849
  18  3.29448e-06
  19  1.68362e-05
  20  48.2833
  21  0.330989
  22  0.154216
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  3.273e+01  2.952e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  7.310e-01  1.542e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.121e+00  3.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.94
Ra Dec: 347.931 26.083
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 6.35e-08 +/- 5.72e-08
Energy Flux (Fixed Index): 2.00e-05 +/- 1.81e-05

TS (Fixed Index): 1.94
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 1.95e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.51e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/691900/likelihoodResults_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.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) = 7157.73096169
delta logL = 0.0111353177945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7157.72574465
delta logL = 0.0163523591127

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.469       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5647       1.0000          .0000       10.000    
     3 'Normalizat'    1.1134       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73321       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7157.726     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      236 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.469        783.94        .18451E-02    .20082E-03
   2  Index         2.5647        6.2037        .16816        .96085E-04
   3  Normalizat    1.1133        .13828        .89700E-01    .16737E-04
   4  Prefactor     .73326        .52166E-01    .42842E-01    .11462E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.4687
  Index      = 2.56472
  Normalizat = 1.1133
  Prefactor  = 0.733255
 **********
 **   18 **HESSE 
 **********

 FCN=   7157.726     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.469        34.786        .73805E-04   -1.4622    
   2  Index         2.5647        .80189        .89442E-02   -.50871    
   3  Normalizat    1.1133        .31596        .39730E-03   -.89326    
   4  Prefactor     .73326        .15338        .23317E-03   -1.0224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02379e-09
Minuit parameter uncertainties:
  1  34.81
  2  0.80647
  3  0.316503
  4  0.153465
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/691900': 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) = 7157.7257446
delta logL = 0.0163524127702

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.947e+01  3.481e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.565e+00  8.065e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  7.333e-01  1.535e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.113e+00  3.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.94
Ra Dec: 347.931 26.083
Photon Index (Free Index): 2.56 +/- 0.81
Photon Flux (Free Index): 7.15e-08 +/- 7.53e-08
Energy Flux (Free Index): 1.94e-05 +/- 1.77e-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/691900/cmap_HighResolution_430876801_431136001_4FGL_J2311.7+2604_daily_bin739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-02', comment='SUCCESS', photon_flux='6.35e-08', energy_flux2='1.94e-05', photon_flux_error='5.72e-08', dlogl='1.64e-02', energy_flux='2.00e-05', photon_flux2='7.15e-08', job_status='DONE', time_completed='2021-09-29 08:30:36.521566', photon_index_error2='0.81', photon_index2='2.56', ts='1.94', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='1.95e-07', energy_flux_error2='1.77e-05', EG='1.12', time_epoch_completed='1632929436.52', return_code='0', job_id='691900', GAL2='0.73', EG2='1.11', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='7.53e-08', ts2='1.94', photon_index='2.43' WHERE bin_id='739' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:30:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 691900: <4FGL_J2311.7+2604_daily_bin739> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin739> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 08:16:04 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:16:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 08:16:06 2021
Terminated at Wed Sep 29 08:30:37 2021
Results reported at Wed Sep 29 08:30:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin739 347.931 26.0831 430876801 431136001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.7+2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   700.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            873 sec.

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

