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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin166
RA = 347.766, Dec = 2.0995
tmin = 282355201, tmax = 282614401
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='672950', job_status='RUN', time_executed='2021-09-29 07:19:35.843111', time_epoch_executed='1632925175.84' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='166'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672950

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672950/ft1_4FGL_J2311.0+0205_daily_bin166.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672950/ft2_4FGL_J2311.0+0205_daily_bin166.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672950/ft1_4FGL_J2311.0+0205_daily_bin166.fits outfile=/scratch/kocevski/672950/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin166.fits ra=347.766 dec=2.0995 rad=12.0 tmin=282355201.0 tmax=282614401.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.67
user 3.47
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/672950/ft2_4FGL_J2311.0+0205_daily_bin166.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/672950/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin166.fits evtable="EVENTS" outfile="/scratch/kocevski/672950/ft1_filtered_4FGL_J2311.0+0205_daily_bin166.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.52
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672950/ft1_filtered_4FGL_J2311.0+0205_daily_bin166.fits" evtable="EVENTS" scfile=/scratch/kocevski/672950/ft2_4FGL_J2311.0+0205_daily_bin166.fits sctable="SC_DATA" outfile=/scratch/kocevski/672950/ltcube_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.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/672950/ft2_4FGL_J2311.0+0205_daily_bin166.fits
.....................!
real 11.61
user 11.26
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672950/ft1_filtered_4FGL_J2311.0+0205_daily_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/672950/ft2_4FGL_J2311.0+0205_daily_bin166.fits sctable="SC_DATA" expcube=/scratch/kocevski/672950/ltcube_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.fits outfile=/scratch/kocevski/672950/expmap_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.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/672950/ltcube_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.fits
.....................!
real 192.81
user 188.01
sys 4.43

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/672950/ft1_filtered_4FGL_J2311.0+0205_daily_bin166.fits scfile=/scratch/kocevski/672950/ft2_4FGL_J2311.0+0205_daily_bin166.fits outfile=/scratch/kocevski/672950/cmap_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672950/ft1_filtered_4FGL_J2311.0+0205_daily_bin166.fits scfile=/scratch/kocevski/672950/ft2_4FGL_J2311.0+0205_daily_bin166.fits outfile=/scratch/kocevski/672950/cmap_HighResolution_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.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.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/672950/ft1_filtered_4FGL_J2311.0+0205_daily_bin166.fits', '/scratch/kocevski/672950/ft2_4FGL_J2311.0+0205_daily_bin166.fits', expMap='/scratch/kocevski/672950/expmap_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.fits', expCube='/scratch/kocevski/672950/ltcube_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/672950/Model_4FGL_J2311.0+0205_daily_bin166.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/672950/ft1_filtered_4FGL_J2311.0+0205_daily_bin166.fits
Spacecraft file(s): /scratch/kocevski/672950/ft2_4FGL_J2311.0+0205_daily_bin166.fits
Exposure map: /scratch/kocevski/672950/expmap_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.fits
Exposure cube: /scratch/kocevski/672950/ltcube_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/672950/Model_4FGL_J2311.0+0205_daily_bin166.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) = 7878.06921145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5443       1.0000         .10000E-03   10000.    
     2 'norm      '    27.227       1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.934       1.0000         .10000E-03   10000.    
     4 'Prefactor '    56.475       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1848       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7268       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.6393       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.362       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0073       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.554       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .80553       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97126       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=   7878.047     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2597 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5445        4.5608        .27012E-06   -.28144E-04
   2  norm          27.225        14.497        .74886E-07   -.69199E-05
   3  Prefactor     40.901        38.426       -.81489E-07   -.76657E-04
   4  Prefactor     56.474        20.863        .80814E-07    .21859E-04
   5  Prefactor     6.1846        8.3701        .34602E-07   -.52768E-05
   6  Prefactor     .10000E-03    16.277        .16163E-06** at limit **
   7  Prefactor     .10000E-03    2.8168       -.83000E-07** at limit **
   8  norm          .10000E-03    .26949       -.36179E-07** at limit **
   9  norm          1.7265        3.8558        .86122E-06   -.39334E-04
  10  Prefactor     .10000E-03    2.7153        .11629E-07** at limit **
  11  Prefactor     .10000E-03    20.717       -.31019E-06** at limit **
  12  norm          .10000E-03    8.1020        .22407E-06** at limit **
  13  Prefactor     4.6370        7.1997        .45892E-06   -.52540E-05
  14  Prefactor     .10000E-03    154.68       -.23055E-06** at limit **
  15  Prefactor     12.362        8.9092       -.42062E-06   -.13194E-03
  16  Prefactor     .10000E-03    17.265        .30146E-06** at limit **
  17  norm          .10000E-03    11.326       -.19243E-07** at limit **
  18  Prefactor     .10000E-03    12.222       -.22292E-06** at limit **
  19  Prefactor     1.0084        3.1707        .16532E-05   -.15474E-04
  20  Prefactor     11.552        20.017        .62118E-07   -.12238E-04
  21  Prefactor     .10000E-03    30.785        .45664E-06** at limit **
  22  Normalizat    .80564        .18600       -.43204E-06   -.67381E-04
  23  Prefactor     .97121        .11462       -.14188E-06   -.84060E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.54446
  norm       = 27.2251
  Prefactor  = 40.9006
  Prefactor  = 56.4735
  Prefactor  = 6.1846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.72654
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.63697
  Prefactor  = 0.0001
  Prefactor  = 12.362
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.00839
  Prefactor  = 11.5525
  Prefactor  = 0.0001
  Normalizat = 0.805643
  Prefactor  = 0.971207
 **********
 **   18 **HESSE 
 **********

 FCN=   7878.047     FROM HESSE     STATUS=OK           368 CALLS     2965 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5445        4.5412        .24746E-03   -1.5389    
   2  norm          27.225        14.536        .76776E-04   -1.4664    
   3  Prefactor     40.901        38.534        .62653E-04   -1.4428    
   4  Prefactor     56.474        20.851        .53380E-04   -1.4204    
   5  Prefactor     6.1846        8.3656        .16142E-03   -1.5211    
   6  Prefactor     .10000E-03    16.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.8263        .14543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .38283        .88817E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7265        3.8264        .24965E-03   -1.5445    
  10  Prefactor     .10000E-03    2.7217        .14282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    8.2951        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.6370        7.1602        .18686E-03   -1.5277    
  14  Prefactor     .10000E-03    154.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.362        8.8629        .11393E-03   -1.5005    
  16  Prefactor     .10000E-03    17.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    11.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.0084        3.1641        .25864E-03   -1.5507    
  20  Prefactor     11.552        20.016        .11786E-03   -1.5028    
  21  Prefactor     .10000E-03    31.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .80564        .21419        .32651E-03   -.99860    
  23  Prefactor     .97121        .13291        .19601E-03   -.93696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.03724e-11
Minuit parameter uncertainties:
  1  4.54178
  2  14.5376
  3  38.5571
  4  20.8541
  5  8.36715
  6  5.61773e-05
  7  8.0786e-06
  8  1.47066e-06
  9  3.82697
  10  7.33184e-08
  11  0.000139198
  12  2.11917e-05
  13  7.16155
  14  0.000200958
  15  8.8638
  16  4.93079e-05
  17  1.91304e-05
  18  7.69251e-05
  19  3.1646
  20  20.0275
  21  8.01661e-05
  22  0.214419
  23  0.132956
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.185e+00  8.367e+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

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.712e-01  1.330e-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.056e-01  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.16e-08 +/- 1.57e-08
Energy Flux (Fixed Index): 5.35e-06 +/- 7.24e-06

TS (Fixed Index): 1.09
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 6.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672950/likelihoodResults_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.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) = 7877.80062625
delta logL = 0.246454383671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7877.79500827
delta logL = 0.252072361171

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3058       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5878       1.0000          .0000       10.000    
     3 'Normalizat'    .81197       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96895       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=   7877.795     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      271 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3073        9.3548        .14839E-03   -.11798E-03
   2  Index         1.5881        .75607        .14044E-01   -.13964E-03
   3  Normalizat    .81206        .20109        .32529E-03   -.36044E-03
   4  Prefactor     .96893        .13243        .19617E-03   -.49452E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.30733
  Index      = 1.58809
  Normalizat = 0.812059
  Prefactor  = 0.968933
 **********
 **   18 **HESSE 
 **********

 FCN=   7877.795     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3073        9.4436        .59357E-05   -1.5167    
   2  Index         1.5881        .76351        .28088E-02   -.75102    
   3  Normalizat    .81206        .20123        .13012E-04   -.99623    
   4  Prefactor     .96893        .13253        .39235E-04   -.93772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9804e-10
Minuit parameter uncertainties:
  1  9.4455
  2  0.76918
  3  0.201415
  4  0.132571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672950': 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) = 7877.79500799
delta logL = 0.252072635949

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  7.307e+00  9.445e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.588e+00  7.692e-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:  9.689e-01  1.326e-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.121e-01  2.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.60
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.59 +/- 0.77
Photon Flux (Free Index): 6.20e-09 +/- 1.01e-08
Energy Flux (Free Index): 1.46e-05 +/- 2.86e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/672950/cmap_HighResolution_282355201_282614401_4FGL_J2311.0+0205_daily_bin166.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-03', comment='SUCCESS', photon_flux='1.16e-08', energy_flux2='1.46e-05', photon_flux_error='1.57e-08', dlogl='2.52e-01', energy_flux='5.35e-06', photon_flux2='6.20e-09', job_status='DONE', time_completed='2021-09-29 07:32:00.866514', photon_index_error2='0.77', photon_index2='1.59', ts='1.09', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='6.22e-08', energy_flux_error2='2.86e-05', EG='0.81', time_epoch_completed='1632925920.87', return_code='0', job_id='672950', GAL2='0.97', EG2='0.81', return_code2='0', energy_flux_error='7.24e-06', photon_flux_error2='1.01e-08', ts2='1.60', photon_index='2.19' WHERE bin_id='166' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:32:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 672950: <4FGL_J2311.0+0205_daily_bin166> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin166> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:15:42 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:15:44 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:15:44 2021
Terminated at Wed Sep 29 07:32:01 2021
Results reported at Wed Sep 29 07:32:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin166 347.766 2.0995 282355201 282614401 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 :                                   743.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            979 sec.

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

