/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 64 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 = 7539
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1162
RA = 346.922, Dec = 14.8644
tmin = 540518401, tmax = 540777601
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='670959', job_status='RUN', time_executed='2021-09-29 07:11:50.455356', time_epoch_executed='1632924710.46' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1162'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/670959

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/670959/ft1_4FGL_J2307.6+1451_daily_bin1162.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/670959/ft1_4FGL_J2307.6+1451_daily_bin1162.fits outfile=/scratch/kocevski/670959/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1162.fits ra=346.922 dec=14.8644 rad=12.0 tmin=540518401.0 tmax=540777601.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.69
user 3.41
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.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/670959/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1162.fits evtable="EVENTS" outfile="/scratch/kocevski/670959/ft1_filtered_4FGL_J2307.6+1451_daily_bin1162.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/670959/ft1_filtered_4FGL_J2307.6+1451_daily_bin1162.fits" evtable="EVENTS" scfile=/scratch/kocevski/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.fits sctable="SC_DATA" outfile=/scratch/kocevski/670959/ltcube_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.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/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.fits
.....................!
real 11.84
user 11.46
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/670959/ft1_filtered_4FGL_J2307.6+1451_daily_bin1162.fits evtable="EVENTS" scfile=/scratch/kocevski/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.fits sctable="SC_DATA" expcube=/scratch/kocevski/670959/ltcube_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.fits outfile=/scratch/kocevski/670959/expmap_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.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/670959/ltcube_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.fits
.....................!
real 190.56
user 185.95
sys 4.12

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J2307.6+1451 @ 346.922 14.8644

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/670959/ft1_filtered_4FGL_J2307.6+1451_daily_bin1162.fits scfile=/scratch/kocevski/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.fits outfile=/scratch/kocevski/670959/cmap_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.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=346.922 yref=14.8644 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/670959/ft1_filtered_4FGL_J2307.6+1451_daily_bin1162.fits scfile=/scratch/kocevski/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.fits outfile=/scratch/kocevski/670959/cmap_HighResolution_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.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=346.922 yref=14.8644 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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/670959/ft1_filtered_4FGL_J2307.6+1451_daily_bin1162.fits evtable="EVENTS" scfile=/scratch/kocevski/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/670959/Model_4FGL_J2307.6+1451_daily_bin1162.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/670959/ft1_filtered_4FGL_J2307.6+1451_daily_bin1162.fits....................!
real 89.74
user 88.14
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/670959/ft1_filtered_4FGL_J2307.6+1451_daily_bin1162.fits', '/scratch/kocevski/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.fits', expMap='/scratch/kocevski/670959/expmap_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.fits', expCube='/scratch/kocevski/670959/ltcube_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/670959/Model_4FGL_J2307.6+1451_daily_bin1162.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2307.6+1451'

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.115e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/670959/ft1_filtered_4FGL_J2307.6+1451_daily_bin1162.fits
Spacecraft file(s): /scratch/kocevski/670959/ft2_4FGL_J2307.6+1451_daily_bin1162.fits
Exposure map: /scratch/kocevski/670959/expmap_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.fits
Exposure cube: /scratch/kocevski/670959/ltcube_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/670959/Model_4FGL_J2307.6+1451_daily_bin1162.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) = 8125.25124198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.344       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.6995       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.0058       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.313       1.0000         .10000E-03   10000.    
     5 'norm      '    3.8270       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.308       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .38418E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23003E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5628       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    79.082       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1522       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.8314       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .45616       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2768       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2048       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85408       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   8125.208     FROM MIGRAD    STATUS=CONVERGED    980 CALLS     3283 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.342        17.271        .91065E-04    .39949E-04
   2  Prefactor     7.7015        16.974        .14452E-03    .12587E-05
   3  Prefactor     3.0060        .40080        .19444E-04   -.52621E-05
   4  Prefactor     12.314        8.9307        .11416E-03    .20017E-04
   5  norm          3.8265        1.8485        .81863E-04   -.76381E-05
   6  Prefactor     12.304        18.561        .11418E-03    .53468E-04
   7  Prefactor     .31923E-01    13.206        .75204E-01    .10866E-03
   8  Prefactor     .10000E-03    176.27        .40198E-03** at limit **
   9  Prefactor     2.5620        .29735        .15638E-04    .25219E-02
  10  Prefactor     .10000E-03    6.1973        .18142E-02** at limit **
  11  Prefactor     79.096        44.285        .45160E-04    .29353E-04
  12  Prefactor     .10000E-03    6.5923        .18142E-02** at limit **
  13  Prefactor     5.1513        9.4319        .17712E-03    .46215E-04
  14  Prefactor     8.8442        22.536        .13488E-03   -.95247E-05
  15  Prefactor     .10000E-03    2.2970        .13310E-02** at limit **
  16  Prefactor     .10000E-03    6.3205        .18142E-02** at limit **
  17  Prefactor     .10000E-03    7.2199        .18142E-02** at limit **
  18  norm          .10000E-03    4.4910        .18142E-02** at limit **
  19  Prefactor     .48763        27.755        .40118E-02    .11210E-03
  20  Prefactor     3.2672        26.648        .22369E-03    .53617E-04
  21  norm          .10000E-03    25.698        .18142E-02** at limit **
  22  Prefactor     .10000E-03    4.8533        .36285E-03** at limit **
  23  Normalizat    1.2047        .27480        .34710E-03    .19694E-03
  24  Prefactor     .85386        .14659        .23165E-03   -.18404E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3419
  Prefactor  = 7.7015
  Prefactor  = 3.00595
  Prefactor  = 12.3137
  norm       = 3.82648
  Prefactor  = 12.3042
  Prefactor  = 0.0319234
  Prefactor  = 0.0001
  Prefactor  = 2.56198
  Prefactor  = 0.0001
  Prefactor  = 79.0964
  Prefactor  = 0.0001
  Prefactor  = 5.15132
  Prefactor  = 8.84421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.487626
  Prefactor  = 3.2672
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.20466
  Prefactor  = 0.853864
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.208     FROM HESSE     STATUS=OK           385 CALLS     3668 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.342        17.269        .36426E-05   -1.4828    
   2  Prefactor     7.7015        16.964        .57807E-05   -1.5153    
   3  Prefactor     3.0060        .40067        .77777E-06   -1.5361    
   4  Prefactor     12.314        8.9304        .45664E-05   -1.5006    
   5  norm          3.8265        1.8476        .32745E-05   -1.5317    
   6  Prefactor     12.304        18.562        .45672E-05   -1.5006    
   7  Prefactor     .31923E-01    11.515        .82030E-01   -1.5672    
   8  Prefactor     .10000E-03    176.28        .80397E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5620        .29721        .31277E-05   -1.5388    
  10  Prefactor     .10000E-03    6.1984        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     79.096        44.271        .90320E-05   -1.3927    
  12  Prefactor     .10000E-03    6.5967        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1513        9.4313        .70846E-05   -1.5254    
  14  Prefactor     8.8442        22.524        .53951E-05   -1.5113    
  15  Prefactor     .10000E-03    2.2971        .26620E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.3239        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.2203        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.4924        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .48763        27.274        .16047E-03   -1.5568    
  20  Prefactor     3.2672        26.592        .89478E-05   -1.5346    
  21  norm          .10000E-03    25.711        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.8536        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2047        .27241        .13884E-04   -.86459    
  24  Prefactor     .85386        .14649        .92661E-05   -.97772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.85765e-10
Minuit parameter uncertainties:
  1  17.2738
  2  16.9748
  3  0.400674
  4  8.9314
  5  1.84767
  6  18.5708
  7  1.21092
  8  0.000543675
  9  0.29721
  10  1.11684e-05
  11  44.2892
  12  1.3907e-05
  13  9.43405
  14  22.5459
  15  4.47818e-06
  16  1.03115e-05
  17  9.68633e-06
  18  1.83682e-06
  19  7.29642
  20  18.6531
  21  3.86873e-05
  22  2.89246e-05
  23  0.272727
  24  0.146557
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  1.391e-05  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  8.539e-01  1.466e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.205e+00  2.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 8.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/670959/likelihoodResults_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.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) = 8125.20901159
delta logL = -0.000722966327885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8125.20828867
delta logL = -5.10199242854e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1838       1.0000          .0000       10.000    
     3 'Normalizat'    1.2046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85389       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8125.208     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    56.097        .90712E-02** at limit **
   2  Index         2.1839        7.3959        .50000       -.23731E-06
   3  Normalizat    1.2047        .16984E-01    .78421E-01    .34821E-04
   4  Prefactor     .85387        .97764E-02    .44415E-01    .51375E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.18386
  Normalizat = 1.20466
  Prefactor  = 0.853868
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.208     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    409.84        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1839        5.5140        .50000       -.59829    
   3  Normalizat    1.2047        .48824E-01    .34711E-03   -.86459    
   4  Prefactor     .85387        .28138E-01    .23165E-03   -.97772    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.08336e-11
Minuit parameter uncertainties:
  1  0.00015063
  2  32.8433
  3  0.0488261
  4  0.028139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670959': 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) = 8125.20828862
delta logL = 2.84671841655e-10

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  1.506e-04  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.184e+00  3.284e+01  0.000e+00  1.000e+01 (-1.000e+00)
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  8.539e-01  2.814e-02  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.205e+00  4.883e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.922 14.864

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/670959/cmap_HighResolution_540518401_540777601_4FGL_J2307.6+1451_daily_bin1162.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.84e-08', time_completed='2021-09-29 07:26:39.323030', job_id='670959', GAL2='0.85', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1632925599.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.85e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1162' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:26:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 670959: <4FGL_J2307.6+1451_daily_bin1162> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1162> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 07:10:26 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:10:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:10:28 2021
Terminated at Wed Sep 29 07:26:39 2021
Results reported at Wed Sep 29 07:26:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1162 346.922 14.8644 540518401 540777601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2307.6+1451 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   855.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   971 sec.
    Turnaround time :                            973 sec.

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

