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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1001
RA = 214.623, Dec = 35.7192
tmin = 498787201, tmax = 499046401
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='320490', job_status='RUN', time_executed='2021-09-09 08:19:05.953737', time_epoch_executed='1631200745.95' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1001'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/320490

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/320490/ft1_4FGL_J1418.4+3543_daily_bin1001.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/320490/ft2_4FGL_J1418.4+3543_daily_bin1001.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/320490/ft1_4FGL_J1418.4+3543_daily_bin1001.fits outfile=/scratch/kocevski/320490/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1001.fits ra=214.623 dec=35.7192 rad=12.0 tmin=498787201.0 tmax=499046401.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 5.03
user 4.75
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/320490/ft1_filtered_4FGL_J1418.4+3543_daily_bin1001.fits evtable="EVENTS" scfile=/scratch/kocevski/320490/ft2_4FGL_J1418.4+3543_daily_bin1001.fits sctable="SC_DATA" expcube=/scratch/kocevski/320490/ltcube_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.fits outfile=/scratch/kocevski/320490/expmap_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.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/320490/ltcube_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.fits
.....................!
real 191.05
user 185.54
sys 5.13

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/320490/ft1_filtered_4FGL_J1418.4+3543_daily_bin1001.fits scfile=/scratch/kocevski/320490/ft2_4FGL_J1418.4+3543_daily_bin1001.fits outfile=/scratch/kocevski/320490/cmap_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/320490/ft1_filtered_4FGL_J1418.4+3543_daily_bin1001.fits scfile=/scratch/kocevski/320490/ft2_4FGL_J1418.4+3543_daily_bin1001.fits outfile=/scratch/kocevski/320490/cmap_HighResolution_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/320490/ft1_filtered_4FGL_J1418.4+3543_daily_bin1001.fits', '/scratch/kocevski/320490/ft2_4FGL_J1418.4+3543_daily_bin1001.fits', expMap='/scratch/kocevski/320490/expmap_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.fits', expCube='/scratch/kocevski/320490/ltcube_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/320490/Model_4FGL_J1418.4+3543_daily_bin1001.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/320490/ft1_filtered_4FGL_J1418.4+3543_daily_bin1001.fits
Spacecraft file(s): /scratch/kocevski/320490/ft2_4FGL_J1418.4+3543_daily_bin1001.fits
Exposure map: /scratch/kocevski/320490/expmap_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.fits
Exposure cube: /scratch/kocevski/320490/ltcube_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/320490/Model_4FGL_J1418.4+3543_daily_bin1001.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) = 5747.26591324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    133.42       1.0000         .10000E-03   10000.    
     4 'norm      '    5.0917       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3760       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.417       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.2279       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1494       1.0000         .10000E-03   10000.    
    13 'norm      '    .10179E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.7422       1.0000         .10000E-03   10000.    
    15 'norm      '    .10417E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.638       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .85310       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.740       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.1969       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0916       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1921       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=   5747.265     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2656 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    56.670        .36387E-04** at limit **
   2  Prefactor     .10000E-03    14.998       -.16059E-05** at limit **
   3  Prefactor     133.46        103.34        .30623E-04    .67008E-05
   4  norm          5.0919        2.0710       -.13150E-06   -.12670E-03
   5  Prefactor     6.3767        5.2941       -.20126E-05   -.12826E-03
   6  norm          .10000E-03    6.4971       -.73564E-06** at limit **
   7  Prefactor     17.417        19.764        .56115E-06    .15173E-04
   8  Prefactor     .10000E-03    10.966       -.65428E-06** at limit **
   9  norm          3.2274        3.3007        .67847E-07    .94015E-05
  10  Prefactor     .10000E-03    8.3432        .13770E-07** at limit **
  11  Prefactor     .10000E-03    8.8281       -.25937E-05** at limit **
  12  Prefactor     3.1496        3.2880        .22923E-06   -.13732E-04
  13  norm          .10000E-03    19.441       -.28742E-05** at limit **
  14  Prefactor     7.7429        21.950        .16320E-05   -.68129E-05
  15  norm          .10000E-03    12.032        .25046E-05** at limit **
  16  Prefactor     25.636        52.649       -.15850E-05   -.31683E-04
  17  Prefactor     .10000E-03    13.563        .20280E-05** at limit **
  18  norm          .85223        2.4517        .12658E-05   -.16606E-02
  19  Prefactor     10.741        10.362        .10791E-06   -.47318E-04
  20  Prefactor     .10000E-03    7.5937        .21464E-05** at limit **
  21  norm          1.1974        1.4641        .11557E-06   -.33997E-04
  22  Prefactor     .10000E-03    67.067       -.40317E-04** at limit **
  23  Normalizat    1.0914        .20194       -.44394E-05    .11143E-03
  24  Prefactor     1.1923        .21949        .16830E-05   -.22985E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 133.457
  norm       = 5.09194
  Prefactor  = 6.37665
  norm       = 0.0001
  Prefactor  = 17.4172
  Prefactor  = 0.0001
  norm       = 3.22735
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.14956
  norm       = 0.0001
  Prefactor  = 7.7429
  norm       = 0.0001
  Prefactor  = 25.6359
  Prefactor  = 0.0001
  norm       = 0.852234
  Prefactor  = 10.7409
  Prefactor  = 0.0001
  norm       = 1.19741
  Prefactor  = 0.0001
  Normalizat = 1.09136
  Prefactor  = 1.19235
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.265     FROM HESSE     STATUS=OK           397 CALLS     3053 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    56.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     133.46        104.03        .17432E-03   -1.3392    
   4  norm          5.0919        2.0721        .67054E-04   -1.5257    
   5  Prefactor     6.3767        5.3177        .15124E-03   -1.5203    
   6  norm          .10000E-03    6.5079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.417        19.758        .95970E-04   -1.4873    
   8  Prefactor     .10000E-03    11.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.2274        3.2987        .13492E-03   -1.5349    
  10  Prefactor     .10000E-03    8.3782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.8582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1496        3.2866        .13513E-03   -1.5353    
  13  norm          .10000E-03    19.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.7429        21.935        .14412E-03   -1.5151    
  15  norm          .10000E-03    12.316        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.636        52.656        .79116E-04   -1.4695    
  17  Prefactor     .10000E-03    13.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .85223        21.018        .25273E-02   -1.5523    
  19  Prefactor     10.741        10.455        .12226E-03   -1.5052    
  20  Prefactor     .10000E-03    7.6623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.1974        1.4301        .97135E-04   -1.5489    
  22  Prefactor     .10000E-03    67.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0914        .24991        .25438E-03   -.90030    
  24  Prefactor     1.1923        .27257        .27847E-03   -.86567    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21796e-08
Minuit parameter uncertainties:
  1  9.59731e-05
  2  3.18153e-05
  3  104.171
  4  2.07218
  5  5.3181
  6  3.62769e-05
  7  19.765
  8  1.83769e-05
  9  3.29892
  10  1.10003e-05
  11  6.16194e-06
  12  3.28675
  13  3.86343e-05
  14  21.9583
  15  8.64422e-05
  16  52.752
  17  2.22479e-05
  18  8.46746
  19  10.457
  20  2.02112e-05
  21  1.43014
  22  0.000217682
  23  0.250177
  24  0.272897
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.227e+00  3.299e+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:  1.192e+00  2.729e-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.091e+00  2.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.57
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.96e-08 +/- 2.00e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 1.14e-05

TS (Fixed Index): 2.57
Ra Dec: 214.623 35.719
Photon Flux Upper Limit: 7.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.34e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/320490/likelihoodResults_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.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): 0
logL (Free Index) = 5747.23581636
delta logL = 0.0287792810022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5747.23488697
delta logL = 0.0297086699393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3564       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8334       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1893       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5747.235     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      237 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3566        3.4130        .13709E-03   -.22133E-02
   2  alpha         1.8334        .71665        .18065E-01   -.16193E-03
   3  Normalizat    1.0952        .23342        .25398E-03    .81736E-04
   4  Prefactor     1.1892        .26666        .27877E-03    .89351E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.35663
  alpha      = 1.83335
  Normalizat = 1.09523
  Prefactor  = 1.18924
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.235     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3566        3.4094        .27418E-04   -1.5342    
   2  alpha         1.8334        .71607        .72260E-03   -.26993    
   3  Normalizat    1.0952        .23367        .10159E-04   -.89905    
   4  Prefactor     1.1892        .26695        .11151E-04   -.86663    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05095e-09
Minuit parameter uncertainties:
  1  3.40959
  2  0.72705
  3  0.233893
  4  0.267258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/320490': 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) = 5747.23488694
delta logL = 0.029708702692

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.357e+00  3.410e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  1.833e+00  7.271e-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:  1.189e+00  2.673e-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.095e+00  2.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.63
Ra Dec: 214.623 35.719
Photon Index (Free Index): 1.83 +/- 0.73
Photon Flux (Free Index): 1.69e-08 +/- 2.05e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.96e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/320490/cmap_HighResolution_498787201_499046401_4FGL_J1418.4+3543_daily_bin1001.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-05', comment='SUCCESS', photon_flux='1.96e-08', energy_flux2='1.40e-05', photon_flux_error='2.00e-08', dlogl='2.97e-02', energy_flux='1.12e-05', photon_flux2='1.69e-08', job_status='DONE', time_completed='2021-09-09 08:29:54.293224', photon_index_error2='0.73', photon_index2='1.83', ts='2.57', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='7.63e-08', energy_flux_error2='1.96e-05', EG='1.09', time_epoch_completed='1631201394.29', return_code='0', job_id='320490', GAL2='1.19', EG2='1.10', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='2.05e-08', ts2='2.63', photon_index='2.02' WHERE bin_id='1001' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:29:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 320490: <4FGL_J1418.4+3543_daily_bin1001> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1001> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 08:15:36 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:15:38 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:15:38 2021
Terminated at Thu Sep  9 08:29:55 2021
Results reported at Thu Sep  9 08:29:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1001 214.623 35.7192 498787201 499046401 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 :                                   643.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            859 sec.

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

