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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin735
RA = 347.931, Dec = 26.0831
tmin = 429840001, tmax = 430099201
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='691893', job_status='RUN', time_executed='2021-09-29 08:16:28.940827', time_epoch_executed='1632928588.94' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/691893

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/691893/ft1_4FGL_J2311.7+2604_daily_bin735.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/691893/ft2_4FGL_J2311.7+2604_daily_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/691893/ft1_4FGL_J2311.7+2604_daily_bin735.fits outfile=/scratch/kocevski/691893/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin735.fits ra=347.931 dec=26.0831 rad=12.0 tmin=429840001.0 tmax=430099201.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 5.84
user 5.58
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/691893/ft1_filtered_4FGL_J2311.7+2604_daily_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/691893/ft2_4FGL_J2311.7+2604_daily_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/691893/ltcube_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.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/691893/ft2_4FGL_J2311.7+2604_daily_bin735.fits
.....................!
real 11.98
user 11.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/691893/ft1_filtered_4FGL_J2311.7+2604_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/691893/ft2_4FGL_J2311.7+2604_daily_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/691893/ltcube_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.fits outfile=/scratch/kocevski/691893/expmap_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.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/691893/ltcube_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.fits
.....................!
real 194.34
user 189.85
sys 4.18

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/691893/ft1_filtered_4FGL_J2311.7+2604_daily_bin735.fits scfile=/scratch/kocevski/691893/ft2_4FGL_J2311.7+2604_daily_bin735.fits outfile=/scratch/kocevski/691893/cmap_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/691893/ft1_filtered_4FGL_J2311.7+2604_daily_bin735.fits scfile=/scratch/kocevski/691893/ft2_4FGL_J2311.7+2604_daily_bin735.fits outfile=/scratch/kocevski/691893/cmap_HighResolution_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/691893/ft1_filtered_4FGL_J2311.7+2604_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/691893/ft2_4FGL_J2311.7+2604_daily_bin735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/691893/Model_4FGL_J2311.7+2604_daily_bin735.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/691893/ft1_filtered_4FGL_J2311.7+2604_daily_bin735.fits.....................!
real 68.25
user 66.92
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/691893/ft1_filtered_4FGL_J2311.7+2604_daily_bin735.fits', '/scratch/kocevski/691893/ft2_4FGL_J2311.7+2604_daily_bin735.fits', expMap='/scratch/kocevski/691893/expmap_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.fits', expCube='/scratch/kocevski/691893/ltcube_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/691893/Model_4FGL_J2311.7+2604_daily_bin735.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/691893/ft1_filtered_4FGL_J2311.7+2604_daily_bin735.fits
Spacecraft file(s): /scratch/kocevski/691893/ft2_4FGL_J2311.7+2604_daily_bin735.fits
Exposure map: /scratch/kocevski/691893/expmap_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.fits
Exposure cube: /scratch/kocevski/691893/ltcube_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/691893/Model_4FGL_J2311.7+2604_daily_bin735.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) = 5331.01194308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    227.13       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3604       1.0000         .10000E-03   10000.    
     4 'Prefactor '    50.497       1.0000         .10000E-03   10000.    
     5 'norm      '    .59402       1.0000         .10000E-03   10000.    
     6 'Prefactor '    135.90       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.008       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    51.221       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24281       1.0000         .10000E-03   10000.    
    12 'norm      '    .53334       1.0000         .10000E-03   10000.    
    13 'Prefactor '    85.506       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13872E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.9781       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.5751       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11843E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84481       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0593       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=   5331.006     FROM MIGRAD    STATUS=CONVERGED    817 CALLS     2728 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     227.13        237.49        .26848E-04   -.25406E-06
   2  Prefactor     .10000E-03    23.021        .18142E-02** at limit **
   3  norm          1.3604        1.3263        .78405E-04    .99180E-04
   4  Prefactor     50.497        40.851        .56435E-04    .17727E-05
   5  norm          .59382        1.9209        .18513E-02    .42238E-02
   6  Prefactor     135.91        136.52        .17274E-03   -.12781E-04
   7  Prefactor     .10000E-03    14.844        .18142E-02** at limit **
   8  Prefactor     13.008        1.0142        .18889E-04   -.80471E-03
   9  Prefactor     .10000E-03    6.9120        .18142E-02** at limit **
  10  Prefactor     51.218        43.612        .56036E-04   -.56401E-05
  11  Prefactor     .27745        21.931        .89257E-01    .17172E-03
  12  norm          .53401        2.3838        .20845E-03   -.85626E-04
  13  Prefactor     85.502        50.738        .43444E-04   -.11252E-04
  14  Prefactor     .10000E-03    53.839        .18142E-02** at limit **
  15  Prefactor     .10000E-03    4.2088        .14620E-02** at limit **
  16  norm          9.9842        9.2533        .12685E-03    .92596E-04
  17  Prefactor     8.5339        33.070        .13689E-03   -.33801E-04
  18  Prefactor     .10000E-03    57.909        .18142E-02** at limit **
  19  Prefactor     .10000E-03    11.008        .18142E-02** at limit **
  20  Prefactor     .10000E-03    15.894        .18142E-02** at limit **
  21  Normalizat    .84423        .38996        .50086E-03   -.60014E-04
  22  Prefactor     1.0596        .19589        .23632E-03   -.17093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 227.128
  Prefactor  = 0.0001
  norm       = 1.3604
  Prefactor  = 50.4971
  norm       = 0.593818
  Prefactor  = 135.905
  Prefactor  = 0.0001
  Prefactor  = 13.0082
  Prefactor  = 0.0001
  Prefactor  = 51.2184
  Prefactor  = 0.277445
  norm       = 0.534008
  Prefactor  = 85.5024
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 9.98419
  Prefactor  = 8.53394
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.844227
  Prefactor  = 1.05958
 **********
 **   18 **HESSE 
 **********

 FCN=   5331.006     FROM HESSE     STATUS=OK           332 CALLS     3060 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     227.13        237.30        .53697E-05   -1.2682    
   2  Prefactor     .10000E-03    23.023        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3604        1.3262        .31362E-05   -1.5475    
   4  Prefactor     50.497        40.849        .11287E-04   -1.4286    
   5  norm          .59382        1.9186        .37027E-03   -1.5554    
   6  Prefactor     135.91        136.51        .34548E-04   -1.3371    
   7  Prefactor     .10000E-03    14.845        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.008        1.0139        .75555E-06   -1.4986    
   9  Prefactor     .10000E-03    6.9122        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     51.218        43.612        .11207E-04   -1.4275    
  11  Prefactor     .27745        20.851        .92434E-01   -1.5603    
  12  norm          .53401        2.3816        .83380E-05   -1.5562    
  13  Prefactor     85.502        50.734        .86889E-05   -1.3856    
  14  Prefactor     .10000E-03    53.845        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2089        .29240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.9842        9.2509        .25371E-04   -1.5076    
  17  Prefactor     8.5339        33.060        .54756E-05   -1.5124    
  18  Prefactor     .10000E-03    57.938        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.008        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.894        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84423        .39013        .20034E-04   -.98449    
  22  Prefactor     1.0596        .19601        .47265E-04   -.90769    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32108e-10
Minuit parameter uncertainties:
  1  238.313
  2  5.09723e-06
  3  1.32625
  4  40.8721
  5  1.91877
  6  136.833
  7  3.72759e-05
  8  1.01389
  9  1.24035e-06
  10  43.6388
  11  4.81132
  12  2.25543
  13  50.7594
  14  0.000342665
  15  3.97824e-06
  16  9.25227
  17  33.1307
  18  3.31193e-05
  19  1.84797e-05
  20  3.32026e-05
  21  0.391442
  22  0.196144
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  8.550e+01  5.076e+01  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.060e+00  1.961e-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.442e-01  3.914e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.69
Ra Dec: 347.931 26.083
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.66e-07 +/- 9.84e-08
Energy Flux (Fixed Index): 5.24e-05 +/- 3.11e-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) = 5330.75270096
delta logL = 0.252894504644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5330.75062528
delta logL = 0.254970179841

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.644       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8926       1.0000          .0000       10.000    
     3 'Normalizat'    .77932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0823       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=   5330.751     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      291 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.653        65.778        .55808E-04   -.12019E-04
   2  Index         2.8924        .81254        .44845E-02    .19629E-04
   3  Normalizat    .77963        .38461        .51889E-03    .47588E-04
   4  Prefactor     1.0821        .19754        .23408E-03    .32112E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.6532
  Index      = 2.89239
  Normalizat = 0.779631
  Prefactor  = 1.08206
 **********
 **   18 **HESSE 
 **********

 FCN=   5330.751     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.653        56.491        .22323E-05   -1.4269    
   2  Index         2.8924        .69751        .17938E-03   -.43512    
   3  Normalizat    .77963        .38222        .20755E-04   -1.0083    
   4  Prefactor     1.0821        .19659        .46817E-04   -.90042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30432e-10
Minuit parameter uncertainties:
  1  56.5499
  2  0.700291
  3  0.383543
  4  0.196725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/691893': 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) = 5330.75062434
delta logL = 0.25497111569

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  5.165e+01  5.655e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.892e+00  7.003e-01  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.082e+00  1.967e-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:  7.796e-01  3.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.10
Ra Dec: 347.931 26.083
Photon Index (Free Index): 2.89 +/- 0.70
Photon Flux (Free Index): 2.21e-07 +/- 1.39e-07
Energy Flux (Free Index): 4.68e-05 +/- 2.61e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/691893/cmap_HighResolution_429840001_430099201_4FGL_J2311.7+2604_daily_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.66e-07', energy_flux2='4.68e-05', photon_flux_error='9.84e-08', dlogl='2.55e-01', energy_flux='5.24e-05', photon_flux2='2.21e-07', job_status='DONE', time_completed='2021-09-29 08:26:31.662448', photon_index_error2='0.70', photon_index2='2.89', ts='5.69', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.61e-05', EG='0.84', time_epoch_completed='1632929191.66', return_code='0', job_id='691893', GAL2='1.08', EG2='0.78', return_code2='0', energy_flux_error='3.11e-05', photon_flux_error2='1.39e-07', ts2='6.10', photon_index='2.43' WHERE bin_id='735' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:26:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 691893: <4FGL_J2311.7+2604_daily_bin735> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin735> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 08:16:02 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:16:05 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:16:05 2021
Terminated at Wed Sep 29 08:26:32 2021
Results reported at Wed Sep 29 08:26:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin735 347.931 26.0831 429840001 430099201 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 :                                   597.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            630 sec.

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

