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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin630
RA = 347.766, Dec = 2.0995
tmin = 402624001, tmax = 402883201
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='676664', job_status='RUN', time_executed='2021-09-29 07:33:59.956480', time_epoch_executed='1632926039.96' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676664

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676664/ft1_4FGL_J2311.0+0205_daily_bin630.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676664/ft2_4FGL_J2311.0+0205_daily_bin630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676664/ft1_4FGL_J2311.0+0205_daily_bin630.fits outfile=/scratch/kocevski/676664/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin630.fits ra=347.766 dec=2.0995 rad=12.0 tmin=402624001.0 tmax=402883201.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.61
user 3.36
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/676664/ft2_4FGL_J2311.0+0205_daily_bin630.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/676664/ft2_4FGL_J2311.0+0205_daily_bin630.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/676664/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin630.fits evtable="EVENTS" outfile="/scratch/kocevski/676664/ft1_filtered_4FGL_J2311.0+0205_daily_bin630.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676664/ft1_filtered_4FGL_J2311.0+0205_daily_bin630.fits" evtable="EVENTS" scfile=/scratch/kocevski/676664/ft2_4FGL_J2311.0+0205_daily_bin630.fits sctable="SC_DATA" outfile=/scratch/kocevski/676664/ltcube_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.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/676664/ft2_4FGL_J2311.0+0205_daily_bin630.fits
.....................!
real 11.93
user 11.42
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676664/ft1_filtered_4FGL_J2311.0+0205_daily_bin630.fits evtable="EVENTS" scfile=/scratch/kocevski/676664/ft2_4FGL_J2311.0+0205_daily_bin630.fits sctable="SC_DATA" expcube=/scratch/kocevski/676664/ltcube_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.fits outfile=/scratch/kocevski/676664/expmap_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.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/676664/ltcube_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.fits
.....................!
real 190.62
user 184.81
sys 5.19

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.0+0205 @ 347.766 2.0995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/676664/ft1_filtered_4FGL_J2311.0+0205_daily_bin630.fits scfile=/scratch/kocevski/676664/ft2_4FGL_J2311.0+0205_daily_bin630.fits outfile=/scratch/kocevski/676664/cmap_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.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.766 yref=2.0995 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676664/ft1_filtered_4FGL_J2311.0+0205_daily_bin630.fits scfile=/scratch/kocevski/676664/ft2_4FGL_J2311.0+0205_daily_bin630.fits outfile=/scratch/kocevski/676664/cmap_HighResolution_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.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.766 yref=2.0995 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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/676664/ft1_filtered_4FGL_J2311.0+0205_daily_bin630.fits evtable="EVENTS" scfile=/scratch/kocevski/676664/ft2_4FGL_J2311.0+0205_daily_bin630.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/676664/Model_4FGL_J2311.0+0205_daily_bin630.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/676664/ft1_filtered_4FGL_J2311.0+0205_daily_bin630.fits.....................!
real 62.64
user 60.63
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/676664/ft1_filtered_4FGL_J2311.0+0205_daily_bin630.fits', '/scratch/kocevski/676664/ft2_4FGL_J2311.0+0205_daily_bin630.fits', expMap='/scratch/kocevski/676664/expmap_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.fits', expCube='/scratch/kocevski/676664/ltcube_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/676664/Model_4FGL_J2311.0+0205_daily_bin630.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.0+0205'

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.504e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/676664/ft1_filtered_4FGL_J2311.0+0205_daily_bin630.fits
Spacecraft file(s): /scratch/kocevski/676664/ft2_4FGL_J2311.0+0205_daily_bin630.fits
Exposure map: /scratch/kocevski/676664/expmap_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.fits
Exposure cube: /scratch/kocevski/676664/ltcube_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/676664/Model_4FGL_J2311.0+0205_daily_bin630.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) = 6077.37958408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72163       1.0000         .10000E-03   10000.    
     2 'norm      '    5.1091       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.737       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .29667E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13256E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.4444       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7739       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.839       1.0000         .10000E-03   10000.    
    12 'norm      '    15.996       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1409       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.971       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9692       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.5562       1.0000         .10000E-03   10000.    
    20 'Prefactor '    41.526       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9737       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .43663       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1454       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+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=   6077.363     FROM MIGRAD    STATUS=CONVERGED    923 CALLS     3341 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72101        9.4650        .46344E-03    .15506E-03
   2  norm          5.1124        12.082        .17787E-03   -.41097E-04
   3  Prefactor     .10000E-03    10.084        .18142E-02** at limit **
   4  Prefactor     .10000E-03    3.1598        .13528E-02** at limit **
   5  Prefactor     20.743        20.657        .43978E-03    .29987E-05
   6  Prefactor     .10058E-03    64.857        .16370    ** at limit **
   7  Prefactor     .10000E-03    32.018        .38510E-02** at limit **
   8  norm          .10000E-03    .49878        .86658E-03** at limit **
   9  norm          6.4385        5.7826        .15810E-03   -.24291E-03
  10  Prefactor     1.7751        6.8981        .31436E-03    .37250E-04
  11  Prefactor     23.827        63.271        .82041E-04   -.34089E-04
  12  norm          15.995        10.263        .10014E-03    .18278E-04
  13  Prefactor     2.1440        7.2346        .14084E-02    .14071E-02
  14  Prefactor     .10000E-03    81.809        .18142E-02** at limit **
  15  Prefactor     13.965        16.251        .10716E-03   -.34342E-03
  16  Prefactor     3.9731        27.574        .10123E-02    .85185E-04
  17  norm          .10000E-03    18.615        .18142E-02** at limit **
  18  Prefactor     .10000E-03    44.851        .18142E-02** at limit **
  19  Prefactor     3.5601        6.8601        .10647E-02    .10638E-02
  20  Prefactor     41.533        46.771        .62207E-04   -.49344E-05
  21  Prefactor     2.9780        21.630        .23545E-03   -.61226E-04
  22  Normalizat    .43638        .24524        .42098E-03   -.70592E-04
  23  Prefactor     1.1454        .15092        .17650E-03   -.22618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.721008
  norm       = 5.11244
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.7426
  Prefactor  = 0.000100578
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 6.43853
  Prefactor  = 1.77507
  Prefactor  = 23.8273
  norm       = 15.9947
  Prefactor  = 2.14399
  Prefactor  = 0.0001
  Prefactor  = 13.965
  Prefactor  = 3.97315
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.56013
  Prefactor  = 41.533
  Prefactor  = 2.97801
  Normalizat = 0.436379
  Prefactor  = 1.14542
 **********
 **   18 **HESSE 
 **********

 FCN=   6077.363     FROM HESSE     STATUS=OK           356 CALLS     3697 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72101        9.4638        .18538E-04   -1.5538    
   2  norm          5.1124        12.080        .71150E-05   -1.5256    
   3  Prefactor     .10000E-03    10.085        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.1598        .27056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.743        20.655        .17591E-04   -1.4797    
   6  Prefactor     .10058E-03    67.981        .15859       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.196        .77020E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .49933        .17332E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.4385        5.7825        .63240E-05   -1.5200    
  10  Prefactor     1.7751        6.8957        .12574E-04   -1.5441    
  11  Prefactor     23.827        63.311        .32816E-05   -1.4731    
  12  norm          15.995        10.225        .40057E-05   -1.4908    
  13  Prefactor     2.1440        7.2040        .56337E-04   -1.5415    
  14  Prefactor     .10000E-03    81.809        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.965        16.191        .42864E-05   -1.4960    
  16  Prefactor     3.9731        27.504        .40491E-04   -1.5309    
  17  norm          .10000E-03    18.615        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    44.853        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5601        6.8281        .42586E-04   -1.5331    
  20  Prefactor     41.533        46.781        .24883E-05   -1.4418    
  21  Prefactor     2.9780        21.629        .94180E-05   -1.5363    
  22  Normalizat    .43638        .24515        .16839E-04   -1.1546    
  23  Prefactor     1.1454        .15093        .35301E-04   -.88028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.83431e-09
Minuit parameter uncertainties:
  1  5.22502
  2  12.0858
  3  8.71705e-07
  4  1.95228e-06
  5  20.6621
  6  0.012555
  7  0.00058205
  8  1.89312e-05
  9  5.78296
  10  6.89876
  11  63.4905
  12  10.2266
  13  7.20688
  14  0.000343372
  15  16.1962
  16  20.9209
  17  7.57169e-05
  18  0.000168411
  19  6.82957
  20  46.8221
  21  16.0593
  22  0.245758
  23  0.150988
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.074e+01  2.066e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.145e+00  1.510e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  4.364e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.45
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.89e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 1.79e-05

TS (Fixed Index): 1.45
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/676664/likelihoodResults_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.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) = 6076.9050512
delta logL = 0.457765042719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6076.88843186
delta logL = 0.474384380152

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.082       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8419       1.0000          .0000       10.000    
     3 'Normalizat'    .39842       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1583       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6076.888     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      250 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.072        221.00        .28812E-02    .99798E-04
   2  Index         2.8422        3.4778        .11651        .14661E-03
   3  Normalizat    .39838        .87108E-01    .99252E-01    .41104E-04
   4  Prefactor     1.1583        .50134E-01    .35701E-01   -.15208E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0719
  Index      = 2.84221
  Normalizat = 0.398379
  Prefactor  = 1.15829
 **********
 **   18 **HESSE 
 **********

 FCN=   6076.888     FROM HESSE     STATUS=OK            31 CALLS      281 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.072        19.081        .11525E-03   -1.5013    
   2  Index         2.8422        .86142        .57107E-02   -.44622    
   3  Normalizat    .39838        .22899        .43982E-03   -1.1739    
   4  Prefactor     1.1583        .14919        .17558E-03   -.87625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40174e-11
Minuit parameter uncertainties:
  1  19.0905
  2  0.866741
  3  0.22953
  4  0.149247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676664': 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) = 6076.88843165
delta logL = 0.474384584422

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.207e+01  1.909e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.842e+00  8.667e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.158e+00  1.492e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  3.984e-01  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.55
Ra Dec: 347.766 2.099
Photon Index (Free Index): 2.84 +/- 0.87
Photon Flux (Free Index): 7.40e-08 +/- 6.06e-08
Energy Flux (Free Index): 1.61e-05 +/- 1.30e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/676664/cmap_HighResolution_402624001_402883201_4FGL_J2311.0+0205_daily_bin630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.36e-03', comment='SUCCESS', photon_flux='3.89e-08', energy_flux2='1.61e-05', photon_flux_error='3.88e-08', dlogl='4.74e-01', energy_flux='1.80e-05', photon_flux2='7.40e-08', job_status='DONE', time_completed='2021-09-29 07:45:16.342958', photon_index_error2='0.87', photon_index2='2.84', ts='1.45', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='1.23e-07', energy_flux_error2='1.30e-05', EG='0.44', time_epoch_completed='1632926716.34', return_code='0', job_id='676664', GAL2='1.16', EG2='0.40', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='6.06e-08', ts2='2.55', photon_index='2.19' WHERE bin_id='630' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:45:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 676664: <4FGL_J2311.0+0205_daily_bin630> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin630> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:30:18 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:30:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:30:19 2021
Terminated at Wed Sep 29 07:45:17 2021
Results reported at Wed Sep 29 07:45:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin630 347.766 2.0995 402624001 402883201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+0205 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   670.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            899 sec.

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

