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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1553
RA = 347.931, Dec = 26.0831
tmin = 641865601, tmax = 642124801
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='696428', job_status='RUN', time_executed='2021-09-29 08:32:42.949534', time_epoch_executed='1632929562.95' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1553'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696428

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696428/ft1_4FGL_J2311.7+2604_daily_bin1553.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696428/ft2_4FGL_J2311.7+2604_daily_bin1553.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696428/ft1_4FGL_J2311.7+2604_daily_bin1553.fits outfile=/scratch/kocevski/696428/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1553.fits ra=347.931 dec=26.0831 rad=12.0 tmin=641865601.0 tmax=642124801.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.36
user 4.12
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/696428/ft1_filtered_4FGL_J2311.7+2604_daily_bin1553.fits" evtable="EVENTS" scfile=/scratch/kocevski/696428/ft2_4FGL_J2311.7+2604_daily_bin1553.fits sctable="SC_DATA" outfile=/scratch/kocevski/696428/ltcube_641865601_642124801_4FGL_J2311.7+2604_daily_bin1553.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/696428/ft2_4FGL_J2311.7+2604_daily_bin1553.fits
.....................!
real 12.50
user 11.60
sys 0.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696428/ft1_filtered_4FGL_J2311.7+2604_daily_bin1553.fits evtable="EVENTS" scfile=/scratch/kocevski/696428/ft2_4FGL_J2311.7+2604_daily_bin1553.fits sctable="SC_DATA" expcube=/scratch/kocevski/696428/ltcube_641865601_642124801_4FGL_J2311.7+2604_daily_bin1553.fits outfile=/scratch/kocevski/696428/expmap_641865601_642124801_4FGL_J2311.7+2604_daily_bin1553.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/696428/ltcube_641865601_642124801_4FGL_J2311.7+2604_daily_bin1553.fits
.....................!
real 191.04
user 185.45
sys 5.19

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/696428/ft1_filtered_4FGL_J2311.7+2604_daily_bin1553.fits scfile=/scratch/kocevski/696428/ft2_4FGL_J2311.7+2604_daily_bin1553.fits outfile=/scratch/kocevski/696428/cmap_641865601_642124801_4FGL_J2311.7+2604_daily_bin1553.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.60
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/696428/ft1_filtered_4FGL_J2311.7+2604_daily_bin1553.fits evtable="EVENTS" scfile=/scratch/kocevski/696428/ft2_4FGL_J2311.7+2604_daily_bin1553.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696428/Model_4FGL_J2311.7+2604_daily_bin1553.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/696428/ft1_filtered_4FGL_J2311.7+2604_daily_bin1553.fits.....................!
real 79.55
user 78.13
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10417E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9921       1.0000         .10000E-03   10000.    
     3 'norm      '    .40650       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.4712       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7110       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .58462       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6222       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34381E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.8260       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10476E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.230       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2540       1.0000         .10000E-03   10000.    
    16 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .28443E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6729       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3948       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75482       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=   7001.943     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2080 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    48.515       -.47370E-06** at limit **
   2  Prefactor     2.9911        8.6286       -.10106E-06   -.16143E-05
   3  norm          .40661        .80271        .16481E-07   -.35780E-04
   4  Prefactor     .10000E-03    6.8714        .10044E-06** at limit **
   5  norm          2.4714        1.7824       -.36567E-08    .79931E-05
   6  Prefactor     4.7097        146.36       -.47948E-05    .81818E-06
   7  Prefactor     .10000E-03    8.5041       -.28996E-07** at limit **
   8  Prefactor     .58455        .18584        .13847E-07    .14061E-03
   9  Prefactor     3.6225        5.9219        .10491E-07   -.55206E-04
  10  Prefactor     .10000E-03    8.5546        .31509E-06** at limit **
  11  Prefactor     .10000E-03    4.6577       -.18184E-06** at limit **
  12  norm          4.8263        1.7266        .19617E-08    .17260E-03
  13  Prefactor     .10000E-03    32.720        .10335E-05** at limit **
  14  Prefactor     18.235        18.552        .11306E-05    .21441E-04
  15  Prefactor     2.2555        2.5141        .20618E-08   -.12588E-03
  16  norm          .10000E-03    4.4026       -.22015E-06** at limit **
  17  Prefactor     .10000E-03    35.695       -.63718E-05** at limit **
  18  Prefactor     4.6712        12.576       -.11597E-07   -.16631E-04
  19  Prefactor     .10000E-03    9.4053        .59939E-07** at limit **
  20  Prefactor     .10000E-03    13.849        .12430E-06** at limit **
  21  Normalizat    1.3948        .20499        .33112E-06    .91620E-04
  22  Prefactor     .75479        .10873        .60999E-07    .14964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.99111
  norm       = 0.406612
  Prefactor  = 0.0001
  norm       = 2.47138
  Prefactor  = 4.70971
  Prefactor  = 0.0001
  Prefactor  = 0.584546
  Prefactor  = 3.6225
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.82632
  Prefactor  = 0.0001
  Prefactor  = 18.2352
  Prefactor  = 2.25554
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.67116
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.39485
  Prefactor  = 0.754789
 **********
 **   18 **HESSE 
 **********

 FCN=   7001.943     FROM HESSE     STATUS=OK           350 CALLS     2430 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9911        8.6256        .23468E-03   -1.5362    
   3  norm          .40661        .73800        .10105E-02   -1.5580    
   4  Prefactor     .10000E-03    6.8915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4714        1.7780        .92065E-04   -1.5394    
   6  Prefactor     4.7097        148.24        .18539E-03   -1.5274    
   7  Prefactor     .10000E-03    8.5874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .58455        .18563        .18359E-04   -1.5555    
   9  Prefactor     3.6225        6.2190        .10614E-02   -1.5327    
  10  Prefactor     .10000E-03    8.5622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.252        .34873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8263        1.7278        .63170E-04   -1.5269    
  13  Prefactor     .10000E-03    32.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.235        18.620        .93805E-04   -1.4854    
  15  Prefactor     2.2555        6.8466        .13683E-02   -1.5408    
  16  norm          .10000E-03    4.4835        .17122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    35.903        .42824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.6712        12.515        .93083E-03   -1.5276    
  19  Prefactor     .10000E-03    9.4153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3948        .24319        .28314E-03   -.80778    
  22  Prefactor     .75479        .12798        .19702E-03   -1.0142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.15582e-09
Minuit parameter uncertainties:
  1  6.35448e-06
  2  8.62919
  3  0.738018
  4  1.7914e-06
  5  1.77803
  6  52.9885
  7  3.19794e-06
  8  0.185631
  9  6.22006
  10  7.70924e-07
  11  6.29065e-05
  12  1.72778
  13  4.45608e-05
  14  18.6254
  15  6.84893
  16  6.07669e-06
  17  0.000124552
  18  12.5225
  19  1.01006e-06
  20  1.59027e-06
  21  0.243388
  22  0.12803
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  4.456e-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:  7.548e-01  1.280e-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.395e+00  2.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/696428/likelihoodResults_641865601_642124801_4FGL_J2311.7+2604_daily_bin1553.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) = 7001.94267691
delta logL = -0.000144876149534

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7001.94253437
delta logL = -2.32793445321e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.5881       1.0000          .0000       10.000    
     3 'Normalizat'    1.3948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75479       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=   7001.943     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      258 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .45636        .69946E-01** at limit **
   2  Index         3.5650        2.2835        .50000        .17459E-04
   3  Normalizat    1.3948        .26553E-02    .64012E-01    .47380E-05
   4  Prefactor     .75479        .14144E-02    .43126E-01    .11755E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.56499
  Normalizat = 1.39484
  Prefactor  = 0.754789
 **********
 **   18 **HESSE 
 **********

 FCN=   7001.943     FROM HESSE     STATUS=OK            35 CALLS      293 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.920        .22225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5650        6.7808        .50000       -.29110    
   3  Normalizat    1.3948        .23787        .28314E-03   -.80778    
   4  Prefactor     .75479        .12672        .19702E-03   -1.0142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34539e-10
Minuit parameter uncertainties:
  1  9.56521e-05
  2  6.30631
  3  0.238058
  4  0.12677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696428': 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) = 7001.94253425
delta logL = -2.21331174544e-06

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  9.565e-05  1.000e-04  1.000e+04 ( 1.000e-13)
369        Index:  3.565e+00  6.306e+00  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:  7.548e-01  1.268e-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.395e+00  2.381e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/696428/cmap_HighResolution_641865601_642124801_4FGL_J2311.7+2604_daily_bin1553.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.98e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-29 08:43:44.766388', job_id='696428', GAL2='0.75', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1632930224.77', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='-2.21e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1553' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 08:43:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 696428: <4FGL_J2311.7+2604_daily_bin1553> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1553 347.931 26.0831 641865601 642124801 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 :                                   660.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            792 sec.

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

