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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1014
RA = 347.768, Dec = 34.4223
tmin = 502156801, tmax = 502416001
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='685442', job_status='RUN', time_executed='2021-09-29 07:58:24.686627', time_epoch_executed='1632927504.69' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1014'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685442

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685442/ft1_4FGL_J2311.0+3425_daily_bin1014.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685442/ft2_4FGL_J2311.0+3425_daily_bin1014.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685442/ft1_4FGL_J2311.0+3425_daily_bin1014.fits outfile=/scratch/kocevski/685442/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1014.fits ra=347.768 dec=34.4223 rad=12.0 tmin=502156801.0 tmax=502416001.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 4.06
user 3.79
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685442/ft1_filtered_4FGL_J2311.0+3425_daily_bin1014.fits evtable="EVENTS" scfile=/scratch/kocevski/685442/ft2_4FGL_J2311.0+3425_daily_bin1014.fits sctable="SC_DATA" expcube=/scratch/kocevski/685442/ltcube_502156801_502416001_4FGL_J2311.0+3425_daily_bin1014.fits outfile=/scratch/kocevski/685442/expmap_502156801_502416001_4FGL_J2311.0+3425_daily_bin1014.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/685442/ltcube_502156801_502416001_4FGL_J2311.0+3425_daily_bin1014.fits
.....................!
real 189.83
user 184.81
sys 4.71

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/685442/ft1_filtered_4FGL_J2311.0+3425_daily_bin1014.fits scfile=/scratch/kocevski/685442/ft2_4FGL_J2311.0+3425_daily_bin1014.fits outfile=/scratch/kocevski/685442/cmap_502156801_502416001_4FGL_J2311.0+3425_daily_bin1014.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.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    5.4798       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7922       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12256E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.1767       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.8555       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3739       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7026       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.9442       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.5281       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    68.315       1.0000         .10000E-03   10000.    
    21 'Prefactor '    27.018       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1846       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98356       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=   9838.476     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2353 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.8924        .54634E-05** at limit **
   2  norm          5.4807        1.6414       -.14735E-07    .50353E-04
   3  Prefactor     .10000E-03    190.09       -.14027E-05** at limit **
   4  Prefactor     7.7914        8.6901       -.70313E-06   -.17982E-04
   5  Prefactor     .10000E-03    58.664        .55021E-06** at limit **
   6  norm          3.1770        1.6156        .15764E-06   -.17291E-02
   7  Prefactor     .10000E-03    7.7957        .20699E-05** at limit **
   8  Prefactor     .10000E-03    2.0961       -.39555E-08** at limit **
   9  Prefactor     .10000E-03    7.3712       -.77329E-05** at limit **
  10  Prefactor     4.8556        14.719       -.81520E-07   -.37714E-05
  11  norm          1.3739        1.1825       -.34240E-07   -.43916E-04
  12  Prefactor     .10000E-03    24.093       -.48822E-06** at limit **
  13  Prefactor     9.7020        12.035       -.55159E-06   -.56736E-05
  14  Prefactor     .10000E-03    8.6305       -.28205E-05** at limit **
  15  norm          .10000E-03    3.3305       -.25147E-07** at limit **
  16  norm          8.9441        8.1333       -.60135E-08    .23938E-05
  17  Prefactor     .10000E-03    7.0292        .29417E-05** at limit **
  18  norm          1.5281        2.0001        .46007E-08   -.45017E-04
  19  Prefactor     .10000E-03    14.662        .36723E-06** at limit **
  20  Prefactor     68.315        40.979       -.31907E-06   -.44324E-05
  21  Prefactor     27.000        44.246       -.11773E-04   -.28825E-04
  22  Prefactor     .10000E-03    5.4565        .39198E-06** at limit **
  23  Normalizat    1.1847        .21718        .64212E-06    .19959E-04
  24  Prefactor     .98355        .90751E-01    .26423E-06    .22436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.48066
  Prefactor  = 0.0001
  Prefactor  = 7.79144
  Prefactor  = 0.0001
  norm       = 3.17703
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.85556
  norm       = 1.37388
  Prefactor  = 0.0001
  Prefactor  = 9.70198
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.94415
  Prefactor  = 0.0001
  norm       = 1.52808
  Prefactor  = 0.0001
  Prefactor  = 68.3145
  Prefactor  = 27
  Prefactor  = 0.0001
  Normalizat = 1.18473
  Prefactor  = 0.983552
 **********
 **   18 **HESSE 
 **********

 FCN=   9838.476     FROM HESSE     STATUS=OK           391 CALLS     2744 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.9328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.4807        1.6413        .66706E-04   -1.5240    
   3  Prefactor     .10000E-03    190.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7914        12.495        .14365E-03   -1.5150    
   5  Prefactor     .10000E-03    59.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.1770        6.6605        .11369E-02   -1.5351    
   7  Prefactor     .10000E-03    7.8000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.0998        .14021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.3844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.8556        14.705        .18255E-03   -1.5267    
  11  norm          1.3739        1.1875        .96180E-04   -1.5474    
  12  Prefactor     .10000E-03    24.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.7020        12.010        .12865E-03   -1.5085    
  14  Prefactor     .10000E-03    8.6370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.3862        .17670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.9441        8.1361        .13402E-03   -1.5110    
  17  Prefactor     .10000E-03    7.0372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.5281        1.9712        .15437E-03   -1.5461    
  19  Prefactor     .10000E-03    14.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     68.315        41.122        .48563E-04   -1.4053    
  21  Prefactor     27.000        44.385        .77072E-04   -1.4668    
  22  Prefactor     .10000E-03    5.5563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1847        .25347        .38460E-03   -.87076    
  24  Prefactor     .98355        .10666        .17580E-03   -.93280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03382e-09
Minuit parameter uncertainties:
  1  3.23033e-05
  2  1.64133
  3  9.84426e-05
  4  12.4993
  5  7.41688e-05
  6  6.66205
  7  1.39093e-06
  8  5.62137e-07
  9  7.51631e-06
  10  14.7163
  11  1.18756
  12  1.81405e-05
  13  12.0128
  14  6.73299e-06
  15  4.81423e-06
  16  8.1371
  17  1.73592e-06
  18  1.97127
  19  7.89429e-07
  20  41.1392
  21  44.4397
  22  0.000103066
  23  0.253738
  24  0.106688
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.374e+00  1.188e+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.836e-01  1.067e-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:  1.185e+00  2.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.46
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 3.80e-08 +/- 3.28e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.17e-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) = 9837.22405853
delta logL = 1.25158334544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9837.2224222
delta logL = 1.25321968

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57890       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1540       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98079       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=   9837.222     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      221 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57817        .52550        .11589E-01   -.31765E-03
   2  alpha         1.1538        .36177        .39791       -.65672E-04
   3  Normalizat    1.2073        .21072        .86129E-01    .23337E-04
   4  Prefactor     .98077        .89229E-01    .46027E-01    .59944E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.578174
  alpha      = 1.15379
  Normalizat = 1.20727
  Prefactor  = 0.980775
 **********
 **   18 **HESSE 
 **********

 FCN=   9837.222     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57817        .90045        .61989E-03   -1.5556    
   2  alpha         1.1538        .65481        .15505E-01   -.56864    
   3  Normalizat    1.2073        .24561        .38138E-03   -.86378    
   4  Prefactor     .98077        .10428        .17600E-03   -.93373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9968e-09
Minuit parameter uncertainties:
  1  0.900472
  2  0.66584
  3  0.245848
  4  0.1043
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685442': 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) = 9837.22242148
delta logL = 1.25322039162

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  5.782e-01  9.005e-01  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.154e+00  6.658e-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.808e-01  1.043e-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:  1.207e+00  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.96
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.15 +/- 0.67
Photon Flux (Free Index): 1.15e-08 +/- 1.50e-08
Energy Flux (Free Index): 3.63e-05 +/- 4.42e-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/685442/cmap_HighResolution_502156801_502416001_4FGL_J2311.0+3425_daily_bin1014.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.80e-08', energy_flux2='3.63e-05', photon_flux_error='3.28e-08', dlogl='1.25e+00', energy_flux='1.35e-05', photon_flux2='1.15e-08', job_status='DONE', time_completed='2021-09-29 08:10:30.596729', photon_index_error2='0.67', photon_index2='1.15', ts='4.46', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='4.42e-05', EG='1.18', time_epoch_completed='1632928230.6', return_code='0', job_id='685442', GAL2='0.98', EG2='1.21', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='1.50e-08', ts2='6.96', photon_index='2.24' WHERE bin_id='1014' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:10:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 685442: <4FGL_J2311.0+3425_daily_bin1014> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1014 347.768 34.4223 502156801 502416001 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 :                                   723.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            903 sec.

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

