/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 230 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 = 7430
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+3425_daily_bin48
RA = 347.768, Dec = 34.4223
tmin = 251769601, tmax = 252028801
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='680507', job_status='RUN', time_executed='2021-09-29 07:44:41.494294', time_epoch_executed='1632926681.49' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='48'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680507

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680507/ft1_4FGL_J2311.0+3425_daily_bin48.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680507/ft2_4FGL_J2311.0+3425_daily_bin48.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680507/ft1_4FGL_J2311.0+3425_daily_bin48.fits outfile=/scratch/kocevski/680507/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin48.fits ra=347.768 dec=34.4223 rad=12.0 tmin=251769601.0 tmax=252028801.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 2.16
user 1.93
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/680507/ft2_4FGL_J2311.0+3425_daily_bin48.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/680507/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin48.fits evtable="EVENTS" outfile="/scratch/kocevski/680507/ft1_filtered_4FGL_J2311.0+3425_daily_bin48.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/680507/ft1_filtered_4FGL_J2311.0+3425_daily_bin48.fits" evtable="EVENTS" scfile=/scratch/kocevski/680507/ft2_4FGL_J2311.0+3425_daily_bin48.fits sctable="SC_DATA" outfile=/scratch/kocevski/680507/ltcube_251769601_252028801_4FGL_J2311.0+3425_daily_bin48.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/680507/ft2_4FGL_J2311.0+3425_daily_bin48.fits
.....................!
real 12.44
user 12.05
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680507/ft1_filtered_4FGL_J2311.0+3425_daily_bin48.fits evtable="EVENTS" scfile=/scratch/kocevski/680507/ft2_4FGL_J2311.0+3425_daily_bin48.fits sctable="SC_DATA" expcube=/scratch/kocevski/680507/ltcube_251769601_252028801_4FGL_J2311.0+3425_daily_bin48.fits outfile=/scratch/kocevski/680507/expmap_251769601_252028801_4FGL_J2311.0+3425_daily_bin48.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/680507/ltcube_251769601_252028801_4FGL_J2311.0+3425_daily_bin48.fits
.....................!
real 190.65
user 184.72
sys 5.57

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680507/ft1_filtered_4FGL_J2311.0+3425_daily_bin48.fits scfile=/scratch/kocevski/680507/ft2_4FGL_J2311.0+3425_daily_bin48.fits outfile=/scratch/kocevski/680507/cmap_HighResolution_251769601_252028801_4FGL_J2311.0+3425_daily_bin48.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=347.768 yref=34.4223 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.429       1.0000         .10000E-03   10000.    
     2 'norm      '    .13609E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.6016       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6448       1.0000         .10000E-03   10000.    
     6 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4282       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.987       1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.167       1.0000         .10000E-03   10000.    
    11 'norm      '    .33468       1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.849       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.420       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.699       1.0000         .10000E-03   10000.    
    15 'norm      '    4.8226       1.0000         .10000E-03   10000.    
    16 'norm      '    .43503       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .88112E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    3.1154       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10580E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3579       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .77627       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=   7542.405     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2806 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.416        19.435        .33488E-05   -.17397E-03
   2  norm          .10000E-03    .43683        .15163E-07** at limit **
   3  Prefactor     .10000E-03    45.393       -.16073E-05** at limit **
   4  Prefactor     4.5891        7.2524       -.15241E-05   -.12964E-03
   5  Prefactor     2.6457        21.509        .18275E-05   -.11805E-03
   6  norm          .10000E-03    4.6352        .10594E-06** at limit **
   7  Prefactor     .10000E-03    6.7040        .30054E-06** at limit **
   8  Prefactor     6.4258        6.9450        .74207E-06   -.20259E-03
   9  Prefactor     11.987        12.984        .14378E-06   -.37245E-04
  10  Prefactor     36.167        26.983        .38941E-08    .56442E-04
  11  norm          .33417        1.1114       -.89531E-06   -.19954E-02
  12  Prefactor     40.847        27.675       -.42192E-06   -.14359E-04
  13  Prefactor     11.420        12.273        .31684E-06    .88279E-05
  14  Prefactor     17.690        28.643        .10121E-04   -.25525E-03
  15  norm          4.8212        5.3858       -.40350E-06   -.72173E-04
  16  norm          .39737        6.4580       -.64686E-06    .49171E-04
  17  Prefactor     .10015E-03    15.804       -.53336E-06** at limit **
  18  norm          3.1159        2.4705        .60476E-07    .30170E-04
  19  Prefactor     .10000E-03    11.162        .12901E-06** at limit **
  20  Prefactor     .10000E-03    7.2050        .40957E-06** at limit **
  21  Prefactor     .10000E-03    20.284        .17943E-06** at limit **
  22  Prefactor     .10000E-03    2.2664       -.21570E-06** at limit **
  23  Normalizat    1.3578        .22516       -.15176E-05    .21481E-03
  24  Prefactor     .77633        .93269E-01   -.16697E-06    .23444E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.4164
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.58911
  Prefactor  = 2.64565
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.42576
  Prefactor  = 11.987
  Prefactor  = 36.167
  norm       = 0.334169
  Prefactor  = 40.8471
  Prefactor  = 11.4202
  Prefactor  = 17.6899
  norm       = 4.82117
  norm       = 0.397367
  Prefactor  = 0.000100147
  norm       = 3.11585
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.35777
  Prefactor  = 0.776328
 **********
 **   18 **HESSE 
 **********

 FCN=   7542.405     FROM HESSE     STATUS=OK           417 CALLS     3223 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.416        19.203        .98813E-04   -1.4897    
   2  norm          .10000E-03    .68990        .20791E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    45.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.5891        7.2513        .18764E-03   -1.5279    
   5  Prefactor     2.6457        21.250        .25069E-03   -1.5383    
   6  norm          .10000E-03    4.7271        .36064E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.7107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4258        6.9033        .15830E-03   -1.5201    
   9  Prefactor     11.987        12.983        .11570E-03   -1.5015    
  10  Prefactor     36.167        26.937        .66639E-04   -1.4504    
  11  norm          .33417        1.1952        .17043E-03   -1.5592    
  12  Prefactor     40.847        27.761        .62718E-04   -1.4429    
  13  Prefactor     11.420        12.260        .11855E-03   -1.5032    
  14  Prefactor     17.690        27.490        .95201E-04   -1.4867    
  15  norm          4.8212        5.4241        .18319E-03   -1.5269    
  16  norm          .39737        65.060        .42484E-02   -1.5582    
  17  Prefactor     .10015E-03    22.978        .85375E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.1159        2.4691        .11686E-03   -1.5355    
  19  Prefactor     .10000E-03    11.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.2048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    20.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.2706        .12767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3578        .26448        .31800E-03   -.81858    
  24  Prefactor     .77633        .11099        .17516E-03   -1.0061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96213e-09
Minuit parameter uncertainties:
  1  19.2105
  2  3.47719e-05
  3  0.000156831
  4  7.25268
  5  15.0029
  6  7.45476e-05
  7  5.17964e-06
  8  6.90412
  9  12.986
  10  26.9464
  11  1.19528
  12  27.7695
  13  12.2626
  14  27.5095
  15  5.42462
  16  10.1791
  17  0.00367716
  18  2.46918
  19  3.54303e-06
  20  1.09277e-05
  21  4.48736e-05
  22  2.84528e-06
  23  0.264747
  24  0.111025
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  3.342e-01  1.195e+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:  7.763e-01  1.110e-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.358e+00  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/680507/likelihoodResults_251769601_252028801_4FGL_J2311.0+3425_daily_bin48.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) = 7542.20148304
delta logL = 0.203874561975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7542.19505552
delta logL = 0.210302085441

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38704       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5287       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78507       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=   7542.195     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38702        12.345        .10801E-01    .21651E-02
   2  alpha         3.5286        2.9090        .46759        .39575E-04
   3  Normalizat    1.3196        .47619E-01    .72723E-01   -.70438E-04
   4  Prefactor     .78508        .20604E-01    .43523E-01   -.15912E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.387022
  alpha      = 3.52865
  Normalizat = 1.31956
  Prefactor  = 0.78508
 **********
 **   18 **HESSE 
 **********

 FCN=   7542.195     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38702        1.4218        .77088E-04   -1.5584    
   2  alpha         3.5286        4.0257        .40032E-01    .42406    
   3  Normalizat    1.3196        .25636        .32180E-03   -.82984    
   4  Prefactor     .78508        .10778        .17424E-03   -1.0028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64991e-08
Minuit parameter uncertainties:
  1  1.42191
  2  3.11408
  3  0.256609
  4  0.107809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680507': 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) = 7542.19505551
delta logL = 0.210302093027

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  3.870e-01  1.422e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  3.529e+00  3.114e+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:  7.851e-01  1.078e-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.320e+00  2.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 347.768 34.422

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/680507/cmap_HighResolution_251769601_252028801_4FGL_J2311.0+3425_daily_bin48.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-05', job_status='DONE', photon_flux_upper_limit='9.65e-08', time_completed='2021-09-29 07:57:09.115596', job_id='680507', GAL2='0.79', fit_tolerance='1e-08', EG2='1.32', EG='1.36', time_epoch_completed='1632927429.12', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.10e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='48' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:57:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 680507: <4FGL_J2311.0+3425_daily_bin48> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin48> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep 29 07:40:38 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:40:39 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:40:39 2021
Terminated at Wed Sep 29 07:57:09 2021
Results reported at Wed Sep 29 07:57:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin48 347.768 34.4223 251769601 252028801 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 :                                   748.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             241.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            991 sec.

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

