/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 82 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 = 7377
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1116
RA = 347.768, Dec = 34.4223
tmin = 528595201, tmax = 528854401
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='685593', job_status='RUN', time_executed='2021-09-29 07:57:17.000002', time_epoch_executed='1632927437.0' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1116'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685593

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685593/ft1_4FGL_J2311.0+3425_daily_bin1116.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685593/ft2_4FGL_J2311.0+3425_daily_bin1116.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685593/ft1_4FGL_J2311.0+3425_daily_bin1116.fits outfile=/scratch/kocevski/685593/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1116.fits ra=347.768 dec=34.4223 rad=12.0 tmin=528595201.0 tmax=528854401.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.42
user 3.20
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/685593/ft2_4FGL_J2311.0+3425_daily_bin1116.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/685593/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1116.fits evtable="EVENTS" outfile="/scratch/kocevski/685593/ft1_filtered_4FGL_J2311.0+3425_daily_bin1116.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/685593/ft1_filtered_4FGL_J2311.0+3425_daily_bin1116.fits" evtable="EVENTS" scfile=/scratch/kocevski/685593/ft2_4FGL_J2311.0+3425_daily_bin1116.fits sctable="SC_DATA" outfile=/scratch/kocevski/685593/ltcube_528595201_528854401_4FGL_J2311.0+3425_daily_bin1116.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/685593/ft2_4FGL_J2311.0+3425_daily_bin1116.fits
.....................!
real 11.90
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685593/ft1_filtered_4FGL_J2311.0+3425_daily_bin1116.fits evtable="EVENTS" scfile=/scratch/kocevski/685593/ft2_4FGL_J2311.0+3425_daily_bin1116.fits sctable="SC_DATA" expcube=/scratch/kocevski/685593/ltcube_528595201_528854401_4FGL_J2311.0+3425_daily_bin1116.fits outfile=/scratch/kocevski/685593/expmap_528595201_528854401_4FGL_J2311.0+3425_daily_bin1116.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/685593/ltcube_528595201_528854401_4FGL_J2311.0+3425_daily_bin1116.fits
.....................!
real 190.70
user 185.19
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/685593/ft1_filtered_4FGL_J2311.0+3425_daily_bin1116.fits scfile=/scratch/kocevski/685593/ft2_4FGL_J2311.0+3425_daily_bin1116.fits outfile=/scratch/kocevski/685593/cmap_528595201_528854401_4FGL_J2311.0+3425_daily_bin1116.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/685593/ft1_filtered_4FGL_J2311.0+3425_daily_bin1116.fits scfile=/scratch/kocevski/685593/ft2_4FGL_J2311.0+3425_daily_bin1116.fits outfile=/scratch/kocevski/685593/cmap_HighResolution_528595201_528854401_4FGL_J2311.0+3425_daily_bin1116.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.5728       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.2570       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1646       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.8405       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.653       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.9385       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.240       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.6286       1.0000         .10000E-03   10000.    
    11 'norm      '    .22053       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .75554E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6384       1.0000         .10000E-03   10000.    
    15 'norm      '    6.8418       1.0000         .10000E-03   10000.    
    16 'norm      '    6.7152       1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.284       1.0000         .10000E-03   10000.    
    18 'norm      '    .40673       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0977       1.0000         .10000E-03   10000.    
    20 'Prefactor '    27.256       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.8002       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2387       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81837       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=   9336.977     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2777 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.1982       -.19327E-07** at limit **
   2  norm          1.5729        .96985        .68711E-07   -.56636E-04
   3  Prefactor     4.3135        199.91        .75689E-05    .92343E-04
   4  Prefactor     1.1669        9.3350        .75086E-05    .86517E-04
   5  Prefactor     .10000E-03    8.1080        .31699E-07** at limit **
   6  norm          3.8385        3.1912       -.12659E-05   -.84184E-03
   7  Prefactor     14.653        15.767        .10047E-06   -.36219E-04
   8  Prefactor     5.9384        5.0430       -.20347E-06   -.36782E-03
   9  Prefactor     10.240        10.758        .16186E-05   -.37778E-04
  10  Prefactor     1.6198        38.140        .19448E-05   -.95992E-05
  11  norm          .22135        .77835        .49241E-06   -.53587E-03
  12  Prefactor     .10000E-03    32.792       -.12142E-06** at limit **
  13  Prefactor     .10010E-03    5.5010       -.26202E-05** at limit **
  14  Prefactor     2.6381        22.573        .13462E-05   -.58418E-05
  15  norm          6.8417        6.0363        .11694E-06   -.10788E-03
  16  norm          6.7163        8.5207        .23827E-05   -.27664E-05
  17  Prefactor     38.287        20.982        .25168E-07   -.24517E-04
  18  norm          .40734        1.1692        .54841E-06    .26887E-03
  19  Prefactor     2.0979        22.715        .17479E-05   -.26895E-05
  20  Prefactor     27.259        26.178        .35557E-06    .33241E-04
  21  Prefactor     .10000E-03    17.978        .82760E-07** at limit **
  22  Prefactor     4.8005        5.9092        .36944E-06    .15400E-04
  23  Normalizat    1.2385        .19772       -.57949E-06   -.93988E-04
  24  Prefactor     .81847        .83431E-01   -.95713E-06   -.39822E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.5729
  Prefactor  = 4.31354
  Prefactor  = 1.16693
  Prefactor  = 0.0001
  norm       = 3.83854
  Prefactor  = 14.6527
  Prefactor  = 5.93837
  Prefactor  = 10.2396
  Prefactor  = 1.61976
  norm       = 0.221354
  Prefactor  = 0.0001
  Prefactor  = 0.000100104
  Prefactor  = 2.63808
  norm       = 6.84168
  norm       = 6.71628
  Prefactor  = 38.2872
  norm       = 0.407335
  Prefactor  = 2.09793
  Prefactor  = 27.2589
  Prefactor  = 0.0001
  Prefactor  = 4.8005
  Normalizat = 1.23846
  Prefactor  = 0.818473
 **********
 **   18 **HESSE 
 **********

 FCN=   9336.977     FROM HESSE     STATUS=OK           415 CALLS     3192 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.2068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5729        .96466        .72066E-04   -1.5457    
   3  Prefactor     4.3135        201.82        .19528E-03   -1.5293    
   4  Prefactor     1.1669        9.5116        .42628E-03   -1.5492    
   5  Prefactor     .10000E-03    8.1276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.8385        3.1727        .12880E-03   -1.5316    
   7  Prefactor     14.653        15.771        .10463E-03   -1.4942    
   8  Prefactor     5.9384        5.0355        .16478E-03   -1.5221    
   9  Prefactor     10.240        10.736        .62606E-03   -1.5068    
  10  Prefactor     1.6198        38.476        .33142E-03   -1.5453    
  11  norm          .22135        1.1044        .14925E-02   -1.5614    
  12  Prefactor     .10000E-03    33.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10010E-03    17.682        .40603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.6381        22.576        .25102E-03   -1.5383    
  15  norm          6.8417        6.0242        .15339E-03   -1.5185    
  16  norm          6.7163        8.4566        .77421E-03   -1.5190    
  17  Prefactor     38.287        21.087        .64777E-04   -1.4470    
  18  norm          .40734        1.1862        .16972E-02   -1.5580    
  19  Prefactor     2.0979        22.780        .28496E-03   -1.5418    
  20  Prefactor     27.259        26.231        .76736E-04   -1.4663    
  21  Prefactor     .10000E-03    17.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.8005        5.9023        .18363E-03   -1.5270    
  23  Normalizat    1.2385        .23050        .32996E-03   -.85423    
  24  Prefactor     .81847        .97756E-01    .16946E-03   -.99051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17918e-08
Minuit parameter uncertainties:
  1  3.13896e-06
  2  0.964674
  3  59.2237
  4  6.6643
  5  1.47115e-05
  6  3.1728
  7  15.7756
  8  5.03587
  9  10.7377
  10  15.7997
  11  0.988681
  12  3.98437e-05
  13  0.00270884
  14  15.4424
  15  6.02477
  16  8.4581
  17  21.0915
  18  1.18625
  19  13.8325
  20  26.2425
  21  3.55719e-05
  22  5.903
  23  0.230693
  24  0.0977767
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.214e-01  9.887e-01  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:  8.185e-01  9.778e-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.238e+00  2.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 347.768 34.422
Photon Flux Upper Limit: 7.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/685593/likelihoodResults_528595201_528854401_4FGL_J2311.0+3425_daily_bin1116.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) = 9336.97672112
delta logL = 2.75221918855e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9336.97665519
delta logL = 9.34522922762e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22488       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1669       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2386       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81832       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9336.977     FROM MIGRAD    STATUS=FAILED       110 CALLS      321 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22251        4.4600        .15000E-02    .90872E-02
   2  alpha         2.1597        3.4230        .50000       -.47667E-04
   3  Normalizat    1.2391        .22432        .32990E-03   -.33703E-04
   4  Prefactor     .81829        .96791E-01    .16948E-03   -.55811E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9336.977     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      400 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22251        4.4600        .77502E-04   -1.5614    
   2  alpha         2.1597        3.4230        .90304E-02   -.13653    
   3  Normalizat    1.2391        .22432        .27202E-03   -.85404    
   4  Prefactor     .81829        .96791E-01    .14968E-03   -.99058    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9336.977     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      435 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22252        2.0128        .29999E-03   -.30621E-04
   2  alpha         2.1597        3.5694        .50000       -.48413E-04
   3  Normalizat    1.2391        .22229        .13196E-04   -.18265E-04
   4  Prefactor     .81829        .95226E-01    .67792E-05   -.34882E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.222517
  alpha      = 2.15972
  Normalizat = 1.23905
  Prefactor  = 0.81829
 **********
 **   18 **HESSE 
 **********

 FCN=   9336.977     FROM HESSE     STATUS=OK            31 CALLS      466 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22252        1.8252        .12000E-04   -1.5614    
   2  alpha         2.1597        3.5571        .50000       -.13653    
   3  Normalizat    1.2391        .22238        .26392E-05   -.85404    
   4  Prefactor     .81829        .95216E-01    .13558E-05   -.99058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52679e-09
Minuit parameter uncertainties:
  1  1.27436
  2  3.07847
  3  0.222548
  4  0.0952354
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685593': 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) = 9336.97664638
delta logL = 0.000102270214484

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.225e-01  1.274e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.160e+00  3.078e+00  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:  8.183e-01  9.524e-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.239e+00  2.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 347.768 34.422

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/685593/cmap_HighResolution_528595201_528854401_4FGL_J2311.0+3425_daily_bin1116.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.82e-05', job_status='DONE', photon_flux_upper_limit='7.93e-08', time_completed='2021-09-29 08:11:51.363891', job_id='685593', GAL2='0.82', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1632928311.36', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.02e-04', ts2='0.06', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1116' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:11:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 685593: <4FGL_J2311.0+3425_daily_bin1116> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1116> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:55:39 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:55:40 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:55:40 2021
Terminated at Wed Sep 29 08:11:51 2021
Results reported at Wed Sep 29 08:11:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1116 347.768 34.4223 528595201 528854401 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 :                                   862.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   971 sec.
    Turnaround time :                            972 sec.

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

