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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1639
RA = 347.768, Dec = 34.4223
tmin = 664156801, tmax = 664416001
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='201066', job_status='RUN', time_executed='2022-01-21 00:36:09.923537', time_epoch_executed='1642754169.92' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1639'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/201066

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/201066/ft1_4FGL_J2311.0+3425_daily_bin1639.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/201066/ft2_4FGL_J2311.0+3425_daily_bin1639.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/201066/ft1_4FGL_J2311.0+3425_daily_bin1639.fits outfile=/scratch/kocevski/201066/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1639.fits ra=347.768 dec=34.4223 rad=12.0 tmin=664156801.0 tmax=664416001.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.16
user 2.91
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/201066/ft2_4FGL_J2311.0+3425_daily_bin1639.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/201066/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1639.fits evtable="EVENTS" outfile="/scratch/kocevski/201066/ft1_filtered_4FGL_J2311.0+3425_daily_bin1639.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.43
user 0.26
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/201066/ft1_filtered_4FGL_J2311.0+3425_daily_bin1639.fits" evtable="EVENTS" scfile=/scratch/kocevski/201066/ft2_4FGL_J2311.0+3425_daily_bin1639.fits sctable="SC_DATA" outfile=/scratch/kocevski/201066/ltcube_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.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/201066/ft2_4FGL_J2311.0+3425_daily_bin1639.fits
.....................!
real 10.49
user 10.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/201066/ft1_filtered_4FGL_J2311.0+3425_daily_bin1639.fits evtable="EVENTS" scfile=/scratch/kocevski/201066/ft2_4FGL_J2311.0+3425_daily_bin1639.fits sctable="SC_DATA" expcube=/scratch/kocevski/201066/ltcube_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.fits outfile=/scratch/kocevski/201066/expmap_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.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/201066/ltcube_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.fits
.....................!
real 143.14
user 139.15
sys 3.73

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/201066/ft1_filtered_4FGL_J2311.0+3425_daily_bin1639.fits scfile=/scratch/kocevski/201066/ft2_4FGL_J2311.0+3425_daily_bin1639.fits outfile=/scratch/kocevski/201066/cmap_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.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.47
user 0.29
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/201066/ft1_filtered_4FGL_J2311.0+3425_daily_bin1639.fits scfile=/scratch/kocevski/201066/ft2_4FGL_J2311.0+3425_daily_bin1639.fits outfile=/scratch/kocevski/201066/cmap_HighResolution_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.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.45
user 0.29
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/201066/ft1_filtered_4FGL_J2311.0+3425_daily_bin1639.fits evtable="EVENTS" scfile=/scratch/kocevski/201066/ft2_4FGL_J2311.0+3425_daily_bin1639.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/201066/Model_4FGL_J2311.0+3425_daily_bin1639.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/201066/ft1_filtered_4FGL_J2311.0+3425_daily_bin1639.fits.....................!
real 82.70
user 80.72
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/201066/ft1_filtered_4FGL_J2311.0+3425_daily_bin1639.fits', '/scratch/kocevski/201066/ft2_4FGL_J2311.0+3425_daily_bin1639.fits', expMap='/scratch/kocevski/201066/expmap_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.fits', expCube='/scratch/kocevski/201066/ltcube_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/201066/Model_4FGL_J2311.0+3425_daily_bin1639.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/201066/ft1_filtered_4FGL_J2311.0+3425_daily_bin1639.fits
Spacecraft file(s): /scratch/kocevski/201066/ft2_4FGL_J2311.0+3425_daily_bin1639.fits
Exposure map: /scratch/kocevski/201066/expmap_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.fits
Exposure cube: /scratch/kocevski/201066/ltcube_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/201066/Model_4FGL_J2311.0+3425_daily_bin1639.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) = 10007.2928511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.5653       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.467       1.0000         .10000E-03   10000.    
     6 'norm      '    1.6685       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .83269       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.0386       1.0000         .10000E-03   10000.    
    11 'norm      '    5.2085       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5780       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.6731       1.0000         .10000E-03   10000.    
    16 'norm      '    10.634       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6080       1.0000         .10000E-03   10000.    
    18 'norm      '    2.0462       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.5759       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.6727       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83278       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0859       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10007.23     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2348 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    11.368         .0000    ** at limit **
   2  norm          2.5653        1.1767         .0000        .37006E-03
   3  Prefactor     .10007E-03    18.467         .0000    ** at limit **
   4  Prefactor     .10000E-03    3.0953         .0000    ** at limit **
   5  Prefactor     13.467        18.568         .0000        .16663E-03
   6  norm          1.6688        2.3704         .0000        .87259E-03
   7  Prefactor     .10000E-03    4.4208         .0000    ** at limit **
   8  Prefactor     .83352        6.2529         .0000        .55399E-01
   9  Prefactor     .10000E-03    5.4537         .0000    ** at limit **
  10  Prefactor     4.0394        17.153         .0000        .12296E-03
  11  norm          5.2085        1.6621         .0000        .73996E-03
  12  Prefactor     .10000E-03    9.2524         .0000    ** at limit **
  13  Prefactor     6.5768        10.049         .0000        .31112E-02
  14  Prefactor     .10000E-03    7.0005         .0000    ** at limit **
  15  norm          2.6749        4.7789         .0000        .12124E-02
  16  norm          10.634        7.7315         .0000        .14131E-04
  17  Prefactor     4.5993        15.642         .0000       -.63828E-03
  18  norm          2.0465        1.9957         .0000        .29984E-03
  19  Prefactor     .10000E-03    72.836         .0000    ** at limit **
  20  Prefactor     4.5727        50.647         .0000        .58818E-03
  21  Prefactor     .10008E-03    17.291         .0000    ** at limit **
  22  Prefactor     2.6729        4.3945         .0000        .15737E-01
  23  Normalizat    .83281        .20423         .0000        .18814E-03
  24  Prefactor     1.0859        .88668E-01     .0000        .23009E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100008
  norm       = 2.56532
  Prefactor  = 0.000100075
  Prefactor  = 0.0001
  Prefactor  = 13.467
  norm       = 1.66882
  Prefactor  = 0.0001
  Prefactor  = 0.833519
  Prefactor  = 0.0001
  Prefactor  = 4.03939
  norm       = 5.20851
  Prefactor  = 0.000100001
  Prefactor  = 6.57679
  Prefactor  = 0.0001
  norm       = 2.67493
  norm       = 10.6344
  Prefactor  = 4.59927
  norm       = 2.04646
  Prefactor  = 0.000100001
  Prefactor  = 4.5727
  Prefactor  = 0.000100076
  Prefactor  = 2.67286
  Normalizat = 0.832806
  Prefactor  = 1.08587
 **********
 **   18 **HESSE 
 **********

 FCN=   10007.23     FROM HESSE     STATUS=OK           399 CALLS     2747 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    11.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.5653        1.1745        .68454E-04   -1.5388    
   3  Prefactor     .10007E-03    18.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.1210        .17121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.467        18.558        .10915E-03   -1.4974    
   6  norm          1.6688        2.3252        .17430E-03   -1.5450    
   7  Prefactor     .10000E-03    4.4228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .83352        6.4318        .23565E-02   -1.5525    
   9  Prefactor     .10000E-03    5.5040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.0394        17.157        .20065E-03   -1.5306    
  11  norm          5.2085        1.6604        .69193E-04   -1.5251    
  12  Prefactor     .10000E-03    9.2848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.5768        10.018        .78234E-03   -1.5195    
  14  Prefactor     .10000E-03    7.0090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6749        4.6581        .24684E-03   -1.5381    
  16  norm          10.634        7.7327        .12286E-03   -1.5056    
  17  Prefactor     4.5993        15.320        .18751E-03   -1.5279    
  18  norm          2.0465        1.9815        .13402E-03   -1.5422    
  19  Prefactor     .10000E-03    74.860        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.5727        51.138        .18818E-03   -1.5280    
  21  Prefactor     .10008E-03    17.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.6729        4.3772        .12464E-02   -1.5381    
  23  Normalizat    .83281        .22942        .39951E-03   -.98863    
  24  Prefactor     1.0859        .10054        .16168E-03   -.89919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93554e-08
Minuit parameter uncertainties:
  1  0.000594408
  2  1.17452
  3  0.00235364
  4  4.9691e-06
  5  18.5656
  6  2.32537
  7  2.76419e-05
  8  4.63118
  9  3.88088e-05
  10  16.6575
  11  1.66042
  12  0.000217999
  13  10.021
  14  4.28622e-05
  15  4.65874
  16  7.73339
  17  15.3327
  18  1.98157
  19  0.000458055
  20  30.6164
  21  0.00229047
  22  4.3777
  23  0.229693
  24  0.100561
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  5.209e+00  1.660e+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.086e+00  1.006e-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.328e-01  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 26.41
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 1.44e-07 +/- 4.59e-08
Energy Flux (Fixed Index): 5.12e-05 +/- 1.63e-05

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) = 10007.0782224
delta logL = 0.150943422535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10007.0745243
delta logL = 0.154641502024

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10007.07     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      203 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 28.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2781        1.5834       -.44330E-07    .21596E-03
   2  alpha         2.0522        .25287        .47116E-06    .48707E-04
   3  Normalizat    .85543        .18632       -.20379E-06   -.34644E-05
   4  Prefactor     1.0799        .86275E-01    .89863E-07   -.10619E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.27807
  alpha      = 2.05221
  Normalizat = 0.855432
  Prefactor  = 1.07988
 **********
 **   18 **HESSE 
 **********

 FCN=   10007.07     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2781        1.7235        .71941E-04   -1.5248    
   2  alpha         2.0522        .33131        .11598E-01   -.18009    
   3  Normalizat    .85543        .21622        .39483E-03   -.98044    
   4  Prefactor     1.0799        .97770E-01    .16210E-03   -.90112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99486e-11
Minuit parameter uncertainties:
  1  1.7235
  2  0.332324
  3  0.216443
  4  0.0977861
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/201066': 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) = 10007.0745243
delta logL = 0.154641502049

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  5.278e+00  1.723e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.052e+00  3.323e-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.080e+00  9.779e-02  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.554e-01  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.67
Ra Dec: 347.768 34.422
Photon Index (Free Index): 2.05 +/- 0.33
Photon Flux (Free Index): 1.27e-07 +/- 5.17e-08
Energy Flux (Free Index): 5.71e-05 +/- 2.27e-05

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/201066/cmap_HighResolution_664156801_664416001_4FGL_J2311.0+3425_daily_bin1639.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.44e-07', energy_flux2='5.71e-05', photon_flux_error='4.59e-08', dlogl='1.55e-01', energy_flux='5.12e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2022-01-21 00:46:24.186945', photon_index_error2='0.33', photon_index2='2.05', ts='26.41', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.27e-05', EG='0.83', time_epoch_completed='1642754784.19', return_code='0', job_id='201066', GAL2='1.08', EG2='0.86', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='5.17e-08', ts2='26.67', photon_index='2.24' WHERE bin_id='1639' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 21 00:46:24 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 201066: <4FGL_J2311.0+3425_daily_bin1639> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1639> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jan 21 00:35:57 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 21 00:36:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 21 00:36:00 2022
Terminated at Fri Jan 21 00:46:25 2022
Results reported at Fri Jan 21 00:46:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1639 347.768 34.4223 664156801 664416001 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 :                                   612.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             369.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            628 sec.

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

