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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1107
RA = 347.931, Dec = 26.0831
tmin = 526262401, tmax = 526521601
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='695206', job_status='RUN', time_executed='2021-09-29 08:27:53.943646', time_epoch_executed='1632929273.94' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1107'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695206

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695206/ft1_4FGL_J2311.7+2604_daily_bin1107.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695206/ft2_4FGL_J2311.7+2604_daily_bin1107.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695206/ft1_4FGL_J2311.7+2604_daily_bin1107.fits outfile=/scratch/kocevski/695206/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1107.fits ra=347.931 dec=26.0831 rad=12.0 tmin=526262401.0 tmax=526521601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.98
user 3.75
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/695206/ft2_4FGL_J2311.7+2604_daily_bin1107.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/695206/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1107.fits evtable="EVENTS" outfile="/scratch/kocevski/695206/ft1_filtered_4FGL_J2311.7+2604_daily_bin1107.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.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695206/ft1_filtered_4FGL_J2311.7+2604_daily_bin1107.fits" evtable="EVENTS" scfile=/scratch/kocevski/695206/ft2_4FGL_J2311.7+2604_daily_bin1107.fits sctable="SC_DATA" outfile=/scratch/kocevski/695206/ltcube_526262401_526521601_4FGL_J2311.7+2604_daily_bin1107.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/695206/ft2_4FGL_J2311.7+2604_daily_bin1107.fits
.....................!
real 11.85
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695206/ft1_filtered_4FGL_J2311.7+2604_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/695206/ft2_4FGL_J2311.7+2604_daily_bin1107.fits sctable="SC_DATA" expcube=/scratch/kocevski/695206/ltcube_526262401_526521601_4FGL_J2311.7+2604_daily_bin1107.fits outfile=/scratch/kocevski/695206/expmap_526262401_526521601_4FGL_J2311.7+2604_daily_bin1107.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/695206/ltcube_526262401_526521601_4FGL_J2311.7+2604_daily_bin1107.fits
.....................!
real 191.04
user 185.36
sys 5.21

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/695206/ft1_filtered_4FGL_J2311.7+2604_daily_bin1107.fits scfile=/scratch/kocevski/695206/ft2_4FGL_J2311.7+2604_daily_bin1107.fits outfile=/scratch/kocevski/695206/cmap_526262401_526521601_4FGL_J2311.7+2604_daily_bin1107.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695206/ft1_filtered_4FGL_J2311.7+2604_daily_bin1107.fits scfile=/scratch/kocevski/695206/ft2_4FGL_J2311.7+2604_daily_bin1107.fits outfile=/scratch/kocevski/695206/cmap_HighResolution_526262401_526521601_4FGL_J2311.7+2604_daily_bin1107.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/695206/ft1_filtered_4FGL_J2311.7+2604_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/695206/ft2_4FGL_J2311.7+2604_daily_bin1107.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695206/Model_4FGL_J2311.7+2604_daily_bin1107.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/695206/ft1_filtered_4FGL_J2311.7+2604_daily_bin1107.fits.....................!
real 86.59
user 85.10
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19712E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.3091       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.2649       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.725       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11141E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .75178       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.3246       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.7422       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10177E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4189       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3841       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76398       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=   7866.873     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2373 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    276.39        .90712E-02** at limit **
   2  Prefactor     .10000E-03    4.9940        .90712E-02** at limit **
   3  norm          4.3089        1.4150        .48517E-02    .67975E-03
   4  Prefactor     .10000E-03    10.083        .90712E-02** at limit **
   5  norm          .10000E-03    .56414        .90712E-02** at limit **
   6  Prefactor     .10000E-03    86.028        .90712E-02** at limit **
   7  Prefactor     .10000E-03    3.2695        .90712E-02** at limit **
   8  Prefactor     1.2649        .23054        .39578E-02    .38494E-02
   9  Prefactor     .10000E-03    12.510        .90712E-02** at limit **
  10  Prefactor     36.728        26.506        .16533E-02    .50857E-03
  11  Prefactor     .10008E-03    3.9032        .63768E-01** at limit **
  12  norm          .75064        .93017        .18890E-01    .25484E-03
  13  Prefactor     5.3257        16.402        .43543E-02   -.49236E-03
  14  Prefactor     7.7410        20.376        .36029E-02   -.11339E-03
  15  Prefactor     .10000E-03    4.5769        .90712E-02** at limit **
  16  norm          .10000E-03    2.3953        .90712E-02** at limit **
  17  Prefactor     6.4181        13.645        .39604E-02    .17074E-02
  18  Prefactor     .10002E-03    13.362        .90712E-02** at limit **
  19  Prefactor     .10000E-03    5.4085        .90712E-02** at limit **
  20  Prefactor     .10000E-03    22.167        .90712E-02** at limit **
  21  Normalizat    1.3841        .19892        .66475E-01    .23916E-03
  22  Prefactor     .76399        .10304        .43247E-01    .36904E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 4.30888
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 1.26487
  Prefactor  = 0.000100002
  Prefactor  = 36.7284
  Prefactor  = 0.000100076
  norm       = 0.750638
  Prefactor  = 5.32575
  Prefactor  = 7.74102
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.41812
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.38405
  Prefactor  = 0.763989
 **********
 **   18 **HESSE 
 **********

 FCN=   7866.873     FROM HESSE     STATUS=OK           334 CALLS     2707 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    279.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.0044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3089        1.4148        .58067E-04   -1.5293    
   4  Prefactor     .10000E-03    10.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .57267        .65050E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    86.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.2744        .15662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.2649        .23025        .17505E-04   -1.5483    
   9  Prefactor     .10000E-03    12.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     36.728        26.491        .66133E-04   -1.4495    
  11  Prefactor     .10008E-03    18.028        .34044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .75064        .81624        .91446E-03   -1.5535    
  13  Prefactor     5.3257        16.393        .17417E-03   -1.5246    
  14  Prefactor     7.7410        20.354        .14412E-03   -1.5151    
  15  Prefactor     .10000E-03    4.6272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.4287        .13370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.4181        13.616        .79209E-03   -1.5201    
  18  Prefactor     .10002E-03    13.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.4179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3841        .23268        .29406E-03   -.81091    
  22  Prefactor     .76399        .12044        .19969E-03   -1.0107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.28894e-09
Minuit parameter uncertainties:
  1  0.00144678
  2  1.99671e-05
  3  1.41486
  4  6.86861e-05
  5  1.53968e-05
  6  0.000832747
  7  8.84328e-06
  8  0.230253
  9  0.000324228
  10  26.4993
  11  0.00234517
  12  0.816249
  13  16.4066
  14  20.3724
  15  3.00178e-05
  16  2.12552e-05
  17  13.6228
  18  0.00102786
  19  2.04362e-05
  20  0.000327458
  21  0.232861
  22  0.120485
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  5.326e+00  1.641e+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.640e-01  1.205e-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.384e+00  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 9.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695206/likelihoodResults_526262401_526521601_4FGL_J2311.7+2604_daily_bin1107.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) = 7866.79601821
delta logL = 0.0773881745617

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7866.78504561
delta logL = 0.0883607737223

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6342       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1050       1.0000          .0000       10.000    
     3 'Normalizat'    1.3706       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76734       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7866.785     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      253 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6242        14.294        .10596E-02    .32313E-03
   2  Index         3.1059        2.0249        .43753E-02    .53215E-04
   3  Normalizat    1.3706        .23175        .29527E-03   -.73154E-05
   4  Prefactor     .76735        .11990        .19928E-03   -.11467E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.62421
  Index      = 3.1059
  Normalizat = 1.3706
  Prefactor  = 0.76735
 **********
 **   18 **HESSE 
 **********

 FCN=   7866.785     FROM HESSE     STATUS=OK            27 CALLS      280 TOTAL
                     EDM=   .78E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6242        11.622        .21192E-03   -1.5327    
   2  Index         3.1059        1.6653        .87506E-03   -.38852    
   3  Normalizat    1.3706        .23196        .11811E-04   -.81483    
   4  Prefactor     .76735        .11993        .79712E-05   -1.0094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.79415e-14
Minuit parameter uncertainties:
  1  11.6296
  2  1.7035
  3  0.232136
  4  0.119973
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695206': 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) = 7866.78504513
delta logL = 0.0883612581656

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  3.624e+00  1.163e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.106e+00  1.703e+00  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.673e-01  1.200e-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.371e+00  2.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 347.931 26.083

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/695206/cmap_HighResolution_526262401_526521601_4FGL_J2311.7+2604_daily_bin1107.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.28e-03', job_status='DONE', photon_flux_upper_limit='9.40e-08', time_completed='2021-09-29 08:41:54.981546', job_id='695206', GAL2='0.77', fit_tolerance='1e-08', EG2='1.37', EG='1.38', time_epoch_completed='1632930114.98', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='8.84e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1107' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:41:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 695206: <4FGL_J2311.7+2604_daily_bin1107> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1107> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 08:25:33 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:25:35 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:25:35 2021
Terminated at Wed Sep 29 08:41:55 2021
Results reported at Wed Sep 29 08:41:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1107 347.931 26.0831 526262401 526521601 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 :                                   731.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            982 sec.

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

