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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1380
RA = 346.922, Dec = 14.8644
tmin = 597024001, tmax = 597283201
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='671288', job_status='RUN', time_executed='2021-09-29 07:11:10.465850', time_epoch_executed='1632924670.47' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/671288

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/671288/ft1_4FGL_J2307.6+1451_daily_bin1380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/671288/ft2_4FGL_J2307.6+1451_daily_bin1380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/671288/ft1_4FGL_J2307.6+1451_daily_bin1380.fits outfile=/scratch/kocevski/671288/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1380.fits ra=346.922 dec=14.8644 rad=12.0 tmin=597024001.0 tmax=597283201.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.65
user 3.42
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/671288/ft2_4FGL_J2307.6+1451_daily_bin1380.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/671288/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1380.fits evtable="EVENTS" outfile="/scratch/kocevski/671288/ft1_filtered_4FGL_J2307.6+1451_daily_bin1380.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.54
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/671288/ft1_filtered_4FGL_J2307.6+1451_daily_bin1380.fits" evtable="EVENTS" scfile=/scratch/kocevski/671288/ft2_4FGL_J2307.6+1451_daily_bin1380.fits sctable="SC_DATA" outfile=/scratch/kocevski/671288/ltcube_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.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/671288/ft2_4FGL_J2307.6+1451_daily_bin1380.fits
.....................!
real 12.11
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/671288/ft1_filtered_4FGL_J2307.6+1451_daily_bin1380.fits evtable="EVENTS" scfile=/scratch/kocevski/671288/ft2_4FGL_J2307.6+1451_daily_bin1380.fits sctable="SC_DATA" expcube=/scratch/kocevski/671288/ltcube_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.fits outfile=/scratch/kocevski/671288/expmap_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.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/671288/ltcube_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.fits
.....................!
real 192.01
user 186.86
sys 4.73

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/671288/ft1_filtered_4FGL_J2307.6+1451_daily_bin1380.fits scfile=/scratch/kocevski/671288/ft2_4FGL_J2307.6+1451_daily_bin1380.fits outfile=/scratch/kocevski/671288/cmap_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.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.53
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/671288/ft1_filtered_4FGL_J2307.6+1451_daily_bin1380.fits scfile=/scratch/kocevski/671288/ft2_4FGL_J2307.6+1451_daily_bin1380.fits outfile=/scratch/kocevski/671288/cmap_HighResolution_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/671288/ft1_filtered_4FGL_J2307.6+1451_daily_bin1380.fits', '/scratch/kocevski/671288/ft2_4FGL_J2307.6+1451_daily_bin1380.fits', expMap='/scratch/kocevski/671288/expmap_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.fits', expCube='/scratch/kocevski/671288/ltcube_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/671288/Model_4FGL_J2307.6+1451_daily_bin1380.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/671288/ft1_filtered_4FGL_J2307.6+1451_daily_bin1380.fits
Spacecraft file(s): /scratch/kocevski/671288/ft2_4FGL_J2307.6+1451_daily_bin1380.fits
Exposure map: /scratch/kocevski/671288/expmap_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.fits
Exposure cube: /scratch/kocevski/671288/ltcube_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/671288/Model_4FGL_J2307.6+1451_daily_bin1380.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) = 7491.61762602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.704       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.204       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .65831       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .92259       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.815       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .44169       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    98.679       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.055       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.871       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.8940       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.067       1.0000         .10000E-03   10000.    
    18 'norm      '    8.0553       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.2828       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .68513       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0949       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.

 FCN=   7491.602     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2674 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.702        20.370       -.46263E-06   -.11946E-03
   2  Prefactor     13.187        17.063       -.61026E-05   -.72387E-03
   3  Prefactor     .65828        .23555       -.40591E-08   -.53569E-03
   4  Prefactor     .10000E-03    5.4599        .10281E-06** at limit **
   5  norm          .92279        1.0306        .40634E-07    .22711E-03
   6  Prefactor     .10000E-03    9.9672       -.16787E-05** at limit **
   7  Prefactor     31.815        13.913        .22490E-06    .31405E-04
   8  Prefactor     .10000E-03    11.944        .67511E-06** at limit **
   9  Prefactor     .44170        .15964       -.81085E-08   -.36838E-03
  10  Prefactor     .10000E-03    7.8661        .10272E-05** at limit **
  11  Prefactor     98.676        46.448       -.67757E-06   -.57986E-04
  12  Prefactor     15.055        8.4015       -.11320E-06   -.37767E-04
  13  Prefactor     .10000E-03    7.9101        .10250E-05** at limit **
  14  Prefactor     .10000E-03    11.652       -.48986E-07** at limit **
  15  Prefactor     10.871        6.9848        .37937E-06   -.60619E-03
  16  Prefactor     7.8935        10.384       -.66281E-07   -.26163E-04
  17  Prefactor     15.066        16.967       -.62605E-06   -.37726E-04
  18  norm          8.0556        8.3030       -.17704E-06   -.40317E-04
  19  Prefactor     .10000E-03    2.8224       -.27006E-06** at limit **
  20  Prefactor     .10000E-03    24.521        .17802E-06** at limit **
  21  norm          3.2821        6.7797        .40247E-05   -.12037E-02
  22  Prefactor     .10000E-03    7.0251       -.91104E-06** at limit **
  23  Normalizat    .68512        .22783        .21748E-05    .78240E-05
  24  Prefactor     1.0949        .12589       -.43403E-06    .11798E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.7024
  Prefactor  = 13.1874
  Prefactor  = 0.658278
  Prefactor  = 0.0001
  norm       = 0.922792
  Prefactor  = 0.000100001
  Prefactor  = 31.8146
  Prefactor  = 0.0001
  Prefactor  = 0.441705
  Prefactor  = 0.0001
  Prefactor  = 98.6763
  Prefactor  = 15.0547
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8712
  Prefactor  = 7.89354
  Prefactor  = 15.0661
  norm       = 8.05557
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.28208
  Prefactor  = 0.0001
  Normalizat = 0.685125
  Prefactor  = 1.09489
 **********
 **   18 **HESSE 
 **********

 FCN=   7491.602     FROM HESSE     STATUS=OK           397 CALLS     3071 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.702        20.449        .70069E-04   -1.4564    
   2  Prefactor     13.187        18.378        .11023E-03   -1.4982    
   3  Prefactor     .65828        .23492        .22907E-04   -1.5546    
   4  Prefactor     .10000E-03    5.5148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .92279        1.0257        .90048E-04   -1.5516    
   6  Prefactor     .10000E-03    10.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31.815        13.881        .71038E-04   -1.4579    
   8  Prefactor     .10000E-03    11.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44170        .15833        .19549E-04   -1.5575    
  10  Prefactor     .10000E-03    7.9286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     98.676        46.572        .40468E-04   -1.3718    
  12  Prefactor     15.055        8.3930        .10323E-03   -1.4932    
  13  Prefactor     .10000E-03    7.9639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.871        7.0544        .60756E-03   -1.5048    
  16  Prefactor     7.8935        10.360        .14271E-03   -1.5146    
  17  Prefactor     15.066        16.954        .10319E-03   -1.4931    
  18  norm          8.0556        8.2803        .14127E-03   -1.5140    
  19  Prefactor     .10000E-03    2.8366        .14192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    24.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.2821        7.9464        .11174E-02   -1.5346    
  22  Prefactor     .10000E-03    7.1935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .68512        .25040        .39822E-03   -1.0448    
  24  Prefactor     1.0949        .14005        .18910E-03   -.89630    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64585e-09
Minuit parameter uncertainties:
  1  20.4531
  2  18.3858
  3  0.234925
  4  4.00417e-06
  5  1.02575
  6  0.000158212
  7  13.8823
  8  6.42147e-05
  9  0.158334
  10  7.2332e-05
  11  46.5897
  12  8.39361
  13  7.30348e-05
  14  2.05294e-05
  15  7.05493
  16  10.3622
  17  16.9599
  18  8.28153
  19  1.72209e-05
  20  3.07745e-06
  21  7.94891
  22  9.15424e-05
  23  0.250823
  24  0.140101
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.505e+01  8.394e+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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.095e+00  1.401e-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:  6.851e-01  2.508e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.27
Ra Dec: 346.922 14.864
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 8.15e-08 +/- 4.54e-08
Energy Flux (Fixed Index): 3.77e-05 +/- 2.10e-05

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) = 7491.18122077
delta logL = 0.420426698532

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7491.17760097
delta logL = 0.424046504027

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2004       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6406       1.0000          .0000       10.000    
     3 'Normalizat'    .63886       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1103       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=   7491.178     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      244 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2004        60.607        .35000E-02    .27546E-02
   2  Index         2.6406        2.1647        .98615E-01    .60047E-03
   3  Normalizat    .63886        .96522E-01    .92711E-01    .28341E-03
   4  Prefactor     1.1103        .46835E-01    .37208E-01    .50480E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.20044
  Index      = 2.64058
  Normalizat = 0.63886
  Prefactor  = 1.11029
 **********
 **   18 **HESSE 
 **********

 FCN=   7491.178     FROM HESSE     STATUS=OK            31 CALLS      275 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2004        11.151        .11291E-03   -1.5135    
   2  Index         2.6406        .67829        .36971E-02   -.49143    
   3  Normalizat    .63886        .24465        .41078E-03   -1.0636    
   4  Prefactor     1.1103        .14206        .18784E-03   -.89139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98332e-09
Minuit parameter uncertainties:
  1  11.1534
  2  0.680998
  3  0.245062
  4  0.142104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/671288': 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) = 7491.17760097
delta logL = 0.424046506505

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  8.200e+00  1.115e+01  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.641e+00  6.810e-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:  1.110e+00  1.421e-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:  6.389e-01  2.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.15
Ra Dec: 346.922 14.864
Photon Index (Free Index): 2.64 +/- 0.68
Photon Flux (Free Index): 1.24e-07 +/- 7.19e-08
Energy Flux (Free Index): 3.13e-05 +/- 1.71e-05

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/671288/cmap_HighResolution_597024001_597283201_4FGL_J2307.6+1451_daily_bin1380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.15e-08', energy_flux2='3.13e-05', photon_flux_error='4.54e-08', dlogl='4.24e-01', energy_flux='3.77e-05', photon_flux2='1.24e-07', job_status='DONE', time_completed='2021-09-29 07:22:13.890319', photon_index_error2='0.68', photon_index2='2.64', ts='6.27', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='1.71e-05', EG='0.69', time_epoch_completed='1632925333.89', return_code='0', job_id='671288', GAL2='1.11', EG2='0.64', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='7.19e-08', ts2='7.15', photon_index='2.18' WHERE bin_id='1380' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:22:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 671288: <4FGL_J2307.6+1451_daily_bin1380> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1380> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 07:10:50 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:10:52 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:52 2021
Terminated at Wed Sep 29 07:22:14 2021
Results reported at Wed Sep 29 07:22:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1380 346.922 14.8644 597024001 597283201 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 :                                   650.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             349.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            684 sec.

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

