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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin484
RA = 347.766, Dec = 2.0995
tmin = 364780801, tmax = 365040001
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='675765', job_status='RUN', time_executed='2021-09-29 07:28:16.066115', time_epoch_executed='1632925696.07' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675765

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675765/ft1_4FGL_J2311.0+0205_daily_bin484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675765/ft2_4FGL_J2311.0+0205_daily_bin484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675765/ft1_4FGL_J2311.0+0205_daily_bin484.fits outfile=/scratch/kocevski/675765/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin484.fits ra=347.766 dec=2.0995 rad=12.0 tmin=364780801.0 tmax=365040001.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.33
user 3.10
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675765/ft1_filtered_4FGL_J2311.0+0205_daily_bin484.fits evtable="EVENTS" scfile=/scratch/kocevski/675765/ft2_4FGL_J2311.0+0205_daily_bin484.fits sctable="SC_DATA" expcube=/scratch/kocevski/675765/ltcube_364780801_365040001_4FGL_J2311.0+0205_daily_bin484.fits outfile=/scratch/kocevski/675765/expmap_364780801_365040001_4FGL_J2311.0+0205_daily_bin484.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/675765/ltcube_364780801_365040001_4FGL_J2311.0+0205_daily_bin484.fits
.....................!
real 190.81
user 185.05
sys 5.44

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/675765/ft1_filtered_4FGL_J2311.0+0205_daily_bin484.fits scfile=/scratch/kocevski/675765/ft2_4FGL_J2311.0+0205_daily_bin484.fits outfile=/scratch/kocevski/675765/cmap_364780801_365040001_4FGL_J2311.0+0205_daily_bin484.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.62
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675765/ft1_filtered_4FGL_J2311.0+0205_daily_bin484.fits scfile=/scratch/kocevski/675765/ft2_4FGL_J2311.0+0205_daily_bin484.fits outfile=/scratch/kocevski/675765/cmap_HighResolution_364780801_365040001_4FGL_J2311.0+0205_daily_bin484.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.56
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13928E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    21.156       1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.428       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7666       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4217       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .55845       1.0000         .10000E-03   10000.    
     9 'norm      '    .27271E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13528       1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.179       1.0000         .10000E-03   10000.    
    12 'norm      '    5.5581       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.0181       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .29984E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .15496E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8831       1.0000         .10000E-03   10000.    
    17 'norm      '    51.795       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .76884       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95434       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=   8138.973     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2650 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8983        .44922E-07** at limit **
   2  norm          21.157        12.418       -.15048E-06    .23744E-04
   3  Prefactor     40.415        31.872       -.73518E-06    .23848E-04
   4  Prefactor     2.7673        5.6680       -.42846E-06    .23880E-04
   5  Prefactor     .10000E-03    5.6401        .13103E-06** at limit **
   6  Prefactor     7.4312        50.842        .18629E-05    .33898E-04
   7  Prefactor     .10000E-03    11.813       -.53526E-06** at limit **
   8  norm          .55943        .89867       -.56025E-06    .19165E-03
   9  norm          .10000E-03    11.443        .34103E-05** at limit **
  10  Prefactor     .21391        31.257       -.54617E-05    .58701E-04
  11  Prefactor     53.187        40.174        .27878E-06   -.18535E-04
  12  norm          5.5467        7.0979       -.12671E-06   -.10937E-03
  13  Prefactor     8.0157        8.8813        .13172E-06   -.67363E-04
  14  Prefactor     .10000E-03    100.93        .57897E-06** at limit **
  15  Prefactor     .10001E-03    9.7535        .23691E-05** at limit **
  16  Prefactor     5.8650        21.140       -.85893E-06   -.22108E-04
  17  norm          51.855        23.631       -.22378E-06   -.23084E-05
  18  Prefactor     .10000E-03    44.832       -.24677E-05** at limit **
  19  Prefactor     .10000E-03    4.4687        .37754E-06** at limit **
  20  Prefactor     .10000E-03    10.630        .15544E-06** at limit **
  21  Prefactor     .10000E-03    4.0018        .49290E-07** at limit **
  22  Normalizat    .76912        .19317        .17414E-05    .33725E-04
  23  Prefactor     .95415        .11603       -.10707E-05    .23734E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 21.1574
  Prefactor  = 40.4153
  Prefactor  = 2.76726
  Prefactor  = 0.0001
  Prefactor  = 7.43118
  Prefactor  = 0.000100001
  norm       = 0.559435
  norm       = 0.0001
  Prefactor  = 0.213908
  Prefactor  = 53.1866
  norm       = 5.54667
  Prefactor  = 8.01574
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 5.86503
  norm       = 51.8546
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.769116
  Prefactor  = 0.954149
 **********
 **   18 **HESSE 
 **********

 FCN=   8138.973     FROM HESSE     STATUS=OK           380 CALLS     3030 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9656        .29982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          21.157        12.438        .87081E-04   -1.4788    
   3  Prefactor     40.415        31.864        .63043E-04   -1.4436    
   4  Prefactor     2.7673        5.6532        .24470E-03   -1.5375    
   5  Prefactor     .10000E-03    5.6520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.4312        48.866        .14722E-03   -1.5163    
   7  Prefactor     .10000E-03    12.104        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55943        .92031        .23014E-03   -1.5558    
   9  norm          .10000E-03    29.511        .27013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21391        52.365        .33148E-02   -1.5615    
  11  Prefactor     53.187        40.156        .55001E-04   -1.4248    
  12  norm          5.5467        7.0315        .17041E-03   -1.5237    
  13  Prefactor     8.0157        8.8129        .14160E-03   -1.5142    
  14  Prefactor     .10000E-03    100.96        .21390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    32.661        .39332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8650        21.062        .16557E-03   -1.5224    
  17  norm          51.855        23.538        .55727E-04   -1.4267    
  18  Prefactor     .10000E-03    44.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.6235        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.0061        .17626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .76912        .20683        .31294E-03   -1.0122    
  23  Prefactor     .95415        .12825        .18846E-03   -.94274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.37416e-10
Minuit parameter uncertainties:
  1  9.25e-06
  2  12.4397
  3  31.8771
  4  5.65428
  5  1.10526e-05
  6  38.1571
  7  0.00020513
  8  0.920337
  9  0.000210494
  10  6.69801
  11  40.176
  12  7.03253
  13  8.81432
  14  3.55409e-05
  15  0.00136562
  16  21.0882
  17  23.542
  18  0.00027806
  19  1.16751e-05
  20  9.85672e-06
  21  4.56798e-06
  22  0.207042
  23  0.128293
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.105e-05  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.541e-01  1.283e-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.691e-01  2.070e-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.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675765/likelihoodResults_364780801_365040001_4FGL_J2311.0+0205_daily_bin484.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) = 8138.97345182
delta logL = -0.000842950626065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8138.97260888
delta logL = -1.24464349938e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1903       1.0000          .0000       10.000    
     3 'Normalizat'    .76910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95415       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=   8138.973     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7269        .90712E-02** at limit **
   2  Index         2.1944        6.0959        .50000       -.62233E-05
   3  Normalizat    .76912        .16011        .70717E-01   -.12988E-04
   4  Prefactor     .95415        .10709        .45692E-01   -.47735E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.19443
  Normalizat = 0.769116
  Prefactor  = 0.954149
 **********
 **   18 **HESSE 
 **********

 FCN=   8138.973     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1944        5.8333        .50000       -.59573    
   3  Normalizat    .76912        .18516        .31295E-03   -1.0122    
   4  Prefactor     .95415        .12406        .18846E-03   -.94274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86731e-11
Minuit parameter uncertainties:
  1  3.64837e-06
  2  5.95441
  3  0.185313
  4  0.124099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675765': 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) = 8138.97260885
delta logL = 1.23473000713e-08

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.648e-06  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.194e+00  5.954e+00  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.541e-01  1.241e-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.691e-01  1.853e-01  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/675765/cmap_HighResolution_364780801_365040001_4FGL_J2311.0+0205_daily_bin484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2021-09-29 07:40:40.855324', job_id='675765', GAL2='0.95', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1632926440.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.23e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='484' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:40:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 675765: <4FGL_J2311.0+0205_daily_bin484> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin484> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:25:24 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:25:25 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:25 2021
Terminated at Wed Sep 29 07:40:41 2021
Results reported at Wed Sep 29 07:40:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin484 347.766 2.0995 364780801 365040001 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 :                                   741.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            917 sec.

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

