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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin188
RA = 347.766, Dec = 2.0995
tmin = 288057601, tmax = 288316801
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='672981', job_status='RUN', time_executed='2021-09-29 07:18:43.923441', time_epoch_executed='1632925123.92' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='188'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672981

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672981/ft1_4FGL_J2311.0+0205_daily_bin188.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672981/ft2_4FGL_J2311.0+0205_daily_bin188.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672981/ft1_4FGL_J2311.0+0205_daily_bin188.fits outfile=/scratch/kocevski/672981/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin188.fits ra=347.766 dec=2.0995 rad=12.0 tmin=288057601.0 tmax=288316801.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.60
user 3.35
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672981/ft1_filtered_4FGL_J2311.0+0205_daily_bin188.fits" evtable="EVENTS" scfile=/scratch/kocevski/672981/ft2_4FGL_J2311.0+0205_daily_bin188.fits sctable="SC_DATA" outfile=/scratch/kocevski/672981/ltcube_288057601_288316801_4FGL_J2311.0+0205_daily_bin188.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/672981/ft2_4FGL_J2311.0+0205_daily_bin188.fits
.....................!
real 11.56
user 11.20
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672981/ft1_filtered_4FGL_J2311.0+0205_daily_bin188.fits evtable="EVENTS" scfile=/scratch/kocevski/672981/ft2_4FGL_J2311.0+0205_daily_bin188.fits sctable="SC_DATA" expcube=/scratch/kocevski/672981/ltcube_288057601_288316801_4FGL_J2311.0+0205_daily_bin188.fits outfile=/scratch/kocevski/672981/expmap_288057601_288316801_4FGL_J2311.0+0205_daily_bin188.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/672981/ltcube_288057601_288316801_4FGL_J2311.0+0205_daily_bin188.fits
.....................!
real 189.79
user 185.40
sys 4.07

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/672981/ft1_filtered_4FGL_J2311.0+0205_daily_bin188.fits scfile=/scratch/kocevski/672981/ft2_4FGL_J2311.0+0205_daily_bin188.fits outfile=/scratch/kocevski/672981/cmap_288057601_288316801_4FGL_J2311.0+0205_daily_bin188.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672981/ft1_filtered_4FGL_J2311.0+0205_daily_bin188.fits scfile=/scratch/kocevski/672981/ft2_4FGL_J2311.0+0205_daily_bin188.fits outfile=/scratch/kocevski/672981/cmap_HighResolution_288057601_288316801_4FGL_J2311.0+0205_daily_bin188.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.261       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.931       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8758       1.0000         .10000E-03   10000.    
     6 'Prefactor '    76.940       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21779E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .59834       1.0000         .10000E-03   10000.    
     9 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.317       1.0000         .10000E-03   10000.    
    12 'norm      '    11.340       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13342E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.465       1.0000         .10000E-03   10000.    
    17 'norm      '    12.095       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6898       1.0000         .10000E-03   10000.    
    20 'Prefactor '    69.519       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .86404       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98159       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=   5523.900     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2522 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2487       -.41797E-08** at limit **
   2  norm          .10000E-03    6.5151       -.63270E-07** at limit **
   3  Prefactor     15.276        45.335       -.22224E-05   -.91211E-08
   4  Prefactor     13.932        16.353        .86284E-06    .58192E-05
   5  Prefactor     3.8797        29.284        .41798E-05   -.60060E-05
   6  Prefactor     76.935        64.912        .13770E-05    .34283E-04
   7  Prefactor     .10000E-03    8.1908       -.69372E-06** at limit **
   8  norm          .59874        .91716        .27188E-06   -.12015E-04
   9  norm          .10000E-03    1.5658       -.38914E-07** at limit **
  10  Prefactor     .10000E-03    8.5028        .44967E-06** at limit **
  11  Prefactor     44.281        60.922        .64864E-05    .52639E-05
  12  norm          11.347        9.8858        .19285E-06   -.12803E-04
  13  Prefactor     .10000E-03    4.3676        .10405E-07** at limit **
  14  Prefactor     .10000E-03    89.260       -.69002E-06** at limit **
  15  Prefactor     .10000E-03    13.143       -.49297E-06** at limit **
  16  Prefactor     26.472        28.552       -.11039E-06   -.62056E-05
  17  norm          12.088        27.759       -.62554E-05    .60688E-05
  18  Prefactor     .10000E-03    22.425        .53482E-07** at limit **
  19  Prefactor     2.6900        5.5313        .48622E-05   -.88777E-05
  20  Prefactor     69.549        43.866       -.31778E-05   -.26223E-05
  21  Prefactor     .10000E-03    11.302        .20323E-06** at limit **
  22  Normalizat    .86307        .24164       -.38249E-05    .22451E-04
  23  Prefactor     .98222        .14120        .13756E-05    .15875E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.2758
  Prefactor  = 13.9321
  Prefactor  = 3.87971
  Prefactor  = 76.9354
  Prefactor  = 0.0001
  norm       = 0.598742
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.2808
  norm       = 11.3474
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.4724
  norm       = 12.0883
  Prefactor  = 0.0001
  Prefactor  = 2.69003
  Prefactor  = 69.5492
  Prefactor  = 0.0001
  Normalizat = 0.86307
  Prefactor  = 0.98222
 **********
 **   18 **HESSE 
 **********

 FCN=   5523.900     FROM HESSE     STATUS=OK           368 CALLS     2890 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2580        .14962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.5511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.276        45.523        .10253E-03   -1.4926    
   4  Prefactor     13.932        16.347        .53657E-03   -1.4961    
   5  Prefactor     3.8797        29.220        .10248E-02   -1.5314    
   6  Prefactor     76.935        64.964        .45780E-04   -1.3951    
   7  Prefactor     .10000E-03    8.2320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .59874        .91513        .23332E-03   -1.5553    
   9  norm          .10000E-03    1.5663        .90811E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.5637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     44.281        60.936        .60224E-04   -1.4376    
  12  norm          11.347        9.8585        .11897E-03   -1.5034    
  13  Prefactor     .10000E-03    4.3978        .15145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    89.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.472        28.524        .77872E-04   -1.4678    
  17  norm          12.088        27.665        .11518E-03   -1.5012    
  18  Prefactor     .10000E-03    22.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6900        5.5412        .97972E-03   -1.5380    
  20  Prefactor     69.549        43.943        .48143E-04   -1.4038    
  21  Prefactor     .10000E-03    11.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .86307        .27748        .32775E-03   -.97770    
  23  Prefactor     .98222        .16396        .19731E-03   -.93325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1897e-10
Minuit parameter uncertainties:
  1  1.0833e-06
  2  7.98006e-06
  3  45.6272
  4  16.3521
  5  21.309
  6  65.0238
  7  5.49059e-05
  8  0.915148
  9  2.77526e-06
  10  1.67379e-05
  11  61.0223
  12  9.85988
  13  2.58741e-06
  14  4.44946e-05
  15  9.7866e-05
  16  28.539
  17  27.6943
  18  7.59858e-06
  19  5.54224
  20  43.9631
  21  3.64897e-05
  22  0.27794
  23  0.164047
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.880e+00  2.131e+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:  9.822e-01  1.640e-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:  8.631e-01  2.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/672981/likelihoodResults_288057601_288316801_4FGL_J2311.0+0205_daily_bin188.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) = 5523.84629529
delta logL = 0.053979048912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5523.84206303
delta logL = 0.0582113119126

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7145       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9584       1.0000          .0000       10.000    
     3 'Normalizat'    .84671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98751       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5523.842     FROM MIGRAD    STATUS=FAILED       103 CALLS      267 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6997        878.62        .12360E-02    .40974E-03
   2  Index         2.9621        8.4184        .10151E-01    .20353E-03
   3  Normalizat    .84646        .22278        .33075E-03   -.51558E-05
   4  Prefactor     .98765        .15406        .19684E-03   -.66421E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5523.842     FROM SIMPLEX   STATUS=UNCHANGED     91 CALLS      358 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6997        878.62        .40416E-03    .40974E-03
   2  Index         2.9621        8.4184        .21282E-02    .20353E-03
   3  Normalizat    .84646        .22278        .18295E-03   -.51558E-05
   4  Prefactor     .98765        .15406        .13354E-03   -.66421E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5523.842     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      391 TOTAL
                     EDM=   .87E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6997        29.243        .24720E-03   -.34492E-05
   2  Index         2.9621        3.0200        .20303E-02   -.68315E-06
   3  Normalizat    .84646        .25856        .13230E-04   -.53277E-05
   4  Prefactor     .98765        .16342        .78735E-05   -.66421E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.69969
  Index      = 2.96211
  Normalizat = 0.846465
  Prefactor  = 0.987654
 **********
 **   18 **HESSE 
 **********

 FCN=   5523.842     FROM HESSE     STATUS=OK            23 CALLS      414 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6997        20.527        .98881E-05   -1.5379    
   2  Index         2.9621        2.5975        .81211E-04   -.41980    
   3  Normalizat    .84646        .25883        .26460E-05   -.98368    
   4  Prefactor     .98765        .16334        .15747E-05   -.93142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41446e-13
Minuit parameter uncertainties:
  1  14.8952
  2  2.76314
  3  0.259206
  4  0.16342
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672981': 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) = 5523.84206176
delta logL = 0.0582125769924

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.700e+00  1.490e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.962e+00  2.763e+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:  9.877e-01  1.634e-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:  8.465e-01  2.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/672981/cmap_HighResolution_288057601_288316801_4FGL_J2311.0+0205_daily_bin188.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.22e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-29 07:28:51.010761', job_id='672981', GAL2='0.99', fit_tolerance='1e-08', EG2='0.85', EG='0.86', time_epoch_completed='1632925731.01', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='5.82e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='188' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:28:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 672981: <4FGL_J2311.0+0205_daily_bin188> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin188> 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) <bullet0299>, 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:28:51 2021
Results reported at Wed Sep 29 07:28:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin188 347.766 2.0995 288057601 288316801 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 :                                   604.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            788 sec.

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

