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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin762
RA = 347.766, Dec = 2.0995
tmin = 436838401, tmax = 437097601
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='676862', job_status='RUN', time_executed='2021-09-29 07:34:45.417082', time_epoch_executed='1632926085.42' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676862

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676862/ft1_4FGL_J2311.0+0205_daily_bin762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676862/ft2_4FGL_J2311.0+0205_daily_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676862/ft1_4FGL_J2311.0+0205_daily_bin762.fits outfile=/scratch/kocevski/676862/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin762.fits ra=347.766 dec=2.0995 rad=12.0 tmin=436838401.0 tmax=437097601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.97
user 4.67
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676862/ft1_filtered_4FGL_J2311.0+0205_daily_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/676862/ft2_4FGL_J2311.0+0205_daily_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/676862/ltcube_436838401_437097601_4FGL_J2311.0+0205_daily_bin762.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/676862/ft2_4FGL_J2311.0+0205_daily_bin762.fits
.....................!
real 14.26
user 13.92
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676862/ft1_filtered_4FGL_J2311.0+0205_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/676862/ft2_4FGL_J2311.0+0205_daily_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/676862/ltcube_436838401_437097601_4FGL_J2311.0+0205_daily_bin762.fits outfile=/scratch/kocevski/676862/expmap_436838401_437097601_4FGL_J2311.0+0205_daily_bin762.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/676862/ltcube_436838401_437097601_4FGL_J2311.0+0205_daily_bin762.fits
.....................!
real 191.02
user 186.01
sys 4.63

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/676862/ft1_filtered_4FGL_J2311.0+0205_daily_bin762.fits scfile=/scratch/kocevski/676862/ft2_4FGL_J2311.0+0205_daily_bin762.fits outfile=/scratch/kocevski/676862/cmap_436838401_437097601_4FGL_J2311.0+0205_daily_bin762.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=347.766 yref=2.0995 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676862/ft1_filtered_4FGL_J2311.0+0205_daily_bin762.fits scfile=/scratch/kocevski/676862/ft2_4FGL_J2311.0+0205_daily_bin762.fits outfile=/scratch/kocevski/676862/cmap_HighResolution_436838401_437097601_4FGL_J2311.0+0205_daily_bin762.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.57
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24162E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .36030E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10470E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.359       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .44314       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6711       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.1282       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2716       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.951       1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.349       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    75.317       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12315E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    32.573       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87640       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1760       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=   3291.035     FROM MIGRAD    STATUS=FAILED       927 CALLS     3855 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10121E-03    239.32        .58376E-02** at limit **
   2  norm          .10865E-03    23.930        .78248E-01** at limit **
   3  Prefactor     .10000E-03    32.506        .18142E-02** at limit **
   4  Prefactor     .10000E-03    12.815        .18142E-02** at limit **
   5  Prefactor     .10000E-03    77.703        .18142E-02** at limit **
   6  Prefactor     21.133        243.39        .86668E-04    .78968E-04
   7  Prefactor     .44327        366.28        .44367E-02    .38887E-03
   8  norm          1.6705        1.5504        .64476E-04    .18315E-03
   9  norm          .10000E-03    12.945        .18142E-02** at limit **
  10  Prefactor     6.1283        9.9388        .16218E-03   -.44514E-05
  11  Prefactor     .10000E-03    56.261        .18142E-02** at limit **
  12  norm          .10000E-03    4.9288        .12425E-02** at limit **
  13  Prefactor     6.2724        11.243        .16029E-03   -.38407E-04
  14  Prefactor     26.507        1213.4        .39319E-03    .28047E-05
  15  Prefactor     27.335        21.238        .76605E-04   -.15167E-03
  16  Prefactor     .10000E-03    10.327        .18005E-02** at limit **
  17  norm          .10000E-03    16.538        .18142E-02** at limit **
  18  Prefactor     75.270        129.59        .46266E-04    .29536E-04
  19  Prefactor     .10000E-03    3.3089        .10175E-02** at limit **
  20  Prefactor     .10000E-03    411.33        .18142E-02** at limit **
  21  Prefactor     32.559        44.858        .70209E-04   -.98305E-04
  22  Normalizat    .87715        .44000        .37003E-03   -.96932E-05
  23  Prefactor     1.1755        .25621        .20551E-03   -.68740E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   3291.035     FROM SIMPLEX   STATUS=UNCHANGED   1091 CALLS     4946 TOTAL
                     EDM=   .20E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10121E-03    239.32        .18794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10865E-03    23.930        .20692E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.506        .75885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.815        .27827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    77.703        .72960E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.133        243.39        .73143E-06   -1.4788    
   7  Prefactor     .44327        366.28        .10135E-05   -1.5575    
   8  norm          1.6705        1.5504        .76864E-06   -1.5449    
   9  norm          .10000E-03    12.945        .43786E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.1283        9.9388        .75692E-06   -1.5213    
  11  Prefactor     .10000E-03    56.261        .59764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.9288        .24212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.2724        11.243        .75662E-06   -1.5207    
  14  Prefactor     26.507        1213.4        .73015E-06   -1.4678    
  15  Prefactor     27.335        21.238        .72932E-06   -1.4662    
  16  Prefactor     .10000E-03    10.327        .30001E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    16.538        .40616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     75.270        129.59        .69502E-06   -1.3971    
  19  Prefactor     .10000E-03    3.3089        .14634E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    411.33        .13723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.559        44.858        .72463E-06   -1.4566    
  22  Normalizat    .87715        .44000        .48391E-06   -.97268    
  23  Prefactor     1.1755        .25621        .43328E-06   -.87088    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3291.035     FROM MIGRAD    STATUS=CONVERGED    362 CALLS     5308 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    247.64        .23350E-03** at limit **
   2  norm          .10825E-03    22.746        .81227E-01** at limit **
   3  Prefactor     .10000E-03    32.507        .36285E-03** at limit **
   4  Prefactor     .10000E-03    12.817        .36285E-03** at limit **
   5  Prefactor     .10000E-03    77.733        .36285E-03** at limit **
   6  Prefactor     21.142        197.41        .17334E-04    .88544E-04
   7  Prefactor     .44050        298.25        .17747E-03    .29243E-04
   8  norm          1.6705        1.5495        .12895E-04    .28785E-03
   9  norm          .10000E-03    12.947        .36285E-03** at limit **
  10  Prefactor     6.1283        9.9384        .64871E-05    .12268E-05
  11  Prefactor     .10000E-03    56.262        .36285E-03** at limit **
  12  norm          .10000E-03    4.9289        .24849E-03** at limit **
  13  Prefactor     6.2724        11.241        .64116E-05   -.35463E-05
  14  Prefactor     26.506        1212.8        .15728E-04    .23131E-05
  15  Prefactor     27.335        21.235        .15321E-04    .16918E-04
  16  Prefactor     .10000E-03    10.327        .36011E-03** at limit **
  17  norm          .10000E-03    16.538        .36285E-03** at limit **
  18  Prefactor     75.272        129.10        .92532E-05    .34647E-04
  19  Prefactor     .10000E-03    3.3090        .20349E-03** at limit **
  20  Prefactor     .10000E-03    411.55        .36285E-03** at limit **
  21  Prefactor     32.559        44.854        .14042E-04   -.11578E-04
  22  Normalizat    .87715        .44033        .14801E-04    .13964E-03
  23  Prefactor     1.1755        .25626        .41102E-04    .21801E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100032
  norm       = 0.000108251
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.1422
  Prefactor  = 0.440499
  norm       = 1.67049
  norm       = 0.0001
  Prefactor  = 6.12832
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.27238
  Prefactor  = 26.5061
  Prefactor  = 27.3348
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 75.2715
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.559
  Normalizat = 0.877147
  Prefactor  = 1.17551
 **********
 **   18 **HESSE 
 **********

 FCN=   3291.035     FROM HESSE     STATUS=OK           356 CALLS     5664 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    247.65        .46701E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10825E-03    23.022        .80501E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.507        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.817        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    77.734        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.142        195.12        .34667E-05   -1.4788    
   7  Prefactor     .44050        295.11        .70988E-05   -1.5575    
   8  norm          1.6705        1.5493        .25790E-05   -1.5449    
   9  norm          .10000E-03    12.947        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.1283        9.9349        .12974E-05   -1.5213    
  11  Prefactor     .10000E-03    56.261        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.9289        .49699E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.2724        11.234        .12823E-05   -1.5207    
  14  Prefactor     26.506        1207.7        .31455E-05   -1.4678    
  15  Prefactor     27.335        21.226        .30642E-05   -1.4662    
  16  Prefactor     .10000E-03    10.327        .72022E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    16.538        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     75.272        128.97        .18506E-05   -1.3971    
  19  Prefactor     .10000E-03    3.3090        .40699E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    411.56        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.559        44.853        .28084E-05   -1.4566    
  22  Normalizat    .87715        .43969        .29603E-05   -.97268    
  23  Prefactor     1.1755        .25595        .82204E-05   -.87088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.20722e-10
Minuit parameter uncertainties:
  1  0.00564391
  2  0.0275753
  3  4.81975e-06
  4  2.55447e-06
  5  2.6779e-05
  6  129.016
  7  22.9149
  8  1.54933
  9  6.73153e-05
  10  9.93756
  11  7.14626e-06
  12  9.9249e-07
  13  11.2374
  14  365.991
  15  21.2315
  16  1.42139e-08
  17  2.00929e-07
  18  129.451
  19  2.97193e-07
  20  2.2909e-06
  21  44.9
  22  0.441498
  23  0.256218
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.678e-05  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.176e+00  2.562e-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.771e-01  4.415e-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: 1.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/676862/likelihoodResults_436838401_437097601_4FGL_J2311.0+0205_daily_bin762.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) = 3291.03478401
delta logL = -6.12101644037e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3291.03472291
delta logL = -1.12610450742e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3729       1.0000          .0000       10.000    
     3 'Normalizat'    .87715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1755       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=   3291.035     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      245 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    54.041        .90712E-02** at limit **
   2  Index         2.3424        6.8225        .50000        .32193E-05
   3  Normalizat    .87714        .72871E-02    .83567E-01    .29040E-04
   4  Prefactor     1.1755        .46350E-02    .35237E-01    .43615E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 2.34243
  Normalizat = 0.877145
  Prefactor  = 1.17551
 **********
 **   18 **HESSE 
 **********

 FCN=   3291.035     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    307.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3424        8.3855        .50000       -.56039    
   3  Normalizat    .87714        .17348E-01    .37000E-03   -.97268    
   4  Prefactor     1.1755        .11060E-01    .20552E-03   -.87088    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.70004e-08
Minuit parameter uncertainties:
  1  0.00305262
  2  281.132
  3  0.0173476
  4  0.0110595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676862': 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): 102
logL (Free Index) = 3291.03472286
delta logL = -5.839365258e-08

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  3.053e-03  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.342e+00  2.811e+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:  1.176e+00  1.106e-02  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.771e-01  1.735e-02  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/676862/cmap_HighResolution_436838401_437097601_4FGL_J2311.0+0205_daily_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', job_status='DONE', photon_flux_upper_limit='1.62e-07', time_completed='2021-09-29 07:44:40.838812', job_id='676862', GAL2='1.18', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632926680.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-5.84e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='762' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:44:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 676862: <4FGL_J2311.0+0205_daily_bin762> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin762 347.766 2.0995 436838401 437097601 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 :                                   592.12 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             262.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            844 sec.

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

