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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1210
RA = 347.931, Dec = 26.0831
tmin = 552960001, tmax = 553219201
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='695382', job_status='RUN', time_executed='2021-09-29 08:26:08.117418', time_epoch_executed='1632929168.12' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695382

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695382/ft1_4FGL_J2311.7+2604_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695382/ft1_4FGL_J2311.7+2604_daily_bin1210.fits outfile=/scratch/kocevski/695382/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1210.fits ra=347.931 dec=26.0831 rad=12.0 tmin=552960001.0 tmax=553219201.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.80
user 2.59
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.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/695382/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1210.fits evtable="EVENTS" outfile="/scratch/kocevski/695382/ft1_filtered_4FGL_J2311.7+2604_daily_bin1210.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695382/ft1_filtered_4FGL_J2311.7+2604_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/695382/ltcube_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.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/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.fits
.....................!
real 12.87
user 12.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695382/ft1_filtered_4FGL_J2311.7+2604_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/695382/ltcube_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.fits outfile=/scratch/kocevski/695382/expmap_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.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/695382/ltcube_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.fits
.....................!
real 191.30
user 185.82
sys 5.15

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.7+2604 @ 347.931 26.0831

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/695382/ft1_filtered_4FGL_J2311.7+2604_daily_bin1210.fits scfile=/scratch/kocevski/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.fits outfile=/scratch/kocevski/695382/cmap_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.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.931 yref=26.0831 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695382/ft1_filtered_4FGL_J2311.7+2604_daily_bin1210.fits scfile=/scratch/kocevski/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.fits outfile=/scratch/kocevski/695382/cmap_HighResolution_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.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.931 yref=26.0831 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/695382/ft1_filtered_4FGL_J2311.7+2604_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695382/Model_4FGL_J2311.7+2604_daily_bin1210.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/695382/ft1_filtered_4FGL_J2311.7+2604_daily_bin1210.fits.....................!
real 117.11
user 115.68
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/695382/ft1_filtered_4FGL_J2311.7+2604_daily_bin1210.fits', '/scratch/kocevski/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.fits', expMap='/scratch/kocevski/695382/expmap_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.fits', expCube='/scratch/kocevski/695382/ltcube_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/695382/Model_4FGL_J2311.7+2604_daily_bin1210.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.7+2604'

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.423e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/695382/ft1_filtered_4FGL_J2311.7+2604_daily_bin1210.fits
Spacecraft file(s): /scratch/kocevski/695382/ft2_4FGL_J2311.7+2604_daily_bin1210.fits
Exposure map: /scratch/kocevski/695382/expmap_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.fits
Exposure cube: /scratch/kocevski/695382/ltcube_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/695382/Model_4FGL_J2311.7+2604_daily_bin1210.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) = 11582.2281992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.335       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.2143       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8758       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .51419       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8675       1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.375       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .79550       1.0000         .10000E-03   10000.    
    12 'norm      '    .13403       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.916       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.2372       1.0000         .10000E-03   10000.    
    16 'norm      '    9.4787       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.524       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.394       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2186       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.1975       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68333       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1719       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11582.18     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2387 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.201        81.107       -.18888E-03    .48499E-05
   2  Prefactor     .10000E-03    8.9461        .17357E-05** at limit **
   3  norm          3.2147        1.1395        .10090E-05    .64653E-03
   4  Prefactor     .10000E-03    6.4630        .15430E-05** at limit **
   5  norm          .10000E-03    .67420       -.67077E-07** at limit **
   6  Prefactor     5.8751        29.617       -.23877E-05   -.17107E-04
   7  Prefactor     .10000E-03    7.7966       -.54108E-06** at limit **
   8  Prefactor     .51419        .16087       -.49076E-07    .17352E-02
   9  Prefactor     2.8659        10.040       -.32525E-05   -.21812E-03
  10  Prefactor     22.378        19.415        .24934E-05    .18835E-03
  11  Prefactor     .79531        2.5209       -.13320E-05   -.11425E-02
  12  norm          .13459        .53151       -.15541E-05   -.21198E-02
  13  Prefactor     12.915        18.830       -.28320E-05    .36409E-04
  14  Prefactor     .10000E-03    14.019        .80876E-06** at limit **
  15  Prefactor     6.2357        6.8603       -.14239E-05   -.16090E-03
  16  norm          9.4794        5.1918        .11005E-05    .51274E-03
  17  Prefactor     10.524        16.792       -.93994E-06    .20175E-03
  18  Prefactor     11.393        16.470       -.16525E-05    .20852E-04
  19  Prefactor     3.2178        11.393       -.25595E-05   -.12674E-03
  20  Prefactor     8.1916        22.207       -.14984E-04   -.49608E-05
  21  Normalizat    .68352        .19285        .77732E-05    .55461E-03
  22  Prefactor     1.1718        .99232E-01    .22671E-05    .72923E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.2015
  Prefactor  = 0.0001
  norm       = 3.21469
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.87509
  Prefactor  = 0.0001
  Prefactor  = 0.51419
  Prefactor  = 2.86589
  Prefactor  = 22.3781
  Prefactor  = 0.795313
  norm       = 0.134594
  Prefactor  = 12.9148
  Prefactor  = 0.0001
  Prefactor  = 6.2357
  norm       = 9.47936
  Prefactor  = 10.5243
  Prefactor  = 11.3928
  Prefactor  = 3.21779
  Prefactor  = 8.19159
  Normalizat = 0.683519
  Prefactor  = 1.1718
 **********
 **   18 **HESSE 
 **********

 FCN=   11582.18     FROM HESSE     STATUS=OK           354 CALLS     2741 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.201        81.138        .29140E-03   -1.4333    
   2  Prefactor     .10000E-03    9.0011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2147        1.1370        .65006E-04   -1.5349    
   4  Prefactor     .10000E-03    6.4821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .69363        .17252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.8751        29.687        .16567E-03   -1.5223    
   7  Prefactor     .10000E-03    7.8914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .51419        .15891        .22951E-04   -1.5565    
   9  Prefactor     2.8659        10.017        .24005E-03   -1.5369    
  10  Prefactor     22.378        19.379        .84678E-04   -1.4762    
  11  Prefactor     .79531        2.9842        .29468E-02   -1.5530    
  12  norm          .13459        1.0091        .14596E-02   -1.5635    
  13  Prefactor     12.915        18.813        .11146E-03   -1.4989    
  14  Prefactor     .10000E-03    14.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.2357        6.8191        .16074E-03   -1.5208    
  16  norm          9.4794        5.1651        .13017E-03   -1.5092    
  17  Prefactor     10.524        16.696        .12351E-03   -1.5059    
  18  Prefactor     11.393        16.399        .11869E-03   -1.5033    
  19  Prefactor     3.2178        11.392        .22581E-03   -1.5349    
  20  Prefactor     8.1916        22.207        .14003E-03   -1.5135    
  21  Normalizat    .68352        .21277        .40792E-03   -1.0455    
  22  Prefactor     1.1718        .11197        .17374E-03   -.87204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63292e-09
Minuit parameter uncertainties:
  1  81.329
  2  5.58479e-05
  3  1.13701
  4  2.10098e-05
  5  6.67127e-06
  6  26.4337
  7  4.68404e-05
  8  0.158912
  9  10.0224
  10  19.3848
  11  2.98479
  12  0.736812
  13  18.8217
  14  0.00010685
  15  6.81991
  16  5.16536
  17  16.7032
  18  16.4055
  19  11.3996
  20  22.2292
  21  0.213024
  22  0.111991
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.291e+01  1.882e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.172e+00  1.120e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  6.835e-01  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695382/likelihoodResults_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.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) = 11582.0311878
delta logL = 0.151158816738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11582.018152
delta logL = 0.164194608617

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9168       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1730       1.0000          .0000       10.000    
     3 'Normalizat'    .65610       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1818       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   11582.02     FROM MIGRAD    STATUS=FAILED       102 CALLS      303 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8774        338.45        .82544E-03   -.18712E-03
   2  Index         3.1758        6.1703        .89791E-02    .76974E-03
   3  Normalizat    .65616        .18954        .41583E-03    .56593E-04
   4  Prefactor     1.1818        .10580        .17309E-03    .18545E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   11582.02     FROM SIMPLEX   STATUS=UNCHANGED     87 CALLS      390 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8774        338.45        .48244E-03   -.18712E-03
   2  Index         3.1758        6.1703        .19935E-02    .76974E-03
   3  Normalizat    .65616        .18954        .15798E-03    .56593E-04
   4  Prefactor     1.1818        .10580        .66597E-04    .18545E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11582.02     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      422 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8774        21.203        .33018E-04   -.22174E-03
   2  Index         3.1758        1.9129        .17958E-02   -.41947E-04
   3  Normalizat    .65616        .20923        .16633E-04    .52492E-04
   4  Prefactor     1.1818        .11248        .34619E-04    .16880E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.87736
  Index      = 3.17583
  Normalizat = 0.656157
  Prefactor  = 1.18183
 **********
 **   18 **HESSE 
 **********

 FCN=   11582.02     FROM HESSE     STATUS=OK            23 CALLS      445 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8774        17.707        .13207E-05   -1.5223    
   2  Index         3.1758        1.6106        .71833E-04   -.37345    
   3  Normalizat    .65616        .20834        .33267E-05   -1.0565    
   4  Prefactor     1.1818        .11187        .69238E-05   -.86892    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27892e-11
Minuit parameter uncertainties:
  1  17.7228
  2  1.64455
  3  0.208595
  4  0.11189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695382': 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) = 11582.0181489
delta logL = 0.164197698028

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  5.877e+00  1.772e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.176e+00  1.645e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.182e+00  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  6.562e-01  2.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
Ra Dec: 347.931 26.083

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/695382/cmap_HighResolution_552960001_553219201_4FGL_J2311.7+2604_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-29 08:41:51.745624', job_id='695382', GAL2='1.18', fit_tolerance='1e-08', EG2='0.66', EG='0.68', time_epoch_completed='1632930111.75', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.64e-01', ts2='0.93', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1210' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:41:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 695382: <4FGL_J2311.7+2604_daily_bin1210> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1210> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 08:25:47 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:25:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 08:25:50 2021
Terminated at Wed Sep 29 08:41:52 2021
Results reported at Wed Sep 29 08:41:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1210 347.931 26.0831 552960001 553219201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.7+2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   920.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             377.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            965 sec.

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

