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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1223
RA = 347.931, Dec = 26.0831
tmin = 556329601, tmax = 556588801
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='695405', job_status='RUN', time_executed='2021-09-29 08:29:12.254593', time_epoch_executed='1632929352.25' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1223'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695405

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695405/ft1_4FGL_J2311.7+2604_daily_bin1223.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695405/ft2_4FGL_J2311.7+2604_daily_bin1223.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695405/ft1_4FGL_J2311.7+2604_daily_bin1223.fits outfile=/scratch/kocevski/695405/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1223.fits ra=347.931 dec=26.0831 rad=12.0 tmin=556329601.0 tmax=556588801.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 3.76
user 3.52
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/695405/ft1_filtered_4FGL_J2311.7+2604_daily_bin1223.fits" evtable="EVENTS" scfile=/scratch/kocevski/695405/ft2_4FGL_J2311.7+2604_daily_bin1223.fits sctable="SC_DATA" outfile=/scratch/kocevski/695405/ltcube_556329601_556588801_4FGL_J2311.7+2604_daily_bin1223.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/695405/ft2_4FGL_J2311.7+2604_daily_bin1223.fits
.....................!
real 11.77
user 11.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695405/ft1_filtered_4FGL_J2311.7+2604_daily_bin1223.fits evtable="EVENTS" scfile=/scratch/kocevski/695405/ft2_4FGL_J2311.7+2604_daily_bin1223.fits sctable="SC_DATA" expcube=/scratch/kocevski/695405/ltcube_556329601_556588801_4FGL_J2311.7+2604_daily_bin1223.fits outfile=/scratch/kocevski/695405/expmap_556329601_556588801_4FGL_J2311.7+2604_daily_bin1223.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/695405/ltcube_556329601_556588801_4FGL_J2311.7+2604_daily_bin1223.fits
.....................!
real 190.64
user 185.13
sys 5.18

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/695405/ft1_filtered_4FGL_J2311.7+2604_daily_bin1223.fits scfile=/scratch/kocevski/695405/ft2_4FGL_J2311.7+2604_daily_bin1223.fits outfile=/scratch/kocevski/695405/cmap_556329601_556588801_4FGL_J2311.7+2604_daily_bin1223.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.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/695405/ft1_filtered_4FGL_J2311.7+2604_daily_bin1223.fits evtable="EVENTS" scfile=/scratch/kocevski/695405/ft2_4FGL_J2311.7+2604_daily_bin1223.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695405/Model_4FGL_J2311.7+2604_daily_bin1223.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/695405/ft1_filtered_4FGL_J2311.7+2604_daily_bin1223.fits.....................!
real 46.06
user 44.78
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20524E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.658       1.0000         .10000E-03   10000.    
     3 'norm      '    9.3438       1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.279       1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.109       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .69703       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .39186E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .80257       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .71085E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .21315E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.122       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.9852       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.567       1.0000         .10000E-03   10000.    
    19 'Prefactor '    110.17       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94603       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87954       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=   3417.400     FROM MIGRAD    STATUS=CONVERGED    880 CALLS     2820 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    407.91        .18142E-02** at limit **
   2  Prefactor     17.636        35.343        .95313E-04    .59639E-05
   3  norm          9.3354        5.3011        .90478E-04   -.11428E-03
   4  Prefactor     33.300        61.776        .69462E-04    .14812E-04
   5  norm          .10000E-03    1.3859        .13221E-03** at limit **
   6  Prefactor     .10000E-03    30.054        .18142E-02** at limit **
   7  Prefactor     14.112        12.866        .10663E-03   -.12517E-03
   8  Prefactor     .69705        .21371        .14281E-04   -.97789E-03
   9  Prefactor     .10003E-03    174.78        .53274E-02** at limit **
  10  Prefactor     1.3523        241.17        .30567        .35939E-04
  11  Prefactor     .10004E-03    9.5936        .49524E-01** at limit **
  12  norm          .10000E-03    11.667        .24729E-02** at limit **
  13  Prefactor     15.127        34.418        .10300E-03   -.59329E-04
  14  Prefactor     .10000E-03    13.031        .18142E-02** at limit **
  15  Prefactor     5.9850        14.506        .16413E-03   -.18183E-04
  16  norm          .10000E-03    3.8943        .11265E-02** at limit **
  17  Prefactor     .10000E-03    13.958        .18142E-02** at limit **
  18  Prefactor     25.574        49.113        .79225E-04    .60987E-05
  19  Prefactor     110.17        105.55        .38322E-04   -.16851E-04
  20  Prefactor     .10000E-03    33.161        .18142E-02** at limit **
  21  Normalizat    .94606        .39694        .35962E-03   -.39309E-03
  22  Prefactor     .87969        .19420        .19661E-03   -.10319E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 17.6364
  norm       = 9.3354
  Prefactor  = 33.2995
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1115
  Prefactor  = 0.697045
  Prefactor  = 0.000100031
  Prefactor  = 1.35228
  Prefactor  = 0.000100043
  norm       = 0.000100001
  Prefactor  = 15.1269
  Prefactor  = 0.0001
  Prefactor  = 5.98501
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.5744
  Prefactor  = 110.167
  Prefactor  = 0.0001
  Normalizat = 0.946061
  Prefactor  = 0.879693
 **********
 **   18 **HESSE 
 **********

 FCN=   3417.400     FROM HESSE     STATUS=OK           340 CALLS     3160 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    407.91        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.636        35.342        .38125E-05   -1.4868    
   3  norm          9.3354        5.3009        .36191E-05   -1.5097    
   4  Prefactor     33.300        61.745        .27785E-05   -1.4553    
   5  norm          .10000E-03    1.3859        .26441E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.055        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.112        12.864        .42653E-05   -1.4956    
   8  Prefactor     .69705        .21371        .28562E-05   -1.5541    
   9  Prefactor     .10003E-03    178.67        .10655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.3523        240.70        .30567       -1.5475    
  11  Prefactor     .10004E-03    9.3790        .50322E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    11.726        .49459E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.127        34.409        .41198E-05   -1.4930    
  14  Prefactor     .10000E-03    13.031        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.9850        14.492        .65652E-05   -1.5219    
  16  norm          .10000E-03    3.8943        .22531E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.958        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.574        49.062        .31690E-05   -1.4696    
  19  Prefactor     110.17        105.54        .76643E-05   -1.3605    
  20  Prefactor     .10000E-03    33.161        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94606        .39716        .71924E-04   -.94860    
  22  Prefactor     .87969        .19431        .39323E-04   -.96854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77332e-09
Minuit parameter uncertainties:
  1  0.00231831
  2  35.3843
  3  5.30114
  4  61.8642
  5  2.5022e-05
  6  8.61253e-05
  7  12.8667
  8  0.21371
  9  0.00473799
  10  36.2302
  11  0.00127644
  12  0.000170053
  13  34.4546
  14  1.38364e-06
  15  14.5004
  16  1.51503e-06
  17  5.25652e-06
  18  49.1395
  19  105.724
  20  1.09505e-05
  21  0.398405
  22  0.194459
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.513e+01  3.445e+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:  8.797e-01  1.945e-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.461e-01  3.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 2.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.61e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695405/likelihoodResults_556329601_556588801_4FGL_J2311.7+2604_daily_bin1223.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) = 3417.29901927
delta logL = 0.100542809917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3417.29856383
delta logL = 0.100998241837

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.021       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9524       1.0000          .0000       10.000    
     3 'Normalizat'    .95912       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87143       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=   3417.299     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      266 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.144        6177.9        .19267E-02    .25824E-04
   2  Index         1.9549        5.6956        .26071        .32615E-05
   3  Normalizat    .95930        .15536        .80727E-01    .43834E-05
   4  Prefactor     .87122        .90698E-01    .44640E-01   -.16624E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.1436
  Index      = 1.95486
  Normalizat = 0.959296
  Prefactor  = 0.871224
 **********
 **   18 **HESSE 
 **********

 FCN=   3417.299     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.144        47.723        .77068E-04   -1.4666    
   2  Index         1.9549        .87816        .96811E-02   -.65483    
   3  Normalizat    .95930        .35106        .35734E-03   -.94407    
   4  Prefactor     .87122        .18864        .19741E-03   -.97154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83285e-12
Minuit parameter uncertainties:
  1  47.7897
  2  0.885495
  3  0.351901
  4  0.188776
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695405': 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) = 3417.2985549
delta logL = 0.101007178893

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  2.714e+01  4.779e+01  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  1.955e+00  8.855e-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:  8.712e-01  1.888e-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.593e-01  3.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
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/695405/cmap_HighResolution_556329601_556588801_4FGL_J2311.7+2604_daily_bin1223.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.61e-02', job_status='DONE', photon_flux_upper_limit='2.08e-07', time_completed='2021-09-29 08:39:15.534779', job_id='695405', GAL2='0.87', fit_tolerance='1e-08', EG2='0.96', EG='0.95', time_epoch_completed='1632929955.53', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.01e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1223' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:39:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 695405: <4FGL_J2311.7+2604_daily_bin1223> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1223> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 08:25:50 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 08:25:51 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:51 2021
Terminated at Wed Sep 29 08:39:16 2021
Results reported at Wed Sep 29 08:39:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1223 347.931 26.0831 556329601 556588801 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 :                                   496.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             235.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            806 sec.

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

