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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin258
RA = 347.766, Dec = 2.0995
tmin = 306201601, tmax = 306460801
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='674367', job_status='RUN', time_executed='2021-09-29 07:22:55.166977', time_epoch_executed='1632925375.17' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='258'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674367

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674367/ft1_4FGL_J2311.0+0205_daily_bin258.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674367/ft2_4FGL_J2311.0+0205_daily_bin258.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674367/ft1_4FGL_J2311.0+0205_daily_bin258.fits outfile=/scratch/kocevski/674367/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin258.fits ra=347.766 dec=2.0995 rad=12.0 tmin=306201601.0 tmax=306460801.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.54
user 3.33
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/674367/ft1_filtered_4FGL_J2311.0+0205_daily_bin258.fits" evtable="EVENTS" scfile=/scratch/kocevski/674367/ft2_4FGL_J2311.0+0205_daily_bin258.fits sctable="SC_DATA" outfile=/scratch/kocevski/674367/ltcube_306201601_306460801_4FGL_J2311.0+0205_daily_bin258.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/674367/ft2_4FGL_J2311.0+0205_daily_bin258.fits
.....................!
real 11.65
user 11.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674367/ft1_filtered_4FGL_J2311.0+0205_daily_bin258.fits evtable="EVENTS" scfile=/scratch/kocevski/674367/ft2_4FGL_J2311.0+0205_daily_bin258.fits sctable="SC_DATA" expcube=/scratch/kocevski/674367/ltcube_306201601_306460801_4FGL_J2311.0+0205_daily_bin258.fits outfile=/scratch/kocevski/674367/expmap_306201601_306460801_4FGL_J2311.0+0205_daily_bin258.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/674367/ltcube_306201601_306460801_4FGL_J2311.0+0205_daily_bin258.fits
.....................!
real 191.41
user 185.57
sys 5.53

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/674367/ft1_filtered_4FGL_J2311.0+0205_daily_bin258.fits scfile=/scratch/kocevski/674367/ft2_4FGL_J2311.0+0205_daily_bin258.fits outfile=/scratch/kocevski/674367/cmap_306201601_306460801_4FGL_J2311.0+0205_daily_bin258.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.35
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    32.512       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2746       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5025       1.0000         .10000E-03   10000.    
     6 'Prefactor '    42.181       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .39857E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    254.92       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6713       1.0000         .10000E-03   10000.    
    16 'Prefactor '    43.881       1.0000         .10000E-03   10000.    
    17 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    97.766       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.469       1.0000         .10000E-03   10000.    
    20 'Prefactor '    61.016       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .41685       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2929       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=   6484.471     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2582 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1223       -.66552E-08** at limit **
   2  norm          32.516        20.523       -.23907E-06   -.53333E-04
   3  Prefactor     .10000E-03    14.476        .15556E-05** at limit **
   4  Prefactor     3.2788        24.463       -.36354E-06   -.55183E-05
   5  Prefactor     3.5051        19.161       -.31284E-06   -.20535E-04
   6  Prefactor     42.191        58.105       -.16762E-05   -.39281E-04
   7  Prefactor     .10000E-03    5.3845        .41788E-06** at limit **
   8  norm          .10000E-03    .44235        .26454E-06** at limit **
   9  norm          .10000E-03    1.8360        .10964E-06** at limit **
  10  Prefactor     .10000E-03    3.1000       -.22101E-07** at limit **
  11  Prefactor     .10000E-03    46.944       -.11699E-05** at limit **
  12  norm          .10000E-03    13.062       -.63389E-06** at limit **
  13  Prefactor     .10020E-03    5.9116       -.10055E-05** at limit **
  14  Prefactor     254.98        282.31       -.71798E-05   -.40679E-04
  15  Prefactor     2.6746        19.425        .74120E-05   -.14949E-03
  16  Prefactor     43.878        29.173        .15188E-06    .14928E-03
  17  norm          .10000E-03    34.168        .13046E-05** at limit **
  18  Prefactor     97.780        69.168       -.13680E-05   -.46819E-04
  19  Prefactor     12.471        7.3448       -.84188E-06   -.27197E-03
  20  Prefactor     61.012        46.650       -.54023E-07    .32406E-04
  21  Prefactor     .10000E-03    15.308       -.12596E-05** at limit **
  22  Normalizat    .41683        .27614        .26982E-05    .11937E-03
  23  Prefactor     1.2929        .16116       -.65100E-06    .11432E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 32.5159
  Prefactor  = 0.0001
  Prefactor  = 3.27881
  Prefactor  = 3.50509
  Prefactor  = 42.1907
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100201
  Prefactor  = 254.979
  Prefactor  = 2.67463
  Prefactor  = 43.878
  norm       = 0.0001
  Prefactor  = 97.7798
  Prefactor  = 12.4712
  Prefactor  = 61.0115
  Prefactor  = 0.0001
  Normalizat = 0.416833
  Prefactor  = 1.29294
 **********
 **   18 **HESSE 
 **********

 FCN=   6484.471     FROM HESSE     STATUS=OK           370 CALLS     2952 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1307        .15968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          32.516        20.377        .70275E-04   -1.4567    
   3  Prefactor     .10000E-03    14.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2788        23.961        .22377E-03   -1.5346    
   5  Prefactor     3.5051        19.102        .21603E-03   -1.5334    
   6  Prefactor     42.191        58.108        .61723E-04   -1.4408    
   7  Prefactor     .10000E-03    5.4076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .46670        .10475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.8390        .10657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.1033        .13844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    47.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    13.477        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10020E-03    6.4720        .54314E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     254.98        283.54        .12689E-03   -1.2501    
  15  Prefactor     2.6746        20.131        .12467E-02   -1.5381    
  16  Prefactor     43.878        29.056        .60521E-04   -1.4382    
  17  norm          .10000E-03    34.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     97.780        69.185        .20327E-03   -1.3727    
  19  Prefactor     12.471        7.3626        .11344E-03   -1.5002    
  20  Prefactor     61.012        46.372        .51367E-04   -1.4144    
  21  Prefactor     .10000E-03    15.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .41683        .26813        .48225E-03   -1.1644    
  23  Prefactor     1.2929        .16060        .18613E-03   -.83517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.64496e-10
Minuit parameter uncertainties:
  1  1.61459e-06
  2  20.3815
  3  5.06116e-05
  4  17.7371
  5  16.3728
  6  58.1858
  7  4.95276e-05
  8  8.33485e-06
  9  7.59246e-06
  10  2.39153e-06
  11  0.000141689
  12  1.71168e-06
  13  0.00228013
  14  285.096
  15  14.6823
  16  29.0656
  17  0.000106565
  18  69.2422
  19  7.36312
  20  46.3993
  21  9.47616e-05
  22  0.268959
  23  0.160664
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.505e+00  1.637e+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:  1.293e+00  1.607e-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:  4.168e-01  2.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/674367/likelihoodResults_306201601_306460801_4FGL_J2311.0+0205_daily_bin258.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) = 6484.46722557
delta logL = 0.0034419177955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6484.46702485
delta logL = 0.00364263532174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2378       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3424       1.0000          .0000       10.000    
     3 'Normalizat'    .41513       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2933       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=   6484.467     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      251 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2237        185.23        .56277E-02    .10183E-03
   2  Index         2.3442        1.2309        .50000        .34603E-05
   3  Normalizat    .41537        .19571E-01    .10902        .55617E-04
   4  Prefactor     1.2934        .12797E-01    .32728E-01   -.87991E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.22371
  Index      = 2.34418
  Normalizat = 0.415373
  Prefactor  = 1.2934
 **********
 **   18 **HESSE 
 **********

 FCN=   6484.467     FROM HESSE     STATUS=OK            33 CALLS      284 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2237        19.723        .22511E-03   -1.5349    
   2  Index         2.3442        1.9049        .65144E-02   -.55997    
   3  Normalizat    .41537        .24103        .48309E-03   -1.1651    
   4  Prefactor     1.2934        .15852        .18610E-03   -.83503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28403e-11
Minuit parameter uncertainties:
  1  15.9553
  2  1.97577
  3  0.241633
  4  0.158576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674367': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6484.46701904
delta logL = 0.00364844913838

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.224e+00  1.596e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.344e+00  1.976e+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.293e+00  1.586e-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:  4.154e-01  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/674367/cmap_HighResolution_306201601_306460801_4FGL_J2311.0+0205_daily_bin258.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', job_status='DONE', photon_flux_upper_limit='9.08e-08', time_completed='2021-09-29 07:33:45.177959', job_id='674367', GAL2='1.29', fit_tolerance='1e-08', EG2='0.42', EG='0.42', time_epoch_completed='1632926025.18', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='3.65e-03', ts2='0.06', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='258' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:33:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 674367: <4FGL_J2311.0+0205_daily_bin258> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin258 347.766 2.0995 306201601 306460801 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 :                                   648.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            808 sec.

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

