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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin220
RA = 347.766, Dec = 2.0995
tmin = 296352001, tmax = 296611201
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='674305', job_status='RUN', time_executed='2021-09-29 07:22:19.254148', time_epoch_executed='1632925339.25' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='220'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674305

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674305/ft1_4FGL_J2311.0+0205_daily_bin220.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674305/ft2_4FGL_J2311.0+0205_daily_bin220.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674305/ft1_4FGL_J2311.0+0205_daily_bin220.fits outfile=/scratch/kocevski/674305/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin220.fits ra=347.766 dec=2.0995 rad=12.0 tmin=296352001.0 tmax=296611201.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 2.45
user 2.26
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/674305/ft2_4FGL_J2311.0+0205_daily_bin220.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/674305/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin220.fits evtable="EVENTS" outfile="/scratch/kocevski/674305/ft1_filtered_4FGL_J2311.0+0205_daily_bin220.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/674305/ft1_filtered_4FGL_J2311.0+0205_daily_bin220.fits" evtable="EVENTS" scfile=/scratch/kocevski/674305/ft2_4FGL_J2311.0+0205_daily_bin220.fits sctable="SC_DATA" outfile=/scratch/kocevski/674305/ltcube_296352001_296611201_4FGL_J2311.0+0205_daily_bin220.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/674305/ft2_4FGL_J2311.0+0205_daily_bin220.fits
.....................!
real 12.37
user 11.87
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674305/ft1_filtered_4FGL_J2311.0+0205_daily_bin220.fits evtable="EVENTS" scfile=/scratch/kocevski/674305/ft2_4FGL_J2311.0+0205_daily_bin220.fits sctable="SC_DATA" expcube=/scratch/kocevski/674305/ltcube_296352001_296611201_4FGL_J2311.0+0205_daily_bin220.fits outfile=/scratch/kocevski/674305/expmap_296352001_296611201_4FGL_J2311.0+0205_daily_bin220.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/674305/ltcube_296352001_296611201_4FGL_J2311.0+0205_daily_bin220.fits
.....................!
real 190.09
user 185.41
sys 4.32

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/674305/ft1_filtered_4FGL_J2311.0+0205_daily_bin220.fits scfile=/scratch/kocevski/674305/ft2_4FGL_J2311.0+0205_daily_bin220.fits outfile=/scratch/kocevski/674305/cmap_296352001_296611201_4FGL_J2311.0+0205_daily_bin220.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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674305/ft1_filtered_4FGL_J2311.0+0205_daily_bin220.fits scfile=/scratch/kocevski/674305/ft2_4FGL_J2311.0+0205_daily_bin220.fits outfile=/scratch/kocevski/674305/cmap_HighResolution_296352001_296611201_4FGL_J2311.0+0205_daily_bin220.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    12.607       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3713       1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .37472       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    15.477       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.4315       1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.310       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.443       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.8213       1.0000         .10000E-03   10000.    
    17 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12124E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.276       1.0000         .10000E-03   10000.    
    20 'Prefactor '    57.376       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .81807       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98755       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=   8077.649     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2513 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7527        .83454E-07** at limit **
   2  norm          12.609        10.052       -.12426E-06    .11481E-04
   3  Prefactor     .10000E-03    25.563       -.26511E-04** at limit **
   4  Prefactor     .10000E-03    6.0156       -.18015E-07** at limit **
   5  Prefactor     .10000E-03    26.866       -.12842E-04** at limit **
   6  Prefactor     .10000E-03    12.274       -.16771E-05** at limit **
   7  Prefactor     .10000E-03    2.0416        .64763E-08** at limit **
   8  norm          1.3714        .82328        .21623E-06   -.41323E-03
   9  norm          .10000E-03    2.2917        .55189E-07** at limit **
  10  Prefactor     .36394        5.4886       -.13765E-05    .96970E-04
  11  Prefactor     .10000E-03    31.514        .33195E-04** at limit **
  12  norm          15.463        14.083        .21311E-05    .43393E-03
  13  Prefactor     6.4384        11.580       -.30761E-05   -.40484E-05
  14  Prefactor     62.251        126.58       -.69948E-04   -.10930E-04
  15  Prefactor     12.445        10.429        .57441E-06   -.27314E-03
  16  Prefactor     8.8186        15.978       -.62242E-06    .54908E-04
  17  norm          .10000E-03    19.385        .12219E-04** at limit **
  18  Prefactor     .10000E-03    118.12       -.13933E-04** at limit **
  19  Prefactor     10.277        5.3438       -.91254E-07   -.53469E-03
  20  Prefactor     57.375        35.932       -.11783E-05   -.44625E-05
  21  Prefactor     .10000E-03    10.089        .88342E-06** at limit **
  22  Normalizat    .81777        .18686        .28589E-05    .19044E-03
  23  Prefactor     .98770        .11471       -.57346E-06    .53511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 12.6091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.37142
  norm       = 0.0001
  Prefactor  = 0.363937
  Prefactor  = 0.0001
  norm       = 15.4628
  Prefactor  = 6.43844
  Prefactor  = 62.2511
  Prefactor  = 12.4449
  Prefactor  = 8.81865
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2767
  Prefactor  = 57.3745
  Prefactor  = 0.0001
  Normalizat = 0.817767
  Prefactor  = 0.987698
 **********
 **   18 **HESSE 
 **********

 FCN=   8077.649     FROM HESSE     STATUS=OK           370 CALLS     2883 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7530        .11620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          12.609        10.055        .11281E-03   -1.4998    
   3  Prefactor     .10000E-03    25.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.0363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.741        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.0442        .12541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.3714        .81505        .59985E-04   -1.5474    
   9  norm          .10000E-03    2.3207        .13282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .36394        55.465        .36910E-02   -1.5587    
  11  Prefactor     .10000E-03    31.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          15.463        14.218        .10181E-03   -1.4921    
  13  Prefactor     6.4384        11.516        .15826E-03   -1.5200    
  14  Prefactor     62.251        126.60        .25417E-03   -1.4128    
  15  Prefactor     12.445        10.405        .11356E-03   -1.5002    
  16  Prefactor     8.8186        15.941        .13495E-03   -1.5114    
  17  norm          .10000E-03    19.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    118.96        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.277        5.3461        .12500E-03   -1.5067    
  20  Prefactor     57.375        35.995        .52961E-04   -1.4192    
  21  Prefactor     .10000E-03    10.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .81777        .21632        .33209E-03   -.99413    
  23  Prefactor     .98770        .13370        .19587E-03   -.93141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88615e-10
Minuit parameter uncertainties:
  1  1.6848e-07
  2  10.0567
  3  8.42294e-05
  4  4.06198e-06
  5  0.00018236
  6  2.74938e-06
  7  3.30456e-07
  8  0.81506
  9  1.24551e-06
  10  8.99294
  11  3.12041e-05
  12  14.2211
  13  11.5202
  14  127.15
  15  10.4067
  16  15.9487
  17  7.01108e-05
  18  0.000136993
  19  5.34636
  20  36.0089
  21  3.35255e-06
  22  0.216545
  23  0.133744
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.824e-04  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:  9.877e-01  1.337e-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:  8.178e-01  2.165e-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.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/674305/likelihoodResults_296352001_296611201_4FGL_J2311.0+0205_daily_bin220.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) = 8077.64882097
delta logL = -0.000171993477124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8077.64864906
delta logL = -7.80009941082e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12348E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2501       1.0000          .0000       10.000    
     3 'Normalizat'    .81783       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98766       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=   8077.649     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      226 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    .13299        .90712E-01** at limit **
   2  Index         2.3292        5.5382        .50000       -.19715E-04
   3  Normalizat    .81777        .61959E-03    .75030E-01    .43235E-04
   4  Prefactor     .98770        .40035E-03    .46113E-01    .21392E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100028
  Index      = 2.32922
  Normalizat = 0.817768
  Prefactor  = 0.987696
 **********
 **   18 **HESSE 
 **********

 FCN=   8077.649     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      261 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    92.659        .47577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3292        6.4743        .50000       -.56351    
   3  Normalizat    .81777        .67098E-02    .33208E-03   -.99413    
   4  Prefactor     .98770        .43430E-02    .19587E-03   -.93141    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.57381e-06
Minuit parameter uncertainties:
  1  0.00323283
  2  276.718
  3  0.00670982
  4  0.00434299
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674305': 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): 102
logL (Free Index) = 8077.64864829
delta logL = 6.84128281137e-07

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.233e-03  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.329e+00  2.767e+02  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:  9.877e-01  4.343e-03  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:  8.178e-01  6.710e-03  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/674305/cmap_HighResolution_296352001_296611201_4FGL_J2311.0+0205_daily_bin220.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2021-09-29 07:34:24.922431', job_id='674305', GAL2='0.99', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632926064.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='6.84e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='220' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:34:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 674305: <4FGL_J2311.0+0205_daily_bin220> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin220> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:20:12 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:20:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:20:14 2021
Terminated at Wed Sep 29 07:34:25 2021
Results reported at Wed Sep 29 07:34:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin220 347.766 2.0995 296352001 296611201 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 :                                   725.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             332.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            853 sec.

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

