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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin606
RA = 347.766, Dec = 2.0995
tmin = 396403201, tmax = 396662401
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='676628', job_status='RUN', time_executed='2021-09-29 07:33:18.498759', time_epoch_executed='1632925998.5' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='606'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676628

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676628/ft1_4FGL_J2311.0+0205_daily_bin606.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676628/ft2_4FGL_J2311.0+0205_daily_bin606.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676628/ft1_4FGL_J2311.0+0205_daily_bin606.fits outfile=/scratch/kocevski/676628/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin606.fits ra=347.766 dec=2.0995 rad=12.0 tmin=396403201.0 tmax=396662401.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 4.63
user 4.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/676628/ft2_4FGL_J2311.0+0205_daily_bin606.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/676628/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin606.fits evtable="EVENTS" outfile="/scratch/kocevski/676628/ft1_filtered_4FGL_J2311.0+0205_daily_bin606.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.53
user 0.31
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676628/ft1_filtered_4FGL_J2311.0+0205_daily_bin606.fits evtable="EVENTS" scfile=/scratch/kocevski/676628/ft2_4FGL_J2311.0+0205_daily_bin606.fits sctable="SC_DATA" expcube=/scratch/kocevski/676628/ltcube_396403201_396662401_4FGL_J2311.0+0205_daily_bin606.fits outfile=/scratch/kocevski/676628/expmap_396403201_396662401_4FGL_J2311.0+0205_daily_bin606.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/676628/ltcube_396403201_396662401_4FGL_J2311.0+0205_daily_bin606.fits
.....................!
real 190.84
user 185.15
sys 5.22

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/676628/ft1_filtered_4FGL_J2311.0+0205_daily_bin606.fits scfile=/scratch/kocevski/676628/ft2_4FGL_J2311.0+0205_daily_bin606.fits outfile=/scratch/kocevski/676628/cmap_396403201_396662401_4FGL_J2311.0+0205_daily_bin606.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.54
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    21.967       1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.522       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .49406       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4222       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.149       1.0000         .10000E-03   10000.    
    11 'Prefactor '    59.029       1.0000         .10000E-03   10000.    
    12 'norm      '    7.1954       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1982       1.0000         .10000E-03   10000.    
    14 'Prefactor '    120.08       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.952       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.2257       1.0000         .10000E-03   10000.    
    17 'norm      '    .10385E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .64950E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.177       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.7260       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3955       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .58695       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=   7038.857     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2519 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4574       -.11674E-08** at limit **
   2  norm          21.966        16.463        .45641E-06   -.39024E-04
   3  Prefactor     43.521        31.207        .38650E-06   -.10832E-04
   4  Prefactor     .10000E-03    4.3727        .21882E-07** at limit **
   5  Prefactor     .10000E-03    7.8974        .25474E-08** at limit **
   6  Prefactor     .10000E-03    12.445        .14542E-06** at limit **
   7  Prefactor     .49385        7.8480        .23244E-05   -.65488E-04
   8  norm          2.4222        1.0440        .32189E-07   -.56599E-03
   9  norm          .10000E-03    1.2184       -.98551E-07** at limit **
  10  Prefactor     22.149        11.826       -.18482E-06   -.30345E-04
  11  Prefactor     59.024        57.412        .86892E-06   -.33236E-04
  12  norm          7.1955        8.1213       -.74926E-07   -.32044E-04
  13  Prefactor     3.1982        7.0153        .36356E-05   -.89040E-04
  14  Prefactor     120.14        139.60       -.64815E-05   -.20496E-04
  15  Prefactor     13.966        12.101       -.57854E-06   -.31959E-03
  16  Prefactor     4.2240        33.733        .11185E-06   -.46591E-05
  17  norm          .10000E-03    15.463        .43077E-06** at limit **
  18  Prefactor     .10000E-03    9.6166       -.15500E-06** at limit **
  19  Prefactor     .35698E-01    1.9416        .24458E-06    .48861E-04
  20  Prefactor     20.175        36.607        .47409E-06   -.38619E-04
  21  Prefactor     8.7264        18.792        .30717E-06   -.18227E-04
  22  Normalizat    1.3954        .20344       -.84345E-06   -.17732E-03
  23  Prefactor     .58706        .11579       -.28478E-06   -.20506E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 21.9664
  Prefactor  = 43.5209
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.493846
  norm       = 2.42222
  norm       = 0.0001
  Prefactor  = 22.1494
  Prefactor  = 59.0243
  norm       = 7.19551
  Prefactor  = 3.19824
  Prefactor  = 120.142
  Prefactor  = 13.9657
  Prefactor  = 4.22401
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0356976
  Prefactor  = 20.1747
  Prefactor  = 8.72644
  Normalizat = 1.39539
  Prefactor  = 0.587064
 **********
 **   18 **HESSE 
 **********

 FCN=   7038.857     FROM HESSE     STATUS=OK           382 CALLS     2901 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.4633        .15235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          21.966        16.586        .85460E-04   -1.4770    
   3  Prefactor     43.521        31.245        .60769E-04   -1.4388    
   4  Prefactor     .10000E-03    4.3908        .17133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.9124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .49385        8.0913        .44986E-03   -1.5567    
   8  norm          2.4222        1.0450        .26298E-04   -1.5397    
   9  norm          .10000E-03    1.2201        .90402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.149        11.796        .85109E-04   -1.4766    
  11  Prefactor     59.024        57.478        .52219E-04   -1.4170    
  12  norm          7.1955        8.0747        .74768E-03   -1.5171    
  13  Prefactor     3.1982        7.0218        .11328E-02   -1.5350    
  14  Prefactor     120.14        139.79        .18362E-03   -1.3511    
  15  Prefactor     13.966        12.341        .10723E-03   -1.4960    
  16  Prefactor     4.2240        33.410        .19603E-03   -1.5297    
  17  norm          .10000E-03    15.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.6162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35698E-01    4.1966        .37811E-01   -1.5670    
  20  Prefactor     20.175        36.703        .89167E-04   -1.4809    
  21  Prefactor     8.7264        18.784        .13569E-03   -1.5117    
  22  Normalizat    1.3954        .23770        .26393E-03   -.80762    
  23  Prefactor     .58706        .13315        .23705E-03   -1.0813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.88628e-10
Minuit parameter uncertainties:
  1  4.78168e-07
  2  16.5892
  3  31.2563
  4  1.11607e-06
  5  5.60224e-06
  6  1.87491e-05
  7  3.99816
  8  1.04503
  9  5.33984e-06
  10  11.7973
  11  57.5318
  12  8.07594
  13  7.02366
  14  140.181
  15  12.3429
  16  23.7772
  17  9.69489e-05
  18  1.70697e-06
  19  0.773069
  20  36.7445
  21  18.7971
  22  0.237885
  23  0.13322
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  5.602e-06  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:  5.871e-01  1.332e-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:  1.395e+00  2.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/676628/likelihoodResults_396403201_396662401_4FGL_J2311.0+0205_daily_bin606.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7038.85726914
delta logL = -0.000601489824476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7038.85666764
delta logL = 1.16360752145e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1952       1.0000          .0000       10.000    
     3 'Normalizat'    1.3954       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58707       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=   7038.857     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      242 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.849        .18142E-02** at limit **
   2  Index         2.2043        5.4827        .50000       -.95922E-05
   3  Normalizat    1.3954        .21452        .26393E-03   -.54058E-04
   4  Prefactor     .58706        .13121        .23705E-03   -.22301E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.20429
  Normalizat = 1.39539
  Prefactor  = 0.587064
 **********
 **   18 **HESSE 
 **********

 FCN=   7038.857     FROM HESSE     STATUS=OK            29 CALLS      271 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1652        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2043        6.1005        .50000       -.59335    
   3  Normalizat    1.3954        .21469        .10557E-04   -.80762    
   4  Prefactor     .58706        .13132        .94819E-05   -1.0813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63472e-10
Minuit parameter uncertainties:
  1  0.000154946
  2  4.20359
  3  0.214829
  4  0.13139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676628': 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) = 7038.85666761
delta logL = 4.20068317908e-08

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.549e-04  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.204e+00  4.204e+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:  5.871e-01  1.314e-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:  1.395e+00  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/676628/cmap_HighResolution_396403201_396662401_4FGL_J2311.0+0205_daily_bin606.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-03', job_status='DONE', photon_flux_upper_limit='6.28e-08', time_completed='2021-09-29 07:44:59.497978', job_id='676628', GAL2='0.59', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1632926699.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='4.20e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='606' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:44:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 676628: <4FGL_J2311.0+0205_daily_bin606> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin606 347.766 2.0995 396403201 396662401 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 :                                   689.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             271.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            886 sec.

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

