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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1604
RA = 347.931, Dec = 26.0831
tmin = 655084801, tmax = 655344001
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='10739', job_status='RUN', time_executed='2021-10-08 00:28:45.028267', time_epoch_executed='1633678125.03' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1604'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10739

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10739/ft1_4FGL_J2311.7+2604_daily_bin1604.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10739/ft2_4FGL_J2311.7+2604_daily_bin1604.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10739/ft1_4FGL_J2311.7+2604_daily_bin1604.fits outfile=/scratch/kocevski/10739/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1604.fits ra=347.931 dec=26.0831 rad=12.0 tmin=655084801.0 tmax=655344001.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 2.89
user 2.68
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/10739/ft2_4FGL_J2311.7+2604_daily_bin1604.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/10739/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1604.fits evtable="EVENTS" outfile="/scratch/kocevski/10739/ft1_filtered_4FGL_J2311.7+2604_daily_bin1604.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10739/ft1_filtered_4FGL_J2311.7+2604_daily_bin1604.fits" evtable="EVENTS" scfile=/scratch/kocevski/10739/ft2_4FGL_J2311.7+2604_daily_bin1604.fits sctable="SC_DATA" outfile=/scratch/kocevski/10739/ltcube_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.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/10739/ft2_4FGL_J2311.7+2604_daily_bin1604.fits
.....................!
real 15.15
user 14.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10739/ft1_filtered_4FGL_J2311.7+2604_daily_bin1604.fits evtable="EVENTS" scfile=/scratch/kocevski/10739/ft2_4FGL_J2311.7+2604_daily_bin1604.fits sctable="SC_DATA" expcube=/scratch/kocevski/10739/ltcube_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.fits outfile=/scratch/kocevski/10739/expmap_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.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/10739/ltcube_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.fits
.....................!
real 192.97
user 185.64
sys 5.15

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/10739/ft1_filtered_4FGL_J2311.7+2604_daily_bin1604.fits scfile=/scratch/kocevski/10739/ft2_4FGL_J2311.7+2604_daily_bin1604.fits outfile=/scratch/kocevski/10739/cmap_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10739/ft1_filtered_4FGL_J2311.7+2604_daily_bin1604.fits scfile=/scratch/kocevski/10739/ft2_4FGL_J2311.7+2604_daily_bin1604.fits outfile=/scratch/kocevski/10739/cmap_HighResolution_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/10739/ft1_filtered_4FGL_J2311.7+2604_daily_bin1604.fits evtable="EVENTS" scfile=/scratch/kocevski/10739/ft2_4FGL_J2311.7+2604_daily_bin1604.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/10739/Model_4FGL_J2311.7+2604_daily_bin1604.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/10739/ft1_filtered_4FGL_J2311.7+2604_daily_bin1604.fits......................!
real 26.46
user 25.00
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/10739/ft1_filtered_4FGL_J2311.7+2604_daily_bin1604.fits', '/scratch/kocevski/10739/ft2_4FGL_J2311.7+2604_daily_bin1604.fits', expMap='/scratch/kocevski/10739/expmap_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.fits', expCube='/scratch/kocevski/10739/ltcube_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/10739/Model_4FGL_J2311.7+2604_daily_bin1604.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/10739/ft1_filtered_4FGL_J2311.7+2604_daily_bin1604.fits
Spacecraft file(s): /scratch/kocevski/10739/ft2_4FGL_J2311.7+2604_daily_bin1604.fits
Exposure map: /scratch/kocevski/10739/expmap_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.fits
Exposure cube: /scratch/kocevski/10739/ltcube_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/10739/Model_4FGL_J2311.7+2604_daily_bin1604.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) = 1302.90657187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.875       1.0000         .10000E-03   10000.    
     3 'norm      '    .11161E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .56462E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12474E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    91.510       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23459       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.9050       1.0000         .10000E-03   10000.    
    13 'Prefactor '    203.17       1.0000         .10000E-03   10000.    
    14 'Prefactor '    122.91       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10450E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.2983       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    223.57       1.0000         .10000E-03   10000.    
    20 'Prefactor '    726.97       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .49138       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86724       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=   1302.744     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2776 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    93.504       -.98105E-07** at limit **
   2  Prefactor     13.916        28.721       -.16952E-05   -.68153E-04
   3  norm          .10000E-03    11.462        .45308E-05** at limit **
   4  Prefactor     .41425        1115.3        .26561E-04    .40121E-06
   5  norm          .10000E-03    1.6120       -.48002E-07** at limit **
   6  Prefactor     .10000E-03    173.97        .66688E-06** at limit **
   7  Prefactor     91.556        43.829        .74806E-06   -.13578E-04
   8  Prefactor     .23479        .31252        .81551E-07   -.96361E-04
   9  Prefactor     .10000E-03    25.928        .15762E-06** at limit **
  10  Prefactor     .10000E-03    41.657        .62504E-06** at limit **
  11  Prefactor     .10000E-03    11.740        .44947E-07** at limit **
  12  norm          2.9087        5.2955        .19939E-05    .27767E-03
  13  Prefactor     203.34        158.45       -.49208E-05   -.70520E-04
  14  Prefactor     122.93        172.58        .13362E-05   -.12031E-04
  15  Prefactor     .10000E-03    42.887       -.64241E-06** at limit **
  16  norm          .10000E-03    44.499       -.66933E-06** at limit **
  17  Prefactor     6.2395        236.54        .95926E-05    .22931E-04
  18  Prefactor     .10000E-03    54.943        .14558E-06** at limit **
  19  Prefactor     223.58        358.55        .14640E-05    .41584E-06
  20  Prefactor     726.96        1249.6        .18712E-06    .22787E-06
  21  Normalizat    .48885        .67081        .17621E-04    .21315E-05
  22  Prefactor     .86765        .30841       -.74227E-05    .14836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.9159
  norm       = 0.0001
  Prefactor  = 0.414247
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 91.556
  Prefactor  = 0.234786
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.90871
  Prefactor  = 203.339
  Prefactor  = 122.933
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 6.23949
  Prefactor  = 0.0001
  Prefactor  = 223.583
  Prefactor  = 726.955
  Normalizat = 0.488855
  Prefactor  = 0.867646
 **********
 **   18 **HESSE 
 **********

 FCN=   1302.744     FROM HESSE     STATUS=OK           342 CALLS     3118 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    93.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.916        28.868        .10753E-03   -1.4962    
   3  norm          .10000E-03    11.381        .10116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .41425        1148.1        .58204E-02   -1.5579    
   5  norm          .10000E-03    1.6135        .44754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    174.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     91.556        43.802        .21004E-03   -1.3791    
   8  Prefactor     .23479        .30489        .22372E-04   -1.5611    
   9  Prefactor     .10000E-03    25.984        .17959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    41.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.741        .12082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.9087        5.2790        .10276E-03   -1.5367    
  13  Prefactor     203.34        159.39        .14176E-03   -1.2846    
  14  Prefactor     122.93        172.22        .18152E-03   -1.3486    
  15  Prefactor     .10000E-03    43.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    44.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.2395        236.61        .15994E-03   -1.5208    
  18  Prefactor     .10000E-03    54.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     223.58        358.66        .13528E-03   -1.2706    
  20  Prefactor     726.96        1249.7        .77030E-04   -1.0248    
  21  Normalizat    .48885        .69307        .47856E-03   -1.1293    
  22  Prefactor     .86765        .31751        .17627E-03   -.97281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26598e-10
Minuit parameter uncertainties:
  1  1.59307e-05
  2  28.8969
  3  4.15286e-05
  4  44.4922
  5  1.30474e-06
  6  2.85326e-05
  7  43.8173
  8  0.304888
  9  4.72837e-05
  10  1.46647e-05
  11  1.35961e-06
  12  5.2798
  13  159.726
  14  172.931
  15  2.22243e-05
  16  0.000472537
  17  77.1764
  18  1.81707e-05
  19  362.271
  20  1303.77
  21  0.705869
  22  0.318188
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.033e+02  1.597e+02  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:  8.676e-01  3.182e-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:  4.889e-01  7.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.16
Ra Dec: 347.931 26.083
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.94e-07 +/- 3.10e-07
Energy Flux (Fixed Index): 1.25e-04 +/- 9.78e-05

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

Saving results to:
/scratch/kocevski/10739/likelihoodResults_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.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) = 1302.50909868
delta logL = 0.235174123357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1302.47834659
delta logL = 0.265926214595

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    236.18       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8331       1.0000          .0000       10.000    
     3 'Normalizat'    .60993       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83457       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1302.478     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      266 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     236.30        227.50        .13170E-03   -.99267E-06
   2  Index         1.8339        .84439        .55393E-02   -.66959E-05
   3  Normalizat    .61016        .64280        .43246E-03   -.11613E-04
   4  Prefactor     .83446        .30611        .17993E-03    .19609E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 236.304
  Index      = 1.83386
  Normalizat = 0.610164
  Prefactor  = 0.834464
 **********
 **   18 **HESSE 
 **********

 FCN=   1302.478     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     236.30        232.05        .52682E-05   -1.2621    
   2  Index         1.8339        .86052        .22157E-03   -.68572    
   3  Normalizat    .61016        .64374        .17298E-04   -1.0755    
   4  Prefactor     .83446        .30626        .35986E-04   -.98470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61055e-11
Minuit parameter uncertainties:
  1  232.963
  2  0.867774
  3  0.6519
  4  0.30689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10739': 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) = 1302.47834597
delta logL = 0.265926840316

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.363e+02  2.330e+02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.834e+00  8.678e-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:  8.345e-01  3.069e-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:  6.102e-01  6.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.66
Ra Dec: 347.931 26.083
Photon Index (Free Index): 1.83 +/- 0.87
Photon Flux (Free Index): 1.97e-07 +/- 3.43e-07
Energy Flux (Free Index): 2.14e-04 +/- 2.78e-04

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/10739/cmap_HighResolution_655084801_655344001_4FGL_J2311.7+2604_daily_bin1604.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.56e-02', comment='SUCCESS', photon_flux='3.94e-07', energy_flux2='2.14e-04', photon_flux_error='3.10e-07', dlogl='2.66e-01', energy_flux='1.25e-04', photon_flux2='1.97e-07', job_status='DONE', time_completed='2021-10-08 00:35:10.693799', photon_index_error2='0.87', photon_index2='1.83', ts='3.16', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='9.76e-07', energy_flux_error2='2.78e-04', EG='0.49', time_epoch_completed='1633678510.69', return_code='0', job_id='10739', GAL2='0.83', EG2='0.61', return_code2='0', energy_flux_error='9.78e-05', photon_flux_error2='3.43e-07', ts2='3.66', photon_index='2.43' WHERE bin_id='1604' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  8 00:35:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 10739: <4FGL_J2311.7+2604_daily_bin1604> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1604> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Oct  8 00:25:23 2021
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct  8 00:25:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct  8 00:25:29 2021
Terminated at Fri Oct  8 00:35:11 2021
Results reported at Fri Oct  8 00:35:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1604 347.931 26.0831 655084801 655344001 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 :                                   385.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            588 sec.

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

