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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin88
RA = 347.768, Dec = 34.4223
tmin = 262137601, tmax = 262396801
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='680586', job_status='RUN', time_executed='2021-09-29 07:43:06.954863', time_epoch_executed='1632926586.95' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='88'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680586

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680586/ft1_4FGL_J2311.0+3425_daily_bin88.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680586/ft2_4FGL_J2311.0+3425_daily_bin88.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680586/ft1_4FGL_J2311.0+3425_daily_bin88.fits outfile=/scratch/kocevski/680586/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin88.fits ra=347.768 dec=34.4223 rad=12.0 tmin=262137601.0 tmax=262396801.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.39
user 1.21
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680586/ft1_filtered_4FGL_J2311.0+3425_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/680586/ft2_4FGL_J2311.0+3425_daily_bin88.fits sctable="SC_DATA" expcube=/scratch/kocevski/680586/ltcube_262137601_262396801_4FGL_J2311.0+3425_daily_bin88.fits outfile=/scratch/kocevski/680586/expmap_262137601_262396801_4FGL_J2311.0+3425_daily_bin88.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/680586/ltcube_262137601_262396801_4FGL_J2311.0+3425_daily_bin88.fits
.....................!
real 189.79
user 184.60
sys 4.84

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

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    45.239       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1997       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .73571E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.6757       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13849E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8969       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11096E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .12698E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.7835       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.8805       1.0000         .10000E-03   10000.    
    18 'norm      '    3.2748       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.272       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .21397E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .13816E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .66575       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0702       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10110.86     FROM MIGRAD    STATUS=CONVERGED    998 CALLS     3266 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          45.295        21.525        .59609E-04   -.49930E-03
   2  norm          2.1999        1.0330        .27742E-04   -.20490E-04
   3  Prefactor     .10000E-03    82.253        .18142E-02** at limit **
   4  Prefactor     .16182        74.336        .35723E-02    .14835E-03
   5  Prefactor     .10000E-03    5.4395        .18142E-02** at limit **
   6  norm          3.6381        4.8044        .16729E-03    .13184E-04
   7  Prefactor     .10060E-03    11.498        .10663    ** at limit **
   8  Prefactor     .10000E-03    7.2167        .36285E-03** at limit **
   9  Prefactor     .10000E-03    2.3043        .14901E-02** at limit **
  10  Prefactor     .10000E-03    14.258        .18142E-02** at limit **
  11  norm          1.8972        1.3163        .91285E-04   -.53926E-03
  12  Prefactor     .10000E-03    24.046        .18142E-02** at limit **
  13  Prefactor     .10000E-03    7.9294        .18142E-02** at limit **
  14  Prefactor     .10000E-03    4.3008        .18142E-02** at limit **
  15  norm          .10001E-03    16.821        .33418E-02** at limit **
  16  norm          4.7819        9.2201        .18395E-03   -.43632E-04
  17  Prefactor     9.8947        13.332        .12748E-03   -.39471E-03
  18  norm          3.2738        2.8550        .15196E-03   -.31257E-03
  19  Prefactor     .10038E-03    69.005        .63423E-02** at limit **
  20  Prefactor     36.290        30.179        .66543E-04   -.11508E-03
  21  Prefactor     .10000E-03    129.59        .18142E-02** at limit **
  22  Prefactor     .10000E-03    11.233        .32184E-02** at limit **
  23  Normalizat    .66545        .21472        .42049E-03   -.34504E-03
  24  Prefactor     1.0703        .96185E-01    .15435E-03   -.88690E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 45.2951
  norm       = 2.19988
  Prefactor  = 0.000100003
  Prefactor  = 0.161817
  Prefactor  = 0.0001
  norm       = 3.6381
  Prefactor  = 0.000100595
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.89719
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100007
  norm       = 4.78188
  Prefactor  = 9.89468
  norm       = 3.27381
  Prefactor  = 0.000100376
  Prefactor  = 36.2899
  Prefactor  = 0.000100003
  Prefactor  = 0.000100003
  Normalizat = 0.66545
  Prefactor  = 1.07033
 **********
 **   18 **HESSE 
 **********

 FCN=   10110.86     FROM HESSE     STATUS=OK           385 CALLS     3651 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          45.295        21.511        .11922E-04   -1.4361    
   2  norm          2.1999        1.0329        .11097E-05   -1.5411    
   3  Prefactor     .10000E-03    82.262        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16182        58.411        .14289E-03   -1.5628    
   5  Prefactor     .10000E-03    5.4396        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.6381        4.1994        .66914E-05   -1.5326    
   7  Prefactor     .10060E-03    11.271        .10847       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.2170        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.3044        .29802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.259        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8972        1.3161        .36514E-05   -1.5432    
  12  Prefactor     .10000E-03    24.058        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.9323        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.3008        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10001E-03    17.048        .66835E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.7819        9.2197        .73582E-05   -1.5271    
  17  Prefactor     9.8947        13.285        .50992E-05   -1.5079    
  18  norm          3.2738        2.8546        .60785E-05   -1.5346    
  19  Prefactor     .10038E-03    70.804        .25369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     36.290        30.174        .13309E-04   -1.4502    
  21  Prefactor     .10000E-03    129.65        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.306        .64369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .66545        .21474        .16820E-04   -1.0527    
  24  Prefactor     1.0703        .96152E-01    .30870E-04   -.90421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9895e-09
Minuit parameter uncertainties:
  1  21.515
  2  1.03295
  3  0.000975153
  4  6.1529
  5  2.57926e-06
  6  4.19976
  7  0.00518218
  8  1.46115e-05
  9  1.57599e-07
  10  1.26956e-05
  11  1.31609
  12  5.04911e-06
  13  2.43106e-05
  14  3.2081e-07
  15  0.000671127
  16  9.22243
  17  13.2886
  18  2.8547
  19  0.0103308
  20  30.1868
  21  0.00131998
  22  0.000396061
  23  0.215008
  24  0.0961679
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.897e+00  1.316e+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.070e+00  9.617e-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.654e-01  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.93
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 5.25e-08 +/- 3.64e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.29e-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) = 10110.4507096
delta logL = 0.409001125285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10110.4429989
delta logL = 0.416711775397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7889       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8388       1.0000          .0000       5.0000    
     3 'Normalizat'    .62195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0810       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=   10110.44     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7889        15.878        .78188E-02    .15074E-02
   2  alpha         2.8389        3.8745        .41639        .63115E-04
   3  Normalizat    .62193        .69788E-01    .97891E-01    .23458E-03
   4  Prefactor     1.0810        .29424E-01    .38358E-01    .53918E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78887
  alpha      = 2.83885
  Normalizat = 0.621934
  Prefactor  = 1.08099
 **********
 **   18 **HESSE 
 **********

 FCN=   10110.44     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7889        1.2610        .70982E-04   -1.5440    
   2  alpha         2.8389        .68888        .17552E-01    .13596    
   3  Normalizat    .62193        .21056        .43384E-03   -1.0706    
   4  Prefactor     1.0810        .94509E-01    .15362E-03   -.90076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.37495e-11
Minuit parameter uncertainties:
  1  1.26098
  2  0.698088
  3  0.210836
  4  0.0945235
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680586': 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) = 10110.4429989
delta logL = 0.416711786069

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.789e+00  1.261e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.839e+00  6.981e-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.081e+00  9.452e-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.219e-01  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.85
Ra Dec: 347.768 34.422
Photon Index (Free Index): 2.84 +/- 0.70
Photon Flux (Free Index): 8.72e-08 +/- 5.55e-08
Energy Flux (Free Index): 1.93e-05 +/- 1.08e-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/680586/cmap_HighResolution_262137601_262396801_4FGL_J2311.0+3425_daily_bin88.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.25e-08', energy_flux2='1.93e-05', photon_flux_error='3.64e-08', dlogl='4.17e-01', energy_flux='1.86e-05', photon_flux2='8.72e-08', job_status='DONE', time_completed='2021-09-29 07:56:55.585707', photon_index_error2='0.70', photon_index2='2.84', ts='4.93', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='0.67', time_epoch_completed='1632927415.59', return_code='0', job_id='680586', GAL2='1.08', EG2='0.62', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='5.55e-08', ts2='5.85', photon_index='2.24' WHERE bin_id='88' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:56:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 680586: <4FGL_J2311.0+3425_daily_bin88> in cluster <slac> Done

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

Your job looked like:

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

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

