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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin215
RA = 347.766, Dec = 2.0995
tmin = 295056001, tmax = 295315201
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='673020', job_status='RUN', time_executed='2021-09-29 07:18:23.032007', time_epoch_executed='1632925103.03' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/673020

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/673020/ft1_4FGL_J2311.0+0205_daily_bin215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/673020/ft2_4FGL_J2311.0+0205_daily_bin215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/673020/ft1_4FGL_J2311.0+0205_daily_bin215.fits outfile=/scratch/kocevski/673020/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin215.fits ra=347.766 dec=2.0995 rad=12.0 tmin=295056001.0 tmax=295315201.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 2.62
user 2.38
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/673020/ft2_4FGL_J2311.0+0205_daily_bin215.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/673020/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin215.fits evtable="EVENTS" outfile="/scratch/kocevski/673020/ft1_filtered_4FGL_J2311.0+0205_daily_bin215.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/673020/ft1_filtered_4FGL_J2311.0+0205_daily_bin215.fits" evtable="EVENTS" scfile=/scratch/kocevski/673020/ft2_4FGL_J2311.0+0205_daily_bin215.fits sctable="SC_DATA" outfile=/scratch/kocevski/673020/ltcube_295056001_295315201_4FGL_J2311.0+0205_daily_bin215.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/673020/ft2_4FGL_J2311.0+0205_daily_bin215.fits
.....................!
real 12.28
user 11.92
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/673020/ft1_filtered_4FGL_J2311.0+0205_daily_bin215.fits evtable="EVENTS" scfile=/scratch/kocevski/673020/ft2_4FGL_J2311.0+0205_daily_bin215.fits sctable="SC_DATA" expcube=/scratch/kocevski/673020/ltcube_295056001_295315201_4FGL_J2311.0+0205_daily_bin215.fits outfile=/scratch/kocevski/673020/expmap_295056001_295315201_4FGL_J2311.0+0205_daily_bin215.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/673020/ltcube_295056001_295315201_4FGL_J2311.0+0205_daily_bin215.fits
.....................!
real 192.59
user 186.91
sys 5.31

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/673020/ft1_filtered_4FGL_J2311.0+0205_daily_bin215.fits scfile=/scratch/kocevski/673020/ft2_4FGL_J2311.0+0205_daily_bin215.fits outfile=/scratch/kocevski/673020/cmap_295056001_295315201_4FGL_J2311.0+0205_daily_bin215.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.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10051E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.077       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5174       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.7508       1.0000         .10000E-03   10000.    
     9 'norm      '    2.4030       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.6318       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12332E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10162E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2022       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.825       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10453E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.339       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5808       1.0000         .10000E-03   10000.    
    20 'Prefactor '    42.009       1.0000         .10000E-03   10000.    
    21 'Prefactor '    33.438       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1164       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92897       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=   8756.996     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2539 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5417        .12579E-07** at limit **
   2  norm          .10000E-03    8.0492        .18053E-06** at limit **
   3  Prefactor     .10000E-03    12.193       -.52600E-05** at limit **
   4  Prefactor     11.078        16.200       -.24978E-05   -.83646E-03
   5  Prefactor     6.5126        17.000       -.13695E-05   -.22661E-04
   6  Prefactor     .10000E-03    13.782        .11702E-04** at limit **
   7  Prefactor     .10000E-03    2.1717        .41169E-07** at limit **
   8  norm          1.7508        .83112       -.19223E-07   -.18841E-03
   9  norm          2.4033        3.4349       -.24109E-06   -.43755E-03
  10  Prefactor     6.6336        10.333        .32376E-05   -.60728E-04
  11  Prefactor     .10000E-03    88.834       -.40843E-06** at limit **
  12  norm          .10000E-03    6.3196       -.94195E-07** at limit **
  13  Prefactor     2.2035        6.0703       -.32785E-05   -.52874E-03
  14  Prefactor     .10000E-03    60.515        .51113E-05** at limit **
  15  Prefactor     25.826        12.183        .82889E-06   -.21128E-03
  16  Prefactor     .10000E-03    14.722       -.13357E-04** at limit **
  17  norm          .10000E-03    14.024        .63769E-05** at limit **
  18  Prefactor     15.298        27.137       -.16796E-04    .19463E-03
  19  Prefactor     2.5803        3.3547       -.57633E-06   -.73181E-03
  20  Prefactor     42.001        42.293       -.69833E-05    .11343E-03
  21  Prefactor     33.437        23.794        .34996E-06    .61081E-04
  22  Normalizat    1.1165        .19423        .21373E-05    .18131E-04
  23  Prefactor     .92889        .11669       -.15606E-06    .24127E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0776
  Prefactor  = 6.51256
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.75075
  norm       = 2.40332
  Prefactor  = 6.63362
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.20349
  Prefactor  = 0.0001
  Prefactor  = 25.8258
  Prefactor  = 0.000100002
  norm       = 0.000100001
  Prefactor  = 15.2983
  Prefactor  = 2.58028
  Prefactor  = 42.0006
  Prefactor  = 33.4372
  Normalizat = 1.11647
  Prefactor  = 0.92889
 **********
 **   18 **HESSE 
 **********

 FCN=   8756.996     FROM HESSE     STATUS=OK           366 CALLS     2905 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5560        .17199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.1865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.078        16.518        .60187E-03   -1.5042    
   5  Prefactor     6.5126        17.055        .15720E-03   -1.5198    
   6  Prefactor     .10000E-03    13.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.1771        .13465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7508        .82834        .56024E-04   -1.5443    
   9  norm          2.4033        3.4216        .20058E-03   -1.5398    
  10  Prefactor     6.6336        10.312        .15582E-03   -1.5193    
  11  Prefactor     .10000E-03    89.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    6.3748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2035        6.1263        .27724E-03   -1.5411    
  14  Prefactor     .10000E-03    60.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.826        12.132        .78828E-04   -1.4691    
  16  Prefactor     .10000E-03    14.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.298        26.951        .10227E-03   -1.4926    
  19  Prefactor     2.5803        3.3346        .18021E-03   -1.5387    
  20  Prefactor     42.001        42.477        .61849E-04   -1.4411    
  21  Prefactor     33.437        23.808        .69297E-04   -1.4551    
  22  Normalizat    1.1165        .22792        .31086E-03   -.89225    
  23  Prefactor     .92889        .13659        .21480E-03   -.95139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15345e-09
Minuit parameter uncertainties:
  1  1.7189e-06
  2  2.50101e-05
  3  0.000101468
  4  16.5245
  5  17.0677
  6  0.000257323
  7  2.74874e-09
  8  0.828343
  9  3.42192
  10  10.315
  11  0.000108313
  12  6.63263e-06
  13  6.12801
  14  0.000233525
  15  12.1328
  16  0.00030169
  17  0.000172142
  18  26.9728
  19  3.33487
  20  42.5078
  21  23.8145
  22  0.228119
  23  0.136637
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.289e-01  1.366e-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:  1.116e+00  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/673020/likelihoodResults_295056001_295315201_4FGL_J2311.0+0205_daily_bin215.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) = 8755.25887768
delta logL = 1.7370251419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8755.22478174
delta logL = 1.77112107376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9817       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9025       1.0000          .0000       10.000    
     3 'Normalizat'    .99634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97179       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=   8755.225     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      271 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9838        16.461        .73605E-02    .74122E-03
   2  Index         3.9022        2.1646        .11436        .22412E-03
   3  Normalizat    .99647        .57231E-01    .73878E-01    .24492E-04
   4  Prefactor     .97171        .35703E-01    .45914E-01    .41653E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.98377
  Index      = 3.90224
  Normalizat = 0.996473
  Prefactor  = 0.971707
 **********
 **   18 **HESSE 
 **********

 FCN=   8755.225     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      304 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9838        32.581        .73628E-04   -1.5426    
   2  Index         3.9022        3.4873        .41655E-02   -.22136    
   3  Normalizat    .99647        .21467        .32689E-03   -.93149    
   4  Prefactor     .97171        .13489        .21049E-03   -.93679    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.42871e-10
Minuit parameter uncertainties:
  1  16.089
  2  3.88526
  3  0.21486
  4  0.134932
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/673020': 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) = 8755.22478098
delta logL = 1.77112184002

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.984e+00  1.609e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.902e+00  3.885e+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.717e-01  1.349e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  9.965e-01  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.16
Ra Dec: 347.766 2.099
Photon Index (Free Index): 3.90 +/- 3.89
Photon Flux (Free Index): 1.06e-07 +/- 6.64e-08
Energy Flux (Free Index): 1.62e-05 +/- 1.29e-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/673020/cmap_HighResolution_295056001_295315201_4FGL_J2311.0+0205_daily_bin215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', comment='SUCCESS', energy_flux2='1.62e-05', dlogl='1.77e+00', photon_flux2='1.06e-07', job_status='DONE', time_completed='2021-09-29 07:31:23.333675', photon_index_error2='3.89', photon_index2='3.90', ts='0.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='8.84e-08', energy_flux_error2='1.29e-05', EG='1.12', time_epoch_completed='1632925883.33', return_code='0', job_id='673020', GAL2='0.97', EG2='1.00', return_code2='102', photon_flux_error2='6.64e-08', ts2='4.16', photon_index='2.19' WHERE bin_id='215' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:31:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 673020: <4FGL_J2311.0+0205_daily_bin215> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin215 347.766 2.0995 295056001 295315201 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 :                                   779.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            938 sec.

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

