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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin81
RA = 347.766, Dec = 2.0995
tmin = 260323201, tmax = 260582401
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='672824', job_status='RUN', time_executed='2021-09-29 07:16:49.993385', time_epoch_executed='1632925009.99' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='81'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672824

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672824/ft1_4FGL_J2311.0+0205_daily_bin81.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672824/ft2_4FGL_J2311.0+0205_daily_bin81.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672824/ft1_4FGL_J2311.0+0205_daily_bin81.fits outfile=/scratch/kocevski/672824/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin81.fits ra=347.766 dec=2.0995 rad=12.0 tmin=260323201.0 tmax=260582401.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.52
user 1.34
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672824/ft1_filtered_4FGL_J2311.0+0205_daily_bin81.fits evtable="EVENTS" scfile=/scratch/kocevski/672824/ft2_4FGL_J2311.0+0205_daily_bin81.fits sctable="SC_DATA" expcube=/scratch/kocevski/672824/ltcube_260323201_260582401_4FGL_J2311.0+0205_daily_bin81.fits outfile=/scratch/kocevski/672824/expmap_260323201_260582401_4FGL_J2311.0+0205_daily_bin81.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/672824/ltcube_260323201_260582401_4FGL_J2311.0+0205_daily_bin81.fits
.....................!
real 191.85
user 185.53
sys 5.99

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/672824/ft1_filtered_4FGL_J2311.0+0205_daily_bin81.fits scfile=/scratch/kocevski/672824/ft2_4FGL_J2311.0+0205_daily_bin81.fits outfile=/scratch/kocevski/672824/cmap_260323201_260582401_4FGL_J2311.0+0205_daily_bin81.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672824/ft1_filtered_4FGL_J2311.0+0205_daily_bin81.fits scfile=/scratch/kocevski/672824/ft2_4FGL_J2311.0+0205_daily_bin81.fits outfile=/scratch/kocevski/672824/cmap_HighResolution_260323201_260582401_4FGL_J2311.0+0205_daily_bin81.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.3186       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.0404       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.6060       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11056E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    49.271       1.0000         .10000E-03   10000.    
    12 'norm      '    24.241       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.748       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.915       1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.076       1.0000         .10000E-03   10000.    
    17 'norm      '    .10367E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.4113       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.105       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8548       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .74437       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0519       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=   7675.657     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2559 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2391        .43844E-07** at limit **
   2  norm          5.3186        9.4054        .24496E-06   -.44162E-04
   3  Prefactor     4.0379        45.437       -.15230E-06   -.18129E-04
   4  Prefactor     8.6056        9.5484        .77295E-07   -.25039E-05
   5  Prefactor     .10000E-03    4.9755        .23913E-07** at limit **
   6  Prefactor     .10000E-03    49.495        .34713E-05** at limit **
   7  Prefactor     .10000E-03    4.4364        .27430E-07** at limit **
   8  norm          .10000E-03    .34056        .36114E-07** at limit **
   9  norm          .10000E-03    3.7906        .20878E-07** at limit **
  10  Prefactor     .10001E-03    16.741       -.54377E-05** at limit **
  11  Prefactor     49.274        43.102        .10344E-05    .79658E-04
  12  norm          24.246        11.513        .40667E-06    .59399E-03
  13  Prefactor     10.748        8.4101        .20085E-07    .13655E-03
  14  Prefactor     .10001E-03    77.829       -.41469E-05** at limit **
  15  Prefactor     18.914        17.449       -.11798E-06   -.18774E-03
  16  Prefactor     32.071        27.052       -.11994E-05   -.24230E-04
  17  norm          .10000E-03    13.846       -.11818E-05** at limit **
  18  Prefactor     9.4113        78.965        .24657E-05   -.27851E-04
  19  Prefactor     18.106        7.0465       -.31458E-06   -.68574E-03
  20  Prefactor     .10001E-03    15.420        .58932E-05** at limit **
  21  Prefactor     2.8569        27.894        .11171E-04   -.38625E-03
  22  Normalizat    .74423        .19647       -.36628E-06   -.22032E-04
  23  Prefactor     1.0520        .12150       -.30455E-06    .31318E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.31857
  Prefactor  = 4.03788
  Prefactor  = 8.60561
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 49.2743
  norm       = 24.246
  Prefactor  = 10.748
  Prefactor  = 0.000100005
  Prefactor  = 18.9143
  Prefactor  = 32.0712
  norm       = 0.0001
  Prefactor  = 9.41125
  Prefactor  = 18.1055
  Prefactor  = 0.000100011
  Prefactor  = 2.85691
  Normalizat = 0.744233
  Prefactor  = 1.05203
 **********
 **   18 **HESSE 
 **********

 FCN=   7675.657     FROM HESSE     STATUS=OK           370 CALLS     2929 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.5843        .30773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.3186        9.4074        .17427E-03   -1.5247    
   3  Prefactor     4.0379        45.461        .20061E-03   -1.5306    
   4  Prefactor     8.6056        9.5481        .13664E-03   -1.5121    
   5  Prefactor     .10000E-03    4.9793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    50.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.4597        .18017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .45051        .98127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.8392        .16646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    18.127        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     49.274        43.171        .57130E-04   -1.4303    
  12  norm          24.246        11.589        .81359E-04   -1.4723    
  13  Prefactor     10.748        8.4014        .12221E-03   -1.5052    
  14  Prefactor     .10001E-03    78.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.914        17.421        .92091E-04   -1.4838    
  16  Prefactor     32.071        26.997        .70749E-04   -1.4575    
  17  norm          .10000E-03    13.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.4113        79.351        .65317E-03   -1.5094    
  19  Prefactor     18.106        7.0756        .94129E-04   -1.4857    
  20  Prefactor     .10001E-03    16.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.8569        36.317        .12031E-02   -1.5370    
  22  Normalizat    .74423        .22200        .34834E-03   -1.0217    
  23  Prefactor     1.0520        .13812        .19476E-03   -.91015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71642e-09
Minuit parameter uncertainties:
  1  4.43621e-06
  2  9.41
  3  27.123
  4  9.5498
  5  1.2735e-06
  6  0.000863673
  7  8.15381e-07
  8  3.48554e-06
  9  2.05076e-06
  10  0.000718825
  11  43.198
  12  11.5903
  13  8.4023
  14  0.00128766
  15  17.426
  16  27.0077
  17  0.000125489
  18  54.7532
  19  7.07597
  20  0.000861009
  21  20.3868
  22  0.222269
  23  0.138168
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.274e-06  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:  1.052e+00  1.382e-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:  7.442e-01  2.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/672824/likelihoodResults_260323201_260582401_4FGL_J2311.0+0205_daily_bin81.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): 102
logL (Free Index) = 7675.65752629
delta logL = -0.000954536717472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7675.65657177
delta logL = -9.78252501227e-09

Fit tolerance = 1e-08

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

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

 FCN=   7675.657     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .48E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    346.37        .90712E-02** at limit **
   2  Index         2.1855        5.3736        .50000        .36719E-06
   3  Normalizat    .74423        .43361E-01    .78680E-01    .47805E-04
   4  Prefactor     1.0520        .28540E-01    .39792E-01    .32693E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.18555
  Normalizat = 0.744233
  Prefactor  = 1.05203
 **********
 **   18 **HESSE 
 **********

 FCN=   7675.657     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      237 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    823.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1855        5.8033        .50000       -.59788    
   3  Normalizat    .74423        .84684E-01    .34834E-03   -1.0217    
   4  Prefactor     1.0520        .55876E-01    .19476E-03   -.91015    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01785e-11
Minuit parameter uncertainties:
  1  7.86914e-05
  2  53.9446
  3  0.0846986
  4  0.0558792
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672824': 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): 102
logL (Free Index) = 7675.65657176
delta logL = 7.36690708436e-11

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  7.869e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  5.394e+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.052e+00  5.588e-02  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:  7.442e-01  8.470e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

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/672824/cmap_HighResolution_260323201_260582401_4FGL_J2311.0+0205_daily_bin81.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-03', job_status='DONE', photon_flux_upper_limit='4.82e-08', time_completed='2021-09-29 07:28:32.731035', job_id='672824', GAL2='1.05', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1632925712.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='7.37e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='81' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:28:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 672824: <4FGL_J2311.0+0205_daily_bin81> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin81 347.766 2.0995 260323201 260582401 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 :                                   701.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            781 sec.

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

