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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin180
RA = 347.766, Dec = 2.0995
tmin = 285984001, tmax = 286243201
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='674301', job_status='RUN', time_executed='2021-09-29 07:22:10.275049', time_epoch_executed='1632925330.28' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674301

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674301/ft1_4FGL_J2311.0+0205_daily_bin180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674301/ft2_4FGL_J2311.0+0205_daily_bin180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674301/ft1_4FGL_J2311.0+0205_daily_bin180.fits outfile=/scratch/kocevski/674301/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin180.fits ra=347.766 dec=2.0995 rad=12.0 tmin=285984001.0 tmax=286243201.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.39
user 3.14
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674301/ft1_filtered_4FGL_J2311.0+0205_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/674301/ft2_4FGL_J2311.0+0205_daily_bin180.fits sctable="SC_DATA" expcube=/scratch/kocevski/674301/ltcube_285984001_286243201_4FGL_J2311.0+0205_daily_bin180.fits outfile=/scratch/kocevski/674301/expmap_285984001_286243201_4FGL_J2311.0+0205_daily_bin180.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/674301/ltcube_285984001_286243201_4FGL_J2311.0+0205_daily_bin180.fits
.....................!
real 191.48
user 185.45
sys 5.19

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/674301/ft1_filtered_4FGL_J2311.0+0205_daily_bin180.fits scfile=/scratch/kocevski/674301/ft2_4FGL_J2311.0+0205_daily_bin180.fits outfile=/scratch/kocevski/674301/cmap_285984001_286243201_4FGL_J2311.0+0205_daily_bin180.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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674301/ft1_filtered_4FGL_J2311.0+0205_daily_bin180.fits scfile=/scratch/kocevski/674301/ft2_4FGL_J2311.0+0205_daily_bin180.fits outfile=/scratch/kocevski/674301/cmap_HighResolution_285984001_286243201_4FGL_J2311.0+0205_daily_bin180.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.58
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1741       1.0000         .10000E-03   10000.    
     2 'norm      '    3.8008       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.307       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-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.6917       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.582       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.217       1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.988       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.222       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .57410       1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.977       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2731       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .72402       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=   7585.296     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2512 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1740        5.1292        .78979E-07   -.28417E-04
   2  norm          3.8004        9.7221        .70682E-05   -.90083E-03
   3  Prefactor     16.307        34.852        .15056E-05   -.58036E-04
   4  Prefactor     .10000E-03    10.163       -.35370E-06** at limit **
   5  Prefactor     .10001E-03    16.069        .55300E-05** at limit **
   6  Prefactor     .10003E-03    17.694       -.87143E-05** at limit **
   7  Prefactor     .10000E-03    4.0474       -.45417E-07** at limit **
   8  norm          1.6918        .73405       -.22148E-07   -.27571E-03
   9  norm          .10000E-03    1.6184        .92270E-08** at limit **
  10  Prefactor     16.582        10.509        .99960E-07   -.28487E-04
  11  Prefactor     .10001E-03    25.771        .43637E-05** at limit **
  12  norm          .10000E-03    5.7459       -.58493E-07** at limit **
  13  Prefactor     10.217        7.7087        .11062E-06   -.82504E-04
  14  Prefactor     28.999        86.458        .39480E-05    .57366E-04
  15  Prefactor     .10000E-03    2.0367       -.14436E-07** at limit **
  16  Prefactor     25.222        25.664        .20463E-06   -.31177E-04
  17  norm          .10000E-03    4.1563        .61742E-07** at limit **
  18  Prefactor     .10000E-03    134.27       -.34568E-05** at limit **
  19  Prefactor     .57404        1.6921        .66013E-06   -.28374E-03
  20  Prefactor     21.982        31.634        .10555E-05    .28634E-04
  21  Prefactor     .10000E-03    6.9236        .14713E-06** at limit **
  22  Normalizat    1.2730        .18577       -.13193E-05   -.90803E-04
  23  Prefactor     .72407        .11294       -.25170E-06   -.17725E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.174
  norm       = 3.8004
  Prefactor  = 16.3074
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.000100028
  Prefactor  = 0.0001
  norm       = 1.69182
  norm       = 0.0001
  Prefactor  = 16.5825
  Prefactor  = 0.000100007
  norm       = 0.0001
  Prefactor  = 10.217
  Prefactor  = 28.9991
  Prefactor  = 0.0001
  Prefactor  = 25.2224
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.574041
  Prefactor  = 21.9824
  Prefactor  = 0.0001
  Normalizat = 1.27301
  Prefactor  = 0.724071
 **********
 **   18 **HESSE 
 **********

 FCN=   7585.296     FROM HESSE     STATUS=OK           368 CALLS     2880 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1740        5.1277        .98634E-03   -1.5299    
   2  norm          3.8004        10.611        .10352E-02   -1.5318    
   3  Prefactor     16.307        34.962        .49590E-03   -1.4900    
   4  Prefactor     .10000E-03    10.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    16.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10003E-03    19.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.1330        .17107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6918        .73657        .47312E-04   -1.5448    
   9  norm          .10000E-03    1.6287        .10818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.582        10.497        .98355E-04   -1.4893    
  11  Prefactor     .10001E-03    26.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.7773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.217        7.6972        .12535E-03   -1.5069    
  14  Prefactor     28.999        86.306        .74412E-04   -1.4630    
  15  Prefactor     .10000E-03    2.0386        .12137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.222        25.656        .79763E-04   -1.4703    
  17  norm          .10000E-03    4.1572        .17340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    135.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .57404        1.6421        .18624E-03   -1.5556    
  20  Prefactor     21.982        31.732        .85442E-04   -1.4770    
  21  Prefactor     .10000E-03    6.9390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2730        .21619        .26829E-03   -.84376    
  23  Prefactor     .72407        .13132        .21851E-03   -1.0259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82985e-09
Minuit parameter uncertainties:
  1  5.12827
  2  10.616
  3  35.0054
  4  3.76542e-05
  5  0.000837758
  6  0.00147512
  7  3.90715e-06
  8  0.736575
  9  1.52552e-06
  10  10.4978
  11  0.000852036
  12  5.68301e-07
  13  7.69795
  14  86.6807
  15  3.02142e-06
  16  25.6672
  17  2.55989e-06
  18  0.00144111
  19  1.64226
  20  31.756
  21  1.36652e-05
  22  0.216338
  23  0.131376
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  8.378e-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:  7.241e-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.273e+00  2.163e-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.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/674301/likelihoodResults_285984001_286243201_4FGL_J2311.0+0205_daily_bin180.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) = 7585.29617333
delta logL = -0.00028142715837

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7585.29589199
delta logL = -8.76398189575e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10963E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2250       1.0000          .0000       10.000    
     3 'Normalizat'    1.2730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72409       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=   7585.296     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.743        .90712E-02** at limit **
   2  Index         2.2686        6.0273        .50000       -.21220E-04
   3  Normalizat    1.2730        .17652        .60662E-01    .16445E-03
   4  Prefactor     .72407        .11224        .42721E-01   -.29726E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.26864
  Normalizat = 1.27301
  Prefactor  = 0.724069
 **********
 **   18 **HESSE 
 **********

 FCN=   7585.296     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      242 TOTAL
                     EDM=   .79E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6356.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2686        5.3317        .50000       -.57791    
   3  Normalizat    1.2730        .75496E-01    .26829E-03   -.84376    
   4  Prefactor     .72407        .48000E-01    .21851E-03   -1.0259    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.91193e-08
Minuit parameter uncertainties:
  1  0.000698213
  2  51.9939
  3  0.0755022
  4  0.0480026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674301': 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) = 7585.2958915
delta logL = 4.04848833568e-07

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  6.982e-04  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.269e+00  5.199e+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:  7.241e-01  4.800e-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:  1.273e+00  7.550e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/674301/cmap_HighResolution_285984001_286243201_4FGL_J2311.0+0205_daily_bin180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.30e-03', job_status='DONE', photon_flux_upper_limit='6.96e-08', time_completed='2021-09-29 07:34:05.408368', job_id='674301', GAL2='0.72', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1632926045.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='4.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='180' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:34:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 674301: <4FGL_J2311.0+0205_daily_bin180> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin180> 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) <bullet0220>, 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:06 2021
Results reported at Wed Sep 29 07:34:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin180 347.766 2.0995 285984001 286243201 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 :                                   713.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            834 sec.

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

