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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin339
RA = 347.768, Dec = 34.4223
tmin = 327196801, tmax = 327456001
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='682196', job_status='RUN', time_executed='2021-09-29 07:45:46.490171', time_epoch_executed='1632926746.49' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/682196

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/682196/ft1_4FGL_J2311.0+3425_daily_bin339.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/682196/ft2_4FGL_J2311.0+3425_daily_bin339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/682196/ft1_4FGL_J2311.0+3425_daily_bin339.fits outfile=/scratch/kocevski/682196/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin339.fits ra=347.768 dec=34.4223 rad=12.0 tmin=327196801.0 tmax=327456001.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.29
user 3.08
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/682196/ft1_filtered_4FGL_J2311.0+3425_daily_bin339.fits" evtable="EVENTS" scfile=/scratch/kocevski/682196/ft2_4FGL_J2311.0+3425_daily_bin339.fits sctable="SC_DATA" outfile=/scratch/kocevski/682196/ltcube_327196801_327456001_4FGL_J2311.0+3425_daily_bin339.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/682196/ft2_4FGL_J2311.0+3425_daily_bin339.fits
.....................!
real 12.14
user 11.76
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/682196/ft1_filtered_4FGL_J2311.0+3425_daily_bin339.fits evtable="EVENTS" scfile=/scratch/kocevski/682196/ft2_4FGL_J2311.0+3425_daily_bin339.fits sctable="SC_DATA" expcube=/scratch/kocevski/682196/ltcube_327196801_327456001_4FGL_J2311.0+3425_daily_bin339.fits outfile=/scratch/kocevski/682196/expmap_327196801_327456001_4FGL_J2311.0+3425_daily_bin339.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/682196/ltcube_327196801_327456001_4FGL_J2311.0+3425_daily_bin339.fits
.....................!
real 191.53
user 185.97
sys 5.15

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/682196/ft1_filtered_4FGL_J2311.0+3425_daily_bin339.fits scfile=/scratch/kocevski/682196/ft2_4FGL_J2311.0+3425_daily_bin339.fits outfile=/scratch/kocevski/682196/cmap_327196801_327456001_4FGL_J2311.0+3425_daily_bin339.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.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.8850       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4685       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.696       1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.651       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7219       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.2116       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.1243       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .87047       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0732       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91961       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=   10607.33     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2273 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.8016        .98738E-06** at limit **
   2  norm          3.8849        1.2019        .32067E-08    .40790E-04
   3  Prefactor     .10000E-03    28.625        .65288E-06** at limit **
   4  Prefactor     8.4684        4.0296        .27203E-06   -.14494E-02
   5  Prefactor     .10000E-03    5.7573       -.13520E-05** at limit **
   6  norm          .10000E-03    1.6556       -.11741E-06** at limit **
   7  Prefactor     .10000E-03    5.2748        .27226E-06** at limit **
   8  Prefactor     .10000E-03    1.5276       -.21736E-07** at limit **
   9  Prefactor     14.695        9.1664       -.45773E-08   -.87064E-05
  10  Prefactor     34.651        20.781       -.60667E-07    .47547E-05
  11  norm          1.7219        1.0662        .41620E-08    .23263E-04
  12  Prefactor     .10000E-03    6.0798        .23446E-05** at limit **
  13  Prefactor     .10000E-03    7.2723       -.19135E-05** at limit **
  14  Prefactor     7.2112        11.306        .12060E-07   -.12385E-04
  15  norm          .10000E-03    1.4066       -.25089E-08** at limit **
  16  norm          3.1244        4.2709        .18780E-06    .27600E-04
  17  Prefactor     .10000E-03    5.8452       -.46736E-06** at limit **
  18  norm          .87042        2.2697        .16979E-06   -.55987E-03
  19  Prefactor     .10000E-03    6.9862        .33295E-06** at limit **
  20  Prefactor     .10000E-03    48.639       -.54850E-06** at limit **
  21  Prefactor     .10000E-03    14.821       -.43755E-06** at limit **
  22  Prefactor     .10000E-03    2.9492        .50531E-08** at limit **
  23  Normalizat    1.0732        .17851       -.84322E-07    .18630E-04
  24  Prefactor     .91961        .77377E-01   -.42017E-07    .40070E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.88487
  Prefactor  = 0.0001
  Prefactor  = 8.46844
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.6955
  Prefactor  = 34.651
  norm       = 1.72188
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.21122
  norm       = 0.0001
  norm       = 3.12436
  Prefactor  = 0.0001
  norm       = 0.870423
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07317
  Prefactor  = 0.919611
 **********
 **   18 **HESSE 
 **********

 FCN=   10607.33     FROM HESSE     STATUS=OK           389 CALLS     2662 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.8410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8849        1.2030        .60649E-04   -1.5314    
   3  Prefactor     .10000E-03    28.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.4684        5.9793        .68877E-03   -1.5126    
   5  Prefactor     .10000E-03    5.7919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.7043        .25874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.5336        .12430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.695        9.1713        .10448E-03   -1.4941    
  10  Prefactor     34.651        20.781        .68077E-04   -1.4530    
  11  norm          1.7219        1.0669        .32010E-04   -1.5446    
  12  Prefactor     .10000E-03    6.1776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.3588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.2112        11.305        .14937E-03   -1.5171    
  15  norm          .10000E-03    1.4145        .11927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1244        4.2633        .22938E-03   -1.5354    
  17  Prefactor     .10000E-03    5.8667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .87042        2.4874        .26079E-03   -1.5521    
  19  Prefactor     .10000E-03    7.0020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    49.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.9664        .17271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0732        .20688        .35393E-03   -.90618    
  24  Prefactor     .91961        .90947E-01    .16462E-03   -.95459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19466e-09
Minuit parameter uncertainties:
  1  3.09154e-05
  2  1.203
  3  3.74425e-05
  4  5.97975
  5  3.46252e-05
  6  1.27204e-06
  7  6.73382e-06
  8  1.38784e-07
  9  9.17214
  10  20.7856
  11  1.06694
  12  6.11235e-05
  13  5.02991e-05
  14  11.3085
  15  8.12501e-08
  16  4.26371
  17  1.15412e-05
  18  2.48774
  19  9.37211e-06
  20  3.62666e-05
  21  1.83899e-05
  22  8.12733e-08
  23  0.207033
  24  0.0909617
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.722e+00  1.067e+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:  9.196e-01  9.096e-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:  1.073e+00  2.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.38
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 4.76e-08 +/- 2.95e-08
Energy Flux (Fixed Index): 1.69e-05 +/- 1.05e-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) = 10607.2219267
delta logL = 0.104448873921

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10607.2021882
delta logL = 0.124187367655

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4922       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8916       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91592       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=   10607.20     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      206 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4919        .99766        .87719E-02    .69668E-04
   2  alpha         1.8914        .47276        .42808       -.55743E-04
   3  Normalizat    1.0909        .17731        .79386E-01    .26660E-04
   4  Prefactor     .91590        .76920E-01    .45208E-01    .17095E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.49187
  alpha      = 1.89141
  Normalizat = 1.09093
  Prefactor  = 0.915903
 **********
 **   18 **HESSE 
 **********

 FCN=   10607.20     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4919        1.1531        .79582E-04   -1.5464    
   2  alpha         1.8914        .65971        .19075E-01   -.24591    
   3  Normalizat    1.0909        .20641        .35141E-03   -.90044    
   4  Prefactor     .91590        .89402E-01    .16493E-03   -.95588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77592e-09
Minuit parameter uncertainties:
  1  1.15307
  2  0.668137
  3  0.20656
  4  0.0894159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/682196': 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) = 10607.2021881
delta logL = 0.124187476185

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.492e+00  1.153e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.891e+00  6.681e-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:  9.159e-01  8.942e-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:  1.091e+00  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.62
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.89 +/- 0.67
Photon Flux (Free Index): 3.24e-08 +/- 3.32e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.39e-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/682196/cmap_HighResolution_327196801_327456001_4FGL_J2311.0+3425_daily_bin339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.76e-08', energy_flux2='1.88e-05', photon_flux_error='2.95e-08', dlogl='1.24e-01', energy_flux='1.69e-05', photon_flux2='3.24e-08', job_status='DONE', time_completed='2021-09-29 07:58:21.913806', photon_index_error2='0.67', photon_index2='1.89', ts='6.38', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.39e-05', EG='1.07', time_epoch_completed='1632927501.91', return_code='0', job_id='682196', GAL2='0.92', EG2='1.09', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='3.32e-08', ts2='6.62', photon_index='2.24' WHERE bin_id='339' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:58:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 682196: <4FGL_J2311.0+3425_daily_bin339> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin339> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:45:32 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:45:34 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:45:34 2021
Terminated at Wed Sep 29 07:58:22 2021
Results reported at Wed Sep 29 07:58:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin339 347.768 34.4223 327196801 327456001 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 :                                   752.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             350.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            770 sec.

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

