/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 15 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.7+2604_daily_bin75
RA = 347.931, Dec = 26.0831
tmin = 258768001, tmax = 259027201
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='688513', job_status='RUN', time_executed='2021-09-29 08:06:13.405199', time_epoch_executed='1632927973.41' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/688513

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/688513/ft1_4FGL_J2311.7+2604_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/688513/ft2_4FGL_J2311.7+2604_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/688513/ft1_4FGL_J2311.7+2604_daily_bin75.fits outfile=/scratch/kocevski/688513/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin75.fits ra=347.931 dec=26.0831 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.13
user 0.94
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/688513/ft2_4FGL_J2311.7+2604_daily_bin75.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/688513/ft2_4FGL_J2311.7+2604_daily_bin75.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/688513/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/688513/ft1_filtered_4FGL_J2311.7+2604_daily_bin75.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/688513/ft1_filtered_4FGL_J2311.7+2604_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/688513/ft2_4FGL_J2311.7+2604_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/688513/ltcube_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.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/688513/ft2_4FGL_J2311.7+2604_daily_bin75.fits
.....................!
real 9.02
user 8.65
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/688513/ft1_filtered_4FGL_J2311.7+2604_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/688513/ft2_4FGL_J2311.7+2604_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/688513/ltcube_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.fits outfile=/scratch/kocevski/688513/expmap_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.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/688513/ltcube_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.fits
.....................!
real 190.54
user 184.15
sys 6.07

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
Added 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2311.7+2604 @ 347.931 26.0831

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/688513/ft1_filtered_4FGL_J2311.7+2604_daily_bin75.fits scfile=/scratch/kocevski/688513/ft2_4FGL_J2311.7+2604_daily_bin75.fits outfile=/scratch/kocevski/688513/cmap_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.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.931 yref=26.0831 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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/688513/ft1_filtered_4FGL_J2311.7+2604_daily_bin75.fits scfile=/scratch/kocevski/688513/ft2_4FGL_J2311.7+2604_daily_bin75.fits outfile=/scratch/kocevski/688513/cmap_HighResolution_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.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.931 yref=26.0831 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/688513/ft1_filtered_4FGL_J2311.7+2604_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/688513/ft2_4FGL_J2311.7+2604_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/688513/Model_4FGL_J2311.7+2604_daily_bin75.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 GAL_V02
Working on...
/scratch/kocevski/688513/ft1_filtered_4FGL_J2311.7+2604_daily_bin75.fits.....................!
real 88.88
user 87.53
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/688513/ft1_filtered_4FGL_J2311.7+2604_daily_bin75.fits', '/scratch/kocevski/688513/ft2_4FGL_J2311.7+2604_daily_bin75.fits', expMap='/scratch/kocevski/688513/expmap_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.fits', expCube='/scratch/kocevski/688513/ltcube_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/688513/Model_4FGL_J2311.7+2604_daily_bin75.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.7+2604'

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.423e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/688513/ft1_filtered_4FGL_J2311.7+2604_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/688513/ft2_4FGL_J2311.7+2604_daily_bin75.fits
Exposure map: /scratch/kocevski/688513/expmap_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.fits
Exposure cube: /scratch/kocevski/688513/ltcube_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/688513/Model_4FGL_J2311.7+2604_daily_bin75.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) = 8184.228204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93220       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16745E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    3.4835       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.9407       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20518E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22713E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8533       1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11242E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.688       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8543       1.0000         .10000E-03   10000.    
    20 'Prefactor '    51.334       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .87303       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1727       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8184.188     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2181 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1259        1370.6        .74129E-04   -.93629E-05
   2  Prefactor     .10000E-03    8.1707        .41104E-06** at limit **
   3  norm          3.4816        1.3842       -.35131E-07   -.85027E-03
   4  Prefactor     .10000E-03    12.372        .87614E-07** at limit **
   5  norm          2.9411        1.5699        .78214E-07    .80418E-04
   6  Prefactor     .10001E-03    204.24       -.52695E-04** at limit **
   7  Prefactor     .10000E-03    3.0655        .56713E-07** at limit **
   8  Prefactor     .22470E-01    .77711E-01    .92953E-07   -.17516E-02
   9  Prefactor     .10000E-03    6.2112        .12280E-06** at limit **
  10  Prefactor     .10000E-03    6.0858        .22353E-07** at limit **
  11  Prefactor     8.8530        7.6437       -.13362E-05   -.11959E-03
  12  norm          .10000E-03    .62959        .58847E-07** at limit **
  13  Prefactor     .10000E-03    36.130        .16628E-04** at limit **
  14  Prefactor     .10000E-03    9.4925       -.17644E-07** at limit **
  15  Prefactor     12.684        7.0591       -.23427E-05   -.16620E-03
  16  norm          .10000E-03    1.7697        .46171E-07** at limit **
  17  Prefactor     .10000E-03    34.786       -.16153E-04** at limit **
  18  Prefactor     .10000E-03    10.091        .54555E-06** at limit **
  19  Prefactor     1.8525        20.546        .32058E-04   -.18937E-03
  20  Prefactor     51.291        35.718        .33443E-04   -.15955E-04
  21  Normalizat    .87301        .21697       -.31374E-05   -.13680E-03
  22  Prefactor     1.1728        .11579       -.79177E-06   -.12578E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.12594
  Prefactor  = 0.000100002
  norm       = 3.48159
  Prefactor  = 0.0001
  norm       = 2.94109
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.0224699
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.85296
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6845
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.85254
  Prefactor  = 51.2909
  Normalizat = 0.873011
  Prefactor  = 1.17275
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.188     FROM HESSE     STATUS=OK           348 CALLS     2529 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1259        1384.1        .51696E-03   -1.5416    
   2  Prefactor     .10000E-03    8.9461        .84253E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.4816        1.3752        .63263E-04   -1.5335    
   4  Prefactor     .10000E-03    12.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.9411        1.5708        .80653E-04   -1.5365    
   6  Prefactor     .10001E-03    208.03        .40412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.0732        .15467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22470E-01    .14179        .44492E-03   -1.5678    
   9  Prefactor     .10000E-03    6.2578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.0870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.8530        7.6326        .13471E-03   -1.5113    
  12  norm          .10000E-03    .65401        .14003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    36.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.5048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.684        7.0745        .11246E-03   -1.4996    
  16  norm          .10000E-03    1.7798        .11751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    35.990        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8525        20.178        .30611E-03   -1.5436    
  20  Prefactor     51.291        35.841        .55975E-04   -1.4274    
  21  Normalizat    .87301        .24665        .37316E-03   -.97415    
  22  Prefactor     1.1728        .13274        .17896E-03   -.87174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56073e-10
Minuit parameter uncertainties:
  1  111.175
  2  0.000281143
  3  1.37525
  4  1.91047e-05
  5  1.57084
  6  0.00277195
  7  7.58575e-06
  8  0.112639
  9  2.34744e-05
  10  2.11786e-06
  11  7.6334
  12  3.98328e-06
  13  0.000131864
  14  1.12968e-05
  15  7.07501
  16  4.5906e-06
  17  0.000240312
  18  8.98652e-05
  19  12.2328
  20  35.8556
  21  0.246972
  22  0.132779
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.319e-04  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.173e+00  1.328e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  8.730e-01  2.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 9.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/688513/likelihoodResults_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.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): 102
logL (Free Index) = 8184.18790254
delta logL = -0.000130277723656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8184.08336484
delta logL = 0.104407421431

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35627       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3413       1.0000          .0000       10.000    
     3 'Normalizat'    .84184       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1819       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   8184.083     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      332 TOTAL
                     EDM=   .31E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35346        88.433        .11398E-03    .47876E-05
   2  Index         4.3458        5.2909        .81292E-03    .12586E-06
   3  Normalizat    .84150        .23775        .37963E-03    .89841E-06
   4  Prefactor     1.1821        .12832        .17836E-03   -.27409E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.35346
  Index      = 4.34581
  Normalizat = 0.841504
  Prefactor  = 1.1821
 **********
 **   18 **HESSE 
 **********

 FCN=   8184.083     FROM HESSE     STATUS=OK            23 CALLS      355 TOTAL
                     EDM=   .33E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35346        10.262        .45592E-05   -1.5589    
   2  Index         4.3458        6.9552        .32517E-04   -.13121    
   3  Normalizat    .84150        .24833        .15185E-04   -.98547    
   4  Prefactor     1.1821        .13355        .71342E-05   -.86884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31678e-14
Minuit parameter uncertainties:
  1  3.80922
  2  5.05208
  3  0.24867
  4  0.133588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/688513': 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) = 8184.08336308
delta logL = 0.104409182646

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  3.535e-01  3.809e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  4.346e+00  5.052e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.182e+00  1.336e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  8.415e-01  2.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.931 26.083

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/688513/cmap_HighResolution_258768001_259027201_4FGL_J2311.7+2604_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.66e-03', job_status='DONE', photon_flux_upper_limit='9.89e-08', time_completed='2021-09-29 08:18:06.913683', job_id='688513', GAL2='1.18', fit_tolerance='1e-08', EG2='0.84', EG='0.87', time_epoch_completed='1632928686.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.04e-01', ts2='0.22', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='75' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:18:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 688513: <4FGL_J2311.7+2604_daily_bin75> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin75 347.931 26.0831 258768001 259027201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.7+2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   711.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            743 sec.

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

