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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1645
RA = 347.931, Dec = 26.0831
tmin = 665712001, tmax = 665971201
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='630690', job_status='RUN', time_executed='2022-02-08 00:43:38.142573', time_epoch_executed='1644309818.14' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1645'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/630690

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/630690/ft1_4FGL_J2311.7+2604_daily_bin1645.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/630690/ft2_4FGL_J2311.7+2604_daily_bin1645.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/630690/ft1_4FGL_J2311.7+2604_daily_bin1645.fits outfile=/scratch/kocevski/630690/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1645.fits ra=347.931 dec=26.0831 rad=12.0 tmin=665712001.0 tmax=665971201.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.59
user 3.36
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/630690/ft1_filtered_4FGL_J2311.7+2604_daily_bin1645.fits" evtable="EVENTS" scfile=/scratch/kocevski/630690/ft2_4FGL_J2311.7+2604_daily_bin1645.fits sctable="SC_DATA" outfile=/scratch/kocevski/630690/ltcube_665712001_665971201_4FGL_J2311.7+2604_daily_bin1645.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/630690/ft2_4FGL_J2311.7+2604_daily_bin1645.fits
.....................!
real 12.46
user 12.09
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/630690/ft1_filtered_4FGL_J2311.7+2604_daily_bin1645.fits evtable="EVENTS" scfile=/scratch/kocevski/630690/ft2_4FGL_J2311.7+2604_daily_bin1645.fits sctable="SC_DATA" expcube=/scratch/kocevski/630690/ltcube_665712001_665971201_4FGL_J2311.7+2604_daily_bin1645.fits outfile=/scratch/kocevski/630690/expmap_665712001_665971201_4FGL_J2311.7+2604_daily_bin1645.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/630690/ltcube_665712001_665971201_4FGL_J2311.7+2604_daily_bin1645.fits
.....................!
real 193.04
user 186.46
sys 6.00

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/630690/ft1_filtered_4FGL_J2311.7+2604_daily_bin1645.fits scfile=/scratch/kocevski/630690/ft2_4FGL_J2311.7+2604_daily_bin1645.fits outfile=/scratch/kocevski/630690/cmap_665712001_665971201_4FGL_J2311.7+2604_daily_bin1645.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.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/630690/ft1_filtered_4FGL_J2311.7+2604_daily_bin1645.fits scfile=/scratch/kocevski/630690/ft2_4FGL_J2311.7+2604_daily_bin1645.fits outfile=/scratch/kocevski/630690/cmap_HighResolution_665712001_665971201_4FGL_J2311.7+2604_daily_bin1645.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.534       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.0396       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.4344       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.221       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.429       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .80108       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.9837       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.580       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10548E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.518       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.9290       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.895       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4008       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83266       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=   8577.574     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2323 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.488        63.855       -.65522E-04    .61798E-05
   2  Prefactor     .10000E-03    3.9287        .13848E-05** at limit **
   3  norm          3.0397        1.2320       -.77334E-07    .45317E-03
   4  Prefactor     .10000E-03    8.7937       -.62023E-05** at limit **
   5  norm          3.4344        1.7196       -.75561E-07    .13975E-03
   6  Prefactor     14.213        23.373       -.12568E-04   -.89327E-05
   7  Prefactor     15.429        11.280       -.12848E-05    .10800E-04
   8  Prefactor     .80114        .18869       -.76378E-07    .48944E-03
   9  Prefactor     .10000E-03    6.7653        .52324E-05** at limit **
  10  Prefactor     .10000E-03    12.502        .51961E-05** at limit **
  11  Prefactor     .10000E-03    2.8499       -.28026E-06** at limit **
  12  norm          2.9835        1.4676       -.44669E-06   -.11869E-03
  13  Prefactor     32.580        21.815       -.62762E-06    .70101E-04
  14  Prefactor     .10000E-03    7.7545       -.27191E-05** at limit **
  15  Prefactor     .10000E-03    4.4535        .85904E-09** at limit **
  16  norm          .10000E-03    1.4847        .32288E-07** at limit **
  17  Prefactor     17.519        15.276        .12915E-05    .15681E-03
  18  Prefactor     .10000E-03    4.2963       -.29390E-05** at limit **
  19  Prefactor     7.9291        11.261        .83823E-06   -.36211E-03
  20  Prefactor     10.835        40.046       -.15794E-03    .52499E-04
  21  Normalizat    1.4006        .21361        .13040E-04   -.31634E-03
  22  Prefactor     .83277        .10708        .41463E-06    .76696E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.4876
  Prefactor  = 0.0001
  norm       = 3.0397
  Prefactor  = 0.0001
  norm       = 3.43438
  Prefactor  = 14.2134
  Prefactor  = 15.4286
  Prefactor  = 0.801144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.98348
  Prefactor  = 32.5803
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 17.519
  Prefactor  = 0.0001
  Prefactor  = 7.92908
  Prefactor  = 10.835
  Normalizat = 1.40064
  Prefactor  = 0.83277
 **********
 **   18 **HESSE 
 **********

 FCN=   8577.574     FROM HESSE     STATUS=OK           342 CALLS     2665 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.488        63.885        .29708E-03   -1.4358    
   2  Prefactor     .10000E-03    3.9324        .17928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.0397        1.2310        .62776E-04   -1.5359    
   4  Prefactor     .10000E-03    8.8218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.4344        1.7207        .83036E-04   -1.5337    
   6  Prefactor     14.213        23.393        .10621E-03   -1.4954    
   7  Prefactor     15.429        11.288        .10197E-03   -1.4922    
   8  Prefactor     .80114        .18853        .18796E-04   -1.5529    
   9  Prefactor     .10000E-03    6.8241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.8595        .15268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.9835        1.4645        .75183E-04   -1.5362    
  13  Prefactor     32.580        21.851        .70201E-04   -1.4566    
  14  Prefactor     .10000E-03    7.7602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.5549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.4881        .11006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.519        15.295        .95691E-04   -1.4871    
  18  Prefactor     .10000E-03    4.2984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.9291        11.257        .71197E-03   -1.5145    
  20  Prefactor     10.835        40.140        .12138E-03   -1.5050    
  21  Normalizat    1.4006        .25333        .31222E-03   -.80610    
  22  Prefactor     .83277        .12712        .20437E-03   -.98531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88688e-09
Minuit parameter uncertainties:
  1  63.9812
  2  9.80577e-06
  3  1.23096
  4  3.36757e-05
  5  1.7207
  6  23.4081
  7  11.2899
  8  0.18853
  9  8.79619e-05
  10  5.08227e-05
  11  1.90618e-05
  12  1.46449
  13  21.8564
  14  3.0072e-05
  15  0.000101022
  16  8.58717e-06
  17  15.298
  18  1.97027e-05
  19  11.26
  20  40.2401
  21  0.253562
  22  0.127162
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  3.258e+01  2.186e+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:  8.328e-01  1.272e-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.401e+00  2.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.94
Ra Dec: 347.931 26.083
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 6.32e-08 +/- 4.24e-08
Energy Flux (Fixed Index): 2.00e-05 +/- 1.34e-05

TS (Fixed Index): 3.94
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 1.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.19e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/630690/likelihoodResults_665712001_665971201_4FGL_J2311.7+2604_daily_bin1645.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8577.49851123
delta logL = 0.0757194265916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8577.49621663
delta logL = 0.0780140268726

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.709       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6524       1.0000          .0000       10.000    
     3 'Normalizat'    1.3866       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83712       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=   8577.496     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      296 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.712        25.939        .77515E-04   -.30037E-03
   2  Index         2.6526        .62590        .68400E-02   -.40006E-04
   3  Normalizat    1.3866        .24674        .31351E-03    .55699E-04
   4  Prefactor     .83711        .12733        .20388E-03    .60556E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.7118
  Index      = 2.65258
  Normalizat = 1.3866
  Prefactor  = 0.837107
 **********
 **   18 **HESSE 
 **********

 FCN=   8577.496     FROM HESSE     STATUS=OK            25 CALLS      321 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.712        24.012        .15503E-04   -1.4674    
   2  Index         2.6526        .57904        .27360E-03   -.48871    
   3  Normalizat    1.3866        .24668        .12540E-04   -.81017    
   4  Prefactor     .83711        .12734        .81554E-05   -.98375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13274e-10
Minuit parameter uncertainties:
  1  24.0202
  2  0.58071
  3  0.24689
  4  0.127388
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/630690': 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) = 8577.49621645
delta logL = 0.0780142114199

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.671e+01  2.402e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.653e+00  5.807e-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.371e-01  1.274e-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.387e+00  2.469e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.09
Ra Dec: 347.931 26.083
Photon Index (Free Index): 2.65 +/- 0.58
Photon Flux (Free Index): 7.52e-08 +/- 5.52e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.23e-05

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/630690/cmap_HighResolution_665712001_665971201_4FGL_J2311.7+2604_daily_bin1645.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-02', comment='SUCCESS', photon_flux='6.32e-08', energy_flux2='1.88e-05', photon_flux_error='4.24e-08', dlogl='7.80e-02', energy_flux='2.00e-05', photon_flux2='7.52e-08', job_status='DONE', time_completed='2022-02-08 00:56:14.216705', photon_index_error2='0.58', photon_index2='2.65', ts='3.94', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.53e-07', energy_flux_error2='1.23e-05', EG='1.40', time_epoch_completed='1644310574.22', return_code='0', job_id='630690', GAL2='0.84', EG2='1.39', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='5.52e-08', ts2='4.09', photon_index='2.43' WHERE bin_id='1645' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb  8 00:56:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 630690: <4FGL_J2311.7+2604_daily_bin1645> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1645> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Feb  8 00:40:22 2022
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  8 00:40:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  8 00:40:24 2022
Terminated at Tue Feb  8 00:56:14 2022
Results reported at Tue Feb  8 00:56:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1645 347.931 26.0831 665712001 665971201 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 :                                   758.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            952 sec.

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

