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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin565
RA = 347.766, Dec = 2.0995
tmin = 385776001, tmax = 386035201
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='675883', job_status='RUN', time_executed='2021-09-29 07:28:54.382611', time_epoch_executed='1632925734.38' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='565'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675883

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675883/ft1_4FGL_J2311.0+0205_daily_bin565.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675883/ft2_4FGL_J2311.0+0205_daily_bin565.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675883/ft1_4FGL_J2311.0+0205_daily_bin565.fits outfile=/scratch/kocevski/675883/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin565.fits ra=347.766 dec=2.0995 rad=12.0 tmin=385776001.0 tmax=386035201.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.86
user 3.65
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675883/ft1_filtered_4FGL_J2311.0+0205_daily_bin565.fits" evtable="EVENTS" scfile=/scratch/kocevski/675883/ft2_4FGL_J2311.0+0205_daily_bin565.fits sctable="SC_DATA" outfile=/scratch/kocevski/675883/ltcube_385776001_386035201_4FGL_J2311.0+0205_daily_bin565.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/675883/ft2_4FGL_J2311.0+0205_daily_bin565.fits
.....................!
real 12.81
user 12.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675883/ft1_filtered_4FGL_J2311.0+0205_daily_bin565.fits evtable="EVENTS" scfile=/scratch/kocevski/675883/ft2_4FGL_J2311.0+0205_daily_bin565.fits sctable="SC_DATA" expcube=/scratch/kocevski/675883/ltcube_385776001_386035201_4FGL_J2311.0+0205_daily_bin565.fits outfile=/scratch/kocevski/675883/expmap_385776001_386035201_4FGL_J2311.0+0205_daily_bin565.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/675883/ltcube_385776001_386035201_4FGL_J2311.0+0205_daily_bin565.fits
.....................!
real 190.40
user 185.56
sys 4.53

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/675883/ft1_filtered_4FGL_J2311.0+0205_daily_bin565.fits scfile=/scratch/kocevski/675883/ft2_4FGL_J2311.0+0205_daily_bin565.fits outfile=/scratch/kocevski/675883/cmap_385776001_386035201_4FGL_J2311.0+0205_daily_bin565.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.61
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675883/ft1_filtered_4FGL_J2311.0+0205_daily_bin565.fits scfile=/scratch/kocevski/675883/ft2_4FGL_J2311.0+0205_daily_bin565.fits outfile=/scratch/kocevski/675883/cmap_HighResolution_385776001_386035201_4FGL_J2311.0+0205_daily_bin565.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.052       1.0000         .10000E-03   10000.    
     2 'norm      '    5.7493       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.486       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3427       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10540E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5287       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4047       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6388       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.2065       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .80278E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.337       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.947       1.0000         .10000E-03   10000.    
    17 'norm      '    .10163E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.605       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6675       1.0000         .10000E-03   10000.    
    20 'Prefactor '    32.399       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.1473       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .50284       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2443       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=   6033.086     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2562 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.052        10.039        .13595E-06   -.14548E-04
   2  norm          5.7470        12.840       -.20857E-05   -.24281E-04
   3  Prefactor     19.438        37.281       -.23301E-04   -.81324E-05
   4  Prefactor     5.3385        12.854       -.67711E-06   -.12431E-04
   5  Prefactor     .10000E-03    4.7746       -.61929E-07** at limit **
   6  Prefactor     .10000E-03    168.40        .12553E-04** at limit **
   7  Prefactor     8.5255        13.622       -.98295E-06   -.98335E-04
   8  norm          2.4047        1.1693       -.38946E-07   -.90599E-04
   9  norm          1.6421        3.1214        .46311E-06   -.73441E-03
  10  Prefactor     .10000E-03    6.7357       -.15449E-06** at limit **
  11  Prefactor     .10000E-03    33.317        .19888E-06** at limit **
  12  norm          3.1956        7.0001       -.52359E-06    .51809E-04
  13  Prefactor     .10000E-03    3.6210       -.42278E-06** at limit **
  14  Prefactor     .10000E-03    79.312       -.10948E-05** at limit **
  15  Prefactor     26.335        22.054        .10931E-06   -.17174E-04
  16  Prefactor     13.935        23.282        .10688E-05    .16859E-04
  17  norm          .10000E-03    14.016       -.18189E-07** at limit **
  18  Prefactor     19.591        51.878       -.17543E-04   -.74512E-05
  19  Prefactor     4.6661        8.2133       -.61445E-06   -.43599E-03
  20  Prefactor     32.394        46.193       -.66163E-05    .10502E-05
  21  Prefactor     8.1444        19.036       -.97041E-06   -.31612E-05
  22  Normalizat    .50298        .26243        .10372E-04    .57420E-04
  23  Prefactor     1.2442        .15716       -.99493E-06    .86556E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0519
  norm       = 5.74697
  Prefactor  = 19.4383
  Prefactor  = 5.33855
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.52553
  norm       = 2.40471
  norm       = 1.64215
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.19561
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 26.3349
  Prefactor  = 13.935
  norm       = 0.0001
  Prefactor  = 19.5909
  Prefactor  = 4.66608
  Prefactor  = 32.3937
  Prefactor  = 8.14439
  Normalizat = 0.502979
  Prefactor  = 1.2442
 **********
 **   18 **HESSE 
 **********

 FCN=   6033.086     FROM HESSE     STATUS=OK           378 CALLS     2940 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.052        10.042        .11087E-03   -1.4985    
   2  norm          5.7470        12.802        .16751E-03   -1.5228    
   3  Prefactor     19.438        37.294        .90734E-04   -1.4826    
   4  Prefactor     5.3385        12.832        .17387E-03   -1.5246    
   5  Prefactor     .10000E-03    4.7779        .16576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    168.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.5255        19.169        .13726E-03   -1.5124    
   8  norm          2.4047        1.1685        .54928E-04   -1.5398    
   9  norm          1.6421        15.028        .16505E-02   -1.5452    
  10  Prefactor     .10000E-03    6.7788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    33.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1956        6.7221        .22626E-03   -1.5350    
  13  Prefactor     .10000E-03    14.526        .27281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    79.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.335        22.132        .78060E-04   -1.4681    
  16  Prefactor     13.935        23.201        .10725E-03   -1.4961    
  17  norm          .10000E-03    14.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.591        51.863        .90457E-04   -1.4822    
  19  Prefactor     4.6661        8.3283        .93139E-03   -1.5276    
  20  Prefactor     32.394        46.166        .70396E-04   -1.4569    
  21  Prefactor     8.1444        19.009        .14046E-03   -1.5137    
  22  Normalizat    .50298        .27289        .42090E-03   -1.1228    
  23  Prefactor     1.2442        .16782        .18484E-03   -.84982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85868e-09
Minuit parameter uncertainties:
  1  10.0432
  2  12.8076
  3  37.3384
  4  12.839
  5  2.94912e-06
  6  0.000451631
  7  19.1832
  8  1.16849
  9  9.93833
  10  6.21973e-06
  11  2.8469e-05
  12  6.72365
  13  0.000266513
  14  6.58848e-06
  15  22.1393
  16  23.2164
  17  3.74368e-07
  18  51.9831
  19  8.33033
  20  46.2166
  21  19.0229
  22  0.273618
  23  0.167897
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.949e-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:  1.244e+00  1.679e-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:  5.030e-01  2.736e-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: 4.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675883/likelihoodResults_385776001_386035201_4FGL_J2311.0+0205_daily_bin565.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) = 6033.08677322
delta logL = -0.000982815175121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6033.0857914
delta logL = -9.90751686913e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11366E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1492       1.0000          .0000       10.000    
     3 'Normalizat'    .50314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2441       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=   6033.086     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      242 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10606E-03    5.6923        .17582E-01** at limit **
   2  Index         2.0324        5.6741        .50000        .51594E-04
   3  Normalizat    .50298        .52034E-02    .42089E-03    .47026E-04
   4  Prefactor     1.2442        .34965E-02    .18485E-03    .10148E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000106057
  Index      = 2.03243
  Normalizat = 0.502979
  Prefactor  = 1.2442
 **********
 **   18 **HESSE 
 **********

 FCN=   6033.086     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10606E-03    53.280        .18620E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0324        5.2556        .50000       -.63542    
   3  Normalizat    .50298        .16034E-01    .16836E-04   -1.1228    
   4  Prefactor     1.2442        .10774E-01    .73938E-05   -.84982    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.01216e-08
Minuit parameter uncertainties:
  1  0.0359598
  2  228.098
  3  0.0160339
  4  0.0107743
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675883': 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) = 6033.08578871
delta logL = 1.6923295334e-06

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.061e-04  3.596e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.032e+00  2.281e+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:  1.244e+00  1.077e-02  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:  5.030e-01  1.603e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/675883/cmap_HighResolution_385776001_386035201_4FGL_J2311.0+0205_daily_bin565.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-03', job_status='DONE', photon_flux_upper_limit='4.79e-08', time_completed='2021-09-29 07:39:35.757092', job_id='675883', GAL2='1.24', fit_tolerance='1e-08', EG2='0.50', EG='0.50', time_epoch_completed='1632926375.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.69e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='565' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:39:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 675883: <4FGL_J2311.0+0205_daily_bin565> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin565 347.766 2.0995 385776001 386035201 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 :                                   640.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

