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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1482
RA = 214.623, Dec = 35.7192
tmin = 623462401, tmax = 623721601
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='323469', job_status='RUN', time_executed='2021-09-09 08:25:39.510770', time_epoch_executed='1631201139.51' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1482'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/323469

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/323469/ft1_4FGL_J1418.4+3543_daily_bin1482.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/323469/ft2_4FGL_J1418.4+3543_daily_bin1482.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/323469/ft1_4FGL_J1418.4+3543_daily_bin1482.fits outfile=/scratch/kocevski/323469/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1482.fits ra=214.623 dec=35.7192 rad=12.0 tmin=623462401.0 tmax=623721601.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 2.70
user 2.47
sys 0.20

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/323469/ft1_filtered_4FGL_J1418.4+3543_daily_bin1482.fits evtable="EVENTS" scfile=/scratch/kocevski/323469/ft2_4FGL_J1418.4+3543_daily_bin1482.fits sctable="SC_DATA" expcube=/scratch/kocevski/323469/ltcube_623462401_623721601_4FGL_J1418.4+3543_daily_bin1482.fits outfile=/scratch/kocevski/323469/expmap_623462401_623721601_4FGL_J1418.4+3543_daily_bin1482.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/323469/ltcube_623462401_623721601_4FGL_J1418.4+3543_daily_bin1482.fits
.....................!
real 189.78
user 184.42
sys 4.89

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/323469/ft1_filtered_4FGL_J1418.4+3543_daily_bin1482.fits scfile=/scratch/kocevski/323469/ft2_4FGL_J1418.4+3543_daily_bin1482.fits outfile=/scratch/kocevski/323469/cmap_623462401_623721601_4FGL_J1418.4+3543_daily_bin1482.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/323469/ft1_filtered_4FGL_J1418.4+3543_daily_bin1482.fits scfile=/scratch/kocevski/323469/ft2_4FGL_J1418.4+3543_daily_bin1482.fits outfile=/scratch/kocevski/323469/cmap_HighResolution_623462401_623721601_4FGL_J1418.4+3543_daily_bin1482.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.41
sys 0.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.4681       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9151       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .37105E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.611       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10372E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.412       1.0000         .10000E-03   10000.    
    13 'norm      '    4.7090       1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.665       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.481       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.435       1.0000         .10000E-03   10000.    
    18 'norm      '    3.3520       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6063       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.9119       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .84480       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0661       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=   10530.71     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2335 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.244        .70651E-05** at limit **
   2  Prefactor     .10000E-03    27.901       -.36246E-05** at limit **
   3  Prefactor     .10000E-03    18.553       -.86708E-05** at limit **
   4  norm          1.4680        .97758       -.76578E-07   -.58933E-03
   5  Prefactor     4.9154        3.8756       -.54324E-06   -.63748E-03
   6  norm          .10000E-03    4.5527       -.21087E-06** at limit **
   7  Prefactor     .10000E-03    5.8108        .20353E-06** at limit **
   8  Prefactor     .10000E-03    4.0621        .15095E-06** at limit **
   9  norm          .10002E-03    1.4467       -.64557E-07** at limit **
  10  Prefactor     21.626        10.925        .25899E-07    .33639E-04
  11  Prefactor     .10000E-03    7.8105       -.22075E-06** at limit **
  12  Prefactor     37.415        5.2494        .70610E-07    .10531E-03
  13  norm          4.7106        7.8451       -.14963E-05   -.10566E-03
  14  Prefactor     26.667        16.649       -.19793E-06   -.67756E-06
  15  norm          .10000E-03    1.5552        .12181E-07** at limit **
  16  Prefactor     16.480        25.554       -.11211E-05   -.24394E-05
  17  Prefactor     19.419        23.567       -.87933E-05   -.34845E-05
  18  norm          3.3519        3.6677       -.64127E-07    .14713E-03
  19  Prefactor     4.6073        6.6489        .31884E-07   -.12499E-03
  20  Prefactor     .10000E-03    3.5603       -.24248E-07** at limit **
  21  norm          1.9120        1.1259       -.71121E-07   -.71368E-03
  22  Prefactor     .10000E-03    30.474        .71213E-05** at limit **
  23  Normalizat    .84467        .12997       -.55072E-06   -.48188E-03
  24  Prefactor     1.0663        .14540        .17478E-05   -.52011E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.46804
  Prefactor  = 4.91545
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100018
  Prefactor  = 21.6261
  Prefactor  = 0.0001
  Prefactor  = 37.4147
  norm       = 4.71058
  Prefactor  = 26.6671
  norm       = 0.0001
  Prefactor  = 16.4801
  Prefactor  = 19.419
  norm       = 3.35187
  Prefactor  = 4.60728
  Prefactor  = 0.0001
  norm       = 1.91201
  Prefactor  = 0.0001
  Normalizat = 0.844668
  Prefactor  = 1.06628
 **********
 **   18 **HESSE 
 **********

 FCN=   10530.71     FROM HESSE     STATUS=OK           409 CALLS     2744 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4680        .96981        .79577E-04   -1.5466    
   5  Prefactor     4.9154        3.8931        .16947E-03   -1.5265    
   6  norm          .10000E-03    4.5673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.8286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.0715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10002E-03    3.7416        .39087E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.626        10.918        .86160E-04   -1.4778    
  11  Prefactor     .10000E-03    7.8327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     37.415        5.2572        .65525E-04   -1.4484    
  13  norm          4.7106        7.8564        .18543E-03   -1.5274    
  14  Prefactor     26.667        16.664        .77579E-04   -1.4675    
  15  norm          .10000E-03    1.5687        .12493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.480        25.555        .98658E-04   -1.4896    
  17  Prefactor     19.419        23.360        .90853E-04   -1.4826    
  18  norm          3.3519        3.6684        .20023E-03   -1.5342    
  19  Prefactor     4.6073        6.6337        .18754E-03   -1.5279    
  20  Prefactor     .10000E-03    3.6039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9120        1.1188        .79612E-04   -1.5431    
  22  Prefactor     .10000E-03    30.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84467        .15549        .12521E-02   -.98433    
  24  Prefactor     1.0663        .17562        .26213E-03   -.90552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.33971e-10
Minuit parameter uncertainties:
  1  1.45667e-05
  2  2.46337e-05
  3  6.96316e-08
  4  0.969824
  5  3.89326
  6  2.18882e-06
  7  3.7726e-07
  8  1.81288e-06
  9  0.000514558
  10  10.919
  11  6.05246e-06
  12  5.25726
  13  7.85811
  14  16.6672
  15  1.61012e-06
  16  25.5721
  17  23.3712
  18  3.66864
  19  6.63476
  20  1.91923e-06
  21  1.11878
  22  3.09218e-06
  23  0.155572
  24  0.17571
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  5.146e-04  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.066e+00  1.757e-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.447e-01  1.556e-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.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/323469/likelihoodResults_623462401_623721601_4FGL_J1418.4+3543_daily_bin1482.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) = 10530.7135426
delta logL = -8.20682816993e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10530.6631107
delta logL = 0.050349842435

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62915       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7231       1.0000          .0000       5.0000    
     3 'Normalizat'    .83816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0674       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=   10530.66     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      284 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62916        20.072        .36976E-01    .76755E-03
   2  alpha         2.7230        3.7018        .41360        .84102E-04
   3  Normalizat    .83816        .14555E-01    .44106E-01    .63546E-03
   4  Prefactor     1.0674        .17067E-01    .59230E-01    .58241E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.629165
  alpha      = 2.72301
  Normalizat = 0.838159
  Prefactor  = 1.06735
 **********
 **   18 **HESSE 
 **********

 FCN=   10530.66     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      315 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62916        325.62        .19498E-02   -1.5549    
   2  alpha         2.7230        3.0718        .47231E-01    .89323E-01
   3  Normalizat    .83816        .14916        .25118E-03   -.98668    
   4  Prefactor     1.0674        .23166        .26193E-03   -.90517    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.23233e-07
Minuit parameter uncertainties:
  1  28.7826
  2  22.7514
  3  0.149236
  4  0.231875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/323469': 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) = 10530.6631107
delta logL = 0.0503498501566

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  6.292e-01  2.878e+01  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.723e+00  2.275e+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.067e+00  2.319e-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.382e-01  1.492e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/323469/cmap_HighResolution_623462401_623721601_4FGL_J1418.4+3543_daily_bin1482.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-05', job_status='DONE', photon_flux_upper_limit='4.99e-08', time_completed='2021-09-09 08:41:16.234618', job_id='323469', GAL2='1.07', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1631202076.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='5.03e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1482' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:41:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 323469: <4FGL_J1418.4+3543_daily_bin1482> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1482> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Thu Sep  9 08:25:20 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:25:22 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:25:22 2021
Terminated at Thu Sep  9 08:41:16 2021
Results reported at Thu Sep  9 08:41:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1482 214.623 35.7192 623462401 623721601 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 :                                   887.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            956 sec.

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

