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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin653
RA = 347.766, Dec = 2.0995
tmin = 408585601, tmax = 408844801
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='676699', job_status='RUN', time_executed='2021-09-29 07:32:47.961771', time_epoch_executed='1632925967.96' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='653'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676699

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676699/ft1_4FGL_J2311.0+0205_daily_bin653.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676699/ft2_4FGL_J2311.0+0205_daily_bin653.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676699/ft1_4FGL_J2311.0+0205_daily_bin653.fits outfile=/scratch/kocevski/676699/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin653.fits ra=347.766 dec=2.0995 rad=12.0 tmin=408585601.0 tmax=408844801.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 4.35
user 4.05
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/676699/ft2_4FGL_J2311.0+0205_daily_bin653.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/676699/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin653.fits evtable="EVENTS" outfile="/scratch/kocevski/676699/ft1_filtered_4FGL_J2311.0+0205_daily_bin653.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.55
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676699/ft1_filtered_4FGL_J2311.0+0205_daily_bin653.fits" evtable="EVENTS" scfile=/scratch/kocevski/676699/ft2_4FGL_J2311.0+0205_daily_bin653.fits sctable="SC_DATA" outfile=/scratch/kocevski/676699/ltcube_408585601_408844801_4FGL_J2311.0+0205_daily_bin653.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/676699/ft2_4FGL_J2311.0+0205_daily_bin653.fits
.....................!
real 11.85
user 11.49
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676699/ft1_filtered_4FGL_J2311.0+0205_daily_bin653.fits evtable="EVENTS" scfile=/scratch/kocevski/676699/ft2_4FGL_J2311.0+0205_daily_bin653.fits sctable="SC_DATA" expcube=/scratch/kocevski/676699/ltcube_408585601_408844801_4FGL_J2311.0+0205_daily_bin653.fits outfile=/scratch/kocevski/676699/expmap_408585601_408844801_4FGL_J2311.0+0205_daily_bin653.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/676699/ltcube_408585601_408844801_4FGL_J2311.0+0205_daily_bin653.fits
.....................!
real 190.56
user 186.22
sys 4.01

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/676699/ft1_filtered_4FGL_J2311.0+0205_daily_bin653.fits scfile=/scratch/kocevski/676699/ft2_4FGL_J2311.0+0205_daily_bin653.fits outfile=/scratch/kocevski/676699/cmap_408585601_408844801_4FGL_J2311.0+0205_daily_bin653.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.55
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676699/ft1_filtered_4FGL_J2311.0+0205_daily_bin653.fits scfile=/scratch/kocevski/676699/ft2_4FGL_J2311.0+0205_daily_bin653.fits outfile=/scratch/kocevski/676699/cmap_HighResolution_408585601_408844801_4FGL_J2311.0+0205_daily_bin653.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.344       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.825       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    49.339       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .92434       1.0000         .10000E-03   10000.    
     9 'norm      '    .10895E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    110.39       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.229       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .32239       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2701       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=   1156.921     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2486 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.346        30.456       -.54962E-07    .12132E-04
   2  norm          .10000E-03    15.031       -.33422E-05** at limit **
   3  Prefactor     .10000E-03    84.283       -.57217E-05** at limit **
   4  Prefactor     33.829        42.743        .13865E-05    .23396E-04
   5  Prefactor     .10000E-03    34.128       -.18230E-04** at limit **
   6  Prefactor     49.315        102.19       -.25132E-04   -.33374E-04
   7  Prefactor     .10000E-03    18.212        .56084E-05** at limit **
   8  norm          .92450        3.4070       -.90872E-06   -.56079E-03
   9  norm          .10000E-03    39.860        .10716E-04** at limit **
  10  Prefactor     .10000E-03    12.960       -.15635E-05** at limit **
  11  Prefactor     110.51        223.95        .10834E-03    .15866E-04
  12  norm          .10000E-03    13.623        .33884E-05** at limit **
  13  Prefactor     .10000E-03    10.999        .13440E-06** at limit **
  14  Prefactor     .10000E-03    350.01       -.11566E-03** at limit **
  15  Prefactor     .10000E-03    41.068        .79882E-05** at limit **
  16  Prefactor     31.235        48.993        .25985E-05    .31913E-04
  17  norm          .10000E-03    39.152        .12065E-04** at limit **
  18  Prefactor     .10000E-03    101.22        .10615E-03** at limit **
  19  Prefactor     .10000E-03    18.367       -.34724E-05** at limit **
  20  Prefactor     .10000E-03    83.742       -.10235E-04** at limit **
  21  Prefactor     .10000E-03    73.264       -.68918E-04** at limit **
  22  Normalizat    .32200        .57207       -.21562E-04   -.32259E-04
  23  Prefactor     1.2703        .36271        .17245E-05    .11103E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.3457
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.8286
  Prefactor  = 0.0001
  Prefactor  = 49.3153
  Prefactor  = 0.000100001
  norm       = 0.924496
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 110.511
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 31.2354
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Normalizat = 0.321997
  Prefactor  = 1.27033
 **********
 **   18 **HESSE 
 **********

 FCN=   1156.921     FROM HESSE     STATUS=OK           354 CALLS     2840 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.346        30.463        .81187E-04   -1.4721    
   2  norm          .10000E-03    15.034        .12883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    84.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     33.829        42.622        .68901E-04   -1.4544    
   5  Prefactor     .10000E-03    34.153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     49.315        101.49        .57090E-04   -1.4302    
   7  Prefactor     .10000E-03    18.242        .14180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .92450        3.2541        .10476E-03   -1.5516    
   9  norm          .10000E-03    40.883        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.966        .11962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     110.51        222.78        .19142E-03   -1.3602    
  12  norm          .10000E-03    13.644        .12264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.012        .11019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    349.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    41.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     31.235        48.952        .71699E-04   -1.4590    
  17  norm          .10000E-03    39.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    101.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    18.496        .14215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    83.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    73.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .32200        .53064        .49293E-03   -1.2155    
  23  Prefactor     1.2703        .34855        .17524E-03   -.84194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.3285e-10
Minuit parameter uncertainties:
  1  30.4822
  2  5.04628e-06
  3  7.52628e-05
  4  42.6603
  5  0.000128018
  6  101.853
  7  0.000225485
  8  3.25469
  9  0.000584964
  10  4.89967e-06
  11  224.506
  12  8.19088e-06
  13  9.90727e-06
  14  8.5733e-05
  15  0.000715283
  16  49.0148
  17  0.000219131
  18  0.000137241
  19  0.000156718
  20  0.000773102
  21  0.000405146
  22  0.53925
  23  0.349186
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.280e-04  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.270e+00  3.492e-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:  3.220e-01  5.392e-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: 2.92e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/676699/likelihoodResults_408585601_408844801_4FGL_J2311.0+0205_daily_bin653.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) = 1156.92079307
delta logL = -0.000138487625691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1156.92065599
delta logL = -1.40323413689e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12034E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6889       1.0000          .0000       10.000    
     3 'Normalizat'    .32200       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2703       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=   1156.921     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      273 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10591E-03    15.457        .15482E-01** at limit **
   2  Index         2.5564        5.9388        .50000        .10411E-04
   3  Normalizat    .32201        .91536E-02    .49295E-03    .83314E-05
   4  Prefactor     1.2703        .62527E-02    .17524E-03    .15408E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105913
  Index      = 2.55635
  Normalizat = 0.322008
  Prefactor  = 1.27032
 **********
 **   18 **HESSE 
 **********

 FCN=   1156.921     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      302 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10591E-03    287.36        .16411E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5564        5.5442        .50000       -.51063    
   3  Normalizat    .32201        .40049E-01    .19718E-04   -1.2155    
   4  Prefactor     1.2703        .27358E-01    .70096E-05   -.84194    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19661e-08
Minuit parameter uncertainties:
  1  0.0828402
  2  741.22
  3  0.0400521
  4  0.0273583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676699': 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) = 1156.92065529
delta logL = -7.01435737938e-07

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.059e-04  8.284e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.556e+00  7.412e+02  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.270e+00  2.736e-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:  3.220e-01  4.005e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/676699/cmap_HighResolution_408585601_408844801_4FGL_J2311.0+0205_daily_bin653.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-02', job_status='DONE', photon_flux_upper_limit='2.92e-07', time_completed='2021-09-29 07:39:15.687471', job_id='676699', GAL2='1.27', fit_tolerance='1e-08', EG2='0.32', EG='0.32', time_epoch_completed='1632926355.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='-7.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='653' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:39:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 676699: <4FGL_J2311.0+0205_daily_bin653> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin653> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:30:21 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:30:22 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:30:22 2021
Terminated at Wed Sep 29 07:39:16 2021
Results reported at Wed Sep 29 07:39:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin653 347.766 2.0995 408585601 408844801 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 :                                   376.30 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             254.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   534 sec.
    Turnaround time :                            535 sec.

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

