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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin543
RA = 214.623, Dec = 35.7192
tmin = 380073601, tmax = 380332801
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='317463', job_status='RUN', time_executed='2021-09-09 08:05:55.684743', time_epoch_executed='1631199955.68' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='543'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/317463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/317463/ft1_4FGL_J1418.4+3543_daily_bin543.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/317463/ft2_4FGL_J1418.4+3543_daily_bin543.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/317463/ft1_4FGL_J1418.4+3543_daily_bin543.fits outfile=/scratch/kocevski/317463/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin543.fits ra=214.623 dec=35.7192 rad=12.0 tmin=380073601.0 tmax=380332801.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.46
user 4.22
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/317463/ft2_4FGL_J1418.4+3543_daily_bin543.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/317463/ft2_4FGL_J1418.4+3543_daily_bin543.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/317463/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin543.fits evtable="EVENTS" outfile="/scratch/kocevski/317463/ft1_filtered_4FGL_J1418.4+3543_daily_bin543.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/317463/ft1_filtered_4FGL_J1418.4+3543_daily_bin543.fits" evtable="EVENTS" scfile=/scratch/kocevski/317463/ft2_4FGL_J1418.4+3543_daily_bin543.fits sctable="SC_DATA" outfile=/scratch/kocevski/317463/ltcube_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.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/317463/ft2_4FGL_J1418.4+3543_daily_bin543.fits
.....................!
real 12.01
user 11.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/317463/ft1_filtered_4FGL_J1418.4+3543_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/317463/ft2_4FGL_J1418.4+3543_daily_bin543.fits sctable="SC_DATA" expcube=/scratch/kocevski/317463/ltcube_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.fits outfile=/scratch/kocevski/317463/expmap_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.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/317463/ltcube_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.fits
.....................!
real 191.50
user 185.94
sys 5.11

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

Setting source of interest to:
4FGL J1418.4+3543 @ 214.623 35.7192

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/317463/ft1_filtered_4FGL_J1418.4+3543_daily_bin543.fits scfile=/scratch/kocevski/317463/ft2_4FGL_J1418.4+3543_daily_bin543.fits outfile=/scratch/kocevski/317463/cmap_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.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=214.623 yref=35.7192 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/317463/ft1_filtered_4FGL_J1418.4+3543_daily_bin543.fits scfile=/scratch/kocevski/317463/ft2_4FGL_J1418.4+3543_daily_bin543.fits outfile=/scratch/kocevski/317463/cmap_HighResolution_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.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=214.623 yref=35.7192 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/317463/ft1_filtered_4FGL_J1418.4+3543_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/317463/ft2_4FGL_J1418.4+3543_daily_bin543.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/317463/Model_4FGL_J1418.4+3543_daily_bin543.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/317463/ft1_filtered_4FGL_J1418.4+3543_daily_bin543.fits.....................!
real 54.96
user 53.67
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/317463/ft1_filtered_4FGL_J1418.4+3543_daily_bin543.fits', '/scratch/kocevski/317463/ft2_4FGL_J1418.4+3543_daily_bin543.fits', expMap='/scratch/kocevski/317463/expmap_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.fits', expCube='/scratch/kocevski/317463/ltcube_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/317463/Model_4FGL_J1418.4+3543_daily_bin543.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4+3543'

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  4.095e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/317463/ft1_filtered_4FGL_J1418.4+3543_daily_bin543.fits
Spacecraft file(s): /scratch/kocevski/317463/ft2_4FGL_J1418.4+3543_daily_bin543.fits
Exposure map: /scratch/kocevski/317463/expmap_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.fits
Exposure cube: /scratch/kocevski/317463/ltcube_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/317463/Model_4FGL_J1418.4+3543_daily_bin543.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) = 6993.51368252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.082       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    15.091       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.5731       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.022       1.0000         .10000E-03   10000.    
     9 'norm      '    38.490       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1468       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14343E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12230E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.827       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.975       1.0000         .10000E-03   10000.    
    17 'Prefactor '    60.444       1.0000         .10000E-03   10000.    
    18 'norm      '    4.3104       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .33935E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1012       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84926       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6993.507     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2715 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.047        38.186       -.65298E-05   -.18685E-03
   2  Prefactor     .10000E-03    14.715        .48893E-06** at limit **
   3  Prefactor     .10000E-03    30.942        .25127E-05** at limit **
   4  norm          15.091        2.7396        .46126E-08    .36873E-04
   5  Prefactor     .10000E-03    .80918        .21693E-07** at limit **
   6  norm          8.5720        9.9977       -.11041E-06    .71966E-05
   7  Prefactor     .10000E-03    8.2697        .53979E-07** at limit **
   8  Prefactor     31.012        28.064       -.95023E-06   -.86095E-04
   9  norm          38.491        7.7130       -.17922E-06   -.60701E-06
  10  Prefactor     8.1409        13.816        .21557E-05   -.62162E-04
  11  Prefactor     .10000E-03    24.214       -.32228E-05** at limit **
  12  Prefactor     .10000E-03    2.1882        .22345E-06** at limit **
  13  norm          .10000E-03    10.190        .51627E-07** at limit **
  14  Prefactor     14.818        24.196       -.90828E-06   -.38947E-04
  15  norm          .10000E-03    1.5909       -.54192E-08** at limit **
  16  Prefactor     21.974        25.304       -.15941E-06    .40138E-05
  17  Prefactor     60.443        38.103       -.24284E-06   -.22050E-05
  18  norm          4.3110        6.3020        .31842E-05   -.47544E-03
  19  Prefactor     .10000E-03    9.5496       -.56031E-06** at limit **
  20  Prefactor     .10000E-03    5.9729       -.42473E-07** at limit **
  21  norm          .10000E-03    .65934        .18196E-07** at limit **
  22  Prefactor     .10000E-03    54.092       -.51544E-06** at limit **
  23  Normalizat    1.1013        .17554        .80517E-06   -.84154E-04
  24  Prefactor     .84922        .18374       -.12425E-05    .61094E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0472
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 15.091
  Prefactor  = 0.0001
  norm       = 8.57196
  Prefactor  = 0.0001
  Prefactor  = 31.0117
  norm       = 38.4906
  Prefactor  = 8.14088
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.8178
  norm       = 0.0001
  Prefactor  = 21.9744
  Prefactor  = 60.4429
  norm       = 4.31101
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10135
  Prefactor  = 0.849222
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.507     FROM HESSE     STATUS=OK           395 CALLS     3110 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.047        40.010        .99875E-04   -1.4907    
   2  Prefactor     .10000E-03    14.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.091        2.7431        .56702E-04   -1.4931    
   5  Prefactor     .10000E-03    .81033        .73458E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.5720        9.9985        .13691E-03   -1.5122    
   7  Prefactor     .10000E-03    8.2753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     31.012        28.344        .71938E-04   -1.4594    
   9  norm          38.491        7.6852        .64605E-04   -1.4466    
  10  Prefactor     8.1409        13.964        .70233E-03   -1.5137    
  11  Prefactor     .10000E-03    24.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.2537        .23697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.818        24.228        .10402E-03   -1.4938    
  15  norm          .10000E-03    1.5942        .10300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.974        25.301        .85445E-04   -1.4770    
  17  Prefactor     60.443        38.189        .51608E-04   -1.4151    
  18  norm          4.3110        6.4429        .97018E-03   -1.5293    
  19  Prefactor     .10000E-03    9.6407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.0850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.5933        .13058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    54.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1013        .21312        .24336E-03   -.89709    
  24  Prefactor     .84922        .22227        .30159E-03   -.97939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18402e-10
Minuit parameter uncertainties:
  1  40.0774
  2  4.63759e-05
  3  0.000393014
  4  2.74314
  5  8.27054e-08
  6  10.0005
  7  6.64149e-07
  8  28.3563
  9  7.68539
  10  13.9696
  11  0.000468683
  12  4.95015e-05
  13  2.44273e-06
  14  24.2437
  15  1.43172e-06
  16  25.3135
  17  38.204
  18  6.44389
  19  6.35208e-05
  20  1.69434e-05
  21  6.39148e-05
  22  0.000124377
  23  0.213282
  24  0.222507
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.849e+01  7.685e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  8.492e-01  2.225e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.101e+00  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.26
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.34e-07 +/- 4.67e-08
Energy Flux (Fixed Index): 1.33e-04 +/- 2.66e-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) = 6992.76677349
delta logL = 0.740412265929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6992.74434286
delta logL = 0.762842891996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.457       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7910       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1497       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6992.744     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      221 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.459        8.2825        .15953E-02    .22442E-04
   2  alpha         1.7910        .17974        .13501       -.32243E-05
   3  Normalizat    1.1495        .16710        .54108E-01    .74757E-05
   4  Prefactor     .81792        .18246        .69376E-01    .20982E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 39.4587
  alpha      = 1.791
  Normalizat = 1.14955
  Prefactor  = 0.817917
 **********
 **   18 **HESSE 
 **********

 FCN=   6992.744     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.459        8.0898        .63810E-04   -1.4451    
   2  alpha         1.7910        .18029        .58164E-02   -.28755    
   3  Normalizat    1.1495        .20192        .23924E-03   -.88176    
   4  Prefactor     .81792        .21956        .30696E-03   -.99071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35752e-13
Minuit parameter uncertainties:
  1  8.09003
  2  0.180458
  3  0.202052
  4  0.219795
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/317463': 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) = 6992.74434238
delta logL = 0.762843373071

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.946e+01  8.090e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  1.791e+00  1.805e-01  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  8.179e-01  2.198e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.150e+00  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.27
Ra Dec: 214.623 35.719
Photon Index (Free Index): 1.79 +/- 0.18
Photon Flux (Free Index): 1.92e-07 +/- 5.13e-08
Energy Flux (Free Index): 1.74e-04 +/- 5.55e-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/317463/cmap_HighResolution_380073601_380332801_4FGL_J1418.4+3543_daily_bin543.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.34e-07', energy_flux2='1.74e-04', photon_flux_error='4.67e-08', dlogl='7.63e-01', energy_flux='1.33e-04', photon_flux2='1.92e-07', job_status='DONE', time_completed='2021-09-09 08:16:56.217901', photon_index_error2='0.18', photon_index2='1.79', ts='107.26', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='5.55e-05', EG='1.10', time_epoch_completed='1631200616.22', return_code='0', job_id='317463', GAL2='0.82', EG2='1.15', return_code2='0', energy_flux_error='2.66e-05', photon_flux_error2='5.13e-08', ts2='108.27', photon_index='2.02' WHERE bin_id='543' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:16:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 317463: <4FGL_J1418.4+3543_daily_bin543> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin543> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 08:05:41 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:05:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 08:05:43 2021
Terminated at Thu Sep  9 08:16:56 2021
Results reported at Thu Sep  9 08:16:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin543 214.623 35.7192 380073601 380332801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4+3543 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   655.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            675 sec.

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

