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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin15
RA = 347.766, Dec = 2.0995
tmin = 243216001, tmax = 243475201
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='672726', job_status='RUN', time_executed='2021-09-29 07:19:35.843915', time_epoch_executed='1632925175.84' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672726

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672726/ft1_4FGL_J2311.0+0205_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672726/ft2_4FGL_J2311.0+0205_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672726/ft1_4FGL_J2311.0+0205_daily_bin15.fits outfile=/scratch/kocevski/672726/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin15.fits ra=347.766 dec=2.0995 rad=12.0 tmin=243216001.0 tmax=243475201.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 1.35
user 1.18
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672726/ft1_filtered_4FGL_J2311.0+0205_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/672726/ft2_4FGL_J2311.0+0205_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/672726/ltcube_243216001_243475201_4FGL_J2311.0+0205_daily_bin15.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/672726/ft2_4FGL_J2311.0+0205_daily_bin15.fits
.....................!
real 12.61
user 12.26
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672726/ft1_filtered_4FGL_J2311.0+0205_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/672726/ft2_4FGL_J2311.0+0205_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/672726/ltcube_243216001_243475201_4FGL_J2311.0+0205_daily_bin15.fits outfile=/scratch/kocevski/672726/expmap_243216001_243475201_4FGL_J2311.0+0205_daily_bin15.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/672726/ltcube_243216001_243475201_4FGL_J2311.0+0205_daily_bin15.fits
.....................!
real 190.17
user 185.12
sys 4.68

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/672726/ft1_filtered_4FGL_J2311.0+0205_daily_bin15.fits scfile=/scratch/kocevski/672726/ft2_4FGL_J2311.0+0205_daily_bin15.fits outfile=/scratch/kocevski/672726/cmap_243216001_243475201_4FGL_J2311.0+0205_daily_bin15.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.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.984       1.0000         .10000E-03   10000.    
     2 'norm      '    9.8597       1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.855       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.327       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .43974E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .91212       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8514       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    28.689       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.547       1.0000         .10000E-03   10000.    
    14 'Prefactor '    192.33       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12262E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    30.738       1.0000         .10000E-03   10000.    
    17 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .26161       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.982       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.549       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0137       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .67126       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=   7012.461     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2600 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.981        9.5714        .29722E-06   -.13987E-04
   2  norm          9.8556        9.7844       -.46146E-07   -.62406E-04
   3  Prefactor     39.851        34.454       -.29687E-06   -.57135E-04
   4  Prefactor     .10000E-03    31.640        .62441E-05** at limit **
   5  Prefactor     22.320        16.204       -.34239E-07   -.50768E-04
   6  Prefactor     .10000E-03    15.776        .66597E-06** at limit **
   7  Prefactor     .36026E-01    9.6468        .54849E-05   -.10080E-02
   8  norm          .91188        .73355       -.25182E-06   -.10942E-02
   9  norm          1.8545        4.6101       -.19799E-05   -.85198E-03
  10  Prefactor     .10000E-03    4.4395        .57019E-06** at limit **
  11  Prefactor     .10000E-03    40.751        .19609E-05** at limit **
  12  norm          28.685        11.799       -.11744E-06   -.15384E-03
  13  Prefactor     13.545        9.0627       -.28022E-07   -.10886E-03
  14  Prefactor     192.97        192.16        .80447E-05    .79709E-04
  15  Prefactor     .10000E-03    12.509        .34052E-06** at limit **
  16  Prefactor     30.726        28.003        .42453E-06   -.40654E-04
  17  norm          .10000E-03    5.6835       -.68885E-07** at limit **
  18  Prefactor     .10000E-03    13.685        .21608E-06** at limit **
  19  Prefactor     .22720        14.208       -.53091E-05   -.53209E-03
  20  Prefactor     14.040        35.896       -.34195E-05   -.38303E-04
  21  Prefactor     23.525        27.349        .92146E-07   -.31537E-04
  22  Normalizat    1.0142        .21514        .78485E-05   -.69908E-03
  23  Prefactor     .67109        .12541       -.77284E-05   -.61493E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.9813
  norm       = 9.85555
  Prefactor  = 39.8509
  Prefactor  = 0.000100004
  Prefactor  = 22.3203
  Prefactor  = 0.0001
  Prefactor  = 0.0360258
  norm       = 0.911882
  norm       = 1.85451
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 28.685
  Prefactor  = 13.5452
  Prefactor  = 192.971
  Prefactor  = 0.000100001
  Prefactor  = 30.7261
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.227197
  Prefactor  = 14.04
  Prefactor  = 23.5246
  Normalizat = 1.01424
  Prefactor  = 0.671094
 **********
 **   18 **HESSE 
 **********

 FCN=   7012.461     FROM HESSE     STATUS=OK           382 CALLS     2982 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.981        9.5713        .10711E-03   -1.4960    
   2  norm          9.8556        9.7924        .12762E-03   -1.5080    
   3  Prefactor     39.851        34.505        .63492E-04   -1.4445    
   4  Prefactor     .10000E-03    33.101        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.320        16.212        .84769E-04   -1.4763    
   6  Prefactor     .10000E-03    15.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .36026E-01    5.2972        .57620E-01   -1.5670    
   8  norm          .91188        .73309        .59636E-04   -1.5517    
   9  norm          1.8545        4.5605        .25662E-03   -1.5436    
  10  Prefactor     .10000E-03    4.4690        .17233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    40.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          28.685        11.794        .74798E-04   -1.4636    
  13  Prefactor     13.545        9.0597        .10882E-03   -1.4972    
  14  Prefactor     192.97        196.47        .14562E-03   -1.2921    
  15  Prefactor     .10000E-03    12.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.726        27.985        .72268E-04   -1.4599    
  17  norm          .10000E-03    5.6871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22720        15.352        .20734E-02   -1.5613    
  20  Prefactor     14.040        35.818        .10712E-03   -1.4958    
  21  Prefactor     23.525        27.370        .82544E-04   -1.4738    
  22  Normalizat    1.0142        .22252        .27491E-03   -.92555    
  23  Prefactor     .67109        .12753        .21039E-03   -1.0467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21121e-09
Minuit parameter uncertainties:
  1  9.57239
  2  9.79398
  3  34.5219
  4  0.000743759
  5  16.2148
  6  3.73443e-05
  7  0.872563
  8  0.7331
  9  4.56135
  10  2.90836e-05
  11  0.00029137
  12  11.7952
  13  9.06057
  14  197.142
  15  0.000191951
  16  27.9971
  17  2.09107e-05
  18  1.12303e-05
  19  3.73541
  20  35.8729
  21  27.3845
  22  0.222723
  23  0.127586
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.232e+01  1.621e+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:  6.711e-01  1.276e-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.014e+00  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.57
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.19e-08 +/- 3.04e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 1.40e-05

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

Saving results to:
/scratch/kocevski/672726/likelihoodResults_243216001_243475201_4FGL_J2311.0+0205_daily_bin15.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) = 7012.40771984
delta logL = 0.0536717968826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7012.40676302
delta logL = 0.0546286191275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.478       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3679       1.0000          .0000       10.000    
     3 'Normalizat'    1.0057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67400       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=   7012.407     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      265 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.493        356.58        .22688E-02    .25105E-04
   2  Index         2.3687        6.1777        .13879        .11163E-03
   3  Normalizat    1.0057        .10384        .46239E-01    .11373E-04
   4  Prefactor     .67395        .49609E-01    .42054E-01   -.34651E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.493
  Index      = 2.36868
  Normalizat = 1.00565
  Prefactor  = 0.673946
 **********
 **   18 **HESSE 
 **********

 FCN=   7012.407     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.493        17.936        .90752E-04   -1.4825    
   2  Index         2.3687        .58890        .70604E-02   -.55420    
   3  Normalizat    1.0057        .19828        .27595E-03   -.92841    
   4  Prefactor     .67395        .12504        .20998E-03   -1.0456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40616e-12
Minuit parameter uncertainties:
  1  17.9407
  2  0.590796
  3  0.19843
  4  0.125089
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672726': 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) = 7012.40675928
delta logL = 0.0546323593298

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.949e+01  1.794e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.369e+00  5.908e-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:  6.739e-01  1.251e-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.006e+00  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.66
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.37 +/- 0.59
Photon Flux (Free Index): 4.98e-08 +/- 4.11e-08
Energy Flux (Free Index): 1.70e-05 +/- 1.37e-05

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/672726/cmap_HighResolution_243216001_243475201_4FGL_J2311.0+0205_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.34e-03', comment='SUCCESS', photon_flux='4.19e-08', energy_flux2='1.70e-05', photon_flux_error='3.04e-08', dlogl='5.46e-02', energy_flux='1.93e-05', photon_flux2='4.98e-08', job_status='DONE', time_completed='2021-09-29 07:30:59.193270', photon_index_error2='0.59', photon_index2='2.37', ts='3.57', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='1.37e-05', EG='1.01', time_epoch_completed='1632925859.19', return_code='0', job_id='672726', GAL2='0.67', EG2='1.01', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='4.11e-08', ts2='3.66', photon_index='2.19' WHERE bin_id='15' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:30:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 672726: <4FGL_J2311.0+0205_daily_bin15> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin15 347.766 2.0995 243216001 243475201 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            933 sec.

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

