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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin91
RA = 347.766, Dec = 2.0995
tmin = 262915201, tmax = 263174401
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='672839', job_status='RUN', time_executed='2021-09-29 07:16:39.429137', time_epoch_executed='1632924999.43' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='91'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672839

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672839/ft1_4FGL_J2311.0+0205_daily_bin91.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672839/ft2_4FGL_J2311.0+0205_daily_bin91.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672839/ft1_4FGL_J2311.0+0205_daily_bin91.fits outfile=/scratch/kocevski/672839/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin91.fits ra=347.766 dec=2.0995 rad=12.0 tmin=262915201.0 tmax=263174401.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.27
user 1.10
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672839/ft1_filtered_4FGL_J2311.0+0205_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/672839/ft2_4FGL_J2311.0+0205_daily_bin91.fits sctable="SC_DATA" expcube=/scratch/kocevski/672839/ltcube_262915201_263174401_4FGL_J2311.0+0205_daily_bin91.fits outfile=/scratch/kocevski/672839/expmap_262915201_263174401_4FGL_J2311.0+0205_daily_bin91.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/672839/ltcube_262915201_263174401_4FGL_J2311.0+0205_daily_bin91.fits
.....................!
real 190.88
user 185.07
sys 5.49

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/672839/ft1_filtered_4FGL_J2311.0+0205_daily_bin91.fits scfile=/scratch/kocevski/672839/ft2_4FGL_J2311.0+0205_daily_bin91.fits outfile=/scratch/kocevski/672839/cmap_262915201_263174401_4FGL_J2311.0+0205_daily_bin91.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672839/ft1_filtered_4FGL_J2311.0+0205_daily_bin91.fits scfile=/scratch/kocevski/672839/ft2_4FGL_J2311.0+0205_daily_bin91.fits outfile=/scratch/kocevski/672839/cmap_HighResolution_262915201_263174401_4FGL_J2311.0+0205_daily_bin91.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/672839/ft1_filtered_4FGL_J2311.0+0205_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/672839/ft2_4FGL_J2311.0+0205_daily_bin91.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/672839/Model_4FGL_J2311.0+0205_daily_bin91.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/672839/ft1_filtered_4FGL_J2311.0+0205_daily_bin91.fits.....................!
real 80.37
user 78.99
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4895       1.0000         .10000E-03   10000.    
     2 'norm      '    6.5369       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.035       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.9222       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11463E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .44111       1.0000         .10000E-03   10000.    
     9 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5474       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.616       1.0000         .10000E-03   10000.    
    12 'norm      '    21.483       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.4207       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11932E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0539       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.194       1.0000         .10000E-03   10000.    
    17 'norm      '    .10936E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.069       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .17630       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .38504       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2365       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=   8519.553     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2657 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4894        6.0912        .61537E-07    .16588E-05
   2  norm          6.5358        8.0154        .31999E-07    .91024E-05
   3  Prefactor     .10000E-03    8.1160        .14250E-06** at limit **
   4  Prefactor     .10000E-03    3.4457        .42283E-07** at limit **
   5  Prefactor     13.039        14.162        .15172E-05    .14295E-03
   6  Prefactor     4.8412        70.053       -.53633E-05    .19214E-04
   7  Prefactor     .10000E-03    7.1684       -.34220E-05** at limit **
   8  norm          .44138        .59026        .66416E-07    .66029E-03
   9  norm          .10000E-03    3.5146       -.90809E-06** at limit **
  10  Prefactor     1.5472        9.0010        .20691E-05    .40857E-04
  11  Prefactor     16.628        22.935       -.44561E-06   -.11496E-04
  12  norm          21.477        10.288       -.14840E-06    .15260E-04
  13  Prefactor     8.4214        7.2459       -.17666E-06   -.31056E-04
  14  Prefactor     .10000E-03    49.455        .14989E-06** at limit **
  15  Prefactor     1.0342        11.235       -.12776E-05   -.11107E-04
  16  Prefactor     21.204        21.628       -.61697E-07    .50461E-04
  17  norm          .10000E-03    13.042       -.10093E-05** at limit **
  18  Prefactor     .10000E-03    12.300        .82840E-06** at limit **
  19  Prefactor     13.078        6.0803        .25151E-06    .36586E-03
  20  Prefactor     .10000E-03    11.476       -.22004E-06** at limit **
  21  Prefactor     .27272E-03    13.489       -.15714E-05** at limit **
  22  Normalizat    .38533        .20635        .12042E-05    .18169E-03
  23  Prefactor     1.2365        .12941       -.40673E-06    .36727E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.4894
  norm       = 6.5358
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.039
  Prefactor  = 4.84116
  Prefactor  = 0.0001
  norm       = 0.441383
  norm       = 0.0001
  Prefactor  = 1.54716
  Prefactor  = 16.6278
  norm       = 21.4774
  Prefactor  = 8.42139
  Prefactor  = 0.0001
  Prefactor  = 1.03423
  Prefactor  = 21.2036
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.0778
  Prefactor  = 0.0001
  Prefactor  = 0.000272716
  Normalizat = 0.385334
  Prefactor  = 1.23651
 **********
 **   18 **HESSE 
 **********

 FCN=   8519.553     FROM HESSE     STATUS=OK           386 CALLS     3043 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4894        6.0855        .19002E-03   -1.5284    
   2  norm          6.5358        7.9987        .15696E-03   -1.5197    
   3  Prefactor     .10000E-03    8.1226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.4589        .16732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.039        14.238        .11095E-03   -1.4986    
   6  Prefactor     4.8412        69.298        .18129E-03   -1.5268    
   7  Prefactor     .10000E-03    7.1092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .44138        .49557        .77856E-03   -1.5575    
   9  norm          .10000E-03    3.5964        .33622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5472        9.6685        .17126E-02   -1.5459    
  11  Prefactor     16.628        22.929        .98256E-04   -1.4892    
  12  norm          21.477        10.280        .86417E-04   -1.4781    
  13  Prefactor     8.4214        7.2276        .13815E-03   -1.5127    
  14  Prefactor     .10000E-03    49.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.0342        25.219        .42647E-02   -1.5505    
  16  Prefactor     21.204        21.595        .87003E-04   -1.4787    
  17  norm          .10000E-03    13.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.078        5.9330        .11080E-03   -1.4985    
  20  Prefactor     .10000E-03    11.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .27272E-03    17.482        .89075E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .38533        .20454        .44554E-03   -1.1807    
  23  Prefactor     1.2365        .13181        .17584E-03   -.85215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.82848e-08
Minuit parameter uncertainties:
  1  6.08633
  2  7.99998
  3  1.63954e-07
  4  2.25775e-07
  5  14.2419
  6  36.6833
  7  1.64174e-05
  8  0.495572
  9  1.06852e-05
  10  7.73691
  11  22.9413
  12  10.2812
  13  7.22835
  14  1.36782e-05
  15  10.2185
  16  21.6029
  17  5.2886e-05
  18  4.51519e-05
  19  5.93323
  20  1.39271e-05
  21  0.10993
  22  0.204939
  23  0.13185
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.304e+01  1.424e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.237e+00  1.318e-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:  3.853e-01  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.15
Ra Dec: 347.766 2.099
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.45e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 1.23e-05

TS (Fixed Index): 1.15
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 8.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672839/likelihoodResults_262915201_263174401_4FGL_J2311.0+0205_daily_bin91.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8519.48492024
delta logL = 0.0679740445248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8519.4822619
delta logL = 0.070632384588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.155       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9574       1.0000          .0000       10.000    
     3 'Normalizat'    .39055       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2338       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=   8519.482     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      298 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.157        17.813        .99649E-04   -.10899E-02
   2  Index         1.9572        .58002        .10125E-01   -.42536E-03
   3  Normalizat    .39080        .18855        .44249E-03    .16978E-03
   4  Prefactor     1.2337        .12957        .17599E-03    .61225E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1565
  Index      = 1.95725
  Normalizat = 0.390802
  Prefactor  = 1.23369
 **********
 **   18 **HESSE 
 **********

 FCN=   8519.482     FROM HESSE     STATUS=OK            23 CALLS      321 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.157        17.518        .19930E-04   -1.4904    
   2  Index         1.9572        .57053        .40501E-03   -.65423    
   3  Normalizat    .39080        .18850        .17700E-04   -1.1778    
   4  Prefactor     1.2337        .12955        .35199E-04   -.85301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94553e-09
Minuit parameter uncertainties:
  1  17.5236
  2  0.57251
  3  0.188807
  4  0.12958
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672839': 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) = 8519.48226095
delta logL = 0.0706333299331

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.616e+01  1.752e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.957e+00  5.725e-01  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:  1.234e+00  1.296e-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:  3.908e-01  1.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 347.766 2.099
Photon Index (Free Index): 1.96 +/- 0.57
Photon Flux (Free Index): 2.13e-08 +/- 2.50e-08
Energy Flux (Free Index): 1.64e-05 +/- 2.32e-05

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/672839/cmap_HighResolution_262915201_263174401_4FGL_J2311.0+0205_daily_bin91.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.45e-03', comment='SUCCESS', photon_flux='2.45e-08', energy_flux2='1.64e-05', photon_flux_error='2.67e-08', dlogl='7.06e-02', energy_flux='1.13e-05', photon_flux2='2.13e-08', job_status='DONE', time_completed='2021-09-29 07:29:24.311796', photon_index_error2='0.57', photon_index2='1.96', ts='1.15', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='8.47e-08', energy_flux_error2='2.32e-05', EG='0.39', time_epoch_completed='1632925764.31', return_code='0', job_id='672839', GAL2='1.23', EG2='0.39', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='2.50e-08', ts2='1.29', photon_index='2.19' WHERE bin_id='91' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:29:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 672839: <4FGL_J2311.0+0205_daily_bin91> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin91 347.766 2.0995 262915201 263174401 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 :                                   764.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            832 sec.

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

