/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 110 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 = 7473
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.7+2604_daily_bin83
RA = 347.931, Dec = 26.0831
tmin = 260841601, tmax = 261100801
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='688523', job_status='RUN', time_executed='2021-09-29 08:07:45.734272', time_epoch_executed='1632928065.73' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='83'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/688523

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/688523/ft1_4FGL_J2311.7+2604_daily_bin83.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/688523/ft2_4FGL_J2311.7+2604_daily_bin83.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/688523/ft1_4FGL_J2311.7+2604_daily_bin83.fits outfile=/scratch/kocevski/688523/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin83.fits ra=347.931 dec=26.0831 rad=12.0 tmin=260841601.0 tmax=261100801.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 1.60
user 1.40
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/688523/ft1_filtered_4FGL_J2311.7+2604_daily_bin83.fits" evtable="EVENTS" scfile=/scratch/kocevski/688523/ft2_4FGL_J2311.7+2604_daily_bin83.fits sctable="SC_DATA" outfile=/scratch/kocevski/688523/ltcube_260841601_261100801_4FGL_J2311.7+2604_daily_bin83.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/688523/ft2_4FGL_J2311.7+2604_daily_bin83.fits
.....................!
real 12.62
user 12.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/688523/ft1_filtered_4FGL_J2311.7+2604_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/688523/ft2_4FGL_J2311.7+2604_daily_bin83.fits sctable="SC_DATA" expcube=/scratch/kocevski/688523/ltcube_260841601_261100801_4FGL_J2311.7+2604_daily_bin83.fits outfile=/scratch/kocevski/688523/expmap_260841601_261100801_4FGL_J2311.7+2604_daily_bin83.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/688523/ltcube_260841601_261100801_4FGL_J2311.7+2604_daily_bin83.fits
.....................!
real 191.19
user 185.57
sys 5.25

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/688523/ft1_filtered_4FGL_J2311.7+2604_daily_bin83.fits scfile=/scratch/kocevski/688523/ft2_4FGL_J2311.7+2604_daily_bin83.fits outfile=/scratch/kocevski/688523/cmap_260841601_261100801_4FGL_J2311.7+2604_daily_bin83.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.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/688523/ft1_filtered_4FGL_J2311.7+2604_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/688523/ft2_4FGL_J2311.7+2604_daily_bin83.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/688523/Model_4FGL_J2311.7+2604_daily_bin83.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/688523/ft1_filtered_4FGL_J2311.7+2604_daily_bin83.fits.....................!
real 81.09
user 79.65
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.0584       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1219       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .85631E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .34120       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11205E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2614       1.0000         .10000E-03   10000.    
    12 'norm      '    3.8498       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3585       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .72892E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4070       1.0000         .10000E-03   10000.    
    16 'norm      '    2.2046       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18444       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.025       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77708       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1344       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=   7130.188     FROM MIGRAD    STATUS=CONVERGED    905 CALLS     3187 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.680        .18142E-02** at limit **
   2  Prefactor     .10000E-03    5.3319        .18142E-02** at limit **
   3  norm          8.0576        1.8675        .53004E-04    .58919E-03
   4  Prefactor     .10000E-03    33.171        .18142E-02** at limit **
   5  norm          1.1184        1.6076        .12353E-03    .22720E-02
   6  Prefactor     .10000E-03    18.309        .18142E-02** at limit **
   7  Prefactor     .10173E-03    12.836        .69405E-01** at limit **
   8  Prefactor     .34115        .14455        .20239E-04    .33614E-02
   9  Prefactor     .10000E-03    15.737        .18142E-02** at limit **
  10  Prefactor     .10000E-03    9.6694        .18142E-02** at limit **
  11  Prefactor     7.2592        7.7363        .14885E-03    .15169E-03
  12  norm          3.8508        1.7286        .71062E-04    .52890E-03
  13  Prefactor     3.3612        14.448        .11041E-02    .22014E-03
  14  Prefactor     .10026E-03    168.30        .70198E-02** at limit **
  15  Prefactor     1.3974        4.7992        .32850E-03    .84235E-04
  16  norm          2.2158        4.1230        .21690E-03    .44160E-03
  17  Prefactor     .10218E-03    21.125        .81157E-01** at limit **
  18  Prefactor     .10000E-03    11.940        .18142E-02** at limit **
  19  Prefactor     .10000E-03    10.858        .18142E-02** at limit **
  20  Prefactor     21.038        34.561        .87352E-04    .15295E-03
  21  Normalizat    .77735        .25657        .37678E-03    .68263E-03
  22  Prefactor     1.1344        .13808        .17778E-03    .16180E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.05764
  Prefactor  = 0.0001
  norm       = 1.11835
  Prefactor  = 0.0001
  Prefactor  = 0.000101734
  Prefactor  = 0.341153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.25918
  norm       = 3.85078
  Prefactor  = 3.36115
  Prefactor  = 0.000100264
  Prefactor  = 1.39744
  norm       = 2.21576
  Prefactor  = 0.000102184
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.0382
  Normalizat = 0.777348
  Prefactor  = 1.1344
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.188     FROM HESSE     STATUS=OK           340 CALLS     3527 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.680        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.3323        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.0576        1.8674        .21202E-05   -1.5140    
   4  Prefactor     .10000E-03    33.199        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1184        1.6052        .49410E-05   -1.5496    
   6  Prefactor     .10000E-03    18.309        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10173E-03    11.257        .75567E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .34115        .14455        .80956E-06   -1.5591    
   9  Prefactor     .10000E-03    15.749        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.6696        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.2592        7.7361        .59540E-05   -1.5169    
  12  norm          3.8508        1.7285        .28425E-05   -1.5315    
  13  Prefactor     3.3612        14.437        .44165E-04   -1.5341    
  14  Prefactor     .10026E-03    175.23        .28079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.3974        4.7977        .13140E-04   -1.5472    
  16  norm          2.2158        4.1148        .86758E-05   -1.5410    
  17  Prefactor     .10218E-03    18.384        .87952E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.941        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.859        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     21.038        34.560        .17470E-04   -1.4790    
  21  Normalizat    .77735        .25653        .75356E-04   -1.0091    
  22  Prefactor     1.1344        .13812        .35556E-04   -.88375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.144e-09
Minuit parameter uncertainties:
  1  7.32197e-05
  2  2.39264e-05
  3  1.86738
  4  8.54318e-05
  5  1.60529
  6  1.9698e-05
  7  0.00883754
  8  0.144548
  9  0.000136181
  10  1.12936e-05
  11  7.73716
  12  1.72852
  13  13.9377
  14  0.0136536
  15  4.79907
  16  4.1153
  17  0.0126776
  18  6.12019e-05
  19  3.94953e-05
  20  34.5928
  21  0.256931
  22  0.138161
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  3.361e+00  1.394e+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:  1.134e+00  1.382e-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:  7.773e-01  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/688523/likelihoodResults_260841601_261100801_4FGL_J2311.7+2604_daily_bin83.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) = 7130.15295752
delta logL = 0.0350648894992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7130.14833711
delta logL = 0.0396852969752

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3797       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0926       1.0000          .0000       10.000    
     3 'Normalizat'    .76763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1370       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=   7130.148     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      266 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3797        25.778        .13278E-02    .45673E-03
   2  Index         3.0925        3.3439        .63098E-02    .19693E-05
   3  Normalizat    .76764        .24717        .37902E-03    .59989E-07
   4  Prefactor     1.1370        .13751        .17760E-03   -.30367E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.37967
  Index      = 3.09249
  Normalizat = 0.767641
  Prefactor  = 1.13699
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.148     FROM HESSE     STATUS=OK            27 CALLS      293 TOTAL
                     EDM=   .97E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3797        11.973        .26555E-03   -1.5399    
   2  Index         3.0925        2.4193        .25239E-03   -.39142    
   3  Normalizat    .76764        .24660        .15161E-04   -1.0128    
   4  Prefactor     1.1370        .13715        .17760E-03   -.88293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.65651e-13
Minuit parameter uncertainties:
  1  10.6786
  2  2.54619
  3  0.246959
  4  0.137196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/688523': 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) = 7130.1483371
delta logL = 0.0396853022103

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.380e+00  1.068e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.092e+00  2.546e+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:  1.137e+00  1.372e-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:  7.676e-01  2.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/688523/cmap_HighResolution_260841601_261100801_4FGL_J2311.7+2604_daily_bin83.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.86e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2021-09-29 08:20:20.453742', job_id='688523', GAL2='1.14', fit_tolerance='1e-08', EG2='0.77', EG='0.78', time_epoch_completed='1632928820.45', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='3.97e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='83' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:20:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 688523: <4FGL_J2311.7+2604_daily_bin83> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin83> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 08:05:44 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:05:46 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:05:46 2021
Terminated at Wed Sep 29 08:20:21 2021
Results reported at Wed Sep 29 08:20:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin83 347.931 26.0831 260841601 261100801 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 :                                   745.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            877 sec.

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

