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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin811
RA = 347.766, Dec = 2.0995
tmin = 449539201, tmax = 449798401
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='676933', job_status='RUN', time_executed='2021-09-29 07:30:56.546762', time_epoch_executed='1632925856.55' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='811'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676933

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676933/ft1_4FGL_J2311.0+0205_daily_bin811.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676933/ft2_4FGL_J2311.0+0205_daily_bin811.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676933/ft1_4FGL_J2311.0+0205_daily_bin811.fits outfile=/scratch/kocevski/676933/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin811.fits ra=347.766 dec=2.0995 rad=12.0 tmin=449539201.0 tmax=449798401.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 5.63
user 5.32
sys 0.26

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676933/ft1_filtered_4FGL_J2311.0+0205_daily_bin811.fits evtable="EVENTS" scfile=/scratch/kocevski/676933/ft2_4FGL_J2311.0+0205_daily_bin811.fits sctable="SC_DATA" expcube=/scratch/kocevski/676933/ltcube_449539201_449798401_4FGL_J2311.0+0205_daily_bin811.fits outfile=/scratch/kocevski/676933/expmap_449539201_449798401_4FGL_J2311.0+0205_daily_bin811.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/676933/ltcube_449539201_449798401_4FGL_J2311.0+0205_daily_bin811.fits
.....................!
real 191.10
user 186.12
sys 4.49

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/676933/ft1_filtered_4FGL_J2311.0+0205_daily_bin811.fits scfile=/scratch/kocevski/676933/ft2_4FGL_J2311.0+0205_daily_bin811.fits outfile=/scratch/kocevski/676933/cmap_449539201_449798401_4FGL_J2311.0+0205_daily_bin811.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/676933/ft1_filtered_4FGL_J2311.0+0205_daily_bin811.fits scfile=/scratch/kocevski/676933/ft2_4FGL_J2311.0+0205_daily_bin811.fits outfile=/scratch/kocevski/676933/cmap_HighResolution_449539201_449798401_4FGL_J2311.0+0205_daily_bin811.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    22.290       1.0000         .10000E-03   10000.    
     3 'Prefactor '    62.343       1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.064       1.0000         .10000E-03   10000.    
     5 'Prefactor '    51.754       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19316E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7024       1.0000         .10000E-03   10000.    
     8 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10478E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.586       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10415E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    38.087       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.252       1.0000         .10000E-03   10000.    
    14 'Prefactor '    293.99       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11244E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    99.070       1.0000         .10000E-03   10000.    
    18 'Prefactor '    213.57       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .47712E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    76.418       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .46598       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2104       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=   3237.100     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2537 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.8115        .50790E-07** at limit **
   2  norm          22.273        28.608        .73976E-06    .27288E-04
   3  Prefactor     62.299        81.674        .74155E-06   -.76317E-05
   4  Prefactor     36.058        27.794        .22867E-06    .10240E-04
   5  Prefactor     51.739        42.354        .31388E-06    .87433E-05
   6  Prefactor     .10000E-03    157.29        .33321E-06** at limit **
   7  Prefactor     5.6884        20.385        .11121E-05    .19744E-04
   8  norm          .10000E-03    .91773       -.29447E-06** at limit **
   9  norm          .10000E-03    6.8757       -.52917E-07** at limit **
  10  Prefactor     18.576        28.886        .27645E-06    .13066E-04
  11  Prefactor     .10000E-03    61.333       -.32797E-06** at limit **
  12  norm          38.081        28.404        .16347E-06    .20566E-04
  13  Prefactor     11.245        19.633        .37973E-06    .10747E-04
  14  Prefactor     293.89        440.46        .21377E-05    .10732E-04
  15  Prefactor     .10000E-03    11.009       -.86597E-06** at limit **
  16  Prefactor     .10000E-03    38.836        .11436E-06** at limit **
  17  norm          99.035        58.895        .96865E-06    .88776E-04
  18  Prefactor     213.51        173.55        .75916E-06    .31097E-05
  19  Prefactor     .10000E-03    18.997       -.43359E-05** at limit **
  20  Prefactor     76.358        65.932        .32473E-06   -.18995E-04
  21  Prefactor     .10000E-03    20.171        .69361E-08** at limit **
  22  Normalizat    .46685        .41383       -.63953E-05    .33705E-04
  23  Prefactor     1.2100        .24114        .19539E-05    .41579E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 22.2729
  Prefactor  = 62.299
  Prefactor  = 36.0578
  Prefactor  = 51.739
  Prefactor  = 0.0001
  Prefactor  = 5.68845
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 18.5762
  Prefactor  = 0.0001
  norm       = 38.0808
  Prefactor  = 11.2446
  Prefactor  = 293.889
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 99.0347
  Prefactor  = 213.507
  Prefactor  = 0.0001
  Prefactor  = 76.3584
  Prefactor  = 0.0001
  Normalizat = 0.466852
  Prefactor  = 1.21002
 **********
 **   18 **HESSE 
 **********

 FCN=   3237.100     FROM HESSE     STATUS=OK           364 CALLS     2901 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.8219        .14503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          22.273        28.578        .84839E-04   -1.4764    
   3  Prefactor     62.299        81.356        .50820E-04   -1.4128    
   4  Prefactor     36.058        27.771        .66734E-04   -1.4506    
   5  Prefactor     51.739        42.307        .55749E-04   -1.4268    
   6  Prefactor     .10000E-03    157.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.6884        20.276        .16821E-03   -1.5231    
   8  norm          .10000E-03    .93006        .53065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.8832        .14552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.576        28.880        .92902E-04   -1.4846    
  11  Prefactor     .10000E-03    61.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          38.081        28.329        .64944E-04   -1.4473    
  13  Prefactor     11.245        19.576        .11943E-03   -1.5037    
  14  Prefactor     293.89        441.27        .11840E-03   -1.2262    
  15  Prefactor     .10000E-03    11.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    38.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          99.035        59.755        .20194E-03   -1.3714    
  18  Prefactor     213.51        173.20        .13834E-03   -1.2775    
  19  Prefactor     .10000E-03    18.952        .42361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     76.358        65.657        .22967E-03   -1.3958    
  21  Prefactor     .10000E-03    20.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .46685        .40785        .48447E-03   -1.1398    
  23  Prefactor     1.2100        .24510        .19563E-03   -.86024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6984e-11
Minuit parameter uncertainties:
  1  1.57635e-06
  2  28.5951
  3  81.502
  4  27.7808
  5  42.3312
  6  1.75524e-05
  7  20.3006
  8  1.0964e-06
  9  4.6508e-06
  10  28.9015
  11  6.87386e-06
  12  28.3385
  13  19.5867
  14  446.451
  15  9.76349e-06
  16  7.01696e-06
  17  59.7916
  18  173.618
  19  0.000104903
  20  65.719
  21  4.84847e-06
  22  0.410492
  23  0.24533
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  5.174e+01  4.233e+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.210e+00  2.453e-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.669e-01  4.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.15
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 9.71e-08 +/- 7.94e-08
Energy Flux (Fixed Index): 4.48e-05 +/- 3.66e-05

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) = 3237.09735274
delta logL = 0.00263156881374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3237.09678834
delta logL = 0.00319597398675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.610       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2415       1.0000          .0000       10.000    
     3 'Normalizat'    .46077       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2119       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3237.097     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      268 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.620        44.309        .56372E-04    .19865E-04
   2  Index         2.2413        .69705        .67393E-02    .21094E-03
   3  Normalizat    .46100        .38986        .48730E-03    .10743E-04
   4  Prefactor     1.2118        .24314        .19549E-03   -.42783E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.6198
  Index      = 2.24129
  Normalizat = 0.460997
  Prefactor  = 1.21177
 **********
 **   18 **HESSE 
 **********

 FCN=   3237.097     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.620        43.591        .11274E-04   -1.4284    
   2  Index         2.2413        .68507        .13479E-02   -.58445    
   3  Normalizat    .46100        .38961        .19492E-04   -1.1426    
   4  Prefactor     1.2118        .24307        .39099E-04   -.85970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90547e-11
Minuit parameter uncertainties:
  1  43.6185
  2  0.688188
  3  0.391937
  4  0.243296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676933': 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) = 3237.0967881
delta logL = 0.00319620962819

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  5.062e+01  4.362e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.241e+00  6.882e-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:  1.212e+00  2.433e-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.610e-01  3.919e-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): 2.24 +/- 0.69
Photon Flux (Free Index): 1.04e-07 +/- 1.19e-07
Energy Flux (Free Index): 4.34e-05 +/- 3.82e-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/676933/cmap_HighResolution_449539201_449798401_4FGL_J2311.0+0205_daily_bin811.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.71e-08', energy_flux2='4.34e-05', photon_flux_error='7.94e-08', dlogl='3.20e-03', energy_flux='4.48e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-09-29 07:38:40.549041', photon_index_error2='0.69', photon_index2='2.24', ts='4.15', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='3.82e-05', EG='0.47', time_epoch_completed='1632926320.55', return_code='0', job_id='676933', GAL2='1.21', EG2='0.46', return_code2='0', energy_flux_error='3.66e-05', photon_flux_error2='1.19e-07', ts2='4.16', photon_index='2.19' WHERE bin_id='811' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:38:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 676933: <4FGL_J2311.0+0205_daily_bin811> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin811 347.766 2.0995 449539201 449798401 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 :                                   458.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             405.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   477 sec.
    Turnaround time :                            479 sec.

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

