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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1225
RA = 214.623, Dec = 35.7192
tmin = 556848001, tmax = 557107201
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='321900', job_status='RUN', time_executed='2021-09-09 08:23:45.743848', time_epoch_executed='1631201025.74' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1225'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/321900

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/321900/ft1_4FGL_J1418.4+3543_daily_bin1225.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/321900/ft2_4FGL_J1418.4+3543_daily_bin1225.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/321900/ft1_4FGL_J1418.4+3543_daily_bin1225.fits outfile=/scratch/kocevski/321900/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1225.fits ra=214.623 dec=35.7192 rad=12.0 tmin=556848001.0 tmax=557107201.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.57
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/321900/ft2_4FGL_J1418.4+3543_daily_bin1225.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/321900/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1225.fits evtable="EVENTS" outfile="/scratch/kocevski/321900/ft1_filtered_4FGL_J1418.4+3543_daily_bin1225.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.51
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/321900/ft1_filtered_4FGL_J1418.4+3543_daily_bin1225.fits" evtable="EVENTS" scfile=/scratch/kocevski/321900/ft2_4FGL_J1418.4+3543_daily_bin1225.fits sctable="SC_DATA" outfile=/scratch/kocevski/321900/ltcube_556848001_557107201_4FGL_J1418.4+3543_daily_bin1225.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/321900/ft2_4FGL_J1418.4+3543_daily_bin1225.fits
.....................!
real 12.07
user 11.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/321900/ft1_filtered_4FGL_J1418.4+3543_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/321900/ft2_4FGL_J1418.4+3543_daily_bin1225.fits sctable="SC_DATA" expcube=/scratch/kocevski/321900/ltcube_556848001_557107201_4FGL_J1418.4+3543_daily_bin1225.fits outfile=/scratch/kocevski/321900/expmap_556848001_557107201_4FGL_J1418.4+3543_daily_bin1225.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/321900/ltcube_556848001_557107201_4FGL_J1418.4+3543_daily_bin1225.fits
.....................!
real 190.36
user 185.32
sys 4.63

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/321900/ft1_filtered_4FGL_J1418.4+3543_daily_bin1225.fits scfile=/scratch/kocevski/321900/ft2_4FGL_J1418.4+3543_daily_bin1225.fits outfile=/scratch/kocevski/321900/cmap_556848001_557107201_4FGL_J1418.4+3543_daily_bin1225.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.52
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/321900/ft1_filtered_4FGL_J1418.4+3543_daily_bin1225.fits scfile=/scratch/kocevski/321900/ft2_4FGL_J1418.4+3543_daily_bin1225.fits outfile=/scratch/kocevski/321900/cmap_HighResolution_556848001_557107201_4FGL_J1418.4+3543_daily_bin1225.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1086       1.0000         .10000E-03   10000.    
     3 'Prefactor '    180.57       1.0000         .10000E-03   10000.    
     4 'norm      '    2.2742       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10670E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.4567       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2268       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.1537       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.863       1.0000         .10000E-03   10000.    
    15 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11467E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.314       1.0000         .10000E-03   10000.    
    18 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6065       1.0000         .10000E-03   10000.    
    21 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0445       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79009       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=   5470.330     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2704 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.293       -.68670E-06** at limit **
   2  Prefactor     1.1004        94.658        .38296E-04   -.24059E-05
   3  Prefactor     180.66        116.15       -.51691E-05    .14198E-03
   4  norm          2.2758        1.7680        .18107E-06    .20628E-03
   5  Prefactor     .10000E-03    1.8818       -.94980E-07** at limit **
   6  norm          .10000E-03    10.307        .11641E-05** at limit **
   7  Prefactor     .10000E-03    33.628       -.73439E-08** at limit **
   8  Prefactor     .10000E-03    11.422       -.99548E-06** at limit **
   9  norm          4.4581        3.8129        .20682E-06    .23846E-04
  10  Prefactor     5.2292        6.9560        .22352E-06    .48966E-04
  11  Prefactor     .10000E-03    4.5210       -.32812E-06** at limit **
  12  Prefactor     5.1563        3.3309        .68742E-07    .72479E-04
  13  norm          .10000E-03    5.4051       -.69086E-06** at limit **
  14  Prefactor     26.882        23.802       -.10532E-06    .80356E-04
  15  norm          .10000E-03    2.1903       -.15226E-06** at limit **
  16  Prefactor     .10000E-03    67.420        .38360E-06** at limit **
  17  Prefactor     39.328        27.339       -.39222E-06    .66636E-04
  18  norm          .10000E-03    5.0252        .41792E-06** at limit **
  19  Prefactor     .10000E-03    4.1903       -.66193E-07** at limit **
  20  Prefactor     1.6060        2.5164       -.49249E-08   -.19995E-04
  21  norm          .10000E-03    .22186       -.55873E-07** at limit **
  22  Prefactor     .10000E-03    18.611        .31636E-06** at limit **
  23  Normalizat    1.0432        .17489       -.35348E-05   -.13543E-03
  24  Prefactor     .79156        .18475        .41545E-05    .10804E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.10036
  Prefactor  = 180.663
  norm       = 2.27583
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.45808
  Prefactor  = 5.22922
  Prefactor  = 0.0001
  Prefactor  = 5.15629
  norm       = 0.0001
  Prefactor  = 26.8819
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.328
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.60598
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04317
  Prefactor  = 0.791561
 **********
 **   18 **HESSE 
 **********

 FCN=   5470.330     FROM HESSE     STATUS=OK           391 CALLS     3095 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.1004        96.413        .22455E-02   -1.5498    
   3  Prefactor     180.66        117.29        .15020E-03   -1.3012    
   4  norm          2.2758        1.7626        .83513E-04   -1.5406    
   5  Prefactor     .10000E-03    1.8984        .99056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    34.932        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.4581        3.8117        .12830E-03   -1.5286    
  10  Prefactor     5.2292        6.9489        .17582E-03   -1.5251    
  11  Prefactor     .10000E-03    4.5249        .15356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.1563        3.3339        .10391E-03   -1.5254    
  13  norm          .10000E-03    5.4138        .16798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.882        23.854        .77294E-04   -1.4671    
  15  norm          .10000E-03    2.2104        .10688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    68.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     39.328        27.354        .63926E-04   -1.4453    
  18  norm          .10000E-03    5.1601        .32356E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.2034        .14785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.6060        2.4878        .14301E-03   -1.5455    
  21  norm          .10000E-03    .22317        .34017E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    18.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0432        .20280        .21150E-03   -.91598    
  24  Prefactor     .79156        .21520        .26824E-03   -1.0004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28517e-09
Minuit parameter uncertainties:
  1  0.000180283
  2  20.6334
  3  117.446
  4  1.76264
  5  7.23978e-06
  6  4.79097e-05
  7  0.000160346
  8  2.93524e-05
  9  3.81187
  10  6.94994
  11  9.54737e-06
  12  3.33405
  13  1.62906e-05
  14  23.8629
  15  9.42804e-06
  16  0.000137525
  17  27.3622
  18  6.32151e-05
  19  1.39744e-05
  20  2.48792
  21  9.88046e-07
  22  3.83959e-05
  23  0.202948
  24  0.215427
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  4.458e+00  3.812e+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:  7.916e-01  2.154e-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.043e+00  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.41
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.71e-08 +/- 2.32e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.32e-05

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

Saving results to:
/scratch/kocevski/321900/likelihoodResults_556848001_557107201_4FGL_J1418.4+3543_daily_bin1225.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) = 5470.25761821
delta logL = 0.0725249337738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5470.23461872
delta logL = 0.0955244207944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3914       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2929       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0543       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78768       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=   5470.235     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      211 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3914        2.9958        .54926E-02   -.10350E-02
   2  alpha         1.2929        .47597        .31183       -.76885E-04
   3  Normalizat    1.0543        .16240        .40277E-01    .56182E-05
   4  Prefactor     .78763        .18279        .43557E-01    .15846E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.39137
  alpha      = 1.29289
  Normalizat = 1.05433
  Prefactor  = 0.787627
 **********
 **   18 **HESSE 
 **********

 FCN=   5470.235     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3914        4.3395        .11470E-03   -1.5340    
   2  alpha         1.2929        .83191        .15494E-01   -.50390    
   3  Normalizat    1.0543        .18877        .21053E-03   -.91232    
   4  Prefactor     .78763        .21249        .26899E-03   -1.0019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.65171e-10
Minuit parameter uncertainties:
  1  4.33993
  2  0.853356
  3  0.188893
  4  0.212709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/321900': 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) = 5470.23461867
delta logL = 0.0955244675743

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.391e+00  4.340e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  1.293e+00  8.534e-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:  7.876e-01  2.127e-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.054e+00  1.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.57
Ra Dec: 214.623 35.719
Photon Index (Free Index): 1.29 +/- 0.85
Photon Flux (Free Index): 1.29e-08 +/- 1.66e-08
Energy Flux (Free Index): 4.44e-05 +/- 7.58e-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/321900/cmap_HighResolution_556848001_557107201_4FGL_J1418.4+3543_daily_bin1225.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-05', comment='SUCCESS', photon_flux='2.71e-08', energy_flux2='4.44e-05', photon_flux_error='2.32e-08', dlogl='9.55e-02', energy_flux='1.54e-05', photon_flux2='1.29e-08', job_status='DONE', time_completed='2021-09-09 08:34:18.932136', photon_index_error2='0.85', photon_index2='1.29', ts='3.41', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='8.29e-08', energy_flux_error2='7.58e-05', EG='1.04', time_epoch_completed='1631201658.93', return_code='0', job_id='321900', GAL2='0.79', EG2='1.05', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='1.66e-08', ts2='3.57', photon_index='2.02' WHERE bin_id='1225' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:34:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 321900: <4FGL_J1418.4+3543_daily_bin1225> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1225> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 08:20:29 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:20:30 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:20:30 2021
Terminated at Thu Sep  9 08:34:19 2021
Results reported at Thu Sep  9 08:34:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1225 214.623 35.7192 556848001 557107201 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 :                                   629.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            830 sec.

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

