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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin958
RA = 347.766, Dec = 2.0995
tmin = 487641601, tmax = 487900801
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='677154', job_status='RUN', time_executed='2021-09-29 07:34:30.269533', time_epoch_executed='1632926070.27' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='958'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677154

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677154/ft1_4FGL_J2311.0+0205_daily_bin958.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677154/ft2_4FGL_J2311.0+0205_daily_bin958.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677154/ft1_4FGL_J2311.0+0205_daily_bin958.fits outfile=/scratch/kocevski/677154/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin958.fits ra=347.766 dec=2.0995 rad=12.0 tmin=487641601.0 tmax=487900801.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 5.04
user 4.77
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677154/ft1_filtered_4FGL_J2311.0+0205_daily_bin958.fits evtable="EVENTS" scfile=/scratch/kocevski/677154/ft2_4FGL_J2311.0+0205_daily_bin958.fits sctable="SC_DATA" expcube=/scratch/kocevski/677154/ltcube_487641601_487900801_4FGL_J2311.0+0205_daily_bin958.fits outfile=/scratch/kocevski/677154/expmap_487641601_487900801_4FGL_J2311.0+0205_daily_bin958.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/677154/ltcube_487641601_487900801_4FGL_J2311.0+0205_daily_bin958.fits
.....................!
real 190.61
user 185.64
sys 4.55

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/677154/ft1_filtered_4FGL_J2311.0+0205_daily_bin958.fits scfile=/scratch/kocevski/677154/ft2_4FGL_J2311.0+0205_daily_bin958.fits outfile=/scratch/kocevski/677154/cmap_487641601_487900801_4FGL_J2311.0+0205_daily_bin958.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677154/ft1_filtered_4FGL_J2311.0+0205_daily_bin958.fits scfile=/scratch/kocevski/677154/ft2_4FGL_J2311.0+0205_daily_bin958.fits outfile=/scratch/kocevski/677154/cmap_HighResolution_487641601_487900801_4FGL_J2311.0+0205_daily_bin958.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10042E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.259       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6869       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.868       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14665E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16879E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10092E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.940       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2178       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88175       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=   4559.223     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2150 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8416       -.45033E-05** at limit **
   2  norm          .10000E-03    25.697        .13867E-04** at limit **
   3  Prefactor     .10000E-03    51.729        .14475E-04** at limit **
   4  Prefactor     31.261        22.754       -.11543E-05   -.17237E-03
   5  Prefactor     .10000E-03    7.1388       -.53494E-06** at limit **
   6  Prefactor     .10000E-03    22.054        .68938E-05** at limit **
   7  Prefactor     .10000E-03    5.0952       -.10447E-06** at limit **
   8  norm          1.6860        1.1274       -.16309E-07   -.55382E-03
   9  norm          .10000E-03    2.3826       -.47817E-07** at limit **
  10  Prefactor     13.881        13.571        .65387E-07   -.56380E-03
  11  Prefactor     .10000E-03    38.496       -.30276E-04** at limit **
  12  norm          .10000E-03    8.1302        .12676E-05** at limit **
  13  Prefactor     .10035E-03    5.8693        .28912E-05** at limit **
  14  Prefactor     .10000E-03    144.40       -.43041E-04** at limit **
  15  Prefactor     .10000E-03    11.850        .29636E-05** at limit **
  16  Prefactor     .10000E-03    57.814        .48443E-04** at limit **
  17  norm          .10000E-03    38.982       -.30150E-04** at limit **
  18  Prefactor     .10000E-03    19.916       -.16299E-04** at limit **
  19  Prefactor     .10000E-03    6.3642        .22988E-06** at limit **
  20  Prefactor     11.909        45.613       -.40972E-04   -.63065E-04
  21  Prefactor     .10000E-03    10.976        .48043E-05** at limit **
  22  Normalizat    1.2176        .25207        .22362E-05   -.73264E-03
  23  Prefactor     .88184        .15565        .55629E-07   -.71479E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.2612
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.68603
  norm       = 0.0001
  Prefactor  = 13.8806
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100348
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9093
  Prefactor  = 0.0001
  Normalizat = 1.21758
  Prefactor  = 0.881845
 **********
 **   18 **HESSE 
 **********

 FCN=   4559.223     FROM HESSE     STATUS=OK           356 CALLS     2506 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    25.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    51.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     31.261        22.723        .71665E-04   -1.4589    
   5  Prefactor     .10000E-03    7.1417        .17621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.1140        .14884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6860        1.1169        .55751E-04   -1.5448    
   9  norm          .10000E-03    2.3887        .10178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.881        13.480        .10756E-03   -1.4963    
  11  Prefactor     .10000E-03    38.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    8.1685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10035E-03    25.572        .30976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    144.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    131.45        .43348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    58.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    39.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.5221        .33114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.909        45.692        .11593E-03   -1.5018    
  21  Prefactor     .10000E-03    10.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2176        .29133        .29316E-03   -.86061    
  23  Prefactor     .88184        .18235        .21420E-03   -.96778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47094e-08
Minuit parameter uncertainties:
  1  1.85434e-07
  2  0.00016043
  3  8.31561e-05
  4  22.7288
  5  2.25992e-06
  6  1.1361e-05
  7  7.02877e-06
  8  1.11692
  9  2.59594e-06
  10  13.4828
  11  9.10768e-05
  12  5.48626e-05
  13  0.00596636
  14  2.62505e-06
  15  0.000730923
  16  0.000233474
  17  0.000109979
  18  2.27569e-06
  19  3.33858e-05
  20  45.8271
  21  4.06749e-05
  22  0.291716
  23  0.182476
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.260e-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:  8.818e-01  1.825e-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:  1.218e+00  2.917e-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.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677154/likelihoodResults_487641601_487900801_4FGL_J2311.0+0205_daily_bin958.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) = 4559.22413967
delta logL = -0.000654024748656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4559.22348563
delta logL = 1.83445081348e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1684       1.0000          .0000       10.000    
     3 'Normalizat'    1.2176       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88186       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=   4559.223     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      252 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.915        .17851E-01** at limit **
   2  Index         1.7521        5.5955        .50000        .31469E-07
   3  Normalizat    1.2176        .10160E-01    .29315E-03   -.36185E-03
   4  Prefactor     .88184        .64682E-02    .21420E-03   -.52095E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.75207
  Normalizat = 1.21759
  Prefactor  = 0.881842
 **********
 **   18 **HESSE 
 **********

 FCN=   4559.223     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    207.75        .19232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7521        9.0878        .50000       -.70704    
   3  Normalizat    1.2176        .32872E-01    .58631E-04   -.86061    
   4  Prefactor     .88184        .20928E-01    .42841E-04   -.96779    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.71005e-11
Minuit parameter uncertainties:
  1  3.33868e-05
  2  778.903
  3  0.0328729
  4  0.0209285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677154': 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): 102
logL (Free Index) = 4559.22348452
delta logL = 1.1276524674e-06

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.339e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.752e+00  7.789e+02  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:  8.818e-01  2.093e-02  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:  1.218e+00  3.287e-02  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/677154/cmap_HighResolution_487641601_487900801_4FGL_J2311.0+0205_daily_bin958.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-03', job_status='DONE', photon_flux_upper_limit='7.14e-08', time_completed='2021-09-29 07:43:33.287393', job_id='677154', GAL2='0.88', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1632926613.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.13e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='958' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:43:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 677154: <4FGL_J2311.0+0205_daily_bin958> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin958 347.766 2.0995 487641601 487900801 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 :                                   541.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            753 sec.

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

