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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin921
RA = 347.766, Dec = 2.0995
tmin = 478051201, tmax = 478310401
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='677100', job_status='RUN', time_executed='2021-09-29 07:34:37.522424', time_epoch_executed='1632926077.52' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='921'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677100

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677100/ft1_4FGL_J2311.0+0205_daily_bin921.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677100/ft2_4FGL_J2311.0+0205_daily_bin921.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677100/ft1_4FGL_J2311.0+0205_daily_bin921.fits outfile=/scratch/kocevski/677100/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin921.fits ra=347.766 dec=2.0995 rad=12.0 tmin=478051201.0 tmax=478310401.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.52
user 3.31
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677100/ft1_filtered_4FGL_J2311.0+0205_daily_bin921.fits" evtable="EVENTS" scfile=/scratch/kocevski/677100/ft2_4FGL_J2311.0+0205_daily_bin921.fits sctable="SC_DATA" outfile=/scratch/kocevski/677100/ltcube_478051201_478310401_4FGL_J2311.0+0205_daily_bin921.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/677100/ft2_4FGL_J2311.0+0205_daily_bin921.fits
.....................!
real 11.79
user 11.47
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677100/ft1_filtered_4FGL_J2311.0+0205_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/677100/ft2_4FGL_J2311.0+0205_daily_bin921.fits sctable="SC_DATA" expcube=/scratch/kocevski/677100/ltcube_478051201_478310401_4FGL_J2311.0+0205_daily_bin921.fits outfile=/scratch/kocevski/677100/expmap_478051201_478310401_4FGL_J2311.0+0205_daily_bin921.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/677100/ltcube_478051201_478310401_4FGL_J2311.0+0205_daily_bin921.fits
.....................!
real 190.15
user 185.15
sys 4.65

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677100/ft1_filtered_4FGL_J2311.0+0205_daily_bin921.fits scfile=/scratch/kocevski/677100/ft2_4FGL_J2311.0+0205_daily_bin921.fits outfile=/scratch/kocevski/677100/cmap_HighResolution_478051201_478310401_4FGL_J2311.0+0205_daily_bin921.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/677100/ft1_filtered_4FGL_J2311.0+0205_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/677100/ft2_4FGL_J2311.0+0205_daily_bin921.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677100/Model_4FGL_J2311.0+0205_daily_bin921.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/677100/ft1_filtered_4FGL_J2311.0+0205_daily_bin921.fits.....................!
real 64.78
user 63.40
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.455       1.0000         .10000E-03   10000.    
     2 'norm      '    .11422E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.719       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10889E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.6479       1.0000         .10000E-03   10000.    
     9 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .32287E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5000       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    52.582       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10996E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10169E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.502       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    47.667       1.0000         .10000E-03   10000.    
    21 'Prefactor '    32.690       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0346       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92318       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=   6080.197     FROM MIGRAD    STATUS=CONVERGED    911 CALLS     3283 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.452        17.033        .70336E-04    .48490E-05
   2  norm          .10000E-03    13.921        .18142E-02** at limit **
   3  Prefactor     20.693        40.518        .87994E-04   -.90439E-06
   4  Prefactor     .10000E-03    3.7500        .14742E-02** at limit **
   5  Prefactor     .10000E-03    8.9165        .18142E-02** at limit **
   6  Prefactor     .10000E-03    74.824        .18142E-02** at limit **
   7  Prefactor     .10000E-03    4.2262        .15633E-02** at limit **
   8  norm          2.6489        1.2896        .57323E-04   -.22550E-03
   9  norm          .10000E-03    2.5810        .12215E-02** at limit **
  10  Prefactor     .10000E-03    4.8053        .16649E-02** at limit **
  11  Prefactor     .10000E-03    38.700        .15483    ** at limit **
  12  norm          1.4974        6.0201        .17483E-02    .82615E-03
  13  Prefactor     .10000E-03    2.3540        .11658E-02** at limit **
  14  Prefactor     52.416        153.34        .27655E-03   -.34942E-05
  15  Prefactor     .10000E-03    6.9385        .18142E-02** at limit **
  16  Prefactor     .10000E-03    14.309        .18142E-02** at limit **
  17  norm          .10000E-03    7.4432        .18142E-02** at limit **
  18  Prefactor     15.498        48.234        .10173E-03   -.50291E-05
  19  Prefactor     .10000E-03    4.1544        .15375E-02** at limit **
  20  Prefactor     47.629        43.463        .58078E-04   -.12528E-04
  21  Prefactor     32.703        24.632        .70083E-04    .10382E-04
  22  Normalizat    1.0343        .25387        .31321E-03   -.22540E-04
  23  Prefactor     .92347        .15558        .20899E-03   -.39331E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.4522
  norm       = 0.0001
  Prefactor  = 20.693
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.64895
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.49736
  Prefactor  = 0.0001
  Prefactor  = 52.4163
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.4978
  Prefactor  = 0.0001
  Prefactor  = 47.6294
  Prefactor  = 32.7031
  Normalizat = 1.03433
  Prefactor  = 0.92347
 **********
 **   18 **HESSE 
 **********

 FCN=   6080.197     FROM HESSE     STATUS=OK           358 CALLS     3641 TOTAL
                     EDM=   .95E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.452        17.033        .28134E-05   -1.4568    
   2  norm          .10000E-03    13.927        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.693        40.495        .35198E-05   -1.4798    
   4  Prefactor     .10000E-03    3.7500        .29483E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.9180        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    74.848        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.2265        .31266E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.6489        1.2895        .22929E-05   -1.5382    
   9  norm          .10000E-03    2.5811        .24431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.8060        .33297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    38.748        .15466       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4974        6.0119        .34966E-03   -1.5463    
  13  Prefactor     .10000E-03    2.3541        .23316E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     52.416        153.33        .11062E-04   -1.4259    
  15  Prefactor     .10000E-03    6.9394        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.312        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    7.4433        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.498        48.204        .40690E-05   -1.4920    
  19  Prefactor     .10000E-03    4.1562        .30749E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     47.629        43.465        .23231E-05   -1.4327    
  21  Prefactor     32.703        24.633        .28033E-05   -1.4564    
  22  Normalizat    1.0343        .25406        .12529E-04   -.91889    
  23  Prefactor     .92347        .15569        .83594E-05   -.95326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.49935e-12
Minuit parameter uncertainties:
  1  17.0351
  2  2.81087e-05
  3  40.5493
  4  2.01189e-06
  5  5.36295e-06
  6  5.69166e-05
  7  1.89799e-06
  8  1.28951
  9  6.80024e-07
  10  5.49892e-06
  11  4.94017e-05
  12  6.00152
  13  2.55105e-06
  14  154.51
  15  7.34594e-06
  16  1.73101e-05
  17  3.19461e-06
  18  48.325
  19  1.15452e-05
  20  43.494
  21  24.6405
  22  0.254362
  23  0.155762
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  5.363e-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:  9.235e-01  1.558e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  1.034e+00  2.544e-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: 6.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/677100/likelihoodResults_478051201_478310401_4FGL_J2311.0+0205_daily_bin921.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) = 6080.19788811
delta logL = -0.000534225720912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6080.19735389
delta logL = -7.26595317246e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1807       1.0000          .0000       10.000    
     3 'Normalizat'    1.0343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92348       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6080.197     FROM MIGRAD    STATUS=FAILED        88 CALLS      240 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10033E-03    797.48        .18142E-02** at limit **
   2  Index         2.1183        5.8935        .50000        .26125E-05
   3  Normalizat    1.0343        .59698E-01    .31322E-03   -.27585E-05
   4  Prefactor     .92347        .38074E-01    .20898E-03   -.41888E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6080.197     FROM SIMPLEX   STATUS=UNCHANGED    165 CALLS      405 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10033E-03    797.48        .43993E-03** at limit **
   2  Index         2.1183        5.8935        .74855E-05    .26125E-05
   3  Normalizat    1.0343        .59698E-01    .57586E-06   -.27585E-05
   4  Prefactor     .92347        .38074E-01    .17739E-06   -.41888E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6080.197     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      443 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.031        .36285E-03** at limit **
   2  Index         2.0469        6.0226        .50000        .14393E-07
   3  Normalizat    1.0343        .24064        .12529E-04    .30852E-04
   4  Prefactor     .92347        .15364        .83593E-05    .44880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.04685
  Normalizat = 1.03433
  Prefactor  = 0.92347
 **********
 **   18 **HESSE 
 **********

 FCN=   6080.197     FROM HESSE     STATUS=OK            29 CALLS      472 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3179        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0469        5.7847        .50000       -.63184    
   3  Normalizat    1.0343        .24009        .25058E-05   -.91889    
   4  Prefactor     .92347        .15327        .16719E-05   -.95326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1569e-12
Minuit parameter uncertainties:
  1  1.7879e-05
  2  252.091
  3  0.240339
  4  0.153341
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677100': 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) = 6080.1973538
delta logL = 8.60436557559e-08

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.788e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.047e+00  2.521e+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:  9.235e-01  1.533e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  1.034e+00  2.403e-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/677100/cmap_HighResolution_478051201_478310401_4FGL_J2311.0+0205_daily_bin921.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-03', job_status='DONE', photon_flux_upper_limit='6.23e-08', time_completed='2021-09-29 07:46:06.831942', job_id='677100', GAL2='0.92', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1632926766.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='8.60e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='921' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:46:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 677100: <4FGL_J2311.0+0205_daily_bin921> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin921 347.766 2.0995 478051201 478310401 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 :                                   686.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

