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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1170
RA = 347.768, Dec = 34.4223
tmin = 542592001, tmax = 542851201
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='686741', job_status='RUN', time_executed='2021-09-29 08:00:27.325842', time_epoch_executed='1632927627.33' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/686741

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/686741/ft1_4FGL_J2311.0+3425_daily_bin1170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/686741/ft2_4FGL_J2311.0+3425_daily_bin1170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/686741/ft1_4FGL_J2311.0+3425_daily_bin1170.fits outfile=/scratch/kocevski/686741/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1170.fits ra=347.768 dec=34.4223 rad=12.0 tmin=542592001.0 tmax=542851201.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 6.80
user 6.49
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/686741/ft2_4FGL_J2311.0+3425_daily_bin1170.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/686741/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1170.fits evtable="EVENTS" outfile="/scratch/kocevski/686741/ft1_filtered_4FGL_J2311.0+3425_daily_bin1170.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.49
user 0.31
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/686741/ft1_filtered_4FGL_J2311.0+3425_daily_bin1170.fits evtable="EVENTS" scfile=/scratch/kocevski/686741/ft2_4FGL_J2311.0+3425_daily_bin1170.fits sctable="SC_DATA" expcube=/scratch/kocevski/686741/ltcube_542592001_542851201_4FGL_J2311.0+3425_daily_bin1170.fits outfile=/scratch/kocevski/686741/expmap_542592001_542851201_4FGL_J2311.0+3425_daily_bin1170.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/686741/ltcube_542592001_542851201_4FGL_J2311.0+3425_daily_bin1170.fits
.....................!
real 194.59
user 189.37
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/686741/ft1_filtered_4FGL_J2311.0+3425_daily_bin1170.fits scfile=/scratch/kocevski/686741/ft2_4FGL_J2311.0+3425_daily_bin1170.fits outfile=/scratch/kocevski/686741/cmap_542592001_542851201_4FGL_J2311.0+3425_daily_bin1170.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.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    66.699       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1125       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11592E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.955       1.0000         .10000E-03   10000.    
     6 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .58568E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.419       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.0466       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10903E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .74173E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    47.023       1.0000         .10000E-03   10000.    
    15 'norm      '    6.6683       1.0000         .10000E-03   10000.    
    16 'norm      '    13.287       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.457       1.0000         .10000E-03   10000.    
    18 'norm      '    3.8955       1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.503       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.889       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13390E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11460E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .63695       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1147       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=   5160.887     FROM MIGRAD    STATUS=CONVERGED    981 CALLS     3169 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          66.676        35.807        .49143E-04   -.58898E-04
   2  norm          2.1147        2.1214        .94848E-04    .59463E-03
   3  Prefactor     .10000E-03    50.518        .18142E-02** at limit **
   4  Prefactor     .10000E-03    21.587        .31297E-02** at limit **
   5  Prefactor     33.963        37.044        .68769E-04   -.35245E-04
   6  norm          .10000E-03    4.4633        .14692E-02** at limit **
   7  Prefactor     .10000E-03    52.222        .13367    ** at limit **
   8  Prefactor     22.402        14.667        .84596E-04    .15065E-03
   9  Prefactor     .10000E-03    8.6213        .18142E-02** at limit **
  10  Prefactor     .10000E-03    25.838        .18142E-02** at limit **
  11  norm          5.0468        2.4437        .75130E-04   -.22577E-03
  12  Prefactor     .10000E-03    22.762        .18142E-02** at limit **
  13  Prefactor     .10000E-03    60.914        .46553E-02** at limit **
  14  Prefactor     46.982        44.317        .58473E-04   -.13244E-03
  15  norm          6.6710        7.6078        .15539E-03   -.11003E-03
  16  norm          13.290        14.406        .10989E-03   -.12001E-04
  17  Prefactor     15.509        27.878        .10187E-03   -.28568E-04
  18  norm          3.8934        3.9693        .13925E-03    .58260E-03
  19  Prefactor     25.493        32.638        .79324E-04   -.90292E-05
  20  Prefactor     10.957        56.790        .12141E-03   -.13109E-04
  21  Prefactor     .10000E-03    29.511        .18142E-02** at limit **
  22  Prefactor     .10000E-03    6.3588        .17591E-02** at limit **
  23  Normalizat    .63668        .35940        .48758E-03   -.33436E-04
  24  Prefactor     1.1146        .15258        .16628E-03    .35848E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 66.6761
  norm       = 2.11472
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.9627
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 22.4017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.04683
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 46.9822
  norm       = 6.67098
  norm       = 13.29
  Prefactor  = 15.5087
  norm       = 3.89344
  Prefactor  = 25.4926
  Prefactor  = 10.9575
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Normalizat = 0.636684
  Prefactor  = 1.11464
 **********
 **   18 **HESSE 
 **********

 FCN=   5160.887     FROM HESSE     STATUS=OK           383 CALLS     3552 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          66.676        35.805        .98287E-05   -1.4073    
   2  norm          2.1147        2.1212        .37939E-05   -1.5417    
   3  Prefactor     .10000E-03    50.518        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.721        .62593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.963        37.043        .13754E-04   -1.4542    
   6  norm          .10000E-03    4.4652        .29385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    52.510        .13319       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.402        14.663        .33838E-05   -1.4761    
   9  Prefactor     .10000E-03    8.6219        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    25.839        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.0468        2.4436        .30052E-05   -1.5259    
  12  Prefactor     .10000E-03    22.764        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    61.629        .93106E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     46.982        44.315        .11695E-04   -1.4336    
  15  norm          6.6710        7.6072        .62157E-05   -1.5191    
  16  norm          13.290        14.406        .43955E-05   -1.4979    
  17  Prefactor     15.509        27.874        .40750E-05   -1.4920    
  18  norm          3.8934        3.9689        .55700E-05   -1.5313    
  19  Prefactor     25.493        32.634        .31730E-05   -1.4698    
  20  Prefactor     10.957        56.816        .48565E-05   -1.5046    
  21  Prefactor     .10000E-03    29.511        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.3613        .35183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .63668        .35939        .19503E-04   -1.0645    
  24  Prefactor     1.1146        .15262        .33256E-04   -.89000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10063e-09
Minuit parameter uncertainties:
  1  35.8165
  2  2.12128
  3  8.09328e-06
  4  0.000167906
  5  37.0677
  6  9.90308e-07
  7  0.000617897
  8  14.6655
  9  2.55544e-05
  10  9.13166e-06
  11  2.44369
  12  0.000418061
  13  0.000365222
  14  44.3462
  15  7.60832
  16  14.4095
  17  27.8976
  18  3.96912
  19  32.6567
  20  49.9771
  21  0.000341829
  22  0.000176045
  23  0.360723
  24  0.152676
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  5.047e+00  2.444e+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.115e+00  1.527e-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:  6.367e-01  3.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.11
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 1.40e-07 +/- 6.75e-08
Energy Flux (Fixed Index): 4.96e-05 +/- 2.40e-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) = 5159.58515856
delta logL = 1.30140301997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5159.58246723
delta logL = 1.30409435082

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9444       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5756       1.0000          .0000       5.0000    
     3 'Normalizat'    .68064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1013       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=   5159.582     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      209 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9448        2.3017        .45218E-02    .17494E-03
   2  alpha         1.5758        .31230        .22573       -.55863E-04
   3  Normalizat    .68066        .30496        .10653        .26024E-04
   4  Prefactor     1.1014        .13528        .37536E-01   -.45414E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.94477
  alpha      = 1.57578
  Normalizat = 0.680662
  Prefactor  = 1.10138
 **********
 **   18 **HESSE 
 **********

 FCN=   5159.582     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9448        2.5469        .71836E-04   -1.5263    
   2  alpha         1.5758        .36687        .94048E-02   -.37867    
   3  Normalizat    .68066        .33292        .47228E-03   -1.0466    
   4  Prefactor     1.1014        .14835        .16702E-03   -.89423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38533e-11
Minuit parameter uncertainties:
  1  2.54693
  2  0.368416
  3  0.333912
  4  0.148403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/686741': 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) = 5159.58246688
delta logL = 1.30409470703

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  4.945e+00  2.547e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.576e+00  3.684e-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.101e+00  1.484e-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:  6.807e-01  3.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.72
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.58 +/- 0.37
Photon Flux (Free Index): 9.42e-08 +/- 5.25e-08
Energy Flux (Free Index): 1.03e-04 +/- 7.23e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/686741/cmap_HighResolution_542592001_542851201_4FGL_J2311.0+3425_daily_bin1170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.40e-07', energy_flux2='1.03e-04', photon_flux_error='6.75e-08', dlogl='1.30e+00', energy_flux='4.96e-05', photon_flux2='9.42e-08', job_status='DONE', time_completed='2021-09-29 08:10:27.765365', photon_index_error2='0.37', photon_index2='1.58', ts='9.11', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='7.23e-05', EG='0.64', time_epoch_completed='1632928227.77', return_code='0', job_id='686741', GAL2='1.10', EG2='0.68', return_code2='0', energy_flux_error='2.40e-05', photon_flux_error2='5.25e-08', ts2='11.72', photon_index='2.24' WHERE bin_id='1170' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:10:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 686741: <4FGL_J2311.0+3425_daily_bin1170> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1170 347.768 34.4223 542592001 542851201 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 :                                   591.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            614 sec.

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

