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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1384
RA = 347.931, Dec = 26.0831
tmin = 598060801, tmax = 598320001
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='695612', job_status='RUN', time_executed='2021-09-29 08:28:39.270796', time_epoch_executed='1632929319.27' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1384'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695612

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695612/ft1_4FGL_J2311.7+2604_daily_bin1384.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695612/ft2_4FGL_J2311.7+2604_daily_bin1384.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695612/ft1_4FGL_J2311.7+2604_daily_bin1384.fits outfile=/scratch/kocevski/695612/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1384.fits ra=347.931 dec=26.0831 rad=12.0 tmin=598060801.0 tmax=598320001.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.89
user 4.66
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695612/ft1_filtered_4FGL_J2311.7+2604_daily_bin1384.fits" evtable="EVENTS" scfile=/scratch/kocevski/695612/ft2_4FGL_J2311.7+2604_daily_bin1384.fits sctable="SC_DATA" outfile=/scratch/kocevski/695612/ltcube_598060801_598320001_4FGL_J2311.7+2604_daily_bin1384.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/695612/ft2_4FGL_J2311.7+2604_daily_bin1384.fits
.....................!
real 11.59
user 11.21
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695612/ft1_filtered_4FGL_J2311.7+2604_daily_bin1384.fits evtable="EVENTS" scfile=/scratch/kocevski/695612/ft2_4FGL_J2311.7+2604_daily_bin1384.fits sctable="SC_DATA" expcube=/scratch/kocevski/695612/ltcube_598060801_598320001_4FGL_J2311.7+2604_daily_bin1384.fits outfile=/scratch/kocevski/695612/expmap_598060801_598320001_4FGL_J2311.7+2604_daily_bin1384.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/695612/ltcube_598060801_598320001_4FGL_J2311.7+2604_daily_bin1384.fits
.....................!
real 190.54
user 184.84
sys 5.35

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/695612/ft1_filtered_4FGL_J2311.7+2604_daily_bin1384.fits scfile=/scratch/kocevski/695612/ft2_4FGL_J2311.7+2604_daily_bin1384.fits outfile=/scratch/kocevski/695612/cmap_598060801_598320001_4FGL_J2311.7+2604_daily_bin1384.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695612/ft1_filtered_4FGL_J2311.7+2604_daily_bin1384.fits scfile=/scratch/kocevski/695612/ft2_4FGL_J2311.7+2604_daily_bin1384.fits outfile=/scratch/kocevski/695612/cmap_HighResolution_598060801_598320001_4FGL_J2311.7+2604_daily_bin1384.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3771       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .95372E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.264       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .52902       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.226       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5347       1.0000         .10000E-03   10000.    
    12 'norm      '    .21688       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .11189E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.0462       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.3226       1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.044       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1976       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=   7584.209     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2357 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    62.193        .25295E-05** at limit **
   2  Prefactor     .10000E-03    38.728        .13954E-07** at limit **
   3  norm          1.3771        1.0993       -.14688E-07   -.37815E-04
   4  Prefactor     .10000E-03    15.053        .16833E-05** at limit **
   5  norm          .10700        1.0497       -.47217E-06    .75290E-03
   6  Prefactor     31.267        35.566        .22493E-05    .21766E-04
   7  Prefactor     .10000E-03    12.512        .39888E-05** at limit **
   8  Prefactor     .52897        .19305       -.22632E-07    .30895E-03
   9  Prefactor     .10000E-03    5.7186       -.50402E-09** at limit **
  10  Prefactor     19.227        24.783        .20632E-06   -.12682E-04
  11  Prefactor     2.5342        3.1196        .69667E-06   -.15214E-02
  12  norm          .21938        1.0986        .38240E-06   -.12738E-03
  13  Prefactor     .10000E-03    11.795       -.31909E-05** at limit **
  14  Prefactor     .10000E-03    8.5428       -.19392E-06** at limit **
  15  Prefactor     .10000E-03    6.6907       -.19683E-06** at limit **
  16  norm          .10000E-03    5.0908        .37820E-06** at limit **
  17  Prefactor     5.0125        22.785       -.12215E-04   -.80725E-04
  18  Prefactor     .10000E-03    15.527       -.27702E-05** at limit **
  19  Prefactor     9.3186        16.333        .20297E-06   -.83501E-06
  20  Prefactor     37.051        43.910        .63971E-05    .44169E-04
  21  Normalizat    1.0437        .24837        .89350E-06   -.20024E-06
  22  Prefactor     1.1975        .12835       -.19934E-07    .47655E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.37711
  Prefactor  = 0.0001
  norm       = 0.106999
  Prefactor  = 31.2671
  Prefactor  = 0.0001
  Prefactor  = 0.528967
  Prefactor  = 0.0001
  Prefactor  = 19.2273
  Prefactor  = 2.5342
  norm       = 0.219377
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 5.01247
  Prefactor  = 0.0001
  Prefactor  = 9.31864
  Prefactor  = 37.0511
  Normalizat = 1.04373
  Prefactor  = 1.19749
 **********
 **   18 **HESSE 
 **********

 FCN=   7584.209     FROM HESSE     STATUS=OK           344 CALLS     2701 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    39.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3771        1.0997        .37113E-04   -1.5473    
   4  Prefactor     .10000E-03    15.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10700        8.6589        .17074E-02   -1.5643    
   6  Prefactor     31.267        35.600        .71660E-04   -1.4589    
   7  Prefactor     .10000E-03    12.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .52897        .19237        .22054E-04   -1.5563    
   9  Prefactor     .10000E-03    5.7302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.227        24.770        .91344E-04   -1.4831    
  11  Prefactor     2.5342        7.4795        .12827E-02   -1.5390    
  12  norm          .21938        2.1070        .17046E-02   -1.5614    
  13  Prefactor     .10000E-03    11.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.5456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.7798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.1780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.0125        23.002        .17900E-03   -1.5260    
  18  Prefactor     .10000E-03    15.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.3186        16.338        .13126E-03   -1.5097    
  20  Prefactor     37.051        44.003        .65848E-04   -1.4490    
  21  Normalizat    1.0437        .28659        .38042E-03   -.91580    
  22  Prefactor     1.1975        .15000        .18847E-03   -.86409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.54919e-08
Minuit parameter uncertainties:
  1  5.41632e-05
  2  3.32786e-05
  3  1.09968
  4  1.64456e-05
  5  1.92447
  6  35.624
  7  4.23317e-05
  8  0.192369
  9  1.448e-06
  10  24.7827
  11  7.48224
  12  1.35951
  13  2.63643e-05
  14  1.43084e-05
  15  6.61678e-06
  16  0.000123914
  17  21.4886
  18  4.10452e-05
  19  16.346
  20  44.042
  21  0.287014
  22  0.150051
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.636e-05  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.197e+00  1.501e-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:  1.044e+00  2.870e-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: 8.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695612/likelihoodResults_598060801_598320001_4FGL_J2311.7+2604_daily_bin1384.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) = 7584.20982001
delta logL = -0.000403897346587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7584.20941617
delta logL = -5.69370968151e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4154       1.0000          .0000       10.000    
     3 'Normalizat'    1.0437       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1975       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=   7584.209     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10108E-03    173.64        .18142E-02** at limit **
   2  Index         2.3546        6.7273        .50000        .76370E-05
   3  Normalizat    1.0437        .23262E-01    .38042E-03    .44827E-05
   4  Prefactor     1.1975        .12325E-01    .18847E-03    .10798E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101079
  Index      = 2.35457
  Normalizat = 1.04373
  Prefactor  = 1.19748
 **********
 **   18 **HESSE 
 **********

 FCN=   7584.209     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10108E-03    713.37        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3546        5.7674        .50000       -.55752    
   3  Normalizat    1.0437        .50318E-01    .15217E-04   -.91580    
   4  Prefactor     1.1975        .26659E-01    .75386E-05   -.86409    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20107e-08
Minuit parameter uncertainties:
  1  0.0561682
  2  1278.2
  3  0.0503198
  4  0.0266596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695612': 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) = 7584.209416
delta logL = 1.06938387034e-07

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.011e-04  5.617e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.355e+00  1.278e+03  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.197e+00  2.666e-02  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:  1.044e+00  5.032e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/695612/cmap_HighResolution_598060801_598320001_4FGL_J2311.7+2604_daily_bin1384.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.77e-03', job_status='DONE', photon_flux_upper_limit='8.75e-08', time_completed='2021-09-29 08:40:15.809124', job_id='695612', GAL2='1.20', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1632930015.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='1.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1384' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:40:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 695612: <4FGL_J2311.7+2604_daily_bin1384> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1384> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 08:26:12 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:26:13 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:26:13 2021
Terminated at Wed Sep 29 08:40:16 2021
Results reported at Wed Sep 29 08:40:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1384 347.931 26.0831 598060801 598320001 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 :                                   688.03 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.68 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.

