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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1290
RA = 347.931, Dec = 26.0831
tmin = 573696001, tmax = 573955201
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='695508', job_status='RUN', time_executed='2021-09-29 08:28:42.889852', time_epoch_executed='1632929322.89' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1290'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695508

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695508/ft1_4FGL_J2311.7+2604_daily_bin1290.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695508/ft2_4FGL_J2311.7+2604_daily_bin1290.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695508/ft1_4FGL_J2311.7+2604_daily_bin1290.fits outfile=/scratch/kocevski/695508/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1290.fits ra=347.931 dec=26.0831 rad=12.0 tmin=573696001.0 tmax=573955201.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 4.53
user 4.27
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695508/ft1_filtered_4FGL_J2311.7+2604_daily_bin1290.fits" evtable="EVENTS" scfile=/scratch/kocevski/695508/ft2_4FGL_J2311.7+2604_daily_bin1290.fits sctable="SC_DATA" outfile=/scratch/kocevski/695508/ltcube_573696001_573955201_4FGL_J2311.7+2604_daily_bin1290.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/695508/ft2_4FGL_J2311.7+2604_daily_bin1290.fits
.....................!
real 12.13
user 11.75
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695508/ft1_filtered_4FGL_J2311.7+2604_daily_bin1290.fits evtable="EVENTS" scfile=/scratch/kocevski/695508/ft2_4FGL_J2311.7+2604_daily_bin1290.fits sctable="SC_DATA" expcube=/scratch/kocevski/695508/ltcube_573696001_573955201_4FGL_J2311.7+2604_daily_bin1290.fits outfile=/scratch/kocevski/695508/expmap_573696001_573955201_4FGL_J2311.7+2604_daily_bin1290.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/695508/ltcube_573696001_573955201_4FGL_J2311.7+2604_daily_bin1290.fits
.....................!
real 190.94
user 185.23
sys 5.30

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/695508/ft1_filtered_4FGL_J2311.7+2604_daily_bin1290.fits scfile=/scratch/kocevski/695508/ft2_4FGL_J2311.7+2604_daily_bin1290.fits outfile=/scratch/kocevski/695508/cmap_573696001_573955201_4FGL_J2311.7+2604_daily_bin1290.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.60
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/695508/ft1_filtered_4FGL_J2311.7+2604_daily_bin1290.fits evtable="EVENTS" scfile=/scratch/kocevski/695508/ft2_4FGL_J2311.7+2604_daily_bin1290.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695508/Model_4FGL_J2311.7+2604_daily_bin1290.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/695508/ft1_filtered_4FGL_J2311.7+2604_daily_bin1290.fits.....................!
real 98.98
user 97.56
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.5791       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 '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.460       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7315       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8442       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17051E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .97734E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    .23926       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .71913       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.787       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    38.592       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4317       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81720       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=   9018.554     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2419 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.109       -.17008E-05** at limit **
   2  Prefactor     .10000E-03    3.6291        .35239E-07** at limit **
   3  norm          5.5791        1.4222        .98669E-08   -.15184E-03
   4  Prefactor     .10000E-03    12.642        .15803E-05** at limit **
   5  norm          .10000E-03    .79175        .18474E-07** at limit **
   6  Prefactor     .10000E-03    19.752        .28672E-05** at limit **
   7  Prefactor     20.459        13.053       -.51672E-07    .60771E-04
   8  Prefactor     1.7317        .24808        .43465E-09    .10235E-02
   9  Prefactor     3.8428        8.2183        .44491E-05   -.11844E-02
  10  Prefactor     .10000E-03    82.138        .36009E-05** at limit **
  11  Prefactor     .37845E-01    4.2242       -.15906E-06    .12971E-03
  12  norm          .23878        .83770        .55762E-06   -.92467E-03
  13  Prefactor     .10001E-03    14.191       -.49390E-05** at limit **
  14  Prefactor     .10000E-03    12.364       -.28010E-05** at limit **
  15  Prefactor     .69539        3.0598       -.76606E-06    .27618E-03
  16  norm          .10000E-03    2.4502       -.14278E-08** at limit **
  17  Prefactor     .10000E-03    12.936        .49412E-05** at limit **
  18  Prefactor     13.797        14.075        .32071E-05    .75985E-03
  19  Prefactor     .10000E-03    7.1864       -.76133E-08** at limit **
  20  Prefactor     38.587        35.567       -.10723E-05   -.14355E-03
  21  Normalizat    1.4318        .20322       -.80561E-06    .82869E-04
  22  Prefactor     .81724        .10395       -.20765E-06    .34662E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.57907
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 20.4587
  Prefactor  = 1.73171
  Prefactor  = 3.84279
  Prefactor  = 0.000100002
  Prefactor  = 0.0378446
  norm       = 0.238777
  Prefactor  = 0.000100005
  Prefactor  = 0.000100002
  Prefactor  = 0.695395
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 13.7975
  Prefactor  = 0.0001
  Prefactor  = 38.5865
  Normalizat = 1.43177
  Prefactor  = 0.817245
 **********
 **   18 **HESSE 
 **********

 FCN=   9018.554     FROM HESSE     STATUS=OK           348 CALLS     2767 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.6360        .17668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.5791        1.4233        .54957E-04   -1.5236    
   4  Prefactor     .10000E-03    12.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .81472        .16474E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.459        13.050        .88549E-04   -1.4803    
   8  Prefactor     1.7317        .24838        .17151E-04   -1.5445    
   9  Prefactor     3.8428        9.8288        .10292E-02   -1.5316    
  10  Prefactor     .10000E-03    84.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .37845E-01    7.0380        .64142E-01   -1.5669    
  12  norm          .23878        .82798        .15787E-03   -1.5610    
  13  Prefactor     .10001E-03    14.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .69539        14.094        .30315E-02   -1.5541    
  16  norm          .10000E-03    2.4891        .14509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.797        14.594        .10787E-03   -1.4965    
  19  Prefactor     .10000E-03    7.2053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     38.587        35.869        .64519E-04   -1.4465    
  21  Normalizat    1.4318        .24033        .30534E-03   -.79714    
  22  Prefactor     .81724        .12312        .20660E-03   -.99096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25556e-09
Minuit parameter uncertainties:
  1  0.000243203
  2  2.25272e-06
  3  1.42334
  4  0.000167232
  5  2.82512e-08
  6  0.000381106
  7  13.0522
  8  0.248377
  9  9.83292
  10  0.000893291
  11  1.03094
  12  0.828018
  13  0.000546568
  14  0.000288083
  15  6.26253
  16  3.51344e-06
  17  0.000498581
  18  14.5976
  19  1.02383e-06
  20  35.8891
  21  0.24052
  22  0.123164
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  5.466e-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:  8.172e-01  1.232e-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:  1.432e+00  2.405e-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: 7.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695508/likelihoodResults_573696001_573955201_4FGL_J2311.7+2604_daily_bin1290.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) = 9018.55467765
delta logL = -0.00032552288576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9018.55435212
delta logL = 7.52515916247e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4393       1.0000          .0000       10.000    
     3 'Normalizat'    1.4318       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81726       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.

 FCN=   9018.554     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1817.8        .90712E-02** at limit **
   2  Index         2.4500        7.5041        .50000       -.66759E-05
   3  Normalizat    1.4318        .72535E-01    .69017E-01    .39536E-04
   4  Prefactor     .81725        .38388E-01    .43941E-01    .63058E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.44999
  Normalizat = 1.43177
  Prefactor  = 0.817245
 **********
 **   18 **HESSE 
 **********

 FCN=   9018.554     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      242 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6279.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4500        6.1585        .50000       -.53519    
   3  Normalizat    1.4318        .10681        .30534E-03   -.79714    
   4  Prefactor     .81725        .56750E-01    .20660E-03   -.99096    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.20542e-09
Minuit parameter uncertainties:
  1  0.000403724
  2  59.4942
  3  0.106829
  4  0.0567541
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695508': 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) = 9018.55435209
delta logL = 3.18486854667e-08

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  4.037e-04  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.450e+00  5.949e+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:  8.172e-01  5.675e-02  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:  1.432e+00  1.068e-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/695508/cmap_HighResolution_573696001_573955201_4FGL_J2311.7+2604_daily_bin1290.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-03', job_status='DONE', photon_flux_upper_limit='7.98e-08', time_completed='2021-09-29 08:42:17.438495', job_id='695508', GAL2='0.82', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1632930137.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.18e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1290' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:42:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 695508: <4FGL_J2311.7+2604_daily_bin1290> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1290> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 08:25:58 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:25:59 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:25:59 2021
Terminated at Wed Sep 29 08:42:18 2021
Results reported at Wed Sep 29 08:42:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1290 347.931 26.0831 573696001 573955201 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 :                                   802.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

