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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin546
RA = 347.766, Dec = 2.0995
tmin = 380851201, tmax = 381110401
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='675855', job_status='RUN', time_executed='2021-09-29 07:27:28.316534', time_epoch_executed='1632925648.32' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='546'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675855

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675855/ft1_4FGL_J2311.0+0205_daily_bin546.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675855/ft2_4FGL_J2311.0+0205_daily_bin546.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675855/ft1_4FGL_J2311.0+0205_daily_bin546.fits outfile=/scratch/kocevski/675855/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin546.fits ra=347.766 dec=2.0995 rad=12.0 tmin=380851201.0 tmax=381110401.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.44
user 3.24
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675855/ft1_filtered_4FGL_J2311.0+0205_daily_bin546.fits evtable="EVENTS" scfile=/scratch/kocevski/675855/ft2_4FGL_J2311.0+0205_daily_bin546.fits sctable="SC_DATA" expcube=/scratch/kocevski/675855/ltcube_380851201_381110401_4FGL_J2311.0+0205_daily_bin546.fits outfile=/scratch/kocevski/675855/expmap_380851201_381110401_4FGL_J2311.0+0205_daily_bin546.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/675855/ltcube_380851201_381110401_4FGL_J2311.0+0205_daily_bin546.fits
.....................!
real 190.45
user 185.34
sys 4.78

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/675855/ft1_filtered_4FGL_J2311.0+0205_daily_bin546.fits scfile=/scratch/kocevski/675855/ft2_4FGL_J2311.0+0205_daily_bin546.fits outfile=/scratch/kocevski/675855/cmap_380851201_381110401_4FGL_J2311.0+0205_daily_bin546.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675855/ft1_filtered_4FGL_J2311.0+0205_daily_bin546.fits scfile=/scratch/kocevski/675855/ft2_4FGL_J2311.0+0205_daily_bin546.fits outfile=/scratch/kocevski/675855/cmap_HighResolution_380851201_381110401_4FGL_J2311.0+0205_daily_bin546.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.60
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    5.4000       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.018       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    43.994       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.395       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7228       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3607       1.0000         .10000E-03   10000.    
     9 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.8425       1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.403       1.0000         .10000E-03   10000.    
    12 'norm      '    3.7222       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    35.708       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10158E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.0062       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .37488       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2371       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=   5627.011     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2524 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7276        .27350E-07** at limit **
   2  norm          5.3975        10.158        .70933E-06    .31705E-05
   3  Prefactor     35.991        34.124       -.14736E-05   -.83271E-04
   4  Prefactor     .10000E-03    6.4833        .13014E-06** at limit **
   5  Prefactor     43.992        23.197        .46598E-06    .10842E-04
   6  Prefactor     22.246        77.559       -.18128E-04   -.16342E-03
   7  Prefactor     5.7383        16.758        .44767E-05    .11794E-03
   8  norm          1.3602        1.0341        .14719E-06    .10295E-03
   9  norm          .10000E-03    2.5411        .44896E-06** at limit **
  10  Prefactor     5.8404        9.7549        .16616E-05   -.26329E-03
  11  Prefactor     39.379        76.251       -.21158E-05   -.31584E-04
  12  norm          3.7228        6.6777        .72051E-05   -.50960E-03
  13  Prefactor     .10000E-03    4.3128       -.40695E-06** at limit **
  14  Prefactor     .10000E-03    108.36        .16779E-05** at limit **
  15  Prefactor     35.708        17.026        .49595E-06   -.10935E-04
  16  Prefactor     .10000E-03    9.0439       -.24843E-06** at limit **
  17  norm          .10000E-03    22.666       -.46165E-06** at limit **
  18  Prefactor     .10000E-03    19.898        .39232E-06** at limit **
  19  Prefactor     .10000E-03    2.0892        .96331E-07** at limit **
  20  Prefactor     6.9971        37.117        .11749E-07   -.12230E-04
  21  Prefactor     .10000E-03    6.2952        .15257E-07** at limit **
  22  Normalizat    .37515        .26268       -.53006E-05   -.64385E-04
  23  Prefactor     1.2370        .16242        .91657E-06   -.29133E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.39752
  Prefactor  = 35.9909
  Prefactor  = 0.0001
  Prefactor  = 43.9917
  Prefactor  = 22.246
  Prefactor  = 5.73826
  norm       = 1.36018
  norm       = 0.0001
  Prefactor  = 5.84037
  Prefactor  = 39.3787
  norm       = 3.72282
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.7085
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.99708
  Prefactor  = 0.0001
  Normalizat = 0.37515
  Prefactor  = 1.237
 **********
 **   18 **HESSE 
 **********

 FCN=   5627.011     FROM HESSE     STATUS=OK           366 CALLS     2890 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7503        .15929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.3975        10.133        .17293E-03   -1.5243    
   3  Prefactor     35.991        34.022        .66777E-04   -1.4507    
   4  Prefactor     .10000E-03    6.5106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     43.992        23.168        .60443E-04   -1.4380    
   6  Prefactor     22.246        80.842        .84640E-04   -1.4764    
   7  Prefactor     5.7383        16.878        .16790E-03   -1.5229    
   8  norm          1.3602        1.0160        .62250E-04   -1.5475    
   9  norm          .10000E-03    2.5447        .11664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.8404        9.6889        .83075E-03   -1.5225    
  11  Prefactor     39.379        76.092        .63854E-04   -1.4452    
  12  norm          3.7228        6.7361        .10465E-02   -1.5322    
  13  Prefactor     .10000E-03    4.3677        .15217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    108.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     35.708        16.890        .67065E-04   -1.4512    
  16  Prefactor     .10000E-03    9.0589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    22.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.1002        .10569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.9971        36.881        .15156E-03   -1.5179    
  21  Prefactor     .10000E-03    6.3021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .37515        .25545        .45837E-03   -1.1861    
  23  Prefactor     1.2370        .16205        .17644E-03   -.85200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60895e-09
Minuit parameter uncertainties:
  1  6.20193e-07
  2  10.1367
  3  34.0407
  4  1.60069e-06
  5  23.1729
  6  81.2437
  7  16.8921
  8  1.01602
  9  1.6499e-07
  10  9.69149
  11  76.2807
  12  6.73746
  13  6.63198e-05
  14  0.000238267
  15  16.8918
  16  4.35679e-05
  17  3.24031e-05
  18  2.47832e-05
  19  1.03301e-06
  20  32.1594
  21  1.28294e-06
  22  0.256245
  23  0.162119
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  4.399e+01  2.317e+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.237e+00  1.621e-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:  3.751e-01  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.20
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 8.26e-08 +/- 4.35e-08
Energy Flux (Fixed Index): 3.81e-05 +/- 2.01e-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) = 5626.03439447
delta logL = 0.976480360611

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5625.92719833
delta logL = 1.08367650729

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.765       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6396       1.0000          .0000       10.000    
     3 'Normalizat'    .41317       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2244       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=   5625.927     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      214 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.781        30.267        .57388E-05   -.12284E-03
   2  Index         1.6405        .35178        .24661E-04   -.58259E-04
   3  Normalizat    .41370        .23002       -.50737E-05   -.45560E-03
   4  Prefactor     1.2240        .15581        .21469E-06   -.77004E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.7805
  Index      = 1.64049
  Normalizat = 0.413699
  Prefactor  = 1.224
 **********
 **   18 **HESSE 
 **********

 FCN=   5625.927     FROM HESSE     STATUS=OK            29 CALLS      243 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.781        30.081        .27351E-03   -1.4240    
   2  Index         1.6405        .35002        .61557E-02   -.73677    
   3  Normalizat    .41370        .23723        .43713E-03   -1.1660    
   4  Prefactor     1.2240        .16068        .17723E-03   -.85596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.49759e-10
Minuit parameter uncertainties:
  1  30.0898
  2  0.350547
  3  0.237811
  4  0.160748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675855': 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) = 5625.92719132
delta logL = 1.08368351143

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  5.378e+01  3.009e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.640e+00  3.505e-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.224e+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.137e-01  2.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.39
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.64 +/- 0.35
Photon Flux (Free Index): 4.79e-08 +/- 3.46e-08
Energy Flux (Free Index): 9.49e-05 +/- 8.24e-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/675855/cmap_HighResolution_380851201_381110401_4FGL_J2311.0+0205_daily_bin546.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.26e-08', energy_flux2='9.49e-05', photon_flux_error='4.35e-08', dlogl='1.08e+00', energy_flux='3.81e-05', photon_flux2='4.79e-08', job_status='DONE', time_completed='2021-09-29 07:36:41.945418', photon_index_error2='0.35', photon_index2='1.64', ts='14.20', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='8.24e-05', EG='0.38', time_epoch_completed='1632926201.95', return_code='0', job_id='675855', GAL2='1.22', EG2='0.41', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='3.46e-08', ts2='16.39', photon_index='2.19' WHERE bin_id='546' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:36:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 675855: <4FGL_J2311.0+0205_daily_bin546> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin546 347.766 2.0995 380851201 381110401 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 :                                   551.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            670 sec.

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

