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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin355
RA = 347.766, Dec = 2.0995
tmin = 331344001, tmax = 331603201
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='674508', job_status='RUN', time_executed='2021-09-29 07:23:39.915420', time_epoch_executed='1632925419.92' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='355'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/674508

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/674508/ft1_4FGL_J2311.0+0205_daily_bin355.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/674508/ft2_4FGL_J2311.0+0205_daily_bin355.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/674508/ft1_4FGL_J2311.0+0205_daily_bin355.fits outfile=/scratch/kocevski/674508/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin355.fits ra=347.766 dec=2.0995 rad=12.0 tmin=331344001.0 tmax=331603201.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 2.55
user 2.37
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/674508/ft2_4FGL_J2311.0+0205_daily_bin355.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/674508/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin355.fits evtable="EVENTS" outfile="/scratch/kocevski/674508/ft1_filtered_4FGL_J2311.0+0205_daily_bin355.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.41
user 0.25
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/674508/ft1_filtered_4FGL_J2311.0+0205_daily_bin355.fits" evtable="EVENTS" scfile=/scratch/kocevski/674508/ft2_4FGL_J2311.0+0205_daily_bin355.fits sctable="SC_DATA" outfile=/scratch/kocevski/674508/ltcube_331344001_331603201_4FGL_J2311.0+0205_daily_bin355.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/674508/ft2_4FGL_J2311.0+0205_daily_bin355.fits
.....................!
real 9.02
user 8.73
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/674508/ft1_filtered_4FGL_J2311.0+0205_daily_bin355.fits evtable="EVENTS" scfile=/scratch/kocevski/674508/ft2_4FGL_J2311.0+0205_daily_bin355.fits sctable="SC_DATA" expcube=/scratch/kocevski/674508/ltcube_331344001_331603201_4FGL_J2311.0+0205_daily_bin355.fits outfile=/scratch/kocevski/674508/expmap_331344001_331603201_4FGL_J2311.0+0205_daily_bin355.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/674508/ltcube_331344001_331603201_4FGL_J2311.0+0205_daily_bin355.fits
.....................!
real 144.72
user 141.20
sys 3.27

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/674508/ft1_filtered_4FGL_J2311.0+0205_daily_bin355.fits scfile=/scratch/kocevski/674508/ft2_4FGL_J2311.0+0205_daily_bin355.fits outfile=/scratch/kocevski/674508/cmap_331344001_331603201_4FGL_J2311.0+0205_daily_bin355.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.45
user 0.28
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/674508/ft1_filtered_4FGL_J2311.0+0205_daily_bin355.fits scfile=/scratch/kocevski/674508/ft2_4FGL_J2311.0+0205_daily_bin355.fits outfile=/scratch/kocevski/674508/cmap_HighResolution_331344001_331603201_4FGL_J2311.0+0205_daily_bin355.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.45
user 0.29
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.3456       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5060       1.0000         .10000E-03   10000.    
     8 'norm      '    .92364E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    .15076E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    72.413       1.0000         .10000E-03   10000.    
    12 'norm      '    .58871       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7204       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.848       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10583E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.3993       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .28478       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .70056       1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.329       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.7048       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .95680       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74530       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=   6581.830     FROM MIGRAD    STATUS=FAILED       970 CALLS     3128 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.738        .36285E-03** at limit **
   2  norm          .10000E-03    7.2145        .18142E-02** at limit **
   3  Prefactor     .10000E-03    34.313        .18142E-02** at limit **
   4  Prefactor     .10000E-03    4.6122        .16992E-02** at limit **
   5  Prefactor     3.3492        12.006        .22127E-03   -.94024E-05
   6  Prefactor     .10000E-03    21.232        .18142E-02** at limit **
   7  Prefactor     8.4979        8.1559        .13745E-03   -.66848E-03
   8  norm          .93312E-01    1.3155        .11632E-02    .11017E-02
   9  norm          .10002E-03    22.771        .31819E-02** at limit **
  10  Prefactor     .10000E-03    4.3207        .16435E-02** at limit **
  11  Prefactor     72.375        54.956        .23589E-03    .60002E-04
  12  norm          .59752        28.513        .30893E-02    .15652E-02
  13  Prefactor     7.7095        9.0120        .72160E-03   -.49601E-03
  14  Prefactor     .10000E-03    114.26        .18142E-02** at limit **
  15  Prefactor     11.832        15.013        .11638E-03   -.48353E-03
  16  Prefactor     .10000E-03    11.604        .18142E-02** at limit **
  17  norm          6.4200        40.509        .15866E-03   -.13657E-03
  18  Prefactor     .93531        59.686        .17919        .57083E-04
  19  Prefactor     .70711        9.9586        .26309E-02    .24400E-03
  20  Prefactor     37.369        36.507        .65598E-04   -.17317E-03
  21  Prefactor     4.7163        16.554        .18552E-03    .25309E-04
  22  Normalizat    .95639        .22049        .27520E-03   -.44314E-03
  23  Prefactor     .74535        .13103        .19539E-03   -.93251E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6581.830     FROM SIMPLEX   STATUS=UNCHANGED   1217 CALLS     4345 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.738        .39336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.2145        .17413E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    34.313        .51909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.6122        .22239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3492        12.006        .66852E-06   -1.5342    
   6  Prefactor     .10000E-03    21.232        .53098E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4979        8.1559        .65972E-06   -1.5125    
   8  norm          .93312E-01    1.3155        .69107E-06   -1.5647    
   9  norm          .10002E-03    22.771        .46226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.3207        .26954E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     72.375        54.956        .60754E-06   -1.4004    
  12  norm          .59752        28.513        .62251E-06   -1.5553    
  13  Prefactor     7.7095        9.0120        .65425E-06   -1.5153    
  14  Prefactor     .10000E-03    114.26        .14724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.832        15.013        .65439E-06   -1.5020    
  16  Prefactor     .10000E-03    11.604        .26137E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.4200        40.509        .66156E-06   -1.5201    
  18  Prefactor     .93531        59.686        .67209E-06   -1.5515    
  19  Prefactor     .70711        9.9586        .67587E-06   -1.5540    
  20  Prefactor     37.369        36.507        .63070E-06   -1.4485    
  21  Prefactor     4.7163        16.554        .66491E-06   -1.5274    
  22  Normalizat    .95639        .22049        .41157E-06   -.94506    
  23  Prefactor     .74535        .13103        .44347E-06   -1.0178    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6581.830     FROM MIGRAD    STATUS=CONVERGED    367 CALLS     4712 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.739        .72569E-04** at limit **
   2  norm          .10000E-03    7.2162        .36285E-03** at limit **
   3  Prefactor     .10000E-03    34.321        .36285E-03** at limit **
   4  Prefactor     .10000E-03    4.6126        .33985E-03** at limit **
   5  Prefactor     3.3492        12.004        .88508E-05    .77069E-06
   6  Prefactor     .10000E-03    21.232        .36285E-03** at limit **
   7  Prefactor     8.4980        8.1433        .54979E-05   -.78577E-04
   8  norm          .93295E-01    1.3058        .46530E-04   -.48622E-04
   9  norm          .10000E-03    23.193        .63638E-03** at limit **
  10  Prefactor     .10000E-03    4.3211        .32871E-03** at limit **
  11  Prefactor     72.375        54.952        .94356E-05    .21688E-05
  12  norm          .59745        26.747        .61785E-03   -.95314E-05
  13  Prefactor     7.7096        8.7360        .28864E-04    .23238E-04
  14  Prefactor     .10000E-03    114.26        .36285E-03** at limit **
  15  Prefactor     11.832        14.979        .46553E-05    .18071E-04
  16  Prefactor     .10000E-03    11.605        .36285E-03** at limit **
  17  norm          6.4202        38.811        .63465E-05    .82402E-05
  18  Prefactor     .93538        60.984        .17635        .64729E-04
  19  Prefactor     .70703        9.1867        .10524E-03   -.28952E-04
  20  Prefactor     37.369        36.501        .13120E-04    .20797E-05
  21  Prefactor     4.7162        16.550        .74208E-05    .61280E-06
  22  Normalizat    .95639        .21950        .55040E-04   -.16359E-04
  23  Prefactor     .74536        .13088        .39077E-04   -.16525E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.34922
  Prefactor  = 0.0001
  Prefactor  = 8.49803
  norm       = 0.0932953
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 72.3747
  norm       = 0.597449
  Prefactor  = 7.70959
  Prefactor  = 0.0001
  Prefactor  = 11.8322
  Prefactor  = 0.0001
  norm       = 6.42019
  Prefactor  = 0.935379
  Prefactor  = 0.707029
  Prefactor  = 37.3692
  Prefactor  = 4.71617
  Normalizat = 0.956389
  Prefactor  = 0.745356
 **********
 **   18 **HESSE 
 **********

 FCN=   6581.830     FROM HESSE     STATUS=OK           358 CALLS     5070 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.739        .14514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.2163        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    34.321        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.6126        .67969E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3492        12.017        .17702E-05   -1.5342    
   6  Prefactor     .10000E-03    21.232        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4980        8.1438        .10996E-05   -1.5125    
   8  norm          .93295E-01    1.3052        .18612E-05   -1.5647    
   9  norm          .10000E-03    23.210        .12728E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.3211        .65742E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     72.375        54.950        .18871E-05   -1.4004    
  12  norm          .59745        26.333        .24714E-04   -1.5553    
  13  Prefactor     7.7096        8.6762        .11546E-05   -1.5153    
  14  Prefactor     .10000E-03    114.26        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.832        14.980        .93107E-06   -1.5020    
  16  Prefactor     .10000E-03    11.605        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.4202        38.662        .12693E-05   -1.5201    
  18  Prefactor     .93538        60.638        .17706       -1.5515    
  19  Prefactor     .70703        9.1452        .42094E-05   -1.5540    
  20  Prefactor     37.369        36.508        .26239E-05   -1.4485    
  21  Prefactor     4.7162        16.570        .14842E-05   -1.5274    
  22  Normalizat    .95639        .21953        .11008E-04   -.94506    
  23  Prefactor     .74536        .13089        .78154E-05   -1.0178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.272e-10
Minuit parameter uncertainties:
  1  5.42863e-07
  2  8.60638e-07
  3  4.05715e-06
  4  4.22017e-07
  5  12.0256
  6  2.86383e-06
  7  8.14486
  8  0.697546
  9  7.80652e-05
  10  4.49688e-07
  11  54.9887
  12  7.9359
  13  8.6776
  14  3.67609e-06
  15  14.985
  16  1.3527e-06
  17  31.5401
  18  15.0776
  19  5.08623
  20  36.5299
  21  16.5861
  22  0.219734
  23  0.130947
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  3.349e+00  1.203e+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:  7.454e-01  1.309e-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:  9.564e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/674508/likelihoodResults_331344001_331603201_4FGL_J2311.0+0205_daily_bin355.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) = 6581.8119918
delta logL = 0.0178870769723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6581.81109646
delta logL = 0.0187824131035

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9636       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5081       1.0000          .0000       10.000    
     3 'Normalizat'    .95286       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74632       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.

 FCN=   6581.811     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      220 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9636        102.72        .58970E-02    .60890E-03
   2  Index         2.5084        1.2026        .46372        .48225E-05
   3  Normalizat    .95294        .18416E-01    .45574E-01    .15840E-04
   4  Prefactor     .74628        .11691E-01    .43014E-01    .10116E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.96357
  Index      = 2.50843
  Normalizat = 0.952944
  Prefactor  = 0.746275
 **********
 **   18 **HESSE 
 **********

 FCN=   6581.811     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9636        10.870        .23588E-03   -1.5364    
   2  Index         2.5084        1.7514        .56059E-02   -.52165    
   3  Normalizat    .95294        .20204        .27566E-03   -.94624    
   4  Prefactor     .74628        .12806        .19527E-03   -1.0174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25323e-10
Minuit parameter uncertainties:
  1  10.8775
  2  1.80291
  3  0.202205
  4  0.128111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/674508': 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) = 6581.81109632
delta logL = 0.0187825506337

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.964e+00  1.088e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.508e+00  1.803e+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:  7.463e-01  1.281e-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:  9.529e-01  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/674508/cmap_HighResolution_331344001_331603201_4FGL_J2311.0+0205_daily_bin355.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.45e-03', job_status='DONE', photon_flux_upper_limit='7.16e-08', time_completed='2021-09-29 07:33:31.636400', job_id='674508', GAL2='0.75', fit_tolerance='1e-08', EG2='0.95', EG='0.96', time_epoch_completed='1632926011.64', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.88e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='355' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:33:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 674508: <4FGL_J2311.0+0205_daily_bin355> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin355 347.766 2.0995 331344001 331603201 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 :                                   590.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             236.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            783 sec.

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

