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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin803
RA = 347.768, Dec = 34.4223
tmin = 447465601, tmax = 447724801
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='683988', job_status='RUN', time_executed='2021-09-29 07:51:00.678764', time_epoch_executed='1632927060.68' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='803'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/683988

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/683988/ft1_4FGL_J2311.0+3425_daily_bin803.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/683988/ft2_4FGL_J2311.0+3425_daily_bin803.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/683988/ft1_4FGL_J2311.0+3425_daily_bin803.fits outfile=/scratch/kocevski/683988/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin803.fits ra=347.768 dec=34.4223 rad=12.0 tmin=447465601.0 tmax=447724801.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.39
user 3.17
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/683988/ft2_4FGL_J2311.0+3425_daily_bin803.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/683988/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin803.fits evtable="EVENTS" outfile="/scratch/kocevski/683988/ft1_filtered_4FGL_J2311.0+3425_daily_bin803.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/683988/ft1_filtered_4FGL_J2311.0+3425_daily_bin803.fits" evtable="EVENTS" scfile=/scratch/kocevski/683988/ft2_4FGL_J2311.0+3425_daily_bin803.fits sctable="SC_DATA" outfile=/scratch/kocevski/683988/ltcube_447465601_447724801_4FGL_J2311.0+3425_daily_bin803.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/683988/ft2_4FGL_J2311.0+3425_daily_bin803.fits
.....................!
real 11.83
user 11.47
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/683988/ft1_filtered_4FGL_J2311.0+3425_daily_bin803.fits evtable="EVENTS" scfile=/scratch/kocevski/683988/ft2_4FGL_J2311.0+3425_daily_bin803.fits sctable="SC_DATA" expcube=/scratch/kocevski/683988/ltcube_447465601_447724801_4FGL_J2311.0+3425_daily_bin803.fits outfile=/scratch/kocevski/683988/expmap_447465601_447724801_4FGL_J2311.0+3425_daily_bin803.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/683988/ltcube_447465601_447724801_4FGL_J2311.0+3425_daily_bin803.fits
.....................!
real 190.85
user 185.16
sys 5.32

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/683988/ft1_filtered_4FGL_J2311.0+3425_daily_bin803.fits scfile=/scratch/kocevski/683988/ft2_4FGL_J2311.0+3425_daily_bin803.fits outfile=/scratch/kocevski/683988/cmap_447465601_447724801_4FGL_J2311.0+3425_daily_bin803.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.56
user 0.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1542       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.744       1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.148       1.0000         .10000E-03   10000.    
     6 'norm      '    14.536       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.312       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3908       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1444       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.4609       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8170       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1335       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.704       1.0000         .10000E-03   10000.    
    16 'norm      '    4.5268       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    79.331       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.9244       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .64787       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=   9946.990     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2688 TOTAL
                     EDM=   .83E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1590        20.100        .63516E-06    .38815E-04
   2  norm          .10000E-03    .51034        .25103E-06** at limit **
   3  Prefactor     .10000E-03    19.464        .64739E-07** at limit **
   4  Prefactor     18.745        9.2201        .67859E-08    .30385E-04
   5  Prefactor     33.154        23.546        .18666E-07    .15607E-04
   6  norm          14.535        6.2886       -.18804E-06    .84596E-04
   7  Prefactor     10.311        12.758        .20948E-06   -.34509E-04
   8  Prefactor     1.3918        8.9461        .31730E-05    .41695E-05
   9  Prefactor     3.1455        9.3274        .66500E-06   -.19663E-04
  10  Prefactor     .10000E-03    17.095       -.60198E-07** at limit **
  11  norm          1.4609        1.2559        .10244E-06   -.58127E-04
  12  Prefactor     3.8184        15.912        .70646E-06   -.29028E-05
  13  Prefactor     7.1318        12.151        .27891E-06   -.17273E-04
  14  Prefactor     .10000E-03    18.917        .54596E-07** at limit **
  15  norm          11.704        5.7057        .96510E-07    .15162E-04
  16  norm          4.5267        5.2913       -.27454E-07   -.35669E-05
  17  Prefactor     .10000E-03    10.038        .13400E-06** at limit **
  18  norm          .10000E-03    1.5626       -.98215E-07** at limit **
  19  Prefactor     .10000E-03    10.178       -.77878E-07** at limit **
  20  Prefactor     79.347        50.335        .89131E-06    .11404E-03
  21  Prefactor     .10000E-03    21.092        .43723E-09** at limit **
  22  Prefactor     .10000E-03    2.7731        .12127E-06** at limit **
  23  Normalizat    1.9240        .23719       -.17204E-05   -.23766E-04
  24  Prefactor     .64797        .91566E-01    .60276E-06   -.25958E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.15897
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.7446
  Prefactor  = 33.1545
  norm       = 14.5345
  Prefactor  = 10.3106
  Prefactor  = 1.39182
  Prefactor  = 3.1455
  Prefactor  = 0.0001
  norm       = 1.46087
  Prefactor  = 3.81843
  Prefactor  = 7.13184
  Prefactor  = 0.0001
  norm       = 11.704
  norm       = 4.52675
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 79.3469
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.92405
  Prefactor  = 0.647969
 **********
 **   18 **HESSE 
 **********

 FCN=   9946.990     FROM HESSE     STATUS=OK           405 CALLS     3093 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1590        20.147        .14997E-03   -1.5173    
   2  norm          .10000E-03    .74297        .13394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.745        9.2282        .92509E-04   -1.4842    
   5  Prefactor     33.154        23.242        .69599E-04   -1.4556    
   6  norm          14.535        6.2828        .10505E-03   -1.4945    
   7  Prefactor     10.311        12.742        .62387E-03   -1.5066    
   8  Prefactor     1.3918        9.3007        .36847E-03   -1.5472    
   9  Prefactor     3.1455        9.3172        .22860E-03   -1.5353    
  10  Prefactor     .10000E-03    17.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.4609        1.2424        .99499E-04   -1.5466    
  12  Prefactor     3.8184        15.892        .20659E-03   -1.5317    
  13  Prefactor     7.1318        12.044        .15019E-03   -1.5174    
  14  Prefactor     .10000E-03    19.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.704        5.7026        .11710E-03   -1.5024    
  16  norm          4.5267        5.2891        .18922E-03   -1.5282    
  17  Prefactor     .10000E-03    10.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.2488        .23882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     79.347        51.227        .45090E-04   -1.3924    
  21  Prefactor     .10000E-03    21.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.7788        .16207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.9240        .26830        .32262E-03   -.66468    
  24  Prefactor     .64797        .10434        .20705E-03   -1.0560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02027e-10
Minuit parameter uncertainties:
  1  20.1657
  2  8.29789e-06
  3  3.19544e-05
  4  9.22886
  5  23.2483
  6  6.28309
  7  12.745
  8  7.19719
  9  9.32153
  10  4.22945e-06
  11  1.24241
  12  15.5868
  13  12.0481
  14  4.72523e-05
  15  5.70287
  16  5.28962
  17  3.15194e-05
  18  3.5411e-05
  19  2.95835e-05
  20  51.2557
  21  7.64017e-05
  22  8.43158e-07
  23  0.268513
  24  0.104367
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.461e+00  1.242e+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:  6.480e-01  1.044e-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.924e+00  2.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.36
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 4.04e-08 +/- 3.43e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.22e-05

TS (Fixed Index): 2.36
Ra Dec: 347.768 34.422
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/683988/likelihoodResults_447465601_447724801_4FGL_J2311.0+3425_daily_bin803.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) = 9946.98955946
delta logL = 2.52517565968e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9946.98955933
delta logL = 3.84385202779e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4609       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2402       1.0000          .0000       5.0000    
     3 'Normalizat'    1.9240       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64797       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=   9946.990     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      238 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4610        1.2427        .99494E-04    .41135E-05
   2  alpha         2.2406        .70538        .23804E-01   -.73785E-04
   3  Normalizat    1.9240        .25588        .32263E-03    .70476E-07
   4  Prefactor     .64798        .10213        .20705E-03    .21963E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.46103
  alpha      = 2.24063
  Normalizat = 1.92402
  Prefactor  = 0.647977
 **********
 **   18 **HESSE 
 **********

 FCN=   9946.990     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .69E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4610        1.2473        .39798E-05   -1.5466    
   2  alpha         2.2406        .70801        .47608E-02   -.10394    
   3  Normalizat    1.9240        .25613        .12905E-04   -.66469    
   4  Prefactor     .64798        .10221        .82821E-05   -1.0560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90201e-13
Minuit parameter uncertainties:
  1  1.24735
  2  0.717949
  3  0.256309
  4  0.102238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/683988': 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) = 9946.98955917
delta logL = 5.42711859453e-07

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.461e+00  1.247e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.241e+00  7.179e-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:  6.480e-01  1.022e-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.924e+00  2.563e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.35
Ra Dec: 347.768 34.422
Photon Index (Free Index): 2.24 +/- 0.72
Photon Flux (Free Index): 4.04e-08 +/- 4.39e-08
Energy Flux (Free Index): 1.43e-05 +/- 1.23e-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/683988/cmap_HighResolution_447465601_447724801_4FGL_J2311.0+3425_daily_bin803.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', comment='SUCCESS', photon_flux='4.04e-08', energy_flux2='1.43e-05', photon_flux_error='3.43e-08', dlogl='5.43e-07', energy_flux='1.44e-05', photon_flux2='4.04e-08', job_status='DONE', time_completed='2021-09-29 08:05:43.927597', photon_index_error2='0.72', photon_index2='2.24', ts='2.36', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='1.23e-05', EG='1.92', time_epoch_completed='1632927943.93', return_code='0', job_id='683988', GAL2='0.65', EG2='1.92', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='4.39e-08', ts2='2.35', photon_index='2.24' WHERE bin_id='803' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:05:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 683988: <4FGL_J2311.0+3425_daily_bin803> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin803> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:50:42 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:50:45 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:50:45 2021
Terminated at Wed Sep 29 08:05:44 2021
Results reported at Wed Sep 29 08:05:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin803 347.768 34.4223 447465601 447724801 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 :                                   869.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             318.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            902 sec.

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

