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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1475
RA = 347.931, Dec = 26.0831
tmin = 621648001, tmax = 621907201
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='696307', job_status='RUN', time_executed='2021-09-29 08:33:57.604730', time_epoch_executed='1632929637.6' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1475'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696307

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696307/ft1_4FGL_J2311.7+2604_daily_bin1475.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696307/ft2_4FGL_J2311.7+2604_daily_bin1475.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696307/ft1_4FGL_J2311.7+2604_daily_bin1475.fits outfile=/scratch/kocevski/696307/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1475.fits ra=347.931 dec=26.0831 rad=12.0 tmin=621648001.0 tmax=621907201.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 5.29
user 4.98
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/696307/ft1_filtered_4FGL_J2311.7+2604_daily_bin1475.fits" evtable="EVENTS" scfile=/scratch/kocevski/696307/ft2_4FGL_J2311.7+2604_daily_bin1475.fits sctable="SC_DATA" outfile=/scratch/kocevski/696307/ltcube_621648001_621907201_4FGL_J2311.7+2604_daily_bin1475.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/696307/ft2_4FGL_J2311.7+2604_daily_bin1475.fits
.....................!
real 11.81
user 11.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696307/ft1_filtered_4FGL_J2311.7+2604_daily_bin1475.fits evtable="EVENTS" scfile=/scratch/kocevski/696307/ft2_4FGL_J2311.7+2604_daily_bin1475.fits sctable="SC_DATA" expcube=/scratch/kocevski/696307/ltcube_621648001_621907201_4FGL_J2311.7+2604_daily_bin1475.fits outfile=/scratch/kocevski/696307/expmap_621648001_621907201_4FGL_J2311.7+2604_daily_bin1475.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/696307/ltcube_621648001_621907201_4FGL_J2311.7+2604_daily_bin1475.fits
.....................!
real 191.17
user 186.36
sys 4.45

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/696307/ft1_filtered_4FGL_J2311.7+2604_daily_bin1475.fits scfile=/scratch/kocevski/696307/ft2_4FGL_J2311.7+2604_daily_bin1475.fits outfile=/scratch/kocevski/696307/cmap_621648001_621907201_4FGL_J2311.7+2604_daily_bin1475.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696307/ft1_filtered_4FGL_J2311.7+2604_daily_bin1475.fits scfile=/scratch/kocevski/696307/ft2_4FGL_J2311.7+2604_daily_bin1475.fits outfile=/scratch/kocevski/696307/cmap_HighResolution_621648001_621907201_4FGL_J2311.7+2604_daily_bin1475.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.54
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/696307/ft1_filtered_4FGL_J2311.7+2604_daily_bin1475.fits evtable="EVENTS" scfile=/scratch/kocevski/696307/ft2_4FGL_J2311.7+2604_daily_bin1475.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696307/Model_4FGL_J2311.7+2604_daily_bin1475.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/696307/ft1_filtered_4FGL_J2311.7+2604_daily_bin1475.fits.....................!
real 80.60
user 79.16
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.5140       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.0699       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .67384       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23040       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    69.882       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    46.729       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12945E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.8273       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.762       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.230       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91194       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0912       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=   7022.510     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2411 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.446        .33175E-05** at limit **
   2  Prefactor     .10000E-03    9.5188       -.50787E-06** at limit **
   3  norm          2.5142        1.4459       -.64798E-07   -.20926E-03
   4  Prefactor     .10000E-03    11.393       -.20816E-05** at limit **
   5  norm          1.0700        1.9236       -.28707E-06   -.99983E-03
   6  Prefactor     .10000E-03    20.247       -.58332E-05** at limit **
   7  Prefactor     .66815        7.7613       -.13216E-05   -.12616E-03
   8  Prefactor     .23040        .17675       -.20765E-07    .85655E-03
   9  Prefactor     .10000E-03    16.796        .53120E-05** at limit **
  10  Prefactor     69.880        37.393       -.15052E-05    .86468E-04
  11  Prefactor     .10000E-03    11.474       -.36096E-05** at limit **
  12  norm          .10000E-03    .54902        .10964E-07** at limit **
  13  Prefactor     .10000E-03    11.074        .49914E-05** at limit **
  14  Prefactor     46.728        33.120       -.68597E-06    .19296E-04
  15  Prefactor     .10005E-03    8.4915       -.30644E-05** at limit **
  16  norm          7.8226        6.6601       -.52223E-06   -.16267E-03
  17  Prefactor     .10000E-03    57.220        .46970E-05** at limit **
  18  Prefactor     13.764        31.061        .60851E-05    .34752E-03
  19  Prefactor     .10000E-03    6.3706       -.13804E-07** at limit **
  20  Prefactor     33.225        48.574       -.71671E-05    .12392E-03
  21  Normalizat    .91200        .25172        .10283E-05    .43726E-03
  22  Prefactor     1.0912        .12677        .26364E-06    .71341E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.51416
  Prefactor  = 0.0001
  norm       = 1.07001
  Prefactor  = 0.000100001
  Prefactor  = 0.668149
  Prefactor  = 0.230399
  Prefactor  = 0.000100001
  Prefactor  = 69.8795
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 46.7281
  Prefactor  = 0.000100051
  norm       = 7.82258
  Prefactor  = 0.0001
  Prefactor  = 13.7636
  Prefactor  = 0.0001
  Prefactor  = 33.2248
  Normalizat = 0.912
  Prefactor  = 1.09115
 **********
 **   18 **HESSE 
 **********

 FCN=   7022.510     FROM HESSE     STATUS=OK           344 CALLS     2755 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.5485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.5142        1.4416        .73123E-04   -1.5391    
   4  Prefactor     .10000E-03    11.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0700        1.6942        .14911E-02   -1.5501    
   6  Prefactor     .10000E-03    19.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .66815        26.969        .43940E-02   -1.5544    
   8  Prefactor     .23040        .16940        .29245E-03   -1.5612    
   9  Prefactor     .10000E-03    16.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     69.880        37.445        .48019E-04   -1.4034    
  11  Prefactor     .10000E-03    11.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .57475        .12115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     46.728        33.145        .58655E-04   -1.4340    
  15  Prefactor     .10005E-03    60.440        .40275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.8226        6.6728        .14332E-03   -1.5149    
  17  Prefactor     .10000E-03    58.134        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.764        29.101        .10797E-03   -1.4966    
  19  Prefactor     .10000E-03    6.3756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     33.225        48.567        .69513E-04   -1.4555    
  21  Normalizat    .91200        .28893        .38026E-03   -.96040    
  22  Prefactor     1.0912        .14855        .18346E-03   -.89750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31472e-08
Minuit parameter uncertainties:
  1  0.000250906
  2  1.78227e-05
  3  1.44163
  4  8.79271e-05
  5  1.6943
  6  0.000329444
  7  8.49337
  8  0.169397
  9  0.000312046
  10  37.4576
  11  0.000161608
  12  3.32491e-07
  13  0.000209037
  14  33.1585
  15  0.00350622
  16  6.67347
  17  0.00022663
  18  29.1313
  19  3.66367e-06
  20  48.6248
  21  0.28942
  22  0.148607
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.090e-04  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.091e+00  1.486e-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:  9.120e-01  2.894e-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: 9.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/696307/likelihoodResults_621648001_621907201_4FGL_J2311.7+2604_daily_bin1475.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) = 7022.51041998
delta logL = -0.000438667731032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7022.50998179
delta logL = -4.7957746574e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10612E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4194       1.0000          .0000       10.000    
     3 'Normalizat'    .91182       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0912       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=   7022.510     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      233 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    392.14        .18142E-01** at limit **
   2  Index         2.0727        5.5954        .95318E-01    .15267E-07
   3  Normalizat    .91200        .35905E-01    .38026E-03    .19852E-04
   4  Prefactor     1.0912        .18909E-01    .18346E-03    .44443E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.07272
  Normalizat = 0.911997
  Prefactor  = 1.09115
 **********
 **   18 **HESSE 
 **********

 FCN=   7022.510     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.805        .27966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0727        5.1629        .38127E-02   -.62544    
   3  Normalizat    .91200        .27510        .15210E-04   -.96040    
   4  Prefactor     1.0912        .14505        .36693E-04   -.89750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28204e-12
Minuit parameter uncertainties:
  1  4.1449e-05
  2  415.486
  3  0.27552
  4  0.145099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696307': 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) = 7022.50998098
delta logL = 3.2709158404e-07

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  4.145e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.073e+00  4.155e+02  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.091e+00  1.451e-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:  9.120e-01  2.755e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/696307/cmap_HighResolution_621648001_621907201_4FGL_J2311.7+2604_daily_bin1475.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-03', job_status='DONE', photon_flux_upper_limit='9.38e-08', time_completed='2021-09-29 08:45:22.436606', job_id='696307', GAL2='1.09', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632930322.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.27e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1475' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:45:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 696307: <4FGL_J2311.7+2604_daily_bin1475> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1475> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 08:30:24 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:30:26 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:30:26 2021
Terminated at Wed Sep 29 08:45:23 2021
Results reported at Wed Sep 29 08:45:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1475 347.931 26.0831 621648001 621907201 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 :                                   668.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            899 sec.

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

