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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin450
RA = 347.766, Dec = 2.0995
tmin = 355968001, tmax = 356227201
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='675717', job_status='RUN', time_executed='2021-09-29 07:25:33.397535', time_epoch_executed='1632925533.4' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='450'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675717

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675717/ft1_4FGL_J2311.0+0205_daily_bin450.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675717/ft2_4FGL_J2311.0+0205_daily_bin450.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675717/ft1_4FGL_J2311.0+0205_daily_bin450.fits outfile=/scratch/kocevski/675717/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin450.fits ra=347.766 dec=2.0995 rad=12.0 tmin=355968001.0 tmax=356227201.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.37
user 3.16
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675717/ft1_filtered_4FGL_J2311.0+0205_daily_bin450.fits" evtable="EVENTS" scfile=/scratch/kocevski/675717/ft2_4FGL_J2311.0+0205_daily_bin450.fits sctable="SC_DATA" outfile=/scratch/kocevski/675717/ltcube_355968001_356227201_4FGL_J2311.0+0205_daily_bin450.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/675717/ft2_4FGL_J2311.0+0205_daily_bin450.fits
.....................!
real 12.08
user 11.67
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675717/ft1_filtered_4FGL_J2311.0+0205_daily_bin450.fits evtable="EVENTS" scfile=/scratch/kocevski/675717/ft2_4FGL_J2311.0+0205_daily_bin450.fits sctable="SC_DATA" expcube=/scratch/kocevski/675717/ltcube_355968001_356227201_4FGL_J2311.0+0205_daily_bin450.fits outfile=/scratch/kocevski/675717/expmap_355968001_356227201_4FGL_J2311.0+0205_daily_bin450.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/675717/ltcube_355968001_356227201_4FGL_J2311.0+0205_daily_bin450.fits
.....................!
real 190.31
user 185.31
sys 4.63

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/675717/ft1_filtered_4FGL_J2311.0+0205_daily_bin450.fits scfile=/scratch/kocevski/675717/ft2_4FGL_J2311.0+0205_daily_bin450.fits outfile=/scratch/kocevski/675717/cmap_355968001_356227201_4FGL_J2311.0+0205_daily_bin450.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.53
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    32.821       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11580E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .17580E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .47220E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .25526       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5007       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2734       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25749E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    103.38       1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7328       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .93215E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0216       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .65252E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13722       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.0523       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5999       1.0000         .10000E-03   10000.    
    21 'Prefactor '    25.155       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .76352       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90911       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7228.311     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     2191 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0838       -.25989E-05** at limit **
   2  norm          32.856        4.6536        .53293E-05    .54931E-02
   3  Prefactor     .10001E-03    30.746        .12534E-04** at limit **
   4  Prefactor     .10000E-03    5.5127       -.12600E-05** at limit **
   5  Prefactor     .10015E-03    54.658       -.45438E-04** at limit **
   6  Prefactor     .10087E-03    4.1338        .24353E-04** at limit **
   7  Prefactor     .25978        18.077       -.18948E-04   -.35145E-04
   8  norm          2.5027        1.3024       -.33868E-06    .80165E-04
   9  norm          2.2754        3.7833        .15926E-05    .52275E-04
  10  Prefactor     .10000E-03    11.618        .17818E-04** at limit **
  11  Prefactor     103.38        3.5240       -.28116E-05    .76130E-02
  12  norm          .10000E-03    3.8284        .89602E-06** at limit **
  13  Prefactor     1.7671        5.8512       -.17785E-05   -.84444E-04
  14  Prefactor     .10038E-03    117.72        .16461E-03** at limit **
  15  Prefactor     1.9950        2.7017       -.92454E-06    .13507E-03
  16  Prefactor     .10000E-03    8.5016        .28558E-05** at limit **
  17  norm          .10001E-03    27.543       -.76972E-05** at limit **
  18  Prefactor     .10003E-03    455.97       -.47808E-04** at limit **
  19  Prefactor     5.0339        4.7876        .22465E-05   -.52765E-04
  20  Prefactor     6.7939        11.669        .73741E-05   -.16467E-03
  21  Prefactor     25.120        6.4950        .85276E-05    .15172E-02
  22  Normalizat    .76347        .21839       -.12215E-04    .80344E-05
  23  Prefactor     .90906        .13471        .45857E-06    .38179E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 32.8558
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.00010015
  Prefactor  = 0.000100874
  Prefactor  = 0.259782
  norm       = 2.5027
  norm       = 2.27536
  Prefactor  = 0.0001
  Prefactor  = 103.375
  norm       = 0.0001
  Prefactor  = 1.76709
  Prefactor  = 0.00010038
  Prefactor  = 1.99496
  Prefactor  = 0.0001
  norm       = 0.00010001
  Prefactor  = 0.000100027
  Prefactor  = 5.03392
  Prefactor  = 6.79389
  Prefactor  = 25.1196
  Normalizat = 0.763474
  Prefactor  = 0.909057
 **********
 **   18 **HESSE 
 **********

 FCN=   7228.311     FROM HESSE     STATUS=OK           428 CALLS     2619 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0839        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          32.856        13.757        .17486E-02   -1.4561    
   3  Prefactor     .10001E-03    31.908        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.4698        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10015E-03    59.120        .10171E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10087E-03    40.115        .10593E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .25978        4.3131        .61086E-01   -1.5606    
   8  norm          2.5027        1.3472        .64608E-02   -1.5392    
   9  norm          2.2754        3.8214        .68090E-02   -1.5406    
  10  Prefactor     .10000E-03    11.138        .10727E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     103.38        80.903        .98864E-03   -1.3671    
  12  norm          .10000E-03    3.8027        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7671        5.8890        .79717E-02   -1.5442    
  14  Prefactor     .10038E-03    140.37        .10404E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.9950        41.779        .72762E-02   -1.5425    
  16  Prefactor     .10000E-03    8.4792        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10001E-03    27.670        .10509E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10003E-03    43.543        .16506       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.0339        6.7118        .44723E-02   -1.5259    
  20  Prefactor     6.7939        80.374        .39051E-02   -1.5187    
  21  Prefactor     25.120        20.620        .19967E-02   -1.4705    
  22  Normalizat    .76347        .19423        .71878E-01   -1.0144    
  23  Prefactor     .90906        .11460        .45121E-01   -.95825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52103e-06
Minuit parameter uncertainties:
  1  3.22793e-06
  2  13.7588
  3  0.00114017
  4  9.04881e-07
  5  0.00595494
  6  0.0118515
  7  2.11682
  8  1.34718
  9  3.82179
  10  0.000138399
  11  80.9894
  12  8.82943e-06
  13  5.89089
  14  0.0146494
  15  18.273
  16  1.82919e-05
  17  0.00106942
  18  0.0021591
  19  6.71282
  20  46.8139
  21  20.6256
  22  0.194405
  23  0.114635
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.001e-04  5.955e-03  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.091e-01  1.146e-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.635e-01  1.944e-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: 8.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675717/likelihoodResults_355968001_356227201_4FGL_J2311.0+0205_daily_bin450.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) = 7228.31084857
delta logL = -7.74023783379e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7228.16527983
delta logL = 0.145491332662

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1358       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5813       1.0000          .0000       10.000    
     3 'Normalizat'    .72883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92007       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=   7228.165     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      272 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1277        34.017        .10930E-01    .11564E-02
   2  Index         3.5834        2.3889        .21054        .56425E-04
   3  Normalizat    .72895        .28412E-01    .73416E-01   -.40696E-05
   4  Prefactor     .92014        .18361E-01    .45260E-01   -.33383E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.12767
  Index      = 3.58343
  Normalizat = 0.728948
  Prefactor  = 0.920136
 **********
 **   18 **HESSE 
 **********

 FCN=   7228.165     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      305 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1277        185.65        .16056E-03   -1.5496    
   2  Index         3.5834        5.0625        .71737E-02   -.28725    
   3  Normalizat    .72895        .18340        .32495E-03   -1.0276    
   4  Prefactor     .92014        .12017        .18743E-03   -.95441    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.37124e-07
Minuit parameter uncertainties:
  1  29.0284
  2  12.1842
  3  0.18355
  4  0.1202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675717': 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) = 7228.16527692
delta logL = 0.145494240199

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.201e-01  1.202e-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.289e-01  1.836e-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/675717/cmap_HighResolution_355968001_356227201_4FGL_J2311.0+0205_daily_bin450.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', job_status='DONE', photon_flux_upper_limit='8.25e-08', time_completed='2021-09-29 07:36:42.282253', job_id='675717', GAL2='0.92', fit_tolerance='1e-08', EG2='0.73', EG='0.76', time_epoch_completed='1632926202.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.45e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='450' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:36:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 675717: <4FGL_J2311.0+0205_daily_bin450> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin450 347.766 2.0995 355968001 356227201 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 :                                   661.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             383.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            683 sec.

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

