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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1400
RA = 347.768, Dec = 34.4223
tmin = 602208001, tmax = 602467201
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='688114', job_status='RUN', time_executed='2021-09-29 08:05:36.554192', time_epoch_executed='1632927936.55' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/688114

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/688114/ft1_4FGL_J2311.0+3425_daily_bin1400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/688114/ft2_4FGL_J2311.0+3425_daily_bin1400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/688114/ft1_4FGL_J2311.0+3425_daily_bin1400.fits outfile=/scratch/kocevski/688114/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1400.fits ra=347.768 dec=34.4223 rad=12.0 tmin=602208001.0 tmax=602467201.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 5.23
user 4.94
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/688114/ft1_filtered_4FGL_J2311.0+3425_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/688114/ft2_4FGL_J2311.0+3425_daily_bin1400.fits sctable="SC_DATA" expcube=/scratch/kocevski/688114/ltcube_602208001_602467201_4FGL_J2311.0+3425_daily_bin1400.fits outfile=/scratch/kocevski/688114/expmap_602208001_602467201_4FGL_J2311.0+3425_daily_bin1400.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/688114/ltcube_602208001_602467201_4FGL_J2311.0+3425_daily_bin1400.fits
.....................!
real 191.42
user 186.01
sys 4.86

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

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/688114/ft1_filtered_4FGL_J2311.0+3425_daily_bin1400.fits scfile=/scratch/kocevski/688114/ft2_4FGL_J2311.0+3425_daily_bin1400.fits outfile=/scratch/kocevski/688114/cmap_HighResolution_602208001_602467201_4FGL_J2311.0+3425_daily_bin1400.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    3.4236       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10648E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .40250E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .98559E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.7524       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.2007       1.0000         .10000E-03   10000.    
    16 'norm      '    7.2311       1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.727       1.0000         .10000E-03   10000.    
    18 'norm      '    .16958       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.857       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.2325       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.7503       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .76359       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0284       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=   8169.086     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2871 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.4642        .24226E-05** at limit **
   2  norm          3.4244        1.6504       -.18155E-06   -.43337E-03
   3  Prefactor     .10000E-03    26.235       -.97367E-06** at limit **
   4  Prefactor     .10000E-03    3.0367       -.44969E-07** at limit **
   5  Prefactor     .10000E-03    79.277        .19565E-05** at limit **
   6  norm          .10000E-03    1.0733       -.19362E-07** at limit **
   7  Prefactor     .10000E-03    18.208        .53140E-05** at limit **
   8  Prefactor     .10000E-03    1.6170       -.42613E-07** at limit **
   9  Prefactor     .10000E-03    6.6043       -.29800E-06** at limit **
  10  Prefactor     .10000E-03    8.0284        .33572E-05** at limit **
  11  norm          .98426E-01    .66834       -.80887E-06   -.94457E-03
  12  Prefactor     3.7508        16.947       -.25904E-05   -.55931E-04
  13  Prefactor     .10000E-03    6.3803       -.10167E-06** at limit **
  14  Prefactor     .10000E-03    17.538       -.46958E-05** at limit **
  15  norm          7.2009        5.6912        .60596E-06    .80701E-04
  16  norm          7.2270        9.7433        .58129E-07   -.12029E-04
  17  Prefactor     24.720        21.758        .48528E-06    .12014E-03
  18  norm          .17743        1.1836       -.50188E-06   -.29784E-04
  19  Prefactor     .10000E-03    7.8300       -.55884E-05** at limit **
  20  Prefactor     23.841        51.567       -.18575E-04    .19166E-04
  21  Prefactor     2.2263        174.99       -.16066E-04   -.21005E-04
  22  Prefactor     6.7507        7.0009        .12682E-06    .19402E-05
  23  Normalizat    .76394        .22973        .46755E-05    .10113E-03
  24  Prefactor     1.0283        .91581E-01   -.46570E-06    .57160E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.42442
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0984257
  Prefactor  = 3.75078
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.20086
  norm       = 7.22697
  Prefactor  = 24.7203
  norm       = 0.177434
  Prefactor  = 0.0001
  Prefactor  = 23.8415
  Prefactor  = 2.2263
  Prefactor  = 6.75069
  Normalizat = 0.763945
  Prefactor  = 1.02827
 **********
 **   18 **HESSE 
 **********

 FCN=   8169.086     FROM HESSE     STATUS=OK           409 CALLS     3280 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.4764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.4244        1.6469        .76370E-04   -1.5338    
   3  Prefactor     .10000E-03    26.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.0883        .15375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    80.940        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.0794        .91425E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.6207        .11224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.3680        .82532E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.0171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .98426E-01    1.6159        .14367E-02   -1.5645    
  12  Prefactor     3.7508        17.009        .20843E-03   -1.5321    
  13  Prefactor     .10000E-03    6.4138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.2009        5.6763        .14948E-03   -1.5171    
  16  norm          7.2270        9.7438        .14916E-03   -1.5170    
  17  Prefactor     24.720        21.821        .80556E-04   -1.4713    
  18  norm          .17743        7.5342        .18796E-02   -1.5624    
  19  Prefactor     .10000E-03    7.7840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     23.841        51.585        .82010E-04   -1.4731    
  21  Prefactor     2.2263        173.35        .27513E-03   -1.5410    
  22  Prefactor     6.7507        6.9000        .15444E-03   -1.5188    
  23  Normalizat    .76394        .25917        .41223E-03   -1.0142    
  24  Prefactor     1.0283        .10509        .15469E-03   -.91793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23426e-08
Minuit parameter uncertainties:
  1  1.34149e-05
  2  1.64687
  3  1.20073e-05
  4  7.2102e-06
  5  0.000139785
  6  1.70342e-06
  7  4.1579e-05
  8  2.41208e-06
  9  9.01026e-05
  10  3.28724e-06
  11  0.79723
  12  15.9821
  13  1.34968e-05
  14  1.66982e-05
  15  5.67677
  16  9.74594
  17  21.8279
  18  2.31209
  19  1.45497e-05
  20  51.6815
  21  39.4085
  22  6.90085
  23  0.259587
  24  0.105115
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  9.843e-02  7.972e-01  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.028e+00  1.051e-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:  7.639e-01  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/688114/likelihoodResults_602208001_602467201_4FGL_J2311.0+3425_daily_bin1400.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) = 8168.87050869
delta logL = 0.215766055955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8168.86934593
delta logL = 0.216928813275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21559       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2621       1.0000          .0000       5.0000    
     3 'Normalizat'    .76857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0254       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=   8168.869     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      248 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21544        .58455        .20003E-01    .44135E-02
   2  alpha         1.2625        .74645        .50000       -.13500E-04
   3  Normalizat    .76869        .20800        .92777E-01    .28995E-04
   4  Prefactor     1.0253        .89891E-01    .41640E-01   -.89896E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.215444
  alpha      = 1.26245
  Normalizat = 0.768687
  Prefactor  = 1.02534
 **********
 **   18 **HESSE 
 **********

 FCN=   8168.869     FROM HESSE     STATUS=OK            35 CALLS      283 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21544        .53118        .98022E-03   -1.5615    
   2  alpha         1.2625        1.0735        .27351E-01   -.51786    
   3  Normalizat    .76869        .23507        .41103E-03   -1.0124    
   4  Prefactor     1.0253        .10196        .15484E-03   -.91890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82316e-09
Minuit parameter uncertainties:
  1  0.531194
  2  1.1228
  3  0.235382
  4  0.101979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/688114': 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) = 8168.86934552
delta logL = 0.216929218326

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.154e-01  5.312e-01  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.262e+00  1.123e+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:  1.025e+00  1.020e-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:  7.687e-01  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/688114/cmap_HighResolution_602208001_602467201_4FGL_J2311.0+3425_daily_bin1400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.57e-05', job_status='DONE', photon_flux_upper_limit='7.25e-08', time_completed='2021-09-29 08:19:16.472064', job_id='688114', GAL2='1.03', fit_tolerance='1e-08', EG2='0.77', EG='0.76', time_epoch_completed='1632928756.47', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.17e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1400' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:19:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 688114: <4FGL_J2311.0+3425_daily_bin1400> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1400> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 08:05:13 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:05:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 08:05:15 2021
Terminated at Wed Sep 29 08:19:17 2021
Results reported at Wed Sep 29 08:19:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1400 347.768 34.4223 602208001 602467201 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 :                                   810.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            844 sec.

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

