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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1464
RA = 347.931, Dec = 26.0831
tmin = 618796801, tmax = 619056001
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='696292', job_status='RUN', time_executed='2021-09-29 08:33:10.963373', time_epoch_executed='1632929590.96' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1464'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696292

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696292/ft1_4FGL_J2311.7+2604_daily_bin1464.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696292/ft2_4FGL_J2311.7+2604_daily_bin1464.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696292/ft1_4FGL_J2311.7+2604_daily_bin1464.fits outfile=/scratch/kocevski/696292/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1464.fits ra=347.931 dec=26.0831 rad=12.0 tmin=618796801.0 tmax=619056001.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.67
user 3.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/696292/ft2_4FGL_J2311.7+2604_daily_bin1464.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/696292/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1464.fits evtable="EVENTS" outfile="/scratch/kocevski/696292/ft1_filtered_4FGL_J2311.7+2604_daily_bin1464.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/696292/ft1_filtered_4FGL_J2311.7+2604_daily_bin1464.fits" evtable="EVENTS" scfile=/scratch/kocevski/696292/ft2_4FGL_J2311.7+2604_daily_bin1464.fits sctable="SC_DATA" outfile=/scratch/kocevski/696292/ltcube_618796801_619056001_4FGL_J2311.7+2604_daily_bin1464.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/696292/ft2_4FGL_J2311.7+2604_daily_bin1464.fits
.....................!
real 11.70
user 11.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696292/ft1_filtered_4FGL_J2311.7+2604_daily_bin1464.fits evtable="EVENTS" scfile=/scratch/kocevski/696292/ft2_4FGL_J2311.7+2604_daily_bin1464.fits sctable="SC_DATA" expcube=/scratch/kocevski/696292/ltcube_618796801_619056001_4FGL_J2311.7+2604_daily_bin1464.fits outfile=/scratch/kocevski/696292/expmap_618796801_619056001_4FGL_J2311.7+2604_daily_bin1464.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/696292/ltcube_618796801_619056001_4FGL_J2311.7+2604_daily_bin1464.fits
.....................!
real 192.53
user 186.32
sys 5.76

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/696292/ft1_filtered_4FGL_J2311.7+2604_daily_bin1464.fits scfile=/scratch/kocevski/696292/ft2_4FGL_J2311.7+2604_daily_bin1464.fits outfile=/scratch/kocevski/696292/cmap_618796801_619056001_4FGL_J2311.7+2604_daily_bin1464.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696292/ft1_filtered_4FGL_J2311.7+2604_daily_bin1464.fits scfile=/scratch/kocevski/696292/ft2_4FGL_J2311.7+2604_daily_bin1464.fits outfile=/scratch/kocevski/696292/cmap_HighResolution_618796801_619056001_4FGL_J2311.7+2604_daily_bin1464.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/696292/ft1_filtered_4FGL_J2311.7+2604_daily_bin1464.fits evtable="EVENTS" scfile=/scratch/kocevski/696292/ft2_4FGL_J2311.7+2604_daily_bin1464.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696292/Model_4FGL_J2311.7+2604_daily_bin1464.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/696292/ft1_filtered_4FGL_J2311.7+2604_daily_bin1464.fits.....................!
real 77.61
user 76.30
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.129       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.1539       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.521       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .55517       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .20221E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.620       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1828       1.0000         .10000E-03   10000.    
    12 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8614       1.0000         .10000E-03   10000.    
    16 'norm      '    5.0790       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12123E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.379       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96178       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96575       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=   7126.414     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2389 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.019        94.166        .29671E-04    .88010E-05
   2  Prefactor     .10000E-03    4.8297       -.14814E-06** at limit **
   3  norm          1.1534        1.0261       -.23097E-06   -.11177E-02
   4  Prefactor     .10000E-03    28.524        .14385E-05** at limit **
   5  norm          .10000E-03    .63703       -.99234E-09** at limit **
   6  Prefactor     .10000E-03    112.36        .10201E-04** at limit **
   7  Prefactor     32.521        13.813        .11095E-06    .36964E-04
   8  Prefactor     .55515        .16951       -.25520E-07   -.26202E-02
   9  Prefactor     .10007E-03    5.5238       -.21950E-05** at limit **
  10  Prefactor     26.619        28.036        .44625E-06    .22882E-05
  11  Prefactor     2.1833        5.4271        .39536E-06    .94552E-05
  12  norm          .10000E-03    .53175        .21859E-06** at limit **
  13  Prefactor     .10000E-03    6.5998        .58526E-07** at limit **
  14  Prefactor     .10000E-03    19.327        .18989E-05** at limit **
  15  Prefactor     1.8571        6.3774        .11698E-04    .74023E-04
  16  norm          5.0804        5.0817        .82090E-06    .47832E-03
  17  Prefactor     .10000E-03    21.330       -.29094E-05** at limit **
  18  Prefactor     .10000E-03    40.650        .25141E-05** at limit **
  19  Prefactor     18.378        19.130        .46158E-06    .38332E-04
  20  Prefactor     .10000E-03    80.229       -.69493E-05** at limit **
  21  Normalizat    .96178        .20277       -.39788E-05    .20229E-03
  22  Prefactor     .96574        .10889        .40996E-06    .12443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.0189
  Prefactor  = 0.0001
  norm       = 1.15343
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.5209
  Prefactor  = 0.555147
  Prefactor  = 0.000100071
  Prefactor  = 26.6194
  Prefactor  = 2.18332
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.85709
  norm       = 5.08036
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.3776
  Prefactor  = 0.000100001
  Normalizat = 0.961785
  Prefactor  = 0.965744
 **********
 **   18 **HESSE 
 **********

 FCN=   7126.414     FROM HESSE     STATUS=OK           344 CALLS     2733 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.019        94.324        .94067E-04   -1.4859    
   2  Prefactor     .10000E-03    4.8404        .18119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1534        1.0039        .77280E-04   -1.5493    
   4  Prefactor     .10000E-03    29.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .64705        .65739E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    113.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.521        13.786        .70265E-04   -1.4567    
   8  Prefactor     .55515        .16907        .18440E-04   -1.5559    
   9  Prefactor     .10007E-03    28.655        .37593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.619        28.045        .77645E-04   -1.4676    
  11  Prefactor     2.1833        5.4006        .27862E-03   -1.5412    
  12  norm          .10000E-03    .83521        .11913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.6141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8571        6.4117        .15271E-02   -1.5435    
  16  norm          5.0804        5.0595        .17841E-03   -1.5257    
  17  Prefactor     .10000E-03    21.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    41.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.378        19.134        .93424E-04   -1.4850    
  20  Prefactor     .10000E-03    81.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96178        .23634        .32071E-03   -.94322    
  22  Prefactor     .96574        .12853        .17745E-03   -.93880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82068e-09
Minuit parameter uncertainties:
  1  82.6578
  2  1.153e-05
  3  1.00395
  4  4.01089e-05
  5  1.87883e-07
  6  8.6519e-05
  7  13.7877
  8  0.169074
  9  0.00284615
  10  28.0593
  11  5.40178
  12  4.83817e-06
  13  6.71494e-06
  14  3.23761e-05
  15  6.4141
  16  5.05989
  17  6.24517e-05
  18  7.67188e-05
  19  19.1405
  20  0.000577937
  21  0.236592
  22  0.12857
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  6.715e-06  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:  9.657e-01  1.286e-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:  9.618e-01  2.366e-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: 5.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/696292/likelihoodResults_618796801_619056001_4FGL_J2311.7+2604_daily_bin1464.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) = 7126.41424473
delta logL = -0.000720308287782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7126.41352509
delta logL = -6.64641447656e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10854E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4032       1.0000          .0000       10.000    
     3 'Normalizat'    .96166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96578       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=   7126.414     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      243 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10316E-03    6.2176        .18142E-01** at limit **
   2  Index         2.3115        8.1911        .50000        .25321E-04
   3  Normalizat    .96178        .46911E-02    .32071E-03    .41723E-04
   4  Prefactor     .96575        .26176E-02    .17745E-03    .67362E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103158
  Index      = 2.31154
  Normalizat = 0.961782
  Prefactor  = 0.965745
 **********
 **   18 **HESSE 
 **********

 FCN=   7126.414     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10316E-03    66.540        .22321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3115        5.0218        .50000       -.56770    
   3  Normalizat    .96178        .15430E-01    .12828E-04   -.94322    
   4  Prefactor     .96575        .86097E-02    .35489E-04   -.93880    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.84768e-09
Minuit parameter uncertainties:
  1  0.0290253
  2  326.358
  3  0.0154299
  4  0.00860972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696292': 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): 102
logL (Free Index) = 7126.41352385
delta logL = 5.77168066229e-07

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.032e-04  2.903e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.312e+00  3.264e+02  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:  9.657e-01  8.610e-03  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:  9.618e-01  1.543e-02  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/696292/cmap_HighResolution_618796801_619056001_4FGL_J2311.7+2604_daily_bin1464.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-03', job_status='DONE', photon_flux_upper_limit='5.68e-08', time_completed='2021-09-29 08:44:42.113814', job_id='696292', GAL2='0.97', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632930282.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.77e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1464' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:44:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 696292: <4FGL_J2311.7+2604_daily_bin1464> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1464> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 08:30:23 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:30:25 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:30:25 2021
Terminated at Wed Sep 29 08:44:42 2021
Results reported at Wed Sep 29 08:44:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1464 347.931 26.0831 618796801 619056001 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 :                                   687.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            859 sec.

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

