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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1414
RA = 347.768, Dec = 34.4223
tmin = 605836801, tmax = 606096001
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='688134', job_status='RUN', time_executed='2021-09-29 08:06:18.040461', time_epoch_executed='1632927978.04' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1414'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/688134

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/688134/ft1_4FGL_J2311.0+3425_daily_bin1414.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/688134/ft2_4FGL_J2311.0+3425_daily_bin1414.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/688134/ft1_4FGL_J2311.0+3425_daily_bin1414.fits outfile=/scratch/kocevski/688134/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1414.fits ra=347.768 dec=34.4223 rad=12.0 tmin=605836801.0 tmax=606096001.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.60
user 3.38
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/688134/ft1_filtered_4FGL_J2311.0+3425_daily_bin1414.fits evtable="EVENTS" scfile=/scratch/kocevski/688134/ft2_4FGL_J2311.0+3425_daily_bin1414.fits sctable="SC_DATA" expcube=/scratch/kocevski/688134/ltcube_605836801_606096001_4FGL_J2311.0+3425_daily_bin1414.fits outfile=/scratch/kocevski/688134/expmap_605836801_606096001_4FGL_J2311.0+3425_daily_bin1414.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/688134/ltcube_605836801_606096001_4FGL_J2311.0+3425_daily_bin1414.fits
.....................!
real 192.53
user 186.69
sys 5.43

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

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

This is gtbin version HEAD
real 0.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/688134/ft1_filtered_4FGL_J2311.0+3425_daily_bin1414.fits scfile=/scratch/kocevski/688134/ft2_4FGL_J2311.0+3425_daily_bin1414.fits outfile=/scratch/kocevski/688134/cmap_HighResolution_605836801_606096001_4FGL_J2311.0+3425_daily_bin1414.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.95
user 0.38
sys 0.55

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1372       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4112       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .58668E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.5418       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.6568       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.7276       1.0000         .10000E-03   10000.    
    16 'norm      '    5.9669       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.3206       1.0000         .10000E-03   10000.    
    18 'norm      '    .15792E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.8582       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'    .90104       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0464       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=   9636.597     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2368 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.9449        .12913E-07** at limit **
   2  norm          2.1370        1.0397        .62490E-08    .60174E-04
   3  Prefactor     .10000E-03    19.317       -.65197E-05** at limit **
   4  Prefactor     .10000E-03    4.7608        .47961E-06** at limit **
   5  Prefactor     .10000E-03    10.321       -.20635E-05** at limit **
   6  norm          2.4094        3.0952       -.27606E-06   -.70110E-03
   7  Prefactor     .10000E-03    4.7805       -.39364E-06** at limit **
   8  Prefactor     .65694E-01    2.4152       -.76595E-06    .10680E-03
   9  Prefactor     .10000E-03    8.0893       -.14571E-05** at limit **
  10  Prefactor     .10000E-03    14.707        .33002E-05** at limit **
  11  norm          2.5418        1.4045       -.41737E-07   -.39468E-03
  12  Prefactor     3.6511        28.891        .50040E-06   -.57887E-04
  13  Prefactor     .10000E-03    15.382        .22303E-05** at limit **
  14  Prefactor     .10000E-03    23.874        .25861E-05** at limit **
  15  norm          5.7276        4.4165       -.21658E-07   -.13358E-03
  16  norm          5.9701        6.3718       -.12263E-05   -.15149E-02
  17  Prefactor     9.3181        17.130        .70726E-06   -.88541E-04
  18  norm          .10002E-03    1.0022        .12716E-07** at limit **
  19  Prefactor     .10000E-03    9.3628        .43293E-05** at limit **
  20  Prefactor     2.8555        24.338        .15351E-05   -.89921E-04
  21  Prefactor     .10000E-03    10.494       -.24577E-05** at limit **
  22  Prefactor     .10000E-03    1.5286       -.12105E-07** at limit **
  23  Normalizat    .90109        .19922       -.47064E-06   -.19173E-04
  24  Prefactor     1.0464        .85633E-01    .27082E-06   -.59385E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.13699
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.40939
  Prefactor  = 0.0001
  Prefactor  = 0.0656941
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.54179
  Prefactor  = 3.65109
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.72757
  norm       = 5.97015
  Prefactor  = 9.31812
  norm       = 0.000100025
  Prefactor  = 0.000100001
  Prefactor  = 2.85552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.90109
  Prefactor  = 1.04641
 **********
 **   18 **HESSE 
 **********

 FCN=   9636.597     FROM HESSE     STATUS=OK           413 CALLS     2781 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1370        1.0402        .28197E-04   -1.5416    
   3  Prefactor     .10000E-03    18.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.8374        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4094        3.1069        .18693E-03   -1.5398    
   7  Prefactor     .10000E-03    4.7799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .65694E-01    2.3678        .52771E-01   -1.5657    
   9  Prefactor     .10000E-03    8.1325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.5418        1.4020        .82131E-04   -1.5389    
  12  Prefactor     3.6511        28.907        .21124E-03   -1.5326    
  13  Prefactor     .10000E-03    15.697        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.7276        4.3994        .16637E-03   -1.5229    
  16  norm          5.9701        7.2220        .82192E-03   -1.5219    
  17  Prefactor     9.3181        17.101        .13127E-03   -1.5097    
  18  norm          .10002E-03    1.9350        .34389E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.0171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.8555        24.099        .24046E-03   -1.5370    
  21  Prefactor     .10000E-03    10.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.5321        .11852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .90109        .22725        .37756E-03   -.96422    
  24  Prefactor     1.0464        .98684E-01    .15878E-03   -.91198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39717e-09
Minuit parameter uncertainties:
  1  2.84609e-07
  2  1.04017
  3  0.000278902
  4  8.27156e-06
  5  6.83137e-05
  6  3.1071
  7  9.96679e-06
  8  0.788234
  9  4.4539e-05
  10  0.000130819
  11  1.40205
  12  20.5601
  13  9.6105e-05
  14  0.000155036
  15  4.39969
  16  7.22308
  17  17.1102
  18  0.000435697
  19  0.000135182
  20  16.5997
  21  7.84277e-05
  22  1.94958e-07
  23  0.227489
  24  0.098701
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.542e+00  1.402e+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.046e+00  9.870e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  9.011e-01  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.40
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 7.03e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 2.50e-05 +/- 1.38e-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) = 9636.29972421
delta logL = 0.297123120898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9636.29231972
delta logL = 0.304527604396

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8169       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2284       1.0000          .0000       5.0000    
     3 'Normalizat'    .80198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0743       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=   9636.292     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      246 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8163        8.8020        .77462E-02    .72021E-03
   2  alpha         3.2282        4.0935        .42037        .87715E-04
   3  Normalizat    .80202        .72956E-01    .89807E-01    .41889E-04
   4  Prefactor     1.0743        .27387E-01    .38657E-01   -.96913E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.81626
  alpha      = 3.22825
  Normalizat = 0.802022
  Prefactor  = 1.07431
 **********
 **   18 **HESSE 
 **********

 FCN=   9636.292     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8163        2.5690        .55568E-04   -1.5438    
   2  alpha         3.2282        1.5179        .15707E-01    .29558    
   3  Normalizat    .80202        .26114        .39778E-03   -.99994    
   4  Prefactor     1.0743        .10750        .15691E-03   -.90292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.82311e-08
Minuit parameter uncertainties:
  1  2.56917
  2  1.64445
  3  0.26155
  4  0.107524
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/688134': 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) = 9636.29231896
delta logL = 0.304528367305

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.816e+00  2.569e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  3.228e+00  1.644e+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.074e+00  1.075e-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:  8.020e-01  2.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.35
Ra Dec: 347.768 34.422
Photon Index (Free Index): 3.23 +/- 1.64
Photon Flux (Free Index): 1.36e-07 +/- 9.78e-08
Energy Flux (Free Index): 2.54e-05 +/- 1.15e-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/688134/cmap_HighResolution_605836801_606096001_4FGL_J2311.0+3425_daily_bin1414.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.03e-08', energy_flux2='2.54e-05', photon_flux_error='3.88e-08', dlogl='3.05e-01', energy_flux='2.50e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-29 08:18:48.844798', photon_index_error2='1.64', photon_index2='3.23', ts='7.40', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='0.90', time_epoch_completed='1632928728.84', return_code='0', job_id='688134', GAL2='1.07', EG2='0.80', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='9.78e-08', ts2='8.35', photon_index='2.24' WHERE bin_id='1414' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:18:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 688134: <4FGL_J2311.0+3425_daily_bin1414> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1414 347.768 34.4223 605836801 606096001 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 :                                   743.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             331.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            814 sec.

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

