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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1003
RA = 347.931, Dec = 26.0831
tmin = 499305601, tmax = 499564801
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='695041', job_status='RUN', time_executed='2021-09-29 08:28:01.373175', time_epoch_executed='1632929281.37' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1003'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695041

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695041/ft1_4FGL_J2311.7+2604_daily_bin1003.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695041/ft1_4FGL_J2311.7+2604_daily_bin1003.fits outfile=/scratch/kocevski/695041/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1003.fits ra=347.931 dec=26.0831 rad=12.0 tmin=499305601.0 tmax=499564801.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 5.40
user 5.14
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.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/695041/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1003.fits evtable="EVENTS" outfile="/scratch/kocevski/695041/ft1_filtered_4FGL_J2311.7+2604_daily_bin1003.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695041/ft1_filtered_4FGL_J2311.7+2604_daily_bin1003.fits" evtable="EVENTS" scfile=/scratch/kocevski/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.fits sctable="SC_DATA" outfile=/scratch/kocevski/695041/ltcube_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.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/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.fits
.....................!
real 12.13
user 11.77
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695041/ft1_filtered_4FGL_J2311.7+2604_daily_bin1003.fits evtable="EVENTS" scfile=/scratch/kocevski/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.fits sctable="SC_DATA" expcube=/scratch/kocevski/695041/ltcube_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.fits outfile=/scratch/kocevski/695041/expmap_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.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/695041/ltcube_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.fits
.....................!
real 191.20
user 185.98
sys 4.78

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.7+2604 @ 347.931 26.0831

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/695041/ft1_filtered_4FGL_J2311.7+2604_daily_bin1003.fits scfile=/scratch/kocevski/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.fits outfile=/scratch/kocevski/695041/cmap_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.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.931 yref=26.0831 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695041/ft1_filtered_4FGL_J2311.7+2604_daily_bin1003.fits scfile=/scratch/kocevski/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.fits outfile=/scratch/kocevski/695041/cmap_HighResolution_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.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.931 yref=26.0831 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/695041/ft1_filtered_4FGL_J2311.7+2604_daily_bin1003.fits evtable="EVENTS" scfile=/scratch/kocevski/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695041/Model_4FGL_J2311.7+2604_daily_bin1003.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/695041/ft1_filtered_4FGL_J2311.7+2604_daily_bin1003.fits.....................!
real 103.36
user 101.87
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/695041/ft1_filtered_4FGL_J2311.7+2604_daily_bin1003.fits', '/scratch/kocevski/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.fits', expMap='/scratch/kocevski/695041/expmap_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.fits', expCube='/scratch/kocevski/695041/ltcube_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/695041/Model_4FGL_J2311.7+2604_daily_bin1003.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.7+2604'

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.423e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/695041/ft1_filtered_4FGL_J2311.7+2604_daily_bin1003.fits
Spacecraft file(s): /scratch/kocevski/695041/ft2_4FGL_J2311.7+2604_daily_bin1003.fits
Exposure map: /scratch/kocevski/695041/expmap_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.fits
Exposure cube: /scratch/kocevski/695041/ltcube_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/695041/Model_4FGL_J2311.7+2604_daily_bin1003.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) = 8626.45875143

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12368E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .43202       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .30707E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.1365       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11241E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2163       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.0923       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10527E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.6323       1.0000         .10000E-03   10000.    
    16 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.463       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .17370E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    35.961       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0090       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1298       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8626.448     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2364 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    90.848       -.23813E-05** at limit **
   2  Prefactor     .10000E-03    10.158       -.12053E-06** at limit **
   3  norm          .43122        .72795        .11387E-05    .10298E-02
   4  Prefactor     .10336E-03    11.704       -.32233E-05** at limit **
   5  norm          2.1367        1.7324        .13891E-06    .87814E-05
   6  Prefactor     .10000E-03    38.386        .71387E-07** at limit **
   7  Prefactor     .10000E-03    21.179        .97050E-06** at limit **
   8  Prefactor     6.2164        .47417        .88607E-08    .11533E-03
   9  Prefactor     .10000E-03    4.0233       -.10627E-07** at limit **
  10  Prefactor     .10000E-03    11.443        .11206E-06** at limit **
  11  Prefactor     .10000E-03    7.6774        .22389E-09** at limit **
  12  norm          1.0938        1.7208        .37191E-06    .14279E-03
  13  Prefactor     .10000E-03    15.301       -.27430E-06** at limit **
  14  Prefactor     .10000E-03    30.913       -.56054E-06** at limit **
  15  Prefactor     5.6371        7.6261        .39151E-06    .80684E-05
  16  norm          .10000E-03    2.7720        .64528E-07** at limit **
  17  Prefactor     23.472        26.379       -.76522E-08    .47390E-04
  18  Prefactor     .10001E-03    62.655        .24385E-05** at limit **
  19  Prefactor     .10000E-03    28.046       -.34541E-06** at limit **
  20  Prefactor     35.973        60.625        .70522E-06    .59928E-04
  21  Normalizat    1.0088        .27305       -.36740E-06    .18936E-03
  22  Prefactor     1.1297        .13497       -.14710E-06    .38524E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  norm       = 0.431221
  Prefactor  = 0.000103364
  norm       = 2.13672
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 6.21638
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.09383
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 5.63713
  norm       = 0.0001
  Prefactor  = 23.4724
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 35.9732
  Normalizat = 1.00881
  Prefactor  = 1.12972
 **********
 **   18 **HESSE 
 **********

 FCN=   8626.448     FROM HESSE     STATUS=OK           338 CALLS     2702 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    92.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .43122        .73302        .21980E-03   -1.5577    
   4  Prefactor     .10336E-03    175.28        .54990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.1367        1.7281        .10659E-03   -1.5416    
   6  Prefactor     .10000E-03    38.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.725        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.2164        .47432        .16913E-04   -1.5209    
   9  Prefactor     .10000E-03    4.0285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.7019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0938        1.6789        .14493E-03   -1.5499    
  13  Prefactor     .10000E-03    15.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    31.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.6371        7.6091        .16927E-03   -1.5233    
  16  norm          .10000E-03    2.7752        .15091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.472        26.343        .82695E-04   -1.4739    
  18  Prefactor     .10001E-03    64.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    28.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     35.973        60.760        .66830E-04   -1.4508    
  21  Normalizat    1.0088        .31276        .45213E-03   -.92736    
  22  Prefactor     1.1297        .15623        .21623E-03   -.88522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80579e-08
Minuit parameter uncertainties:
  1  0.00203999
  2  1.82839e-05
  3  0.733035
  4  0.0487114
  5  1.72819
  6  4.39133e-05
  7  0.000312157
  8  0.474319
  9  9.39365e-08
  10  4.13193e-05
  11  4.43021e-07
  12  1.67898
  13  9.92389e-05
  14  0.000324354
  15  7.61039
  16  7.56338e-08
  17  26.3562
  18  0.00169993
  19  0.000227135
  20  60.8644
  21  0.313333
  22  0.156292
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  9.924e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.130e+00  1.563e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.009e+00  3.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695041/likelihoodResults_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.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) = 8626.44828446
delta logL = -0.000310619476295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8626.44797399
delta logL = -1.50454070535e-07

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 'Index     '    2.3851       1.0000          .0000       10.000    
     3 'Normalizat'    1.0089       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1297       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8626.448     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      200 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    186.56        .90712E-02** at limit **
   2  Index         2.3853        8.2953        .50000       -.14466E-06
   3  Normalizat    1.0088        .26403        .10202        .28866E-04
   4  Prefactor     1.1297        .13361        .36553E-01   -.11357E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.38533
  Normalizat = 1.00881
  Prefactor  = 1.12972
 **********
 **   18 **HESSE 
 **********

 FCN=   8626.448     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .42E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3853        6.1840        .50000       -.55029    
   3  Normalizat    1.0088        .30397        .45213E-03   -.92736    
   4  Prefactor     1.1297        .15441        .21623E-03   -.88522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22907e-14
Minuit parameter uncertainties:
  1  6.55954e-06
  2  4.70362
  3  0.304497
  4  0.15447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695041': 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) = 8626.44797384
delta logL = -2.61934474111e-10

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  6.560e-06  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.385e+00  4.704e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.130e+00  1.545e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.009e+00  3.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.931 26.083

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/695041/cmap_HighResolution_499305601_499564801_4FGL_J2311.7+2604_daily_bin1003.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.56e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-29 08:40:58.631132', job_id='695041', GAL2='1.13', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1632930058.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='-2.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1003' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:40:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 695041: <4FGL_J2311.7+2604_daily_bin1003> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1003> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 08:25:18 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:25:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 08:25:20 2021
Terminated at Wed Sep 29 08:40:59 2021
Results reported at Wed Sep 29 08:40:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1003 347.931 26.0831 499305601 499564801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.7+2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   771.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            941 sec.

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

