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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1606
RA = 347.931, Dec = 26.0831
tmin = 655603201, tmax = 655862401
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='497246', job_status='RUN', time_executed='2021-12-08 09:16:45.950586', time_epoch_executed='1638983805.95' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1606'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/497246

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/497246/ft1_4FGL_J2311.7+2604_daily_bin1606.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/497246/ft2_4FGL_J2311.7+2604_daily_bin1606.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/497246/ft1_4FGL_J2311.7+2604_daily_bin1606.fits outfile=/scratch/kocevski/497246/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1606.fits ra=347.931 dec=26.0831 rad=12.0 tmin=655603201.0 tmax=655862401.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.27
user 4.02
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/497246/ft2_4FGL_J2311.7+2604_daily_bin1606.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/497246/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1606.fits evtable="EVENTS" outfile="/scratch/kocevski/497246/ft1_filtered_4FGL_J2311.7+2604_daily_bin1606.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/497246/ft1_filtered_4FGL_J2311.7+2604_daily_bin1606.fits" evtable="EVENTS" scfile=/scratch/kocevski/497246/ft2_4FGL_J2311.7+2604_daily_bin1606.fits sctable="SC_DATA" outfile=/scratch/kocevski/497246/ltcube_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.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/497246/ft2_4FGL_J2311.7+2604_daily_bin1606.fits
.....................!
real 13.84
user 13.44
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/497246/ft1_filtered_4FGL_J2311.7+2604_daily_bin1606.fits evtable="EVENTS" scfile=/scratch/kocevski/497246/ft2_4FGL_J2311.7+2604_daily_bin1606.fits sctable="SC_DATA" expcube=/scratch/kocevski/497246/ltcube_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.fits outfile=/scratch/kocevski/497246/expmap_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.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/497246/ltcube_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.fits
.....................!
real 191.34
user 185.64
sys 4.58

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/497246/ft1_filtered_4FGL_J2311.7+2604_daily_bin1606.fits scfile=/scratch/kocevski/497246/ft2_4FGL_J2311.7+2604_daily_bin1606.fits outfile=/scratch/kocevski/497246/cmap_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/497246/ft1_filtered_4FGL_J2311.7+2604_daily_bin1606.fits scfile=/scratch/kocevski/497246/ft2_4FGL_J2311.7+2604_daily_bin1606.fits outfile=/scratch/kocevski/497246/cmap_HighResolution_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/497246/ft1_filtered_4FGL_J2311.7+2604_daily_bin1606.fits evtable="EVENTS" scfile=/scratch/kocevski/497246/ft2_4FGL_J2311.7+2604_daily_bin1606.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/497246/Model_4FGL_J2311.7+2604_daily_bin1606.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/497246/ft1_filtered_4FGL_J2311.7+2604_daily_bin1606.fits.....................!
real 66.81
user 65.49
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/497246/ft1_filtered_4FGL_J2311.7+2604_daily_bin1606.fits', '/scratch/kocevski/497246/ft2_4FGL_J2311.7+2604_daily_bin1606.fits', expMap='/scratch/kocevski/497246/expmap_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.fits', expCube='/scratch/kocevski/497246/ltcube_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/497246/Model_4FGL_J2311.7+2604_daily_bin1606.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/497246/ft1_filtered_4FGL_J2311.7+2604_daily_bin1606.fits
Spacecraft file(s): /scratch/kocevski/497246/ft2_4FGL_J2311.7+2604_daily_bin1606.fits
Exposure map: /scratch/kocevski/497246/expmap_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.fits
Exposure cube: /scratch/kocevski/497246/ltcube_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/497246/Model_4FGL_J2311.7+2604_daily_bin1606.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) = 5744.22642726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16408       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5606       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3223       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.579       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .90397       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11030E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5456       1.0000         .10000E-03   10000.    
    12 'norm      '    .10164E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.8001       1.0000         .10000E-03   10000.    
    16 'norm      '    .10205E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.851       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10447E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.625       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .83663       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1460       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5744.150     FROM MIGRAD    STATUS=CONVERGED    871 CALLS     3127 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10065E-03    107.33        .22136    ** at limit **
   2  Prefactor     3.5649        12.024        .21419E-03    .16242E-04
   3  norm          2.3220        1.3483        .64133E-04   -.39531E-04
   4  Prefactor     .10000E-03    12.429        .18142E-02** at limit **
   5  norm          .10000E-03    .77537        .64928E-03** at limit **
   6  Prefactor     .10000E-03    24.838        .18142E-02** at limit **
   7  Prefactor     26.576        15.205        .77705E-04    .57059E-05
   8  Prefactor     .90401        .22192        .17104E-04   -.45863E-04
   9  Prefactor     .10000E-03    6.3346        .18142E-02** at limit **
  10  Prefactor     .10000E-03    168.89        .18142E-02** at limit **
  11  Prefactor     2.5468        6.1082        .25594E-03    .65075E-04
  12  norm          .10000E-03    1.9708        .14912E-02** at limit **
  13  Prefactor     .10000E-03    23.756        .18142E-02** at limit **
  14  Prefactor     .10000E-03    54.639        .18142E-02** at limit **
  15  Prefactor     7.8028        7.1516        .14358E-03   -.85913E-04
  16  norm          .10000E-03    4.5391        .15673E-02** at limit **
  17  Prefactor     30.872        20.143        .72137E-04    .82424E-04
  18  Prefactor     .10000E-03    72.881        .18142E-02** at limit **
  19  Prefactor     .10000E-03    6.2999        .18142E-02** at limit **
  20  Prefactor     15.643        28.997        .10132E-03    .48247E-05
  21  Normalizat    .83641        .29182        .37332E-03    .12687E-03
  22  Prefactor     1.1460        .15722        .17996E-03    .20487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100648
  Prefactor  = 3.56487
  norm       = 2.32203
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.5756
  Prefactor  = 0.904008
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.54684
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.80279
  norm       = 0.0001
  Prefactor  = 30.8716
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.6428
  Normalizat = 0.836413
  Prefactor  = 1.14595
 **********
 **   18 **HESSE 
 **********

 FCN=   5744.150     FROM HESSE     STATUS=OK           330 CALLS     3457 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10065E-03    109.64        .21817       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.5649        12.024        .85675E-05   -1.5330    
   3  norm          2.3220        1.3483        .25653E-05   -1.5403    
   4  Prefactor     .10000E-03    12.430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .77540        .12986E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.839        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.576        15.205        .31082E-05   -1.4676    
   8  Prefactor     .90401        .22192        .68417E-06   -1.5518    
   9  Prefactor     .10000E-03    6.3362        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    169.03        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.5468        6.1081        .10237E-04   -1.5389    
  12  norm          .10000E-03    1.9769        .29824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.761        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    54.664        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.8028        7.1509        .57430E-05   -1.5149    
  16  norm          .10000E-03    4.5397        .31347E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     30.872        20.139        .28855E-05   -1.4596    
  18  Prefactor     .10000E-03    72.917        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.3000        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.643        29.004        .40529E-05   -1.4917    
  21  Normalizat    .83641        .29198        .14933E-04   -.98732    
  22  Prefactor     1.1460        .15732        .35991E-04   -.88011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.55859e-11
Minuit parameter uncertainties:
  1  0.0168921
  2  12.0318
  3  1.3483
  4  2.46456e-07
  5  4.78676e-08
  6  1.63599e-06
  7  15.2074
  8  0.221918
  9  2.90695e-06
  10  0.000661983
  11  6.10962
  12  1.30849e-05
  13  7.08112e-06
  14  3.45833e-06
  15  7.15165
  16  1.07705e-05
  17  20.143
  18  0.0001333
  19  1.35743e-06
  20  29.0302
  21  0.29253
  22  0.157379
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  7.081e-06  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.146e+00  1.574e-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:  8.364e-01  2.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/497246/likelihoodResults_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.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) = 5744.1501131
delta logL = -0.000200549660804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5744.0562597
delta logL = 0.0936528519587

Fit tolerance = 1e-08

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

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

 FCN=   5744.056     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      285 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36760        19.444        .10738E-01   -.36954E-03
   2  Index         4.2641        3.2754        .20373       -.61879E-04
   3  Normalizat    .80764        .37902E-01    .85689E-01   -.51975E-04
   4  Prefactor     1.1544        .21148E-01    .35809E-01    .10930E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.367602
  Index      = 4.26408
  Normalizat = 0.807644
  Prefactor  = 1.15444
 **********
 **   18 **HESSE 
 **********

 FCN=   5744.056     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      316 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36760        113.20        .11114E-03   -1.5587    
   2  Index         4.2641        5.8832        .91192E-02   -.14772    
   3  Normalizat    .80764        .21607        .37946E-03   -.99786    
   4  Prefactor     1.1544        .11891        .17939E-03   -.87745    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.50066e-09
Minuit parameter uncertainties:
  1  12.9247
  2  15.833
  3  0.216297
  4  0.118938
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/497246': 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) = 5744.0562583
delta logL = 0.0936542514328

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  3.676e-01  1.292e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  4.264e+00  1.583e+01  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.154e+00  1.189e-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:  8.076e-01  2.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.931 26.083

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/497246/cmap_HighResolution_655603201_655862401_4FGL_J2311.7+2604_daily_bin1606.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.95e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-12-08 09:28:05.348399', job_id='497246', GAL2='1.15', fit_tolerance='1e-08', EG2='0.81', EG='0.84', time_epoch_completed='1638984485.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='9.37e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1606' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 09:28:05 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0129>
Subject: Job 497246: <4FGL_J2311.7+2604_daily_bin1606> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1606> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Dec  8 09:15:15 2021
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 09:15:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 09:15:37 2021
Terminated at Wed Dec  8 09:28:06 2021
Results reported at Wed Dec  8 09:28:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1606 347.931 26.0831 655603201 655862401 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 :                                   675.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            771 sec.

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

