/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 138 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 = 7443
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+3425_daily_bin49
RA = 347.768, Dec = 34.4223
tmin = 252028801, tmax = 252288001
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='680509', job_status='RUN', time_executed='2021-09-29 07:43:07.360079', time_epoch_executed='1632926587.36' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='49'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680509

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680509/ft1_4FGL_J2311.0+3425_daily_bin49.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680509/ft2_4FGL_J2311.0+3425_daily_bin49.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680509/ft1_4FGL_J2311.0+3425_daily_bin49.fits outfile=/scratch/kocevski/680509/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin49.fits ra=347.768 dec=34.4223 rad=12.0 tmin=252028801.0 tmax=252288001.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 1.42
user 1.23
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/680509/ft2_4FGL_J2311.0+3425_daily_bin49.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/680509/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin49.fits evtable="EVENTS" outfile="/scratch/kocevski/680509/ft1_filtered_4FGL_J2311.0+3425_daily_bin49.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/680509/ft1_filtered_4FGL_J2311.0+3425_daily_bin49.fits" evtable="EVENTS" scfile=/scratch/kocevski/680509/ft2_4FGL_J2311.0+3425_daily_bin49.fits sctable="SC_DATA" outfile=/scratch/kocevski/680509/ltcube_252028801_252288001_4FGL_J2311.0+3425_daily_bin49.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/680509/ft2_4FGL_J2311.0+3425_daily_bin49.fits
.....................!
real 12.32
user 11.96
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680509/ft1_filtered_4FGL_J2311.0+3425_daily_bin49.fits evtable="EVENTS" scfile=/scratch/kocevski/680509/ft2_4FGL_J2311.0+3425_daily_bin49.fits sctable="SC_DATA" expcube=/scratch/kocevski/680509/ltcube_252028801_252288001_4FGL_J2311.0+3425_daily_bin49.fits outfile=/scratch/kocevski/680509/expmap_252028801_252288001_4FGL_J2311.0+3425_daily_bin49.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/680509/ltcube_252028801_252288001_4FGL_J2311.0+3425_daily_bin49.fits
.....................!
real 189.97
user 185.67
sys 4.00

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/680509/ft1_filtered_4FGL_J2311.0+3425_daily_bin49.fits scfile=/scratch/kocevski/680509/ft2_4FGL_J2311.0+3425_daily_bin49.fits outfile=/scratch/kocevski/680509/cmap_252028801_252288001_4FGL_J2311.0+3425_daily_bin49.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=347.768 yref=34.4223 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680509/ft1_filtered_4FGL_J2311.0+3425_daily_bin49.fits scfile=/scratch/kocevski/680509/ft2_4FGL_J2311.0+3425_daily_bin49.fits outfile=/scratch/kocevski/680509/cmap_HighResolution_252028801_252288001_4FGL_J2311.0+3425_daily_bin49.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.032       1.0000         .10000E-03   10000.    
     2 'norm      '    .47032       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8276       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5882       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .21815E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.315       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.653       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.4382       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.466       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.8133       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2756       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85933       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=   7593.744     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2770 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.029        19.290        .15138E-06   -.23968E-04
   2  norm          .46847        .69911        .59927E-06    .13060E-02
   3  Prefactor     5.9721        126.42        .22661E-05    .17665E-04
   4  Prefactor     .10000E-03    2.0136       -.18557E-07** at limit **
   5  Prefactor     .10000E-03    13.590       -.16391E-06** at limit **
   6  norm          .10000E-03    1.1381       -.11787E-07** at limit **
   7  Prefactor     .10000E-03    13.573       -.13862E-06** at limit **
   8  Prefactor     7.5878        5.4080       -.35006E-07   -.17577E-04
   9  Prefactor     .10000E-03    5.7380        .41665E-07** at limit **
  10  Prefactor     .10000E-03    13.577       -.52574E-07** at limit **
  11  norm          .10061E-03    1.5491       -.10659E-05** at limit **
  12  Prefactor     35.316        26.418        .14945E-06   -.34799E-04
  13  Prefactor     13.653        16.324       -.72325E-06   -.38643E-03
  14  Prefactor     .10000E-03    9.8730        .44365E-07** at limit **
  15  norm          .10000E-03    1.1251        .19923E-07** at limit **
  16  norm          .10000E-03    5.7760        .14167E-07** at limit **
  17  Prefactor     .10000E-03    18.786        .27399E-06** at limit **
  18  norm          4.4380        3.2532        .10741E-07   -.35400E-05
  19  Prefactor     .10003E-03    104.27        .10303E-04** at limit **
  20  Prefactor     22.469        29.626        .28014E-06   -.25102E-04
  21  Prefactor     .10000E-03    18.520       -.26198E-07** at limit **
  22  Prefactor     3.8118        7.7296       -.21013E-06   -.13214E-03
  23  Normalizat    1.2758        .25536       -.28187E-05   -.18593E-05
  24  Prefactor     .85931        .10940        .13049E-05   -.47666E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.0295
  norm       = 0.468465
  Prefactor  = 5.9721
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.58782
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100613
  Prefactor  = 35.316
  Prefactor  = 13.6532
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.43797
  Prefactor  = 0.000100025
  Prefactor  = 22.4686
  Prefactor  = 0.0001
  Prefactor  = 3.81185
  Normalizat = 1.27578
  Prefactor  = 0.859313
 **********
 **   18 **HESSE 
 **********

 FCN=   7593.744     FROM HESSE     STATUS=OK           409 CALLS     3179 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.029        19.227        .97048E-04   -1.4882    
   2  norm          .46847        .70580        .10424E-02   -1.5571    
   3  Prefactor     5.9721        125.37        .16637E-03   -1.5219    
   4  Prefactor     .10000E-03    2.0200        .12075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.1422        .90771E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.5878        5.4061        .14558E-03   -1.5157    
   9  Prefactor     .10000E-03    5.7636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10061E-03    1.1137        .23401E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.316        26.459        .67436E-04   -1.4519    
  13  Prefactor     13.653        16.652        .54201E-03   -1.4969    
  14  Prefactor     .10000E-03    9.8842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.1270        .90270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.7897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.4380        3.2517        .12686E-03   -1.5287    
  19  Prefactor     .10003E-03    104.69        .63371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     22.469        29.650        .84508E-04   -1.4760    
  21  Prefactor     .10000E-03    18.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.8118        7.6986        .20670E-03   -1.5317    
  23  Normalizat    1.2758        .26490        .32872E-03   -.84292    
  24  Prefactor     .85931        .11251        .17105E-03   -.97578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88862e-09
Minuit parameter uncertainties:
  1  19.2343
  2  0.705816
  3  54.8558
  4  1.74389e-06
  5  1.50592e-07
  6  1.59929e-06
  7  3.93716e-05
  8  5.40647
  9  1.2334e-05
  10  2.3813e-05
  11  0.00165314
  12  26.4682
  13  16.6578
  14  1.46664e-05
  15  2.85947e-06
  16  1.32461e-05
  17  0.000153033
  18  3.25187
  19  0.00324296
  20  29.6698
  21  1.35035e-05
  22  7.70065
  23  0.265185
  24  0.112543
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.006e-04  1.653e-03  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.593e-01  1.125e-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.276e+00  2.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/680509/likelihoodResults_252028801_252288001_4FGL_J2311.0+3425_daily_bin49.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) = 7593.74386772
delta logL = -0.000188362829249

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7593.74031459
delta logL = 0.00336475936729

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76072E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7807       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2729       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85953       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=   7593.740     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      419 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76071E-01    8.9968        .35381E-01    .12705E-02
   2  alpha         2.7807        3.4948        .41484       -.60175E-05
   3  Normalizat    1.2728        .26045E-01    .74354E-01   -.11008E-03
   4  Prefactor     .85953        .11411E-01    .44487E-01   -.25216E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0760715
  alpha      = 2.78067
  Normalizat = 1.27285
  Prefactor  = 0.859529
 **********
 **   18 **HESSE 
 **********

 FCN=   7593.740     FROM HESSE     STATUS=OK            33 CALLS      452 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76071E-01    13.303        .11563E-02   -1.5653    
   2  alpha         2.7807        3.0726        .13777        .11250    
   3  Normalizat    1.2728        .25631        .32905E-03   -.84381    
   4  Prefactor     .85953        .11108        .17103E-03   -.97570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.22361e-09
Minuit parameter uncertainties:
  1  2.01109
  2  9.59158
  3  0.256567
  4  0.111111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680509': 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) = 7593.74031459
delta logL = 0.00336475973108

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  7.607e-02  2.011e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.781e+00  9.592e+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.595e-01  1.111e-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.273e+00  2.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/680509/cmap_HighResolution_252028801_252288001_4FGL_J2311.0+3425_daily_bin49.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-05', job_status='DONE', photon_flux_upper_limit='8.27e-08', time_completed='2021-09-29 07:55:38.319044', job_id='680509', GAL2='0.86', fit_tolerance='1e-08', EG2='1.27', EG='1.28', time_epoch_completed='1632927338.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.36e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='49' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:55:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 680509: <4FGL_J2311.0+3425_daily_bin49> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin49 347.768 34.4223 252028801 252288001 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 :                                   749.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

