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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin704
RA = 347.768, Dec = 34.4223
tmin = 421804801, tmax = 422064001
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='683841', job_status='RUN', time_executed='2021-09-29 07:51:16.982307', time_epoch_executed='1632927076.98' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='704'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/683841

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/683841/ft1_4FGL_J2311.0+3425_daily_bin704.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/683841/ft2_4FGL_J2311.0+3425_daily_bin704.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/683841/ft1_4FGL_J2311.0+3425_daily_bin704.fits outfile=/scratch/kocevski/683841/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin704.fits ra=347.768 dec=34.4223 rad=12.0 tmin=421804801.0 tmax=422064001.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.57
user 3.34
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/683841/ft1_filtered_4FGL_J2311.0+3425_daily_bin704.fits" evtable="EVENTS" scfile=/scratch/kocevski/683841/ft2_4FGL_J2311.0+3425_daily_bin704.fits sctable="SC_DATA" outfile=/scratch/kocevski/683841/ltcube_421804801_422064001_4FGL_J2311.0+3425_daily_bin704.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/683841/ft2_4FGL_J2311.0+3425_daily_bin704.fits
.....................!
real 11.97
user 11.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/683841/ft1_filtered_4FGL_J2311.0+3425_daily_bin704.fits evtable="EVENTS" scfile=/scratch/kocevski/683841/ft2_4FGL_J2311.0+3425_daily_bin704.fits sctable="SC_DATA" expcube=/scratch/kocevski/683841/ltcube_421804801_422064001_4FGL_J2311.0+3425_daily_bin704.fits outfile=/scratch/kocevski/683841/expmap_421804801_422064001_4FGL_J2311.0+3425_daily_bin704.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/683841/ltcube_421804801_422064001_4FGL_J2311.0+3425_daily_bin704.fits
.....................!
real 191.33
user 185.69
sys 5.25

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/683841/ft1_filtered_4FGL_J2311.0+3425_daily_bin704.fits scfile=/scratch/kocevski/683841/ft2_4FGL_J2311.0+3425_daily_bin704.fits outfile=/scratch/kocevski/683841/cmap_421804801_422064001_4FGL_J2311.0+3425_daily_bin704.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.53
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.519       1.0000         .10000E-03   10000.    
     2 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.4577       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.132       1.0000         .10000E-03   10000.    
    11 'norm      '    2.1131       1.0000         .10000E-03   10000.    
    12 'Prefactor '    47.294       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.4769       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6617       1.0000         .10000E-03   10000.    
    15 'norm      '    2.3100       1.0000         .10000E-03   10000.    
    16 'norm      '    8.9001       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.537       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.3904       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.275       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .61298       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0447       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=   9087.377     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2708 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.520        20.951        .23268E-02    .29808E-03
   2  norm          .10000E-03    .31109        .21465E-01** at limit **
   3  Prefactor     .10000E-03    15.192        .90712E-02** at limit **
   4  Prefactor     .10000E-03    1.5483        .90712E-02** at limit **
   5  Prefactor     .10000E-03    6.7462        .90712E-02** at limit **
   6  norm          4.4570        2.7355        .47680E-02    .15637E-02
   7  Prefactor     .10000E-03    5.8844        .90712E-02** at limit **
   8  Prefactor     .10000E-03    4.9840        .90712E-02** at limit **
   9  Prefactor     .10000E-03    3.8395        .90712E-02** at limit **
  10  Prefactor     33.128        25.429        .17404E-02    .27540E-03
  11  norm          2.1129        1.3384        .70946E-02    .74237E-03
  12  Prefactor     47.297        23.951        .14576E-02    .10741E-02
  13  Prefactor     8.4762        9.0168        .34421E-02    .16791E-03
  14  Prefactor     5.6597        34.077        .42205E-02    .60766E-03
  15  norm          2.3094        3.0600        .67488E-02    .22014E-03
  16  norm          8.8977        12.937        .33588E-02   -.91393E-03
  17  Prefactor     17.542        15.026        .23910E-02    .23211E-02
  18  norm          .10000E-03    .72091        .90712E-02** at limit **
  19  Prefactor     .10000E-03    13.681        .90712E-02** at limit **
  20  Prefactor     9.3559        25.126        .32695E-02   -.16065E-04
  21  Prefactor     23.275        46.924        .20757E-02    .10208E-03
  22  Prefactor     .10000E-03    3.9773        .90712E-02** at limit **
  23  Normalizat    .61281        .20496        .96064E-01   -.69231E-04
  24  Prefactor     1.0447        .88783E-01    .40233E-01   -.51135E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.5197
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.45704
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.1284
  norm       = 2.11286
  Prefactor  = 47.2975
  Prefactor  = 8.47618
  Prefactor  = 5.65967
  norm       = 2.30937
  norm       = 8.89767
  Prefactor  = 17.5417
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.35592
  Prefactor  = 23.2747
  Prefactor  = 0.0001
  Normalizat = 0.612808
  Prefactor  = 1.04474
 **********
 **   18 **HESSE 
 **********

 FCN=   9087.377     FROM HESSE     STATUS=OK           391 CALLS     3099 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.520        20.918        .93071E-04   -1.4847    
   2  norm          .10000E-03    .52414        .10333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.5535        .11575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.7631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.4570        2.7338        .59821E-03   -1.5286    
   7  Prefactor     .10000E-03    5.8953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.0889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.8515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.128        25.443        .69615E-04   -1.4556    
  11  norm          2.1129        1.3296        .83191E-04   -1.5417    
  12  Prefactor     47.297        23.932        .58306E-04   -1.4331    
  13  Prefactor     8.4762        9.0000        .13769E-03   -1.5126    
  14  Prefactor     5.6597        33.829        .16882E-03   -1.5232    
  15  norm          2.3094        3.0363        .18107E-03   -1.5404    
  16  norm          8.8977        12.960        .13435E-03   -1.5111    
  17  Prefactor     17.542        14.969        .95640E-04   -1.4870    
  18  norm          .10000E-03    .72813        .79014E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.3559        25.135        .13078E-03   -1.5096    
  21  Prefactor     23.275        46.765        .83028E-04   -1.4743    
  22  Prefactor     .10000E-03    4.0183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .61281        .22488        .42570E-03   -1.0744    
  24  Prefactor     1.0447        .99327E-01    .15161E-03   -.91253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42325e-08
Minuit parameter uncertainties:
  1  20.9263
  2  1.35646e-05
  3  0.000155059
  4  5.47771e-05
  5  6.18194e-05
  6  2.7339
  7  0.000190521
  8  2.12713e-06
  9  4.1145e-05
  10  25.4508
  11  1.32964
  12  23.9369
  13  9.0014
  14  27.6972
  15  3.03653
  16  12.9639
  17  14.9719
  18  2.24356e-05
  19  0.00016309
  20  25.1634
  21  46.839
  22  8.22473e-06
  23  0.225221
  24  0.0993441
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.113e+00  1.330e+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.045e+00  9.934e-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:  6.128e-01  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.75
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 5.84e-08 +/- 3.68e-08
Energy Flux (Fixed Index): 2.08e-05 +/- 1.31e-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) = 9087.36938091
delta logL = 0.00714328718277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9087.36885574
delta logL = 0.00766845916223

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1298       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3219       1.0000          .0000       5.0000    
     3 'Normalizat'    .60721       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0461       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=   9087.369     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      229 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1310        32.246        .70629E-02    .49948E-03
   2  alpha         2.3225        2.8982        .41284        .62944E-05
   3  Normalizat    .60708        .11374        .96478E-01    .55367E-04
   4  Prefactor     1.0461        .44622E-01    .40142E-01   -.50962E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.13096
  alpha      = 2.32251
  Normalizat = 0.607078
  Prefactor  = 1.04608
 **********
 **   18 **HESSE 
 **********

 FCN=   9087.369     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1310        1.3046        .81623E-04   -1.5416    
   2  alpha         2.3225        .65738        .19093E-01   -.71057E-01
   3  Normalizat    .60708        .21639        .42754E-03   -1.0768    
   4  Prefactor     1.0461        .97214E-01    .15152E-03   -.91209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11419e-13
Minuit parameter uncertainties:
  1  1.30463
  2  0.665247
  3  0.216691
  4  0.0972301
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/683841': 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) = 9087.36885322
delta logL = 0.00767097619064

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.131e+00  1.305e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.323e+00  6.652e-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.046e+00  9.723e-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:  6.071e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.77
Ra Dec: 347.768 34.422
Photon Index (Free Index): 2.32 +/- 0.67
Photon Flux (Free Index): 6.31e-08 +/- 5.20e-08
Energy Flux (Free Index): 2.05e-05 +/- 1.28e-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/683841/cmap_HighResolution_421804801_422064001_4FGL_J2311.0+3425_daily_bin704.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.84e-08', energy_flux2='2.05e-05', photon_flux_error='3.68e-08', dlogl='7.67e-03', energy_flux='2.08e-05', photon_flux2='6.31e-08', job_status='DONE', time_completed='2021-09-29 08:03:56.079690', photon_index_error2='0.67', photon_index2='2.32', ts='4.75', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='0.61', time_epoch_completed='1632927836.08', return_code='0', job_id='683841', GAL2='1.05', EG2='0.61', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='5.20e-08', ts2='4.77', photon_index='2.24' WHERE bin_id='704' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:03:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 683841: <4FGL_J2311.0+3425_daily_bin704> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin704 347.768 34.4223 421804801 422064001 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 :                                   737.22 sec.
    Max Memory :                                 1145 MB
    Average Memory :                             309.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            804 sec.

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

