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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1207
RA = 347.768, Dec = 34.4223
tmin = 552182401, tmax = 552441601
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='686796', job_status='RUN', time_executed='2021-09-29 08:04:06.345286', time_epoch_executed='1632927846.35' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1207'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/686796

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/686796/ft1_4FGL_J2311.0+3425_daily_bin1207.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/686796/ft1_4FGL_J2311.0+3425_daily_bin1207.fits outfile=/scratch/kocevski/686796/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1207.fits ra=347.768 dec=34.4223 rad=12.0 tmin=552182401.0 tmax=552441601.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.70
user 3.48
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.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/686796/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1207.fits evtable="EVENTS" outfile="/scratch/kocevski/686796/ft1_filtered_4FGL_J2311.0+3425_daily_bin1207.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/686796/ft1_filtered_4FGL_J2311.0+3425_daily_bin1207.fits" evtable="EVENTS" scfile=/scratch/kocevski/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.fits sctable="SC_DATA" outfile=/scratch/kocevski/686796/ltcube_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.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/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.fits
.....................!
real 12.48
user 12.12
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/686796/ft1_filtered_4FGL_J2311.0+3425_daily_bin1207.fits evtable="EVENTS" scfile=/scratch/kocevski/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.fits sctable="SC_DATA" expcube=/scratch/kocevski/686796/ltcube_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.fits outfile=/scratch/kocevski/686796/expmap_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.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/686796/ltcube_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.fits
.....................!
real 190.54
user 185.33
sys 4.83

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Added 157 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2311.0+3425 @ 347.768 34.4223

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/686796/ft1_filtered_4FGL_J2311.0+3425_daily_bin1207.fits scfile=/scratch/kocevski/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.fits outfile=/scratch/kocevski/686796/cmap_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.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.768 yref=34.4223 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/686796/ft1_filtered_4FGL_J2311.0+3425_daily_bin1207.fits scfile=/scratch/kocevski/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.fits outfile=/scratch/kocevski/686796/cmap_HighResolution_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.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.768 yref=34.4223 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/686796/ft1_filtered_4FGL_J2311.0+3425_daily_bin1207.fits evtable="EVENTS" scfile=/scratch/kocevski/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/686796/Model_4FGL_J2311.0+3425_daily_bin1207.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 FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/686796/ft1_filtered_4FGL_J2311.0+3425_daily_bin1207.fits.....................!
real 57.22
user 55.85
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/686796/ft1_filtered_4FGL_J2311.0+3425_daily_bin1207.fits', '/scratch/kocevski/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.fits', expMap='/scratch/kocevski/686796/expmap_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.fits', expCube='/scratch/kocevski/686796/ltcube_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/686796/Model_4FGL_J2311.0+3425_daily_bin1207.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.0+3425'

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.866e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.240e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/686796/ft1_filtered_4FGL_J2311.0+3425_daily_bin1207.fits
Spacecraft file(s): /scratch/kocevski/686796/ft2_4FGL_J2311.0+3425_daily_bin1207.fits
Exposure map: /scratch/kocevski/686796/expmap_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.fits
Exposure cube: /scratch/kocevski/686796/ltcube_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/686796/Model_4FGL_J2311.0+3425_daily_bin1207.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) = 4462.74112669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    75.712       1.0000         .10000E-03   10000.    
     2 'norm      '    7.1193       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.895       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6430       1.0000         .10000E-03   10000.    
     6 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.426       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6649       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.775       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.713       1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.586       1.0000         .10000E-03   10000.    
    15 'norm      '    .10851E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.733       1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.223       1.0000         .10000E-03   10000.    
    18 'norm      '    .10392E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.4356       1.0000         .10000E-03   10000.    
    20 'Prefactor '    66.951       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .15247E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11250E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83482       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0352       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4462.662     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2745 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          75.669        59.352       -.21277E-05   -.25613E-04
   2  norm          7.1158        2.6575        .59967E-06    .13625E-03
   3  Prefactor     .10000E-03    160.56        .59601E-05** at limit **
   4  Prefactor     29.895        22.431       -.40552E-07   -.97499E-07
   5  Prefactor     1.7787        302.50       -.10354E-04   -.36557E-05
   6  norm          .10000E-03    7.4543       -.61848E-08** at limit **
   7  Prefactor     .10000E-03    18.606        .47593E-06** at limit **
   8  Prefactor     23.425        27.103       -.13550E-06   -.43764E-06
   9  Prefactor     .10000E-03    5.7943       -.77141E-07** at limit **
  10  Prefactor     .10000E-03    20.479       -.92160E-07** at limit **
  11  norm          1.6648        2.0575        .26738E-07   -.20619E-04
  12  Prefactor     22.772        31.929       -.44262E-06    .90761E-05
  13  Prefactor     23.727        35.327       -.68176E-06    .12052E-04
  14  Prefactor     28.581        37.871       -.22592E-06    .51193E-05
  15  norm          .10000E-03    5.7999        .10291E-06** at limit **
  16  norm          13.746        36.494       -.69148E-06    .81753E-05
  17  Prefactor     24.217        36.507       -.64938E-06    .81871E-05
  18  norm          .10000E-03    17.331       -.38186E-06** at limit **
  19  Prefactor     9.4378        23.780       -.11761E-06    .22512E-05
  20  Prefactor     66.944        61.992       -.93357E-06    .24136E-06
  21  Prefactor     .10000E-03    95.439       -.25867E-05** at limit **
  22  Prefactor     .10000E-03    15.449       -.99466E-06** at limit **
  23  Normalizat    .83505        .36742        .29738E-05    .21348E-04
  24  Prefactor     1.0351        .15502        .27684E-06    .79170E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 75.669
  norm       = 7.11582
  Prefactor  = 0.000100001
  Prefactor  = 29.8952
  Prefactor  = 1.77868
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4254
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.6648
  Prefactor  = 22.7724
  Prefactor  = 23.7267
  Prefactor  = 28.5811
  norm       = 0.0001
  norm       = 13.7456
  Prefactor  = 24.2165
  norm       = 0.0001
  Prefactor  = 9.4378
  Prefactor  = 66.9444
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.835053
  Prefactor  = 1.03509
 **********
 **   18 **HESSE 
 **********

 FCN=   4462.662     FROM HESSE     STATUS=OK           397 CALLS     3142 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          75.669        59.314        .23073E-03   -1.3966    
   2  norm          7.1158        2.6608        .55423E-04   -1.5174    
   3  Prefactor     .10000E-03    161.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.895        22.403        .73278E-04   -1.4614    
   5  Prefactor     1.7787        298.73        .32958E-03   -1.5441    
   6  norm          .10000E-03    7.4705        .17781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.425        27.179        .82760E-04   -1.4740    
   9  Prefactor     .10000E-03    5.8122        .15707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6648        2.0377        .10193E-03   -1.5450    
  12  Prefactor     22.772        32.003        .83933E-04   -1.4753    
  13  Prefactor     23.727        35.224        .82258E-04   -1.4733    
  14  Prefactor     28.581        37.860        .74933E-04   -1.4638    
  15  norm          .10000E-03    5.8396        .15670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.746        36.480        .10808E-03   -1.4966    
  17  Prefactor     24.217        36.637        .81389E-04   -1.4723    
  18  norm          .10000E-03    17.804        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.4378        23.785        .13046E-03   -1.5093    
  20  Prefactor     66.944        62.280        .49052E-04   -1.4070    
  21  Prefactor     .10000E-03    95.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    15.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .83505        .41062        .44175E-03   -.98781    
  24  Prefactor     1.0351        .17668        .18591E-03   -.91569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40256e-11
Minuit parameter uncertainties:
  1  59.3607
  2  2.66082
  3  0.000700551
  4  22.4095
  5  46.3376
  6  2.10548e-06
  7  1.71063e-05
  8  27.1934
  9  9.13073e-06
  10  8.34081e-06
  11  2.03778
  12  32.0276
  13  35.2548
  14  37.8918
  15  6.3278e-06
  16  36.5391
  17  36.6711
  18  4.14245e-06
  19  23.8092
  20  62.3406
  21  4.04276e-05
  22  3.05648e-05
  23  0.41216
  24  0.176776
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.665e+00  2.038e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.240e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.035e+00  1.768e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.351e-01  4.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.16
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 4.60e-08 +/- 5.63e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 2.00e-05

TS (Fixed Index): 1.16
Ra Dec: 347.768 34.422
Photon Flux Upper Limit: 1.95e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/686796/likelihoodResults_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4462.56222185
delta logL = 0.0993334439872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4462.56174231
delta logL = 0.0998129821255

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6794       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8731       1.0000          .0000       5.0000    
     3 'Normalizat'    .84564       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4462.562     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6796        2.1864        .81273E-02    .21839E-03
   2  alpha         1.8732        .70042        .42919       -.16426E-04
   3  Normalizat    .84540        .32070        .99124E-01    .24463E-04
   4  Prefactor     1.0314        .15049        .41156E-01   -.35051E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.6796
  alpha      = 1.87316
  Normalizat = 0.845402
  Prefactor  = 1.03144
 **********
 **   18 **HESSE 
 **********

 FCN=   4462.562     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6796        1.9863        .97130E-04   -1.5449    
   2  alpha         1.8732        .76097        .17064E-01   -.25344    
   3  Normalizat    .84540        .35754        .43927E-03   -.98406    
   4  Prefactor     1.0314        .16821        .18618E-03   -.91689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49105e-12
Minuit parameter uncertainties:
  1  1.98639
  2  0.774105
  3  0.358548
  4  0.168294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/686796': 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) = 4462.56174203
delta logL = 0.0998132703844

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.680e+00  1.986e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.873e+00  7.741e-01  0.000e+00  5.000e+00 ( 1.000e+00)
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.031e+00  1.683e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.454e-01  3.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.87 +/- 0.77
Photon Flux (Free Index): 3.61e-08 +/- 4.84e-08
Energy Flux (Free Index): 2.16e-05 +/- 2.87e-05

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/686796/cmap_HighResolution_552182401_552441601_4FGL_J2311.0+3425_daily_bin1207.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.93e-05', comment='SUCCESS', photon_flux='4.60e-08', energy_flux2='2.16e-05', photon_flux_error='5.63e-08', dlogl='9.98e-02', energy_flux='1.64e-05', photon_flux2='3.61e-08', job_status='DONE', time_completed='2021-09-29 08:13:21.175689', photon_index_error2='0.77', photon_index2='1.87', ts='1.16', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.95e-07', energy_flux_error2='2.87e-05', EG='0.84', time_epoch_completed='1632928401.18', return_code='0', job_id='686796', GAL2='1.03', EG2='0.85', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='4.84e-08', ts2='1.36', photon_index='2.24' WHERE bin_id='1207' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:13:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 686796: <4FGL_J2311.0+3425_daily_bin1207> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1207> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 08:00:19 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:00: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:00:20 2021
Terminated at Wed Sep 29 08:13:21 2021
Results reported at Wed Sep 29 08:13:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1207 347.768 34.4223 552182401 552441601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+3425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   549.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            782 sec.

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

