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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin50
RA = 347.766, Dec = 2.0995
tmin = 252288001, tmax = 252547201
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='672780', job_status='RUN', time_executed='2021-09-29 07:19:26.993144', time_epoch_executed='1632925166.99' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='50'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672780

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672780/ft1_4FGL_J2311.0+0205_daily_bin50.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672780/ft2_4FGL_J2311.0+0205_daily_bin50.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672780/ft1_4FGL_J2311.0+0205_daily_bin50.fits outfile=/scratch/kocevski/672780/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin50.fits ra=347.766 dec=2.0995 rad=12.0 tmin=252288001.0 tmax=252547201.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 2.55
user 2.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/672780/ft2_4FGL_J2311.0+0205_daily_bin50.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/672780/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin50.fits evtable="EVENTS" outfile="/scratch/kocevski/672780/ft1_filtered_4FGL_J2311.0+0205_daily_bin50.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.49
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672780/ft1_filtered_4FGL_J2311.0+0205_daily_bin50.fits evtable="EVENTS" scfile=/scratch/kocevski/672780/ft2_4FGL_J2311.0+0205_daily_bin50.fits sctable="SC_DATA" expcube=/scratch/kocevski/672780/ltcube_252288001_252547201_4FGL_J2311.0+0205_daily_bin50.fits outfile=/scratch/kocevski/672780/expmap_252288001_252547201_4FGL_J2311.0+0205_daily_bin50.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/672780/ltcube_252288001_252547201_4FGL_J2311.0+0205_daily_bin50.fits
.....................!
real 190.32
user 184.90
sys 5.10

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/672780/ft1_filtered_4FGL_J2311.0+0205_daily_bin50.fits scfile=/scratch/kocevski/672780/ft2_4FGL_J2311.0+0205_daily_bin50.fits outfile=/scratch/kocevski/672780/cmap_252288001_252547201_4FGL_J2311.0+0205_daily_bin50.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672780/ft1_filtered_4FGL_J2311.0+0205_daily_bin50.fits scfile=/scratch/kocevski/672780/ft2_4FGL_J2311.0+0205_daily_bin50.fits outfile=/scratch/kocevski/672780/cmap_HighResolution_252288001_252547201_4FGL_J2311.0+0205_daily_bin50.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    5.9402       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9120       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1950       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2588       1.0000         .10000E-03   10000.    
     8 'norm      '    1.7832       1.0000         .10000E-03   10000.    
     9 'norm      '    .11867E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .63837E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.649       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.401       1.0000         .10000E-03   10000.    
    14 'Prefactor '    286.81       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.4118       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10992E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11911       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.9530       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .71419       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0430       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=   6331.131     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2629 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1535        .40471E-07** at limit **
   2  norm          5.9401        10.251        .34257E-06   -.26608E-05
   3  Prefactor     .10000E-03    11.380       -.11440E-06** at limit **
   4  Prefactor     4.9132        7.8155        .10914E-05    .41986E-04
   5  Prefactor     .10000E-03    41.993       -.35899E-06** at limit **
   6  Prefactor     5.3873        75.318       -.55328E-06    .64636E-05
   7  Prefactor     7.2256        10.886        .80152E-06    .15851E-03
   8  norm          1.7823        1.1437        .14540E-06   -.39706E-03
   9  norm          .10002E-03    4.3564       -.15700E-06** at limit **
  10  Prefactor     .10000E-03    6.0044       -.11234E-05** at limit **
  11  Prefactor     .10000E-03    15.140        .13417E-07** at limit **
  12  norm          12.655        11.486       -.96176E-07    .79506E-04
  13  Prefactor     13.403        10.212       -.23129E-06    .36234E-04
  14  Prefactor     286.99        236.63       -.14102E-04   -.64214E-05
  15  Prefactor     .10000E-03    6.4007        .66038E-06** at limit **
  16  Prefactor     1.4167        66.358        .21032E-04    .41032E-04
  17  norm          .10000E-03    11.512        .40731E-06** at limit **
  18  Prefactor     .10000E-03    109.49        .27400E-06** at limit **
  19  Prefactor     .12157        2.7337       -.11224E-05    .12123E-02
  20  Prefactor     .10000E-03    20.149       -.36094E-08** at limit **
  21  Prefactor     6.9556        17.397       -.19902E-06   -.39876E-05
  22  Normalizat    .71393        .20253       -.20850E-05   -.11751E-03
  23  Prefactor     1.0431        .12826        .22795E-06   -.14413E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.94007
  Prefactor  = 0.0001
  Prefactor  = 4.91323
  Prefactor  = 0.0001
  Prefactor  = 5.3873
  Prefactor  = 7.22559
  norm       = 1.78227
  norm       = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.6555
  Prefactor  = 13.4029
  Prefactor  = 286.987
  Prefactor  = 0.0001
  Prefactor  = 1.41674
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.121566
  Prefactor  = 0.0001
  Prefactor  = 6.95557
  Normalizat = 0.713928
  Prefactor  = 1.04307
 **********
 **   18 **HESSE 
 **********

 FCN=   6331.131     FROM HESSE     STATUS=OK           374 CALLS     3003 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1536        .11404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.9401        10.251        .16476E-03   -1.5220    
   3  Prefactor     .10000E-03    11.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9132        7.8174        .90739E-03   -1.5265    
   5  Prefactor     .10000E-03    43.371        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3873        73.470        .17637E-03   -1.5244    
   7  Prefactor     7.2256        9.8278        .14888E-03   -1.5170    
   8  norm          1.7823        1.1299        .31336E-04   -1.5441    
   9  norm          .10002E-03    44.660        .28107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.719        .36658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.655        11.276        .56314E-03   -1.4996    
  13  Prefactor     13.403        10.206        .10942E-03   -1.4976    
  14  Prefactor     286.99        252.28        .11983E-03   -1.2303    
  15  Prefactor     .10000E-03    6.4505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.4167        67.697        .18228E-02   -1.5470    
  17  norm          .10000E-03    11.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    110.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12157        45.492        .21721E-02   -1.5638    
  20  Prefactor     .10000E-03    20.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.9556        17.388        .15215E-03   -1.5180    
  22  Normalizat    .71393        .23716        .32939E-03   -1.0335    
  23  Prefactor     1.0431        .14902        .18462E-03   -.91307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00905e-08
Minuit parameter uncertainties:
  1  9.70741e-07
  2  10.2544
  3  7.63806e-07
  4  7.81903
  5  3.48198e-05
  6  39.8491
  7  9.82999
  8  1.12995
  9  0.00175088
  10  2.81756e-05
  11  5.29625e-06
  12  11.2779
  13  10.2076
  14  253.252
  15  0.000111392
  16  19.6095
  17  8.65098e-05
  18  0.000162362
  19  4.70498
  20  2.79151e-06
  21  17.401
  22  0.237503
  23  0.149083
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.482e-05  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.043e+00  1.491e-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:  7.139e-01  2.375e-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: 7.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672780/likelihoodResults_252288001_252547201_4FGL_J2311.0+0205_daily_bin50.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) = 6331.13141678
delta logL = -0.000109945208351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6331.07362064
delta logL = 0.0576861871623

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4362       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0872       1.0000          .0000       10.000    
     3 'Normalizat'    .69900       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0466       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=   6331.074     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      447 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4356        16.251        .27260E-03   -.34378E-03
   2  Index         3.0873        2.6434        .10884E-01   -.85487E-04
   3  Normalizat    .69899        .22193        .33275E-03   -.37173E-03
   4  Prefactor     1.0466        .14677        .18437E-03   -.48097E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4356
  Index      = 3.08727
  Normalizat = 0.698989
  Prefactor  = 1.04656
 **********
 **   18 **HESSE 
 **********

 FCN=   6331.074     FROM HESSE     STATUS=OK            25 CALLS      472 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4356        7.3025        .10904E-04   -1.5468    
   2  Index         3.0873        1.8341        .43537E-03   -.39255    
   3  Normalizat    .69899        .22224        .13310E-04   -1.0393    
   4  Prefactor     1.0466        .14680        .36874E-04   -.91193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.44424e-10
Minuit parameter uncertainties:
  1  6.47665
  2  1.88609
  3  0.222526
  4  0.146858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672780': 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) = 6331.07362064
delta logL = 0.0576861939835

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.436e+00  6.477e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.087e+00  1.886e+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.047e+00  1.469e-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:  6.990e-01  2.225e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/672780/cmap_HighResolution_252288001_252547201_4FGL_J2311.0+0205_daily_bin50.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-03', job_status='DONE', photon_flux_upper_limit='7.28e-08', time_completed='2021-09-29 07:30:29.999427', job_id='672780', GAL2='1.05', fit_tolerance='1e-08', EG2='0.70', EG='0.71', time_epoch_completed='1632925830.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='5.77e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='50' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:30:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 672780: <4FGL_J2311.0+0205_daily_bin50> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin50 347.766 2.0995 252288001 252547201 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 :                                   662.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

