/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 182 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 = 7658
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.7+2604_daily_bin68
RA = 347.931, Dec = 26.0831
tmin = 256953601, tmax = 257212801
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='688502', job_status='RUN', time_executed='2021-09-29 08:08:56.693051', time_epoch_executed='1632928136.69' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='68'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/688502

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/688502/ft1_4FGL_J2311.7+2604_daily_bin68.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/688502/ft2_4FGL_J2311.7+2604_daily_bin68.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/688502/ft1_4FGL_J2311.7+2604_daily_bin68.fits outfile=/scratch/kocevski/688502/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin68.fits ra=347.931 dec=26.0831 rad=12.0 tmin=256953601.0 tmax=257212801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 1.50
user 1.26
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/688502/ft1_filtered_4FGL_J2311.7+2604_daily_bin68.fits" evtable="EVENTS" scfile=/scratch/kocevski/688502/ft2_4FGL_J2311.7+2604_daily_bin68.fits sctable="SC_DATA" outfile=/scratch/kocevski/688502/ltcube_256953601_257212801_4FGL_J2311.7+2604_daily_bin68.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/688502/ft2_4FGL_J2311.7+2604_daily_bin68.fits
.....................!
real 13.48
user 13.05
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/688502/ft1_filtered_4FGL_J2311.7+2604_daily_bin68.fits evtable="EVENTS" scfile=/scratch/kocevski/688502/ft2_4FGL_J2311.7+2604_daily_bin68.fits sctable="SC_DATA" expcube=/scratch/kocevski/688502/ltcube_256953601_257212801_4FGL_J2311.7+2604_daily_bin68.fits outfile=/scratch/kocevski/688502/expmap_256953601_257212801_4FGL_J2311.7+2604_daily_bin68.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/688502/ltcube_256953601_257212801_4FGL_J2311.7+2604_daily_bin68.fits
.....................!
real 191.94
user 186.72
sys 4.68

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/688502/ft1_filtered_4FGL_J2311.7+2604_daily_bin68.fits scfile=/scratch/kocevski/688502/ft2_4FGL_J2311.7+2604_daily_bin68.fits outfile=/scratch/kocevski/688502/cmap_256953601_257212801_4FGL_J2311.7+2604_daily_bin68.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/688502/ft1_filtered_4FGL_J2311.7+2604_daily_bin68.fits scfile=/scratch/kocevski/688502/ft2_4FGL_J2311.7+2604_daily_bin68.fits outfile=/scratch/kocevski/688502/cmap_HighResolution_256953601_257212801_4FGL_J2311.7+2604_daily_bin68.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/688502/ft1_filtered_4FGL_J2311.7+2604_daily_bin68.fits evtable="EVENTS" scfile=/scratch/kocevski/688502/ft2_4FGL_J2311.7+2604_daily_bin68.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/688502/Model_4FGL_J2311.7+2604_daily_bin68.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/688502/ft1_filtered_4FGL_J2311.7+2604_daily_bin68.fits....................!
real 82.30
user 80.90
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.8975       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .20273E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    2.7159       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15348E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6224       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .21250E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.1055       1.0000         .10000E-03   10000.    
    12 'norm      '    .43156       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .45412       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0908       1.0000         .10000E-03   10000.    
    16 'norm      '    .61591       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10516E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .69952       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1343       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=   7383.918     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2087 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.870       -.14648E-04** at limit **
   2  Prefactor     .10000E-03    8.0578       -.27511E-06** at limit **
   3  norm          2.8965        1.3566        .23437E-07    .22670E-03
   4  Prefactor     .10005E-03    15.692       -.34028E-06** at limit **
   5  norm          2.7159        1.6835        .37364E-07    .26807E-04
   6  Prefactor     .10000E-03    145.85       -.13433E-04** at limit **
   7  Prefactor     3.6224        11.971       -.59073E-06   -.87311E-05
   8  Prefactor     .21077E-01    .77460E-01    .18498E-07    .11177E-03
   9  Prefactor     .10000E-03    7.6443        .13923E-06** at limit **
  10  Prefactor     .10000E-03    44.001       -.31767E-04** at limit **
  11  Prefactor     8.1072        7.7142        .15399E-06   -.50917E-04
  12  norm          .43180        1.0260        .12240E-06    .16992E-03
  13  Prefactor     .42500        8.8917        .30503E-06   -.62245E-04
  14  Prefactor     .10000E-03    13.077       -.50205E-06** at limit **
  15  Prefactor     1.0983        1.3052        .22439E-06   -.15287E-02
  16  norm          .61621        1.9468        .73059E-07   -.46147E-04
  17  Prefactor     .10000E-03    3.4655        .54098E-07** at limit **
  18  Prefactor     .10000E-03    31.264        .16912E-04** at limit **
  19  Prefactor     .10000E-03    10.086        .38767E-06** at limit **
  20  Prefactor     .10000E-03    53.568        .39132E-04** at limit **
  21  Normalizat    .69945        .19312       -.75302E-06   -.16613E-03
  22  Prefactor     1.1343        .10795        .53650E-08   -.20319E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.89647
  Prefactor  = 0.00010005
  norm       = 2.71592
  Prefactor  = 0.0001
  Prefactor  = 3.62241
  Prefactor  = 0.0210774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.10716
  norm       = 0.431802
  Prefactor  = 0.425001
  Prefactor  = 0.0001
  Prefactor  = 1.09826
  norm       = 0.616207
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 0.699445
  Prefactor  = 1.1343
 **********
 **   18 **HESSE 
 **********

 FCN=   7383.918     FROM HESSE     STATUS=OK           348 CALLS     2435 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.1065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.8965        1.3107        .63329E-04   -1.5368    
   4  Prefactor     .10005E-03    142.15        .63371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.7159        1.6800        .83248E-04   -1.5378    
   6  Prefactor     .10000E-03    147.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6224        11.902        .21228E-03   -1.5327    
   8  Prefactor     .21077E-01    .14058        .42784E-03   -1.5679    
   9  Prefactor     .10000E-03    7.7067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    44.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.1072        7.6622        .14083E-03   -1.5138    
  12  norm          .43180        1.0031        .12832E-03   -1.5577    
  13  Prefactor     .42500        73.890        .49272E-02   -1.5578    
  14  Prefactor     .10000E-03    13.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.0983        9.2068        .22896E-02   -1.5498    
  16  norm          .61621        1.9466        .20675E-03   -1.5551    
  17  Prefactor     .10000E-03    3.4732        .15621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    31.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    54.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .69945        .22079        .36068E-03   -1.0391    
  22  Prefactor     1.1343        .12225        .16494E-03   -.88378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69499e-08
Minuit parameter uncertainties:
  1  6.8686e-06
  2  5.50891e-06
  3  1.3107
  4  0.00534222
  5  1.68004
  6  0.000225173
  7  11.9099
  8  0.10861
  9  6.26454e-06
  10  0.000158964
  11  7.66312
  12  1.00318
  13  11.2205
  14  2.96732e-06
  15  6.36076
  16  1.94677
  17  1.78058e-07
  18  0.000134644
  19  1.42955e-06
  20  0.000663403
  21  0.221066
  22  0.122276
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.250e-01  1.122e+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.134e+00  1.223e-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:  6.994e-01  2.211e-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.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/688502/likelihoodResults_256953601_257212801_4FGL_J2311.7+2604_daily_bin68.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) = 7383.91378201
delta logL = 0.00388972419933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7383.90290802
delta logL = 0.0147637094287

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7643       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9860       1.0000          .0000       10.000    
     3 'Normalizat'    .70015       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1329       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=   7383.903     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      279 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7606        26.367        .24480E-03    .22830E-03
   2  Index         1.9906        1.7608        .15391E-01    .13174E-03
   3  Normalizat    .70013        .21023        .36052E-03   -.41449E-03
   4  Prefactor     1.1330        .12106        .16502E-03   -.11696E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76057
  Index      = 1.99059
  Normalizat = 0.700132
  Prefactor  = 1.133
 **********
 **   18 **HESSE 
 **********

 FCN=   7383.903     FROM HESSE     STATUS=OK            23 CALLS      302 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7606        25.005        .97921E-05   -1.5376    
   2  Index         1.9906        1.7192        .61565E-03   -.64585    
   3  Normalizat    .70013        .21032        .14421E-04   -1.0389    
   4  Prefactor     1.1330        .12110        .33004E-04   -.88419    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.16269e-09
Minuit parameter uncertainties:
  1  16.6257
  2  1.77729
  3  0.21056
  4  0.121133
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/688502': 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) = 7383.90290401
delta logL = 0.0147677231316

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.133e+00  1.211e-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.001e-01  2.106e-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/688502/cmap_HighResolution_256953601_257212801_4FGL_J2311.7+2604_daily_bin68.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.55e-03', job_status='DONE', photon_flux_upper_limit='7.17e-08', time_completed='2021-09-29 08:20:06.349835', job_id='688502', GAL2='1.13', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1632928806.35', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.48e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='68' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:20:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 688502: <4FGL_J2311.7+2604_daily_bin68> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin68> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 08:05:43 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:05:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 08:05:45 2021
Terminated at Wed Sep 29 08:20:07 2021
Results reported at Wed Sep 29 08:20:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin68 347.931 26.0831 256953601 257212801 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 :                                   668.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            864 sec.

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

