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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1121
RA = 214.623, Dec = 35.7192
tmin = 529891201, tmax = 530150401
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='320674', job_status='RUN', time_executed='2021-09-09 08:19:51.503704', time_epoch_executed='1631200791.5' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/320674

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/320674/ft1_4FGL_J1418.4+3543_daily_bin1121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/320674/ft2_4FGL_J1418.4+3543_daily_bin1121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/320674/ft1_4FGL_J1418.4+3543_daily_bin1121.fits outfile=/scratch/kocevski/320674/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1121.fits ra=214.623 dec=35.7192 rad=12.0 tmin=529891201.0 tmax=530150401.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.53
user 3.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/320674/ft2_4FGL_J1418.4+3543_daily_bin1121.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/320674/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1121.fits evtable="EVENTS" outfile="/scratch/kocevski/320674/ft1_filtered_4FGL_J1418.4+3543_daily_bin1121.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/320674/ft1_filtered_4FGL_J1418.4+3543_daily_bin1121.fits" evtable="EVENTS" scfile=/scratch/kocevski/320674/ft2_4FGL_J1418.4+3543_daily_bin1121.fits sctable="SC_DATA" outfile=/scratch/kocevski/320674/ltcube_529891201_530150401_4FGL_J1418.4+3543_daily_bin1121.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/320674/ft2_4FGL_J1418.4+3543_daily_bin1121.fits
.....................!
real 12.00
user 11.67
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/320674/ft1_filtered_4FGL_J1418.4+3543_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/320674/ft2_4FGL_J1418.4+3543_daily_bin1121.fits sctable="SC_DATA" expcube=/scratch/kocevski/320674/ltcube_529891201_530150401_4FGL_J1418.4+3543_daily_bin1121.fits outfile=/scratch/kocevski/320674/expmap_529891201_530150401_4FGL_J1418.4+3543_daily_bin1121.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/320674/ltcube_529891201_530150401_4FGL_J1418.4+3543_daily_bin1121.fits
.....................!
real 192.28
user 187.11
sys 4.80

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/320674/ft1_filtered_4FGL_J1418.4+3543_daily_bin1121.fits scfile=/scratch/kocevski/320674/ft2_4FGL_J1418.4+3543_daily_bin1121.fits outfile=/scratch/kocevski/320674/cmap_529891201_530150401_4FGL_J1418.4+3543_daily_bin1121.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/320674/ft1_filtered_4FGL_J1418.4+3543_daily_bin1121.fits scfile=/scratch/kocevski/320674/ft2_4FGL_J1418.4+3543_daily_bin1121.fits outfile=/scratch/kocevski/320674/cmap_HighResolution_529891201_530150401_4FGL_J1418.4+3543_daily_bin1121.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12546E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.880       1.0000         .10000E-03   10000.    
     4 'norm      '    4.7329       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0076       1.0000         .10000E-03   10000.    
     6 'norm      '    32.329       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .26778E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1400       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.857       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.089       1.0000         .10000E-03   10000.    
    13 'norm      '    7.8912       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.921       1.0000         .10000E-03   10000.    
    15 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2895       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.756       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.9121       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89206       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86205       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=   5680.601     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2738 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    160.04        .23991E-04** at limit **
   2  Prefactor     .10000E-03    8.1964       -.27980E-06** at limit **
   3  Prefactor     31.881        60.953       -.11946E-05    .59850E-05
   4  norm          4.7327        1.7306       -.10924E-06    .73685E-04
   5  Prefactor     2.0071        2.4261       -.26124E-06   -.14758E-03
   6  norm          32.326        16.284       -.11888E-05    .61770E-04
   7  Prefactor     .10000E-03    5.7220       -.52915E-07** at limit **
   8  Prefactor     .10000E-03    16.278       -.64562E-06** at limit **
   9  norm          .10009E-03    1.7687       -.41470E-07** at limit **
  10  Prefactor     8.1397        18.759       -.24160E-05    .18345E-03
  11  Prefactor     12.864        21.650        .26049E-05    .35998E-03
  12  Prefactor     12.089        4.3762       -.21860E-06    .16720E-03
  13  norm          7.8930        13.612       -.81853E-07    .85338E-04
  14  Prefactor     22.924        20.541        .37049E-05    .44500E-03
  15  norm          .10000E-03    6.2792        .12214E-05** at limit **
  16  Prefactor     1.2077        411.40       -.21108E-03    .27870E-04
  17  Prefactor     .10000E-03    27.346       -.44707E-05** at limit **
  18  norm          11.754        8.2441        .43594E-05    .15316E-03
  19  Prefactor     7.9114        11.308        .10697E-05    .62290E-04
  20  Prefactor     .10000E-03    2.3501        .35252E-06** at limit **
  21  norm          .10000E-03    .41851       -.54300E-07** at limit **
  22  Prefactor     .10000E-03    25.440        .34452E-05** at limit **
  23  Normalizat    .89207        .16558        .26268E-05    .65691E-03
  24  Prefactor     .86222        .18133        .11835E-05    .61712E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 31.881
  norm       = 4.73268
  Prefactor  = 2.0071
  norm       = 32.3261
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100091
  Prefactor  = 8.13966
  Prefactor  = 12.8636
  Prefactor  = 12.0886
  norm       = 7.893
  Prefactor  = 22.9239
  norm       = 0.000100003
  Prefactor  = 1.20771
  Prefactor  = 0.0001
  norm       = 11.7535
  Prefactor  = 7.9114
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.892071
  Prefactor  = 0.862223
 **********
 **   18 **HESSE 
 **********

 FCN=   5680.601     FROM HESSE     STATUS=OK           407 CALLS     3145 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    162.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.2094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.881        61.399        .70966E-04   -1.4578    
   4  norm          4.7327        1.7334        .57760E-04   -1.5273    
   5  Prefactor     2.0071        2.4185        .12481E-03   -1.5425    
   6  norm          32.326        16.287        .70473E-04   -1.4570    
   7  Prefactor     .10000E-03    5.7249        .17606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10009E-03    3.1878        .35717E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.1397        18.504        .14052E-03   -1.5137    
  11  Prefactor     12.864        21.406        .11171E-03   -1.4990    
  12  Prefactor     12.089        4.3861        .90206E-04   -1.5012    
  13  norm          7.8930        13.574        .14274E-03   -1.5146    
  14  Prefactor     22.924        20.619        .83666E-04   -1.4750    
  15  norm          .10000E-03    6.4807        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.2077        427.71        .39007E-02   -1.5488    
  17  Prefactor     .10000E-03    27.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.754        8.2508        .11684E-03   -1.5022    
  19  Prefactor     7.9114        11.315        .14255E-03   -1.5145    
  20  Prefactor     .10000E-03    2.3615        .11281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .42760        .47579E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    25.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89207        .19642        .22285E-03   -.96739    
  24  Prefactor     .86222        .21395        .26172E-03   -.97474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4438e-09
Minuit parameter uncertainties:
  1  0.00118871
  2  1.52864e-05
  3  61.521
  4  1.73345
  5  2.4186
  6  16.2893
  7  3.53445e-06
  8  5.9945e-05
  9  0.00107471
  10  18.5169
  11  21.4182
  12  4.38619
  13  13.5793
  14  20.6257
  15  0.000292536
  16  45.7865
  17  8.66963e-05
  18  8.25161
  19  11.3177
  20  7.13616e-07
  21  6.62953e-07
  22  8.94566e-06
  23  0.196576
  24  0.214156
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.001e-04  1.075e-03  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.622e-01  2.142e-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:  8.921e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/320674/likelihoodResults_529891201_530150401_4FGL_J1418.4+3543_daily_bin1121.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) = 5680.60087007
delta logL = -4.84304864585e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5680.60079451
delta logL = 2.71307426374e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .52270E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3007       1.0000          .0000       5.0000    
     3 'Normalizat'    .89212       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86211       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=   5680.601     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      282 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34437E-01    13.065        .58985E-01    .24806E-03
   2  alpha         2.2665        3.6864        .41318       -.65208E-05
   3  Normalizat    .89201        .11548E-01    .44801E-01    .12789E-02
   4  Prefactor     .86206        .13430E-01    .44520E-01    .80198E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0344365
  alpha      = 2.26652
  Normalizat = 0.892008
  Prefactor  = 0.862063
 **********
 **   18 **HESSE 
 **********

 FCN=   5680.601     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      319 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34437E-01    125.21        .32832E-01   -1.5671    
   2  alpha         2.2665        2.5420        .16527       -.93526E-01
   3  Normalizat    .89201        .26656E-01    .22286E-03   -.96742    
   4  Prefactor     .86206        .31001E-01    .26174E-03   -.97480    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.61303e-08
Minuit parameter uncertainties:
  1  4.15571
  2  62.6413
  3  0.0266566
  4  0.0310015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/320674': 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) = 5680.60072373
delta logL = 9.7906218798e-05

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.444e-02  4.156e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.267e+00  6.264e+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.621e-01  3.100e-02  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:  8.920e-01  2.666e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.623 35.719

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/320674/cmap_HighResolution_529891201_530150401_4FGL_J1418.4+3543_daily_bin1121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-05', job_status='DONE', photon_flux_upper_limit='4.94e-08', time_completed='2021-09-09 08:31:01.457703', job_id='320674', GAL2='0.86', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1631201461.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='9.79e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1121' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:31:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 320674: <4FGL_J1418.4+3543_daily_bin1121> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1121> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 08:15:50 2021
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:15:52 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:52 2021
Terminated at Thu Sep  9 08:31:02 2021
Results reported at Thu Sep  9 08:31:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1121 214.623 35.7192 529891201 530150401 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 :                                   648.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            912 sec.

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

