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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1463
RA = 347.768, Dec = 34.4223
tmin = 618537601, tmax = 618796801
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='688202', job_status='RUN', time_executed='2021-09-29 08:07:14.141067', time_epoch_executed='1632928034.14' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/688202

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/688202/ft1_4FGL_J2311.0+3425_daily_bin1463.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/688202/ft2_4FGL_J2311.0+3425_daily_bin1463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/688202/ft1_4FGL_J2311.0+3425_daily_bin1463.fits outfile=/scratch/kocevski/688202/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1463.fits ra=347.768 dec=34.4223 rad=12.0 tmin=618537601.0 tmax=618796801.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 3.84
user 3.57
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/688202/ft1_filtered_4FGL_J2311.0+3425_daily_bin1463.fits" evtable="EVENTS" scfile=/scratch/kocevski/688202/ft2_4FGL_J2311.0+3425_daily_bin1463.fits sctable="SC_DATA" outfile=/scratch/kocevski/688202/ltcube_618537601_618796801_4FGL_J2311.0+3425_daily_bin1463.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/688202/ft2_4FGL_J2311.0+3425_daily_bin1463.fits
.....................!
real 12.62
user 12.16
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/688202/ft1_filtered_4FGL_J2311.0+3425_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/688202/ft2_4FGL_J2311.0+3425_daily_bin1463.fits sctable="SC_DATA" expcube=/scratch/kocevski/688202/ltcube_618537601_618796801_4FGL_J2311.0+3425_daily_bin1463.fits outfile=/scratch/kocevski/688202/expmap_618537601_618796801_4FGL_J2311.0+3425_daily_bin1463.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/688202/ltcube_618537601_618796801_4FGL_J2311.0+3425_daily_bin1463.fits
.....................!
real 189.96
user 183.52
sys 5.64

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/688202/ft1_filtered_4FGL_J2311.0+3425_daily_bin1463.fits scfile=/scratch/kocevski/688202/ft2_4FGL_J2311.0+3425_daily_bin1463.fits outfile=/scratch/kocevski/688202/cmap_618537601_618796801_4FGL_J2311.0+3425_daily_bin1463.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/688202/ft1_filtered_4FGL_J2311.0+3425_daily_bin1463.fits scfile=/scratch/kocevski/688202/ft2_4FGL_J2311.0+3425_daily_bin1463.fits outfile=/scratch/kocevski/688202/cmap_HighResolution_618537601_618796801_4FGL_J2311.0+3425_daily_bin1463.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.765       1.0000         .10000E-03   10000.    
     2 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10296E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5276       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.369       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.084       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.5021       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20119E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6525       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.355       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8015       1.0000         .10000E-03   10000.    
    14 'Prefactor '    36.389       1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2432       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2591       1.0000         .10000E-03   10000.    
    18 'norm      '    2.2888       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10450E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0648       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95114       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=   8658.662     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2325 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.765        14.652       -.15936E-05    .12108E-03
   2  norm          .10000E-03    .29508        .15162E-06** at limit **
   3  Prefactor     .10000E-03    19.113       -.82662E-05** at limit **
   4  Prefactor     1.5248        4.2109       -.15078E-05   -.10465E-02
   5  Prefactor     25.375        18.397       -.68395E-05    .60301E-03
   6  norm          .10000E-03    1.9037        .14767E-06** at limit **
   7  Prefactor     .10000E-03    8.5048        .13968E-07** at limit **
   8  Prefactor     12.086        6.9752       -.19055E-06    .97038E-04
   9  Prefactor     9.5135        11.102       -.46463E-05    .37074E-03
  10  Prefactor     .10017E-03    20.346       -.15890E-05** at limit **
  11  norm          1.6527        1.0813       -.10813E-06    .31727E-03
  12  Prefactor     12.354        14.569        .21738E-05   -.16816E-03
  13  Prefactor     2.7993        12.023        .21662E-05   -.12924E-03
  14  Prefactor     36.376        24.940        .51023E-05   -.34912E-03
  15  norm          .10000E-03    1.2490       -.76526E-07** at limit **
  16  norm          1.2565        27.919       -.18036E-04   -.81560E-04
  17  Prefactor     2.2594        22.040       -.52333E-05   -.12603E-03
  18  norm          2.2884        2.1881        .14251E-06    .26634E-03
  19  Prefactor     .10000E-03    9.9771       -.54744E-06** at limit **
  20  Prefactor     .10000E-03    19.698        .49282E-05** at limit **
  21  Prefactor     .10000E-03    16.001        .24328E-05** at limit **
  22  Prefactor     .10000E-03    1.9946        .13833E-06** at limit **
  23  Normalizat    1.0649        .20319        .92039E-06    .20437E-03
  24  Prefactor     .95111        .88289E-01    .68058E-06    .44428E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.7652
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 1.52478
  Prefactor  = 25.3752
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.0862
  Prefactor  = 9.51352
  Prefactor  = 0.000100169
  norm       = 1.65273
  Prefactor  = 12.3537
  Prefactor  = 2.79933
  Prefactor  = 36.3764
  norm       = 0.0001
  norm       = 1.25652
  Prefactor  = 2.2594
  norm       = 2.28836
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06491
  Prefactor  = 0.951107
 **********
 **   18 **HESSE 
 **********

 FCN=   8658.662     FROM HESSE     STATUS=OK           395 CALLS     2720 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.765        14.650        .10087E-03   -1.4914    
   2  norm          .10000E-03    .30182        .49316E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.5248        4.2438        .30704E-03   -1.5461    
   5  Prefactor     25.375        18.265        .79532E-04   -1.4700    
   6  norm          .10000E-03    1.9464        .24991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.5151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.086        6.9505        .11524E-03   -1.5013    
   9  Prefactor     9.5135        11.087        .13001E-03   -1.5091    
  10  Prefactor     .10017E-03    183.32        .80433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6527        1.0792        .32838E-04   -1.5451    
  12  Prefactor     12.354        14.552        .11397E-03   -1.5005    
  13  Prefactor     2.7993        11.726        .24306E-03   -1.5373    
  14  Prefactor     36.376        24.799        .66437E-04   -1.4501    
  15  norm          .10000E-03    1.2502        .10148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2565        30.484        .40188E-03   -1.5484    
  17  Prefactor     2.2594        22.433        .27332E-03   -1.5407    
  18  norm          2.2884        2.1803        .12825E-03   -1.5405    
  19  Prefactor     .10000E-03    10.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.9996        .12832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0649        .23524        .35003E-03   -.90886    
  24  Prefactor     .95111        .10283        .16393E-03   -.94377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83887e-09
Minuit parameter uncertainties:
  1  14.6537
  2  5.61866e-06
  3  0.000432996
  4  4.24464
  5  18.2691
  6  7.99489e-06
  7  3.48355e-06
  8  6.95099
  9  11.0894
  10  0.0111822
  11  1.07917
  12  14.5558
  13  11.4623
  14  24.806
  15  3.35749e-06
  16  12.3846
  17  14.2454
  18  2.18041
  19  1.39227e-05
  20  0.000286022
  21  0.00011391
  22  1.34065e-06
  23  0.235466
  24  0.102847
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.653e+00  1.079e+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.511e-01  1.028e-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.065e+00  2.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.26
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 4.57e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.06e-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) = 8658.02635515
delta logL = 0.635802394287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8658.01190388
delta logL = 0.650253666494

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7307       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0812       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94603       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=   8658.012     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      206 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7307        1.1594        .79777E-02    .35689E-02
   2  alpha         1.6926        .39029        .36563       -.37675E-04
   3  Normalizat    1.0812        .19318        .78544E-01    .27321E-04
   4  Prefactor     .94603        .86487E-01    .45589E-01   -.15168E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.73069
  alpha      = 1.69262
  Normalizat = 1.08121
  Prefactor  = 0.946034
 **********
 **   18 **HESSE 
 **********

 FCN=   8658.012     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7307        1.1493        .75813E-04   -1.5445    
   2  alpha         1.6926        .43858        .14296E-01   -.32885    
   3  Normalizat    1.0812        .22376        .34767E-03   -.90358    
   4  Prefactor     .94603        .10034        .16429E-03   -.94551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.19312e-10
Minuit parameter uncertainties:
  1  1.1493
  2  0.44113
  3  0.223961
  4  0.100364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/688202': 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) = 8658.01190387
delta logL = 0.65025367224

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.731e+00  1.149e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.693e+00  4.411e-01  0.000e+00  5.000e+00 ( 1.000e+00)
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  9.460e-01  1.004e-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.081e+00  2.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.57
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.69 +/- 0.44
Photon Flux (Free Index): 3.42e-08 +/- 2.49e-08
Energy Flux (Free Index): 2.89e-05 +/- 2.44e-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/688202/cmap_HighResolution_618537601_618796801_4FGL_J2311.0+3425_daily_bin1463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.57e-08', energy_flux2='2.89e-05', photon_flux_error='2.98e-08', dlogl='6.50e-01', energy_flux='1.62e-05', photon_flux2='3.42e-08', job_status='DONE', time_completed='2021-09-29 08:19:10.399474', photon_index_error2='0.44', photon_index2='1.69', ts='5.26', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.44e-05', EG='1.06', time_epoch_completed='1632928750.4', return_code='0', job_id='688202', GAL2='0.95', EG2='1.08', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='2.49e-08', ts2='6.57', photon_index='2.24' WHERE bin_id='1463' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:19:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 688202: <4FGL_J2311.0+3425_daily_bin1463> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1463> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 08:05:20 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:05:23 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:23 2021
Terminated at Wed Sep 29 08:19:10 2021
Results reported at Wed Sep 29 08:19:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1463 347.768 34.4223 618537601 618796801 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 :                                   691.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            830 sec.

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

