/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 204 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 = 7683
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin378
RA = 347.766, Dec = 2.0995
tmin = 337305601, tmax = 337564801
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='675612', job_status='RUN', time_executed='2021-09-29 07:28:47.170026', time_epoch_executed='1632925727.17' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='378'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675612

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675612/ft1_4FGL_J2311.0+0205_daily_bin378.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675612/ft2_4FGL_J2311.0+0205_daily_bin378.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675612/ft1_4FGL_J2311.0+0205_daily_bin378.fits outfile=/scratch/kocevski/675612/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin378.fits ra=347.766 dec=2.0995 rad=12.0 tmin=337305601.0 tmax=337564801.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 7.44
user 7.19
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/675612/ft2_4FGL_J2311.0+0205_daily_bin378.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/675612/ft2_4FGL_J2311.0+0205_daily_bin378.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/675612/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin378.fits evtable="EVENTS" outfile="/scratch/kocevski/675612/ft1_filtered_4FGL_J2311.0+0205_daily_bin378.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675612/ft1_filtered_4FGL_J2311.0+0205_daily_bin378.fits" evtable="EVENTS" scfile=/scratch/kocevski/675612/ft2_4FGL_J2311.0+0205_daily_bin378.fits sctable="SC_DATA" outfile=/scratch/kocevski/675612/ltcube_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.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/675612/ft2_4FGL_J2311.0+0205_daily_bin378.fits
.....................!
real 12.83
user 11.89
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675612/ft1_filtered_4FGL_J2311.0+0205_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/675612/ft2_4FGL_J2311.0+0205_daily_bin378.fits sctable="SC_DATA" expcube=/scratch/kocevski/675612/ltcube_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.fits outfile=/scratch/kocevski/675612/expmap_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.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/675612/ltcube_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.fits
.....................!
real 190.50
user 185.12
sys 4.98

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.0+0205 @ 347.766 2.0995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/675612/ft1_filtered_4FGL_J2311.0+0205_daily_bin378.fits scfile=/scratch/kocevski/675612/ft2_4FGL_J2311.0+0205_daily_bin378.fits outfile=/scratch/kocevski/675612/cmap_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.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.766 yref=2.0995 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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675612/ft1_filtered_4FGL_J2311.0+0205_daily_bin378.fits scfile=/scratch/kocevski/675612/ft2_4FGL_J2311.0+0205_daily_bin378.fits outfile=/scratch/kocevski/675612/cmap_HighResolution_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.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.766 yref=2.0995 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/675612/ft1_filtered_4FGL_J2311.0+0205_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/675612/ft2_4FGL_J2311.0+0205_daily_bin378.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/675612/Model_4FGL_J2311.0+0205_daily_bin378.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/675612/ft1_filtered_4FGL_J2311.0+0205_daily_bin378.fits.....................!
real 56.89
user 55.52
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/675612/ft1_filtered_4FGL_J2311.0+0205_daily_bin378.fits', '/scratch/kocevski/675612/ft2_4FGL_J2311.0+0205_daily_bin378.fits', expMap='/scratch/kocevski/675612/expmap_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.fits', expCube='/scratch/kocevski/675612/ltcube_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/675612/Model_4FGL_J2311.0+0205_daily_bin378.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.0+0205'

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.504e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/675612/ft1_filtered_4FGL_J2311.0+0205_daily_bin378.fits
Spacecraft file(s): /scratch/kocevski/675612/ft2_4FGL_J2311.0+0205_daily_bin378.fits
Exposure map: /scratch/kocevski/675612/expmap_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.fits
Exposure cube: /scratch/kocevski/675612/ltcube_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/675612/Model_4FGL_J2311.0+0205_daily_bin378.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) = 5369.36777928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5801       1.0000         .10000E-03   10000.    
     2 'norm      '    25.874       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6260       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.315       1.0000         .10000E-03   10000.    
     6 'Prefactor '    63.354       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .84642       1.0000         .10000E-03   10000.    
     9 'norm      '    .92921       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    144.79       1.0000         .10000E-03   10000.    
    12 'norm      '    .10225E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.137       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3633       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    25.634       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    71.079       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93388       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99968       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5369.351     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2536 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5803        9.0106        .69201E-08    .14452E-06
   2  norm          25.871        19.406        .12505E-07    .99866E-05
   3  Prefactor     1.6287        124.31        .12333E-04   -.10889E-04
   4  Prefactor     .10000E-03    3.5849        .26754E-08** at limit **
   5  Prefactor     18.310        28.394        .41512E-06   -.24133E-05
   6  Prefactor     63.370        54.089       -.10437E-05    .31392E-04
   7  Prefactor     .10000E-03    3.5038        .16011E-06** at limit **
   8  norm          .84662        .78174       -.17400E-07   -.86908E-04
   9  norm          .92182        2.9290        .74020E-07   -.37529E-04
  10  Prefactor     .10000E-03    8.5315       -.42462E-08** at limit **
  11  Prefactor     144.82        94.364       -.22003E-05    .12518E-04
  12  norm          .10000E-03    21.786       -.94341E-07** at limit **
  13  Prefactor     24.135        12.313        .32172E-07    .78287E-05
  14  Prefactor     .10000E-03    105.63       -.92984E-06** at limit **
  15  Prefactor     3.3357        16.710        .37415E-05    .39841E-04
  16  Prefactor     .10000E-03    14.667       -.13888E-08** at limit **
  17  norm          25.665        27.896       -.22520E-05   -.17678E-04
  18  Prefactor     .10000E-03    41.594       -.93334E-06** at limit **
  19  Prefactor     .10000E-03    1.7690       -.13414E-06** at limit **
  20  Prefactor     71.080        49.696       -.46861E-07   -.70715E-05
  21  Prefactor     .10000E-03    39.497        .53389E-06** at limit **
  22  Normalizat    .93408        .24753       -.62391E-06   -.97958E-05
  23  Prefactor     .99958        .14641        .21329E-06   -.20795E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.58034
  norm       = 25.8713
  Prefactor  = 1.6287
  Prefactor  = 0.0001
  Prefactor  = 18.3097
  Prefactor  = 63.3702
  Prefactor  = 0.0001
  norm       = 0.846622
  norm       = 0.921815
  Prefactor  = 0.0001
  Prefactor  = 144.82
  norm       = 0.0001
  Prefactor  = 24.1352
  Prefactor  = 0.0001
  Prefactor  = 3.33569
  Prefactor  = 0.0001
  norm       = 25.665
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 71.0798
  Prefactor  = 0.0001
  Normalizat = 0.934079
  Prefactor  = 0.999582
 **********
 **   18 **HESSE 
 **********

 FCN=   5369.351     FROM HESSE     STATUS=OK           372 CALLS     2908 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5803        9.0113        .14566E-03   -1.5157    
   2  norm          25.871        19.502        .78755E-04   -1.4690    
   3  Prefactor     1.6287        124.16        .16588E-02   -1.5453    
   4  Prefactor     .10000E-03    3.5865        .13550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.310        28.419        .93586E-04   -1.4852    
   6  Prefactor     63.370        53.798        .50416E-04   -1.4114    
   7  Prefactor     .10000E-03    3.5104        .13393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .84662        .78087        .59374E-04   -1.5524    
   9  norm          .92182        2.5911        .21688E-02   -1.5516    
  10  Prefactor     .10000E-03    8.6132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     144.82        94.223        .16743E-03   -1.3295    
  12  norm          .10000E-03    22.378        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.135        12.287        .81534E-04   -1.4725    
  14  Prefactor     .10000E-03    105.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.3357        16.838        .22066E-03   -1.5343    
  16  Prefactor     .10000E-03    14.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          25.665        27.875        .79121E-04   -1.4694    
  18  Prefactor     .10000E-03    41.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.7823        .95118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     71.080        49.798        .47616E-04   -1.4020    
  21  Prefactor     .10000E-03    40.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .93408        .28775        .32414E-03   -.95273    
  23  Prefactor     .99958        .17076        .20409E-03   -.92743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.33753e-09
Minuit parameter uncertainties:
  1  9.01292
  2  19.5063
  3  28.5009
  4  8.06791e-07
  5  28.4402
  6  53.8393
  7  1.01468e-05
  8  0.780877
  9  2.59145
  10  4.17924e-06
  11  94.3212
  12  1.19002e-05
  13  12.2885
  14  1.98255e-05
  15  14.9951
  16  2.47901e-06
  17  27.8896
  18  4.68853e-05
  19  6.24389e-06
  20  49.8268
  21  9.50282e-05
  22  0.288225
  23  0.170853
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.831e+01  2.844e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.996e-01  1.709e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  9.341e-01  2.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 1.52e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675612/likelihoodResults_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.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) = 5368.76690987
delta logL = 0.583709391963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5368.76259106
delta logL = 0.588028206447

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4337       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1167       1.0000          .0000       10.000    
     3 'Normalizat'    .86428       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0225       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+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=   5368.763     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      284 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4268        23.166        .13048E-03   -.16564E-03
   2  Index         3.1170        1.2497        .52763E-02   -.70487E-04
   3  Normalizat    .86428        .26944        .33544E-03    .70868E-04
   4  Prefactor     1.0225        .17052        .20189E-03    .11465E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.42685
  Index      = 3.11705
  Normalizat = 0.864281
  Prefactor  = 1.02247
 **********
 **   18 **HESSE 
 **********

 FCN=   5368.763     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4268        16.400        .52191E-05   -1.5094    
   2  Index         3.1170        .88768        .21105E-03   -.38611    
   3  Normalizat    .86428        .26852        .13418E-04   -.97727    
   4  Prefactor     1.0225        .16972        .40378E-04   -.91984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49154e-10
Minuit parameter uncertainties:
  1  16.408
  2  0.893208
  3  0.268932
  4  0.169805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675612': 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) = 5368.76259093
delta logL = 0.58802834047

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  9.427e+00  1.641e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.117e+00  8.932e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.022e+00  1.698e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  8.643e-01  2.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 347.766 2.099
Photon Index (Free Index): 3.12 +/- 0.89
Photon Flux (Free Index): 9.92e-08 +/- 8.91e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.62e-05

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/675612/cmap_HighResolution_337305601_337564801_4FGL_J2311.0+0205_daily_bin378.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', comment='SUCCESS', energy_flux2='1.88e-05', dlogl='5.88e-01', photon_flux2='9.92e-08', job_status='DONE', time_completed='2021-09-29 07:39:10.025571', photon_index_error2='0.89', photon_index2='3.12', ts='0.56', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.52e-07', energy_flux_error2='1.62e-05', EG='0.93', time_epoch_completed='1632926350.03', return_code='0', job_id='675612', GAL2='1.02', EG2='0.86', return_code2='0', photon_flux_error2='8.91e-08', ts2='1.97', photon_index='2.19' WHERE bin_id='378' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:39:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 675612: <4FGL_J2311.0+0205_daily_bin378> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin378> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:25:12 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:25:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:25:13 2021
Terminated at Wed Sep 29 07:39:10 2021
Results reported at Wed Sep 29 07:39:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin378 347.766 2.0995 337305601 337564801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+0205 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   619.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            838 sec.

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

