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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin144
RA = 347.766, Dec = 2.0995
tmin = 276652801, tmax = 276912001
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='672915', job_status='RUN', time_executed='2021-09-29 07:19:44.719244', time_epoch_executed='1632925184.72' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='144'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672915

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672915/ft1_4FGL_J2311.0+0205_daily_bin144.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672915/ft2_4FGL_J2311.0+0205_daily_bin144.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672915/ft1_4FGL_J2311.0+0205_daily_bin144.fits outfile=/scratch/kocevski/672915/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin144.fits ra=347.766 dec=2.0995 rad=12.0 tmin=276652801.0 tmax=276912001.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 4.61
user 4.36
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672915/ft1_filtered_4FGL_J2311.0+0205_daily_bin144.fits" evtable="EVENTS" scfile=/scratch/kocevski/672915/ft2_4FGL_J2311.0+0205_daily_bin144.fits sctable="SC_DATA" outfile=/scratch/kocevski/672915/ltcube_276652801_276912001_4FGL_J2311.0+0205_daily_bin144.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/672915/ft2_4FGL_J2311.0+0205_daily_bin144.fits
.....................!
real 11.67
user 11.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672915/ft1_filtered_4FGL_J2311.0+0205_daily_bin144.fits evtable="EVENTS" scfile=/scratch/kocevski/672915/ft2_4FGL_J2311.0+0205_daily_bin144.fits sctable="SC_DATA" expcube=/scratch/kocevski/672915/ltcube_276652801_276912001_4FGL_J2311.0+0205_daily_bin144.fits outfile=/scratch/kocevski/672915/expmap_276652801_276912001_4FGL_J2311.0+0205_daily_bin144.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/672915/ltcube_276652801_276912001_4FGL_J2311.0+0205_daily_bin144.fits
.....................!
real 190.38
user 185.24
sys 4.83

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/672915/ft1_filtered_4FGL_J2311.0+0205_daily_bin144.fits scfile=/scratch/kocevski/672915/ft2_4FGL_J2311.0+0205_daily_bin144.fits outfile=/scratch/kocevski/672915/cmap_276652801_276912001_4FGL_J2311.0+0205_daily_bin144.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    16.354       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.727       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .79806E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11642       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0421       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8875       1.0000         .10000E-03   10000.    
    11 'Prefactor '    40.844       1.0000         .10000E-03   10000.    
    12 'norm      '    17.651       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9937       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .51902E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.361       1.0000         .10000E-03   10000.    
    17 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.833       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.8143       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10393E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87863       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95097       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=   7691.696     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2611 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.9324        .60193E-06** at limit **
   2  norm          16.353        12.664        .26967E-06   -.21087E-04
   3  Prefactor     .10000E-03    8.0526       -.19044E-05** at limit **
   4  Prefactor     14.726        14.457        .20915E-06    .20588E-04
   5  Prefactor     .10000E-03    7.4793        .22005E-05** at limit **
   6  Prefactor     .10000E-03    21.737       -.14812E-06** at limit **
   7  Prefactor     .10046E-03    5.6962        .57212E-06** at limit **
   8  norm          .12030        .66510        .36411E-07   -.61071E-03
   9  norm          1.0504        4.1276        .25098E-05   -.23715E-03
  10  Prefactor     2.9054        21.471       -.27837E-06   -.48883E-04
  11  Prefactor     40.850        48.095        .14943E-05    .38491E-04
  12  norm          17.617        19.014        .10949E-06    .14892E-03
  13  Prefactor     3.0124        13.288        .52975E-06   -.43626E-04
  14  Prefactor     .10001E-03    216.92       -.85085E-05** at limit **
  15  Prefactor     .10000E-03    5.2919       -.18364E-08** at limit **
  16  Prefactor     19.357        28.607        .31696E-06    .43426E-04
  17  norm          .10000E-03    7.1046       -.75996E-06** at limit **
  18  Prefactor     32.836        39.772        .35270E-06   -.16316E-04
  19  Prefactor     5.8161        3.5103       -.44417E-08   -.62436E-04
  20  Prefactor     .10000E-03    136.61       -.32375E-05** at limit **
  21  Prefactor     .10000E-03    27.778       -.69188E-06** at limit **
  22  Normalizat    .87850        .19479       -.13766E-05   -.85957E-04
  23  Prefactor     .95101        .11786        .13317E-06   -.18497E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 16.3533
  Prefactor  = 0.0001
  Prefactor  = 14.7264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100457
  norm       = 0.120302
  norm       = 1.05045
  Prefactor  = 2.90543
  Prefactor  = 40.8502
  norm       = 17.6175
  Prefactor  = 3.01239
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 19.3568
  norm       = 0.0001
  Prefactor  = 32.8359
  Prefactor  = 5.81605
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.878497
  Prefactor  = 0.951009
 **********
 **   18 **HESSE 
 **********

 FCN=   7691.696     FROM HESSE     STATUS=OK           374 CALLS     2985 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.2812        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          16.353        12.677        .99040E-04   -1.4899    
   3  Prefactor     .10000E-03    8.0817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.726        14.442        .10437E-03   -1.4940    
   5  Prefactor     .10000E-03    7.5523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10046E-03    41.990        .37303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12030        1.4634        .12906E-02   -1.5639    
   9  norm          1.0504        4.1057        .33121E-03   -1.5503    
  10  Prefactor     2.9054        21.428        .23916E-03   -1.5367    
  11  Prefactor     40.850        48.111        .62721E-04   -1.4429    
  12  norm          17.617        18.890        .95332E-04   -1.4868    
  13  Prefactor     3.0124        13.042        .23461E-03   -1.5361    
  14  Prefactor     .10001E-03    217.60        .21139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.3163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.357        28.497        .91026E-04   -1.4828    
  17  norm          .10000E-03    7.1134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     32.836        39.726        .69931E-04   -1.4561    
  19  Prefactor     5.8161        3.5057        .12126E-03   -1.5226    
  20  Prefactor     .10000E-03    139.97        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    29.015        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .87850        .22444        .31559E-03   -.97220    
  23  Prefactor     .95101        .13850        .19767E-03   -.94381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77846e-08
Minuit parameter uncertainties:
  1  2.43586e-05
  2  12.6787
  3  8.99051e-05
  4  14.4457
  5  0.00010369
  6  6.86357e-05
  7  0.00876821
  8  0.83885
  9  4.10676
  10  15.7884
  11  48.1569
  12  18.8965
  13  12.5402
  14  0.00214219
  15  3.14327e-07
  16  28.5174
  17  3.43218e-05
  18  39.7577
  19  3.50583
  20  0.000418455
  21  2.53804e-05
  22  0.224682
  23  0.13855
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.037e-04  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.510e-01  1.386e-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.785e-01  2.247e-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.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672915/likelihoodResults_276652801_276912001_4FGL_J2311.0+0205_daily_bin144.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) = 7691.69697074
delta logL = -0.000630996695691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7691.6963415
delta logL = -1.75698187377e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12550E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1143       1.0000          .0000       10.000    
     3 'Normalizat'    .87812       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95127       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=   7688.484     FROM MIGRAD    STATUS=CONVERGED    184 CALLS      340 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27302        .31696        .10245E-01   -.93897E-03
   2  Index         .76217E-10    .34042        .50000    ** at limit **
   3  Normalizat    .85418        .21030        .31559E-03   -.54395E-05
   4  Prefactor     .96323        .13775        .19767E-03   -.57400E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.273023
  Index      = 7.62168e-11
  Normalizat = 0.854179
  Prefactor  = 0.963232
 **********
 **   18 **HESSE 
 **********

 FCN=   7688.484     FROM HESSE     STATUS=OK            29 CALLS      369 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27302        .27935        .40489E-03   -1.5603    
   2  Index         .76217E-10    .84848        .24766E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .85418        .21048        .12624E-04   -.98089    
   4  Prefactor     .96323        .13787        .79066E-05   -.93965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.66382e-11
Minuit parameter uncertainties:
  1  0.279354
  2  1.632e-05
  3  0.210683
  4  0.137915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672915': 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) = 7688.48364352
delta logL = 3.21269622442

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.730e-01  2.794e-01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  7.622e-11  1.632e-05  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.632e-01  1.379e-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.542e-01  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.44
Ra Dec: 347.766 2.099
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 2.73e-09 +/- 2.79e-09
Energy Flux (Free Index): 1.37e-04 +/- 1.40e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/672915/cmap_HighResolution_276652801_276912001_4FGL_J2311.0+0205_daily_bin144.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.06e-03', comment='SUCCESS', energy_flux2='1.37e-04', dlogl='3.21e+00', photon_flux2='2.73e-09', job_status='DONE', time_completed='2021-09-29 07:31:51.528002', photon_index_error2='0.00', photon_index2='0.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='5.33e-08', energy_flux_error2='1.40e-04', EG='0.88', time_epoch_completed='1632925911.53', return_code='0', job_id='672915', GAL2='0.96', EG2='0.85', return_code2='0', photon_flux_error2='2.79e-09', ts2='6.44', photon_index='2.19' WHERE bin_id='144' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:31:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 672915: <4FGL_J2311.0+0205_daily_bin144> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin144 347.766 2.0995 276652801 276912001 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 :                                   726.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   971 sec.
    Turnaround time :                            974 sec.

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

