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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin119
RA = 347.766, Dec = 2.0995
tmin = 270172801, tmax = 270432001
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='672879', job_status='RUN', time_executed='2021-09-29 07:18:28.005326', time_epoch_executed='1632925108.01' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672879

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672879/ft1_4FGL_J2311.0+0205_daily_bin119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672879/ft2_4FGL_J2311.0+0205_daily_bin119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672879/ft1_4FGL_J2311.0+0205_daily_bin119.fits outfile=/scratch/kocevski/672879/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin119.fits ra=347.766 dec=2.0995 rad=12.0 tmin=270172801.0 tmax=270432001.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 1.65
user 1.47
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672879/ft1_filtered_4FGL_J2311.0+0205_daily_bin119.fits" evtable="EVENTS" scfile=/scratch/kocevski/672879/ft2_4FGL_J2311.0+0205_daily_bin119.fits sctable="SC_DATA" outfile=/scratch/kocevski/672879/ltcube_270172801_270432001_4FGL_J2311.0+0205_daily_bin119.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/672879/ft2_4FGL_J2311.0+0205_daily_bin119.fits
.....................!
real 12.39
user 12.03
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672879/ft1_filtered_4FGL_J2311.0+0205_daily_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/672879/ft2_4FGL_J2311.0+0205_daily_bin119.fits sctable="SC_DATA" expcube=/scratch/kocevski/672879/ltcube_270172801_270432001_4FGL_J2311.0+0205_daily_bin119.fits outfile=/scratch/kocevski/672879/expmap_270172801_270432001_4FGL_J2311.0+0205_daily_bin119.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/672879/ltcube_270172801_270432001_4FGL_J2311.0+0205_daily_bin119.fits
.....................!
real 191.82
user 186.41
sys 4.97

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/672879/ft1_filtered_4FGL_J2311.0+0205_daily_bin119.fits scfile=/scratch/kocevski/672879/ft2_4FGL_J2311.0+0205_daily_bin119.fits outfile=/scratch/kocevski/672879/cmap_270172801_270432001_4FGL_J2311.0+0205_daily_bin119.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672879/ft1_filtered_4FGL_J2311.0+0205_daily_bin119.fits scfile=/scratch/kocevski/672879/ft2_4FGL_J2311.0+0205_daily_bin119.fits outfile=/scratch/kocevski/672879/cmap_HighResolution_270172801_270432001_4FGL_J2311.0+0205_daily_bin119.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/672879/ft1_filtered_4FGL_J2311.0+0205_daily_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/672879/ft2_4FGL_J2311.0+0205_daily_bin119.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/672879/Model_4FGL_J2311.0+0205_daily_bin119.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/672879/ft1_filtered_4FGL_J2311.0+0205_daily_bin119.fits.....................!
real 59.23
user 57.86
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6214       1.0000         .10000E-03   10000.    
     2 'norm      '    .11832E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.9938       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10935E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .65576E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.601       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.0867       1.0000         .10000E-03   10000.    
    14 'Prefactor '    216.79       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.416       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.711       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.827       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .39363       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .35207E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .81609       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97665       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=   5798.571     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2605 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6213        6.2596        .31022E-06    .58326E-04
   2  norm          .10013E-03    9.9036        .53719E-06** at limit **
   3  Prefactor     .10000E-03    14.199       -.31115E-06** at limit **
   4  Prefactor     .10000E-03    3.3269       -.93348E-07** at limit **
   5  Prefactor     .10000E-03    32.748       -.16700E-05** at limit **
   6  Prefactor     4.0777        177.31        .26688E-05   -.21680E-04
   7  Prefactor     .10000E-03    6.5234        .42599E-05** at limit **
   8  norm          .65101E-02    .41169        .29541E-07   -.26407E-03
   9  norm          .10000E-03    4.3429        .21909E-05** at limit **
  10  Prefactor     .10000E-03    4.4417       -.15766E-06** at limit **
  11  Prefactor     .10000E-03    21.926        .46092E-07** at limit **
  12  norm          10.604        8.1249       -.27947E-07    .34627E-04
  13  Prefactor     8.0879        7.8905        .17700E-06    .46088E-04
  14  Prefactor     216.61        197.62       -.17439E-05   -.77850E-04
  15  Prefactor     18.352        16.626        .20172E-06   -.19733E-03
  16  Prefactor     .10000E-03    9.1479       -.15765E-06** at limit **
  17  norm          12.702        29.166       -.13722E-05   -.72709E-04
  18  Prefactor     12.893        77.927        .80358E-06    .11009E-04
  19  Prefactor     .42728        3.3525        .61142E-06   -.23252E-03
  20  Prefactor     .10000E-03    129.34        .97396E-06** at limit **
  21  Prefactor     .10000E-03    7.4749       -.15008E-06** at limit **
  22  Normalizat    .81585        .23303       -.59756E-05    .23901E-04
  23  Prefactor     .97675        .14717        .41649E-05   -.25810E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.62126
  norm       = 0.000100131
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.07772
  Prefactor  = 0.000100001
  norm       = 0.00651014
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.6042
  Prefactor  = 8.08792
  Prefactor  = 216.615
  Prefactor  = 18.3516
  Prefactor  = 0.0001
  norm       = 12.7024
  Prefactor  = 12.8934
  Prefactor  = 0.427282
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.815851
  Prefactor  = 0.976751
 **********
 **   18 **HESSE 
 **********

 FCN=   5798.571     FROM HESSE     STATUS=OK           386 CALLS     2991 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6213        6.2443        .25190E-03   -1.5384    
   2  norm          .10013E-03    14.546        .69433E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.3360        .13565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    33.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.0777        175.03        .20181E-03   -1.5304    
   7  Prefactor     .10000E-03    6.8342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .65101E-02    1.3769        .16247E-01   -1.5692    
   9  norm          .10000E-03    4.4399        .15557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.4682        .15671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.604        8.1078        .12305E-03   -1.5057    
  13  Prefactor     8.0879        7.8752        .14099E-03   -1.5139    
  14  Prefactor     216.61        200.23        .13733E-03   -1.2754    
  15  Prefactor     18.352        16.625        .93332E-04   -1.4851    
  16  Prefactor     .10000E-03    9.1628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.702        29.426        .11235E-03   -1.4995    
  18  Prefactor     12.893        77.387        .11184E-03   -1.4990    
  19  Prefactor     .42728        13.138        .22379E-02   -1.5577    
  20  Prefactor     .10000E-03    132.33        .21321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.4871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .81585        .25305        .30568E-03   -.99483    
  23  Prefactor     .97675        .15714        .18684E-03   -.93509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81508e-10
Minuit parameter uncertainties:
  1  6.2458
  2  0.00275984
  3  2.29616e-05
  4  4.01683e-06
  5  0.000156801
  6  53.5989
  7  0.000148589
  8  0.187902
  9  5.13982e-05
  10  8.48615e-06
  11  2.90714e-05
  12  8.10862
  13  7.8762
  14  200.862
  15  16.6289
  16  5.72545e-06
  17  29.4597
  18  63.298
  19  4.73918
  20  0.000818714
  21  1.12412e-05
  22  0.253412
  23  0.157214
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.568e-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.768e-01  1.572e-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.159e-01  2.534e-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: 8.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672879/likelihoodResults_270172801_270432001_4FGL_J2311.0+0205_daily_bin119.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) = 5798.57122688
delta logL = -0.000143217144796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5798.57108445
delta logL = -7.80473783379e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1158       1.0000          .0000       10.000    
     3 'Normalizat'    .81585       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97676       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=   5798.571     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      288 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10013E-03    8185.8        .36285E-03** at limit **
   2  Index         2.2307        5.7147        .50000       -.52368E-04
   3  Normalizat    .81585        .88399E-01    .30569E-03   -.37897E-04
   4  Prefactor     .97675        .59075E-01    .18684E-03   -.18254E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100128
  Index      = 2.23073
  Normalizat = 0.815847
  Prefactor  = 0.976754
 **********
 **   18 **HESSE 
 **********

 FCN=   5798.571     FROM HESSE     STATUS=OK            29 CALLS      317 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10013E-03    63.838        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2307        6.0913        .50000       -.58699    
   3  Normalizat    .81585        .22623        .12228E-04   -.99484    
   4  Prefactor     .97675        .15129        .74736E-05   -.93508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56467e-09
Minuit parameter uncertainties:
  1  0.00573007
  2  4.67431
  3  0.226491
  4  0.15136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672879': 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) = 5798.57108313
delta logL = 5.34345417691e-07

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.001e-04  5.730e-03  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.231e+00  4.674e+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.768e-01  1.514e-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.158e-01  2.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/672879/cmap_HighResolution_270172801_270432001_4FGL_J2311.0+0205_daily_bin119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', job_status='DONE', photon_flux_upper_limit='8.39e-08', time_completed='2021-09-29 07:28:46.130426', job_id='672879', GAL2='0.98', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632925726.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='5.34e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='119' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:28:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 672879: <4FGL_J2311.0+0205_daily_bin119> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin119 347.766 2.0995 270172801 270432001 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.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             266.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            790 sec.

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

