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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1012
RA = 347.768, Dec = 34.4223
tmin = 501638401, tmax = 501897601
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='685439', job_status='RUN', time_executed='2021-09-29 07:58:00.148990', time_epoch_executed='1632927480.15' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1012'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685439

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685439/ft1_4FGL_J2311.0+3425_daily_bin1012.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685439/ft2_4FGL_J2311.0+3425_daily_bin1012.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685439/ft1_4FGL_J2311.0+3425_daily_bin1012.fits outfile=/scratch/kocevski/685439/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1012.fits ra=347.768 dec=34.4223 rad=12.0 tmin=501638401.0 tmax=501897601.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 2.79
user 2.57
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/685439/ft2_4FGL_J2311.0+3425_daily_bin1012.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/685439/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1012.fits evtable="EVENTS" outfile="/scratch/kocevski/685439/ft1_filtered_4FGL_J2311.0+3425_daily_bin1012.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.42
user 0.27
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685439/ft1_filtered_4FGL_J2311.0+3425_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/685439/ft2_4FGL_J2311.0+3425_daily_bin1012.fits sctable="SC_DATA" expcube=/scratch/kocevski/685439/ltcube_501638401_501897601_4FGL_J2311.0+3425_daily_bin1012.fits outfile=/scratch/kocevski/685439/expmap_501638401_501897601_4FGL_J2311.0+3425_daily_bin1012.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/685439/ltcube_501638401_501897601_4FGL_J2311.0+3425_daily_bin1012.fits
.....................!
real 145.09
user 141.14
sys 3.68

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/685439/ft1_filtered_4FGL_J2311.0+3425_daily_bin1012.fits scfile=/scratch/kocevski/685439/ft2_4FGL_J2311.0+3425_daily_bin1012.fits outfile=/scratch/kocevski/685439/cmap_501638401_501897601_4FGL_J2311.0+3425_daily_bin1012.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.48
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/685439/ft1_filtered_4FGL_J2311.0+3425_daily_bin1012.fits scfile=/scratch/kocevski/685439/ft2_4FGL_J2311.0+3425_daily_bin1012.fits outfile=/scratch/kocevski/685439/cmap_HighResolution_501638401_501897601_4FGL_J2311.0+3425_daily_bin1012.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=347.768 yref=34.4223 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.45
user 0.28
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11056E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.8136       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .34484E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.8681       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8380       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.656       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4746       1.0000         .10000E-03   10000.    
    11 'norm      '    .77052       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.755       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.7692       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.060       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.4727       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 '    77.463       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.6442       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1422       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91827       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=   9687.200     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2693 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    21.164       -.10668E-05** at limit **
   2  norm          3.8138        1.2972        .16598E-07   -.13078E-04
   3  Prefactor     .10000E-03    20.670        .15969E-06** at limit **
   4  Prefactor     .10004E-03    5.2741        .14088E-06** at limit **
   5  Prefactor     .10000E-03    6.9747       -.29659E-07** at limit **
   6  norm          5.8672        5.3680        .23408E-06   -.12116E-03
   7  Prefactor     .10000E-03    19.405        .72460E-06** at limit **
   8  Prefactor     3.8376        5.5849       -.45291E-06   -.42184E-04
   9  Prefactor     29.657        14.056        .10033E-06   -.30684E-05
  10  Prefactor     2.4757        18.695        .48712E-06    .68275E-06
  11  norm          .77065        1.1214        .43879E-07   -.75152E-05
  12  Prefactor     15.757        18.843        .36935E-06   -.18609E-05
  13  Prefactor     8.7677        12.996        .57540E-07   -.99580E-05
  14  Prefactor     .10000E-03    17.245        .60648E-07** at limit **
  15  norm          .10000E-03    1.4112        .25616E-08** at limit **
  16  norm          13.060        9.7215        .32802E-07   -.34273E-05
  17  Prefactor     .10000E-03    16.492       -.40042E-06** at limit **
  18  norm          3.4730        2.5360        .28741E-07   -.10472E-04
  19  Prefactor     .10000E-03    4.4888       -.18931E-07** at limit **
  20  Prefactor     .10000E-03    20.593        .16505E-06** at limit **
  21  Prefactor     77.353        64.690        .83283E-05   -.43729E-05
  22  Prefactor     2.6602        9.6119        .10739E-05   -.78301E-05
  23  Normalizat    1.1422        .20372       -.35558E-06   -.22355E-04
  24  Prefactor     .91825        .85887E-01   -.22620E-06   -.19294E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.81377
  Prefactor  = 0.0001
  Prefactor  = 0.00010004
  Prefactor  = 0.0001
  norm       = 5.86716
  Prefactor  = 0.0001
  Prefactor  = 3.83764
  Prefactor  = 29.6567
  Prefactor  = 2.47565
  norm       = 0.770654
  Prefactor  = 15.7568
  Prefactor  = 8.76766
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.0604
  Prefactor  = 0.0001
  norm       = 3.47303
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 77.3527
  Prefactor  = 2.66019
  Normalizat = 1.14221
  Prefactor  = 0.918251
 **********
 **   18 **HESSE 
 **********

 FCN=   9687.200     FROM HESSE     STATUS=OK           411 CALLS     3104 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    21.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8138        1.2975        .63158E-04   -1.5317    
   3  Prefactor     .10000E-03    20.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10004E-03    14.783        .52647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.9804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.8672        5.7107        .16578E-03   -1.5223    
   7  Prefactor     .10000E-03    19.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8376        5.5506        .20601E-03   -1.5316    
   9  Prefactor     29.657        14.059        .73572E-04   -1.4618    
  10  Prefactor     2.4757        18.645        .25992E-03   -1.5393    
  11  norm          .77065        1.1209        .49318E-04   -1.5532    
  12  Prefactor     15.757        18.861        .10091E-03   -1.4914    
  13  Prefactor     8.7677        12.985        .13536E-03   -1.5116    
  14  Prefactor     .10000E-03    17.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.4169        .11417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.060        9.7237        .11084E-03   -1.4985    
  17  Prefactor     .10000E-03    16.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.4730        2.5302        .12792E-03   -1.5335    
  19  Prefactor     .10000E-03    4.4899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     77.353        64.972        .22813E-03   -1.3947    
  22  Prefactor     2.6602        9.6478        .12536E-02   -1.5382    
  23  Normalizat    1.1422        .23529        .36586E-03   -.88408    
  24  Prefactor     .91825        .99792E-01    .17222E-03   -.95506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00603e-10
Minuit parameter uncertainties:
  1  0.000193352
  2  1.29752
  3  1.66785e-06
  4  0.00154516
  5  1.35703e-06
  6  5.71126
  7  1.02689e-05
  8  5.55134
  9  14.0608
  10  13.5937
  11  1.12092
  12  18.8681
  13  12.9888
  14  5.45069e-06
  15  5.43491e-07
  16  9.72491
  17  1.23603e-05
  18  2.53032
  19  8.77392e-07
  20  9.51323e-08
  21  65.0322
  22  9.65345
  23  0.235502
  24  0.099812
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  7.707e-01  1.121e+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.183e-01  9.981e-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.142e+00  2.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/685439/likelihoodResults_501638401_501897601_4FGL_J2311.0+3425_daily_bin1012.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): 0
logL (Free Index) = 9687.13074269
delta logL = 0.0696751260712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9687.12282946
delta logL = 0.0775883625665

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65168       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7645       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1528       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91572       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=   9687.123     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      213 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65023        1.4453        .26075E-01    .12145E-02
   2  alpha         1.7644        .89101        .43665       -.62062E-04
   3  Normalizat    1.1527        .19716        .82301E-01   -.40641E-04
   4  Prefactor     .91577        .84919E-01    .45205E-01   -.15452E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.650231
  alpha      = 1.76441
  Normalizat = 1.15272
  Prefactor  = 0.915774
 **********
 **   18 **HESSE 
 **********

 FCN=   9687.123     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65023        1.0871        .13362E-02   -1.5547    
   2  alpha         1.7644        1.0437        .28901E-01   -.29866    
   3  Normalizat    1.1527        .22831        .36437E-03   -.88077    
   4  Prefactor     .91577        .98025E-01    .17242E-03   -.95592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23866e-08
Minuit parameter uncertainties:
  1  1.08714
  2  1.08013
  3  0.228506
  4  0.0980444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685439': 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) = 9687.12282818
delta logL = 0.0775896352425

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  6.502e-01  1.087e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.764e+00  1.080e+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:  9.158e-01  9.804e-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.153e+00  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.70
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/685439/cmap_HighResolution_501638401_501897601_4FGL_J2311.0+3425_daily_bin1012.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-05', job_status='DONE', photon_flux_upper_limit='9.99e-08', time_completed='2021-09-29 08:08:35.603787', job_id='685439', GAL2='0.92', fit_tolerance='1e-08', EG2='1.15', EG='1.14', time_epoch_completed='1632928115.6', return_code2='0', ts='0.70', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='7.76e-02', ts2='0.85', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1012' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:08:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 685439: <4FGL_J2311.0+3425_daily_bin1012> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1012> 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) <bullet0071>, 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:08:36 2021
Results reported at Wed Sep 29 08:08:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1012 347.768 34.4223 501638401 501897601 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 :                                   628.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            789 sec.

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

