/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 42 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 = 7376
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin776
RA = 347.766, Dec = 2.0995
tmin = 440467201, tmax = 440726401
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='676882', job_status='RUN', time_executed='2021-09-29 07:31:37.199813', time_epoch_executed='1632925897.2' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676882

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676882/ft1_4FGL_J2311.0+0205_daily_bin776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676882/ft2_4FGL_J2311.0+0205_daily_bin776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676882/ft1_4FGL_J2311.0+0205_daily_bin776.fits outfile=/scratch/kocevski/676882/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin776.fits ra=347.766 dec=2.0995 rad=12.0 tmin=440467201.0 tmax=440726401.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.67
user 3.22
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676882/ft1_filtered_4FGL_J2311.0+0205_daily_bin776.fits" evtable="EVENTS" scfile=/scratch/kocevski/676882/ft2_4FGL_J2311.0+0205_daily_bin776.fits sctable="SC_DATA" outfile=/scratch/kocevski/676882/ltcube_440467201_440726401_4FGL_J2311.0+0205_daily_bin776.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/676882/ft2_4FGL_J2311.0+0205_daily_bin776.fits
.....................!
real 11.99
user 11.51
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676882/ft1_filtered_4FGL_J2311.0+0205_daily_bin776.fits evtable="EVENTS" scfile=/scratch/kocevski/676882/ft2_4FGL_J2311.0+0205_daily_bin776.fits sctable="SC_DATA" expcube=/scratch/kocevski/676882/ltcube_440467201_440726401_4FGL_J2311.0+0205_daily_bin776.fits outfile=/scratch/kocevski/676882/expmap_440467201_440726401_4FGL_J2311.0+0205_daily_bin776.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/676882/ltcube_440467201_440726401_4FGL_J2311.0+0205_daily_bin776.fits
.....................!
real 191.44
user 186.55
sys 4.33

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/676882/ft1_filtered_4FGL_J2311.0+0205_daily_bin776.fits scfile=/scratch/kocevski/676882/ft2_4FGL_J2311.0+0205_daily_bin776.fits outfile=/scratch/kocevski/676882/cmap_440467201_440726401_4FGL_J2311.0+0205_daily_bin776.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/676882/ft1_filtered_4FGL_J2311.0+0205_daily_bin776.fits scfile=/scratch/kocevski/676882/ft2_4FGL_J2311.0+0205_daily_bin776.fits outfile=/scratch/kocevski/676882/cmap_HighResolution_440467201_440726401_4FGL_J2311.0+0205_daily_bin776.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/676882/ft1_filtered_4FGL_J2311.0+0205_daily_bin776.fits evtable="EVENTS" scfile=/scratch/kocevski/676882/ft2_4FGL_J2311.0+0205_daily_bin776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/676882/Model_4FGL_J2311.0+0205_daily_bin776.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/676882/ft1_filtered_4FGL_J2311.0+0205_daily_bin776.fits.....................!
real 62.08
user 60.65
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.922       1.0000         .10000E-03   10000.    
     2 'norm      '    1.6613       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.599       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.116       1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.632       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11013E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .26543       1.0000         .10000E-03   10000.    
     9 'norm      '    9.4247       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.2480       1.0000         .10000E-03   10000.    
    12 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.681       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.1496       1.0000         .10000E-03   10000.    
    20 'Prefactor '    78.116       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.877       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98277       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98637       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=   6040.638     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2528 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.922        9.0515       -.37276E-07   -.43629E-05
   2  norm          1.6586        3.9008        .21435E-05   -.17925E-02
   3  Prefactor     .10000E-03    8.4512        .53702E-06** at limit **
   4  Prefactor     27.600        14.613       -.33737E-06    .18973E-04
   5  Prefactor     18.106        22.486       -.21318E-05   -.65669E-05
   6  Prefactor     40.604        76.314       -.29340E-04   -.76012E-04
   7  Prefactor     .10001E-03    20.036       -.65656E-06** at limit **
   8  norm          .26551        .87139        .27599E-06    .10904E-03
   9  norm          9.4236        7.1464        .17583E-05    .86199E-04
  10  Prefactor     .10000E-03    4.5490        .13136E-07** at limit **
  11  Prefactor     8.2453        53.216       -.41016E-05   -.50742E-05
  12  norm          .10000E-03    9.2385       -.12877E-05** at limit **
  13  Prefactor     .10000E-03    2.7622        .46030E-07** at limit **
  14  Prefactor     .10000E-03    77.456       -.12603E-05** at limit **
  15  Prefactor     .10000E-03    6.4368       -.50480E-08** at limit **
  16  Prefactor     .10000E-03    13.880        .13776E-05** at limit **
  17  norm          12.680        14.196       -.57275E-07    .26867E-05
  18  Prefactor     .10000E-03    29.102        .20299E-05** at limit **
  19  Prefactor     3.1487        5.0932       -.37674E-05   -.31088E-03
  20  Prefactor     78.114        45.615       -.15908E-05    .51918E-05
  21  Prefactor     15.878        24.609       -.15575E-06    .13887E-04
  22  Normalizat    .98275        .22755        .52955E-05   -.92419E-04
  23  Prefactor     .98640        .13752       -.92038E-06    .24729E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9216
  norm       = 1.65857
  Prefactor  = 0.0001
  Prefactor  = 27.5995
  Prefactor  = 18.1063
  Prefactor  = 40.604
  Prefactor  = 0.000100013
  norm       = 0.26551
  norm       = 9.42356
  Prefactor  = 0.0001
  Prefactor  = 8.24529
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.68
  Prefactor  = 0.0001
  Prefactor  = 3.14872
  Prefactor  = 78.1135
  Prefactor  = 15.8784
  Normalizat = 0.982755
  Prefactor  = 0.986398
 **********
 **   18 **HESSE 
 **********

 FCN=   6040.638     FROM HESSE     STATUS=OK           368 CALLS     2896 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.922        9.0566        .12123E-03   -1.5047    
   2  norm          1.6586        10.907        .16365E-02   -1.5450    
   3  Prefactor     .10000E-03    8.4541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.600        14.620        .76258E-04   -1.4657    
   5  Prefactor     18.106        22.519        .94101E-04   -1.4857    
   6  Prefactor     40.604        76.524        .62884E-04   -1.4433    
   7  Prefactor     .10001E-03    20.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .26551        .85290        .12371E-03   -1.5605    
   9  norm          9.4236        7.1161        .13054E-03   -1.5094    
  10  Prefactor     .10000E-03    4.5713        .16187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.2453        53.192        .13960E-03   -1.5134    
  12  norm          .10000E-03    9.6456        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.7851        .12612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    77.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.4616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.680        14.180        .11249E-03   -1.4996    
  18  Prefactor     .10000E-03    29.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.1487        5.0926        .20750E-03   -1.5353    
  20  Prefactor     78.114        45.666        .45436E-04   -1.3938    
  21  Prefactor     15.878        24.619        .10052E-03   -1.4911    
  22  Normalizat    .98275        .26177        .31940E-03   -.93610    
  23  Prefactor     .98640        .15996        .20612E-03   -.93184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51526e-08
Minuit parameter uncertainties:
  1  9.05773
  2  8.50837
  3  3.10544e-07
  4  14.6218
  5  22.5294
  6  76.7098
  7  0.00101142
  8  0.852934
  9  7.11677
  10  1.04298e-05
  11  41.9391
  12  5.84636e-05
  13  8.32974e-06
  14  2.01528e-05
  15  6.09301e-05
  16  8.29001e-06
  17  14.1834
  18  0.000102825
  19  5.09334
  20  45.6866
  21  24.6348
  22  0.26211
  23  0.160038
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.811e+01  2.253e+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.864e-01  1.600e-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.828e-01  2.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.84
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/676882/likelihoodResults_440467201_440726401_4FGL_J2311.0+0205_daily_bin776.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) = 6039.84936311
delta logL = 0.78848532863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6039.82271933
delta logL = 0.815129112052

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5422       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3906       1.0000          .0000       10.000    
     3 'Normalizat'    .91522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0132       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=   6039.823     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      325 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5289        64.082        .47222E-02    .33142E-03
   2  Index         3.3930        2.7720        .12499        .14332E-03
   3  Normalizat    .91463        .72028E-01    .74516E-01    .68262E-06
   4  Prefactor     1.0132        .45575E-01    .42901E-01   -.27308E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.52892
  Index      = 3.39297
  Normalizat = 0.914626
  Prefactor  = 1.01323
 **********
 **   18 **HESSE 
 **********

 FCN=   6039.823     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      358 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5289        117.94        .11474E-03   -1.5282    
   2  Index         3.3930        6.6540        .44711E-02   -.32721    
   3  Normalizat    .91463        .25431        .32976E-03   -.95948    
   4  Prefactor     1.0132        .16678        .20362E-03   -.92290    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.75882e-07
Minuit parameter uncertainties:
  1  46.3242
  2  5.01376
  3  0.254648
  4  0.166867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676882': 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) = 6039.82270956
delta logL = 0.815138876291

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  4.529e+00  4.632e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.393e+00  5.014e+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:  1.013e+00  1.669e-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.146e-01  2.546e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.58
Ra Dec: 347.766 2.099
Photon Index (Free Index): 3.39 +/- 5.01
Photon Flux (Free Index): 8.35e-08 +/- 6.21e-08
Energy Flux (Free Index): 1.43e-05 +/- 2.27e-05

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/676882/cmap_HighResolution_440467201_440726401_4FGL_J2311.0+0205_daily_bin776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.50e-03', comment='SUCCESS', energy_flux2='1.43e-05', dlogl='8.15e-01', photon_flux2='8.35e-08', job_status='DONE', time_completed='2021-09-29 07:42:34.851429', photon_index_error2='5.01', photon_index2='3.39', ts='0.84', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='2.27e-05', EG='0.98', time_epoch_completed='1632926554.85', return_code='0', job_id='676882', GAL2='1.01', EG2='0.91', return_code2='102', photon_flux_error2='6.21e-08', ts2='2.58', photon_index='2.19' WHERE bin_id='776' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:42:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 676882: <4FGL_J2311.0+0205_daily_bin776> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin776 347.766 2.0995 440467201 440726401 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 :                                   637.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            717 sec.

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

