/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 9 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 = 7397
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2311.0+0205_daily_bin183
RA = 347.766, Dec = 2.0995
tmin = 286761601, tmax = 287020801
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='672974', job_status='RUN', time_executed='2021-09-29 07:16:02.299801', time_epoch_executed='1632924962.3' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='183'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672974

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672974/ft1_4FGL_J2311.0+0205_daily_bin183.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672974/ft2_4FGL_J2311.0+0205_daily_bin183.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672974/ft1_4FGL_J2311.0+0205_daily_bin183.fits outfile=/scratch/kocevski/672974/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin183.fits ra=347.766 dec=2.0995 rad=12.0 tmin=286761601.0 tmax=287020801.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.69
user 3.46
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672974/ft1_filtered_4FGL_J2311.0+0205_daily_bin183.fits" evtable="EVENTS" scfile=/scratch/kocevski/672974/ft2_4FGL_J2311.0+0205_daily_bin183.fits sctable="SC_DATA" outfile=/scratch/kocevski/672974/ltcube_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.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/672974/ft2_4FGL_J2311.0+0205_daily_bin183.fits
.....................!
real 11.86
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672974/ft1_filtered_4FGL_J2311.0+0205_daily_bin183.fits evtable="EVENTS" scfile=/scratch/kocevski/672974/ft2_4FGL_J2311.0+0205_daily_bin183.fits sctable="SC_DATA" expcube=/scratch/kocevski/672974/ltcube_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.fits outfile=/scratch/kocevski/672974/expmap_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.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/672974/ltcube_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.fits
.....................!
real 193.65
user 187.66
sys 5.65

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/672974/ft1_filtered_4FGL_J2311.0+0205_daily_bin183.fits scfile=/scratch/kocevski/672974/ft2_4FGL_J2311.0+0205_daily_bin183.fits outfile=/scratch/kocevski/672974/cmap_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672974/ft1_filtered_4FGL_J2311.0+0205_daily_bin183.fits scfile=/scratch/kocevski/672974/ft2_4FGL_J2311.0+0205_daily_bin183.fits outfile=/scratch/kocevski/672974/cmap_HighResolution_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.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.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/672974/ft1_filtered_4FGL_J2311.0+0205_daily_bin183.fits', '/scratch/kocevski/672974/ft2_4FGL_J2311.0+0205_daily_bin183.fits', expMap='/scratch/kocevski/672974/expmap_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.fits', expCube='/scratch/kocevski/672974/ltcube_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/672974/Model_4FGL_J2311.0+0205_daily_bin183.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/672974/ft1_filtered_4FGL_J2311.0+0205_daily_bin183.fits
Spacecraft file(s): /scratch/kocevski/672974/ft2_4FGL_J2311.0+0205_daily_bin183.fits
Exposure map: /scratch/kocevski/672974/expmap_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.fits
Exposure cube: /scratch/kocevski/672974/ltcube_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/672974/Model_4FGL_J2311.0+0205_daily_bin183.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) = 7266.4680055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36646E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .82138       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.823       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.896       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.597       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10437E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    30.976       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0464       1.0000         .10000E-03   10000.    
    14 'Prefactor '    128.56       1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.445       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11197E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5621       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.5139       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .29602       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2967       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.

 FCN=   7266.452     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2617 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    5.7741       -.13895E-05** at limit **
   2  norm          .82176        16.152        .83963E-05   -.95581E-04
   3  Prefactor     36.822        30.180       -.63582E-06   -.13494E-04
   4  Prefactor     .10000E-03    7.0605       -.11435E-06** at limit **
   5  Prefactor     .10000E-03    6.8662       -.11035E-06** at limit **
   6  Prefactor     24.812        76.683        .19653E-05   -.24494E-04
   7  Prefactor     15.602        15.257       -.70738E-06   -.31194E-04
   8  norm          .10000E-03    .31920        .49308E-07** at limit **
   9  norm          .10000E-03    3.1769       -.61529E-06** at limit **
  10  Prefactor     .10000E-03    3.6522       -.43171E-08** at limit **
  11  Prefactor     .10000E-03    28.694       -.49223E-06** at limit **
  12  norm          30.979        12.668       -.24475E-06    .18397E-04
  13  Prefactor     4.0454        8.7089       -.13481E-06   -.38387E-04
  14  Prefactor     128.59        197.31       -.58291E-06   -.48679E-05
  15  Prefactor     32.447        15.125       -.21929E-05   -.97109E-04
  16  Prefactor     .10000E-03    12.821       -.11620E-06** at limit **
  17  norm          .10003E-03    22.800        .30882E-05** at limit **
  18  Prefactor     .10000E-03    16.064       -.94284E-07** at limit **
  19  Prefactor     1.5592        4.6986       -.53553E-06   -.11692E-03
  20  Prefactor     .10000E-03    27.355        .29402E-06** at limit **
  21  Prefactor     7.5035        19.760       -.85857E-06   -.52435E-04
  22  Normalizat    .29589        .23925        .97941E-05   -.48828E-04
  23  Prefactor     1.2968        .15064       -.32903E-05   -.20157E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100012
  norm       = 0.821759
  Prefactor  = 36.8217
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.8124
  Prefactor  = 15.6017
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 30.9792
  Prefactor  = 4.04538
  Prefactor  = 128.586
  Prefactor  = 32.4465
  Prefactor  = 0.0001
  norm       = 0.000100025
  Prefactor  = 0.0001
  Prefactor  = 1.55923
  Prefactor  = 0.0001
  Prefactor  = 7.5035
  Normalizat = 0.295891
  Prefactor  = 1.29683
 **********
 **   18 **HESSE 
 **********

 FCN=   7266.452     FROM HESSE     STATUS=OK           380 CALLS     2997 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    16.726        .38132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .82176        6.9774        .68397E-01   -1.5527    
   3  Prefactor     36.822        30.091        .66045E-04   -1.4494    
   4  Prefactor     .10000E-03    7.0912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.8923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.812        76.542        .80283E-04   -1.4711    
   7  Prefactor     15.602        15.216        .10141E-03   -1.4918    
   8  norm          .10000E-03    .54270        .91236E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.1649        .14712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.6586        .15905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          30.979        12.515        .71991E-04   -1.4594    
  13  Prefactor     4.0454        8.6058        .20045E-03   -1.5306    
  14  Prefactor     128.59        195.67        .35507E-04   -1.3435    
  15  Prefactor     32.447        14.704        .70347E-04   -1.4568    
  16  Prefactor     .10000E-03    12.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10003E-03    176.70        .69715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.5592        4.4867        .25727E-03   -1.5458    
  20  Prefactor     .10000E-03    27.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.5035        19.735        .14631E-03   -1.5160    
  22  Normalizat    .29589        .22575        .51242E-03   -1.2308    
  23  Prefactor     1.2968        .14433        .17448E-03   -.83401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32993e-09
Minuit parameter uncertainties:
  1  0.000912431
  2  4.7895
  3  30.1033
  4  5.09415e-09
  5  3.74544e-06
  6  76.8469
  7  15.2194
  8  9.74874e-06
  9  0.000115086
  10  2.65855e-07
  11  5.68961e-06
  12  12.5157
  13  8.60845
  14  196.667
  15  14.7052
  16  4.42664e-05
  17  0.00425588
  18  5.1125e-06
  19  4.48763
  20  0.000125909
  21  19.7523
  22  0.226451
  23  0.144373
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.745e-06  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.297e+00  1.444e-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:  2.959e-01  2.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 5.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672974/likelihoodResults_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.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) = 7266.45304835
delta logL = -0.000690259166731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7266.45235808
delta logL = 1.08593667392e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1970       1.0000          .0000       10.000    
     3 'Normalizat'    .29587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2968       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=   7266.452     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1262.3        .18142E-02** at limit **
   2  Index         2.2082        6.0327        .50000       -.13772E-04
   3  Normalizat    .29589        .94135E-01    .51240E-03    .16640E-05
   4  Prefactor     1.2968        .64864E-01    .17448E-03    .99692E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.20818
  Normalizat = 0.29589
  Prefactor  = 1.29683
 **********
 **   18 **HESSE 
 **********

 FCN=   7266.452     FROM HESSE     STATUS=OK            29 CALLS      272 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.8632        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2082        6.0949        .50000       -.59241    
   3  Normalizat    .29589        .20388        .20496E-04   -1.2308    
   4  Prefactor     1.2968        .14077        .69792E-05   -.83401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84299e-10
Minuit parameter uncertainties:
  1  0.000205275
  2  4.4144
  3  0.20439
  4  0.140816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672974': 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) = 7266.45235801
delta logL = 7.17755028745e-08

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.053e-04  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.208e+00  4.414e+00  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.297e+00  1.408e-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:  2.959e-01  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

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/672974/cmap_HighResolution_286761601_287020801_4FGL_J2311.0+0205_daily_bin183.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.05e-08', time_completed='2021-09-29 07:27:55.324139', job_id='672974', GAL2='1.30', fit_tolerance='1e-08', EG2='0.30', EG='0.30', time_epoch_completed='1632925675.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='7.18e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='183' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:27:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 672974: <4FGL_J2311.0+0205_daily_bin183> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin183> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:15:43 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:15: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 07:15:45 2021
Terminated at Wed Sep 29 07:27:56 2021
Results reported at Wed Sep 29 07:27:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin183 347.766 2.0995 286761601 287020801 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 :                                   708.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            733 sec.

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

