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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1381
RA = 347.931, Dec = 26.0831
tmin = 597283201, tmax = 597542401
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='695609', job_status='RUN', time_executed='2021-09-29 08:29:21.391155', time_epoch_executed='1632929361.39' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1381'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695609

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695609/ft1_4FGL_J2311.7+2604_daily_bin1381.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695609/ft2_4FGL_J2311.7+2604_daily_bin1381.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695609/ft1_4FGL_J2311.7+2604_daily_bin1381.fits outfile=/scratch/kocevski/695609/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1381.fits ra=347.931 dec=26.0831 rad=12.0 tmin=597283201.0 tmax=597542401.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.53
user 3.32
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/695609/ft2_4FGL_J2311.7+2604_daily_bin1381.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/695609/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1381.fits evtable="EVENTS" outfile="/scratch/kocevski/695609/ft1_filtered_4FGL_J2311.7+2604_daily_bin1381.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/695609/ft1_filtered_4FGL_J2311.7+2604_daily_bin1381.fits" evtable="EVENTS" scfile=/scratch/kocevski/695609/ft2_4FGL_J2311.7+2604_daily_bin1381.fits sctable="SC_DATA" outfile=/scratch/kocevski/695609/ltcube_597283201_597542401_4FGL_J2311.7+2604_daily_bin1381.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/695609/ft2_4FGL_J2311.7+2604_daily_bin1381.fits
.....................!
real 11.99
user 11.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695609/ft1_filtered_4FGL_J2311.7+2604_daily_bin1381.fits evtable="EVENTS" scfile=/scratch/kocevski/695609/ft2_4FGL_J2311.7+2604_daily_bin1381.fits sctable="SC_DATA" expcube=/scratch/kocevski/695609/ltcube_597283201_597542401_4FGL_J2311.7+2604_daily_bin1381.fits outfile=/scratch/kocevski/695609/expmap_597283201_597542401_4FGL_J2311.7+2604_daily_bin1381.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/695609/ltcube_597283201_597542401_4FGL_J2311.7+2604_daily_bin1381.fits
.....................!
real 190.38
user 185.25
sys 4.74

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/695609/ft1_filtered_4FGL_J2311.7+2604_daily_bin1381.fits scfile=/scratch/kocevski/695609/ft2_4FGL_J2311.7+2604_daily_bin1381.fits outfile=/scratch/kocevski/695609/cmap_597283201_597542401_4FGL_J2311.7+2604_daily_bin1381.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/695609/ft1_filtered_4FGL_J2311.7+2604_daily_bin1381.fits scfile=/scratch/kocevski/695609/ft2_4FGL_J2311.7+2604_daily_bin1381.fits outfile=/scratch/kocevski/695609/cmap_HighResolution_597283201_597542401_4FGL_J2311.7+2604_daily_bin1381.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/695609/ft1_filtered_4FGL_J2311.7+2604_daily_bin1381.fits evtable="EVENTS" scfile=/scratch/kocevski/695609/ft2_4FGL_J2311.7+2604_daily_bin1381.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/695609/Model_4FGL_J2311.7+2604_daily_bin1381.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/695609/ft1_filtered_4FGL_J2311.7+2604_daily_bin1381.fits.....................!
real 95.39
user 93.94
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    121.95       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.4018       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .51388       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.677       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .76028       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2157       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.714       1.0000         .10000E-03   10000.    
    12 'norm      '    .65623       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.363       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8562       1.0000         .10000E-03   10000.    
    16 'norm      '    .20250E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    64.089       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0127       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98952       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=   8243.123     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2065 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     121.95        92.132       -.50763E-06   -.46591E-04
   2  Prefactor     .10000E-03    4.2893       -.13250E-07** at limit **
   3  norm          3.4014        1.3013        .41041E-07   -.15346E-03
   4  Prefactor     .10000E-03    28.774        .16996E-05** at limit **
   5  norm          .51418        1.8277        .12758E-05   -.27113E-03
   6  Prefactor     .10000E-03    43.415       -.13053E-05** at limit **
   7  Prefactor     23.673        14.186       -.61438E-06   -.12052E-03
   8  Prefactor     .76025        .20370       -.23400E-09   -.35919E-03
   9  Prefactor     1.2114        17.766        .29257E-05   -.77052E-04
  10  Prefactor     .10000E-03    10.973        .17716E-05** at limit **
  11  Prefactor     10.713        10.301        .10628E-06   -.19042E-04
  12  norm          .65648        1.1982        .39057E-06   -.20911E-03
  13  Prefactor     .10000E-03    14.178       -.15066E-05** at limit **
  14  Prefactor     14.366        18.789        .22052E-06    .25995E-04
  15  Prefactor     4.8577        7.9756        .35323E-06   -.40065E-04
  16  norm          .10000E-03    2.2506        .25258E-06** at limit **
  17  Prefactor     .10000E-03    9.1748       -.77840E-06** at limit **
  18  Prefactor     .10000E-03    5.5134       -.29021E-06** at limit **
  19  Prefactor     .10000E-03    6.3240        .28013E-06** at limit **
  20  Prefactor     64.088        41.480        .38181E-08   -.34618E-04
  21  Normalizat    1.0125        .21177       -.46330E-06   -.11098E-03
  22  Prefactor     .98968        .10884       -.30133E-06   -.17632E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 121.948
  Prefactor  = 0.0001
  norm       = 3.40145
  Prefactor  = 0.000100001
  norm       = 0.51418
  Prefactor  = 0.000100001
  Prefactor  = 23.6731
  Prefactor  = 0.760246
  Prefactor  = 1.21142
  Prefactor  = 0.000100002
  Prefactor  = 10.7129
  norm       = 0.656475
  Prefactor  = 0.000100001
  Prefactor  = 14.3665
  Prefactor  = 4.85771
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 64.0877
  Normalizat = 1.01246
  Prefactor  = 0.989679
 **********
 **   18 **HESSE 
 **********

 FCN=   8243.123     FROM HESSE     STATUS=OK           342 CALLS     2407 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     121.95        92.374        .36444E-04   -1.3495    
   2  Prefactor     .10000E-03    4.2931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.4014        1.3000        .61159E-04   -1.5339    
   4  Prefactor     .10000E-03    29.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .51418        1.8528        .21643E-03   -1.5565    
   6  Prefactor     .10000E-03    43.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.673        14.117        .82321E-04   -1.4734    
   8  Prefactor     .76025        .20305        .20106E-04   -1.5534    
   9  Prefactor     1.2114        18.388        .40969E-03   -1.5488    
  10  Prefactor     .10000E-03    11.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.713        10.299        .12241E-03   -1.5053    
  12  norm          .65648        1.1772        .12788E-03   -1.5546    
  13  Prefactor     .10000E-03    14.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.366        18.799        .10568E-03   -1.4950    
  15  Prefactor     4.8577        8.0005        .18254E-03   -1.5267    
  16  norm          .10000E-03    5.1978        .26220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.3542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.5322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.3461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     64.088        41.580        .50128E-04   -1.4105    
  21  Normalizat    1.0125        .24911        .34706E-03   -.92614    
  22  Prefactor     .98968        .12850        .18617E-03   -.93074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62696e-10
Minuit parameter uncertainties:
  1  92.4835
  2  8.92033e-07
  3  1.3
  4  0.000362453
  5  1.85304
  6  0.00038101
  7  14.1193
  8  0.203055
  9  9.44248
  10  0.000265844
  11  10.3002
  12  1.17724
  13  0.000253139
  14  18.8065
  15  8.00221
  16  6.36714e-05
  17  0.000111274
  18  3.03051e-05
  19  3.1794e-05
  20  41.5986
  21  0.249393
  22  0.128542
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.531e-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:  9.897e-01  1.285e-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.012e+00  2.494e-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.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/695609/likelihoodResults_597283201_597542401_4FGL_J2311.7+2604_daily_bin1381.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) = 8243.12375121
delta logL = -0.00032497072425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8243.12342656
delta logL = -3.16653313348e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3974       1.0000          .0000       10.000    
     3 'Normalizat'    1.0123       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98979       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=   8243.123     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10404E-03    12.269        .18142E-01** at limit **
   2  Index         2.3009        8.8464        .50000        .13947E-04
   3  Normalizat    1.0125        .44863E-02    .34706E-03    .55621E-04
   4  Prefactor     .98968        .23980E-02    .18617E-03    .99344E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104042
  Index      = 2.30086
  Normalizat = 1.01246
  Prefactor  = 0.989679
 **********
 **   18 **HESSE 
 **********

 FCN=   8243.123     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10404E-03    90.198        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3009        7.9050        .50000       -.57023    
   3  Normalizat    1.0125        .12128E-01    .13883E-04   -.92614    
   4  Prefactor     .98968        .64827E-02    .37233E-04   -.93074    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.01578e-09
Minuit parameter uncertainties:
  1  0.038247
  2  330.991
  3  0.0121284
  4  0.00648271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695609': 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) = 8243.12342588
delta logL = 3.60758349416e-07

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.040e-04  3.825e-02  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  2.301e+00  3.310e+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:  9.897e-01  6.483e-03  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.012e+00  1.213e-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/695609/cmap_HighResolution_597283201_597542401_4FGL_J2311.7+2604_daily_bin1381.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-03', job_status='DONE', photon_flux_upper_limit='8.23e-08', time_completed='2021-09-29 08:41:24.527059', job_id='695609', GAL2='0.99', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1632930084.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1381' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:41:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 695609: <4FGL_J2311.7+2604_daily_bin1381> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1381> 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) <bullet0085>, 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:41:25 2021
Results reported at Wed Sep 29 08:41:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1381 347.931 26.0831 597283201 597542401 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 :                                   714.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

