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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin456
RA = 347.766, Dec = 2.0995
tmin = 357523201, tmax = 357782401
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='675725', job_status='RUN', time_executed='2021-09-29 07:29:15.680816', time_epoch_executed='1632925755.68' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='456'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675725

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675725/ft1_4FGL_J2311.0+0205_daily_bin456.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675725/ft2_4FGL_J2311.0+0205_daily_bin456.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675725/ft1_4FGL_J2311.0+0205_daily_bin456.fits outfile=/scratch/kocevski/675725/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin456.fits ra=347.766 dec=2.0995 rad=12.0 tmin=357523201.0 tmax=357782401.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.56
user 3.36
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675725/ft1_filtered_4FGL_J2311.0+0205_daily_bin456.fits evtable="EVENTS" scfile=/scratch/kocevski/675725/ft2_4FGL_J2311.0+0205_daily_bin456.fits sctable="SC_DATA" expcube=/scratch/kocevski/675725/ltcube_357523201_357782401_4FGL_J2311.0+0205_daily_bin456.fits outfile=/scratch/kocevski/675725/expmap_357523201_357782401_4FGL_J2311.0+0205_daily_bin456.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/675725/ltcube_357523201_357782401_4FGL_J2311.0+0205_daily_bin456.fits
.....................!
real 189.54
user 185.28
sys 3.96

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/675725/ft1_filtered_4FGL_J2311.0+0205_daily_bin456.fits scfile=/scratch/kocevski/675725/ft2_4FGL_J2311.0+0205_daily_bin456.fits outfile=/scratch/kocevski/675725/cmap_357523201_357782401_4FGL_J2311.0+0205_daily_bin456.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.69
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675725/ft1_filtered_4FGL_J2311.0+0205_daily_bin456.fits scfile=/scratch/kocevski/675725/ft2_4FGL_J2311.0+0205_daily_bin456.fits outfile=/scratch/kocevski/675725/cmap_HighResolution_357523201_357782401_4FGL_J2311.0+0205_daily_bin456.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    13.716       1.0000         .10000E-03   10000.    
     3 'Prefactor '    58.223       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12301       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    120.82       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2126       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    55.461       1.0000         .10000E-03   10000.    
    12 'norm      '    .20531E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.143       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .88365E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.9062       1.0000         .10000E-03   10000.    
    18 'Prefactor '    85.856       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7246       1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.844       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.612       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89922       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82893       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=   5802.551     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2586 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.5675        .13867E-08** at limit **
   2  norm          13.722        15.536       -.10331E-06    .56232E-04
   3  Prefactor     58.218        40.731       -.74412E-07    .64450E-04
   4  Prefactor     .13508        13.470       -.74447E-05    .25290E-03
   5  Prefactor     .10000E-03    6.0763        .82145E-07** at limit **
   6  Prefactor     120.91        74.899        .22098E-05    .20376E-03
   7  Prefactor     .10000E-03    15.265       -.65748E-05** at limit **
   8  norm          1.2127        1.0834       -.44218E-07   -.11286E-03
   9  norm          .10000E-03    2.4554       -.74245E-06** at limit **
  10  Prefactor     .10000E-03    3.6348       -.39333E-07** at limit **
  11  Prefactor     55.411        62.410        .55892E-06    .15217E-03
  12  norm          .10002E-03    22.790       -.11207E-04** at limit **
  13  Prefactor     14.144        9.4564       -.88777E-07    .22012E-03
  14  Prefactor     .10000E-03    87.960       -.65475E-07** at limit **
  15  Prefactor     .10005E-03    29.046        .11811E-04** at limit **
  16  Prefactor     .10000E-03    17.545       -.17798E-06** at limit **
  17  norm          3.8895        59.953        .34004E-05   -.26177E-04
  18  Prefactor     85.861        84.360        .36621E-06    .51507E-04
  19  Prefactor     3.7261        6.4244        .69284E-07   -.20663E-03
  20  Prefactor     39.857        42.605        .43986E-07   -.43600E-04
  21  Prefactor     10.614        15.343       -.10031E-06    .61175E-05
  22  Normalizat    .89851        .23492        .33058E-07   -.35802E-04
  23  Prefactor     .82933        .13343        .41580E-06    .64558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 13.7224
  Prefactor  = 58.218
  Prefactor  = 0.135076
  Prefactor  = 0.0001
  Prefactor  = 120.912
  Prefactor  = 0.000100002
  norm       = 1.21265
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 55.4108
  norm       = 0.000100024
  Prefactor  = 14.1436
  Prefactor  = 0.0001
  Prefactor  = 0.000100048
  Prefactor  = 0.0001
  norm       = 3.88945
  Prefactor  = 85.861
  Prefactor  = 3.72608
  Prefactor  = 39.8571
  Prefactor  = 10.614
  Normalizat = 0.898507
  Prefactor  = 0.829325
 **********
 **   18 **HESSE 
 **********

 FCN=   5802.551     FROM HESSE     STATUS=OK           370 CALLS     2956 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5682        .11921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.722        15.593        .10815E-03   -1.4967    
   3  Prefactor     58.218        40.827        .52577E-04   -1.4180    
   4  Prefactor     .13508        64.911        .36108E-02   -1.5634    
   5  Prefactor     .10000E-03    6.0864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     120.91        76.241        .18307E-03   -1.3504    
   7  Prefactor     .10000E-03    15.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2127        1.0537        .70304E-04   -1.5488    
   9  norm          .10000E-03    2.4630        .11657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.6421        .14177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     55.411        62.185        .53863E-04   -1.4218    
  12  norm          .10002E-03    37.507        .38854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.144        8.2974        .10650E-03   -1.4956    
  14  Prefactor     .10000E-03    87.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10005E-03    60.236        .38791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.8895        56.272        .20414E-03   -1.5314    
  18  Prefactor     85.861        84.368        .43357E-04   -1.3852    
  19  Prefactor     3.7261        6.2139        .19424E-03   -1.5322    
  20  Prefactor     39.857        42.672        .63501E-04   -1.4444    
  21  Prefactor     10.614        15.341        .12299E-03   -1.5056    
  22  Normalizat    .89851        .26702        .30238E-03   -.96513    
  23  Prefactor     .82933        .15224        .19840E-03   -.98656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10471e-09
Minuit parameter uncertainties:
  1  5.12533e-07
  2  15.5972
  3  40.8466
  4  5.92642
  5  3.4174e-06
  6  76.303
  7  0.000358281
  8  1.05368
  9  1.36161e-05
  10  5.03029e-06
  11  62.2576
  12  0.00190955
  13  8.29811
  14  0.000110653
  15  0.00339845
  16  6.55077e-05
  17  29.6215
  18  84.4861
  19  6.21498
  20  42.705
  21  15.3467
  22  0.267413
  23  0.152315
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.417e-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.293e-01  1.523e-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.985e-01  2.674e-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.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675725/likelihoodResults_357523201_357782401_4FGL_J2311.0+0205_daily_bin456.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) = 5802.55178822
delta logL = -0.000782002086453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5802.55100619
delta logL = 2.23526512855e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1707       1.0000          .0000       10.000    
     3 'Normalizat'    .89853       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82932       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=   5802.551     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      240 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10220E-03    5.9103        .18142E-01** at limit **
   2  Index         2.0642        8.5863        .50000        .14699E-04
   3  Normalizat    .89851        .49317E-02    .30239E-03   -.45679E-04
   4  Prefactor     .82932        .31416E-02    .19840E-03    .44581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102197
  Index      = 2.06416
  Normalizat = 0.898514
  Prefactor  = 0.82932
 **********
 **   18 **HESSE 
 **********

 FCN=   5802.551     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10220E-03    131.91        .18927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0642        5.8820        .50000       -.62756    
   3  Normalizat    .89851        .23764E-01    .12096E-04   -.96512    
   4  Prefactor     .82932        .15139E-01    .79360E-05   -.98656    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.76665e-08
Minuit parameter uncertainties:
  1  0.0341219
  2  689.02
  3  0.0237646
  4  0.0151388
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675725': 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) = 5802.55100585
delta logL = 3.64399966202e-07

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.022e-04  3.412e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.064e+00  6.890e+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.293e-01  1.514e-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:  8.985e-01  2.376e-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/675725/cmap_HighResolution_357523201_357782401_4FGL_J2311.0+0205_daily_bin456.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.38e-08', time_completed='2021-09-29 07:39:36.005997', job_id='675725', GAL2='0.83', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1632926376.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='456' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:39:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 675725: <4FGL_J2311.0+0205_daily_bin456> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin456> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 07:25:21 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:25:22 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:25:22 2021
Terminated at Wed Sep 29 07:39:36 2021
Results reported at Wed Sep 29 07:39:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin456 347.766 2.0995 357523201 357782401 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 :                                   618.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             261.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            855 sec.

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

