/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 176 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7396
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1140
RA = 214.623, Dec = 35.7192
tmin = 534816001, tmax = 535075201
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='320701', job_status='RUN', time_executed='2021-09-09 08:18:58.529659', time_epoch_executed='1631200738.53' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1140'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/320701

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/320701/ft1_4FGL_J1418.4+3543_daily_bin1140.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/320701/ft2_4FGL_J1418.4+3543_daily_bin1140.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/320701/ft1_4FGL_J1418.4+3543_daily_bin1140.fits outfile=/scratch/kocevski/320701/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1140.fits ra=214.623 dec=35.7192 rad=12.0 tmin=534816001.0 tmax=535075201.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.60
user 3.36
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/320701/ft2_4FGL_J1418.4+3543_daily_bin1140.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/320701/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1140.fits evtable="EVENTS" outfile="/scratch/kocevski/320701/ft1_filtered_4FGL_J1418.4+3543_daily_bin1140.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.48
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/320701/ft1_filtered_4FGL_J1418.4+3543_daily_bin1140.fits" evtable="EVENTS" scfile=/scratch/kocevski/320701/ft2_4FGL_J1418.4+3543_daily_bin1140.fits sctable="SC_DATA" outfile=/scratch/kocevski/320701/ltcube_534816001_535075201_4FGL_J1418.4+3543_daily_bin1140.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/320701/ft2_4FGL_J1418.4+3543_daily_bin1140.fits
.....................!
real 11.83
user 11.52
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/320701/ft1_filtered_4FGL_J1418.4+3543_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/320701/ft2_4FGL_J1418.4+3543_daily_bin1140.fits sctable="SC_DATA" expcube=/scratch/kocevski/320701/ltcube_534816001_535075201_4FGL_J1418.4+3543_daily_bin1140.fits outfile=/scratch/kocevski/320701/expmap_534816001_535075201_4FGL_J1418.4+3543_daily_bin1140.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/320701/ltcube_534816001_535075201_4FGL_J1418.4+3543_daily_bin1140.fits
.....................!
real 190.72
user 186.58
sys 3.82

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/320701/ft1_filtered_4FGL_J1418.4+3543_daily_bin1140.fits scfile=/scratch/kocevski/320701/ft2_4FGL_J1418.4+3543_daily_bin1140.fits outfile=/scratch/kocevski/320701/cmap_534816001_535075201_4FGL_J1418.4+3543_daily_bin1140.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=214.623 yref=35.7192 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/320701/ft1_filtered_4FGL_J1418.4+3543_daily_bin1140.fits scfile=/scratch/kocevski/320701/ft2_4FGL_J1418.4+3543_daily_bin1140.fits outfile=/scratch/kocevski/320701/cmap_HighResolution_534816001_535075201_4FGL_J1418.4+3543_daily_bin1140.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10349E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.3719       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.558       1.0000         .10000E-03   10000.    
     9 'norm      '    .20851       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8976       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9509       1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11973E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.7687       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.290       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3262       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2371       1.0000         .10000E-03   10000.    
    21 'norm      '    .45668       1.0000         .10000E-03   10000.    
    22 'Prefactor '    43.549       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0353       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87890       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=   4745.764     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2783 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    146.51        .10840E-04** at limit **
   2  Prefactor     .10000E-03    13.074       -.70172E-07** at limit **
   3  Prefactor     .10000E-03    40.106        .34450E-05** at limit **
   4  norm          5.3721        1.9123        .26148E-07   -.29384E-04
   5  Prefactor     .10000E-03    1.4281        .24650E-07** at limit **
   6  norm          .10000E-03    4.8051       -.17067E-08** at limit **
   7  Prefactor     .10000E-03    5.4010        .24389E-07** at limit **
   8  Prefactor     36.553        26.688        .70151E-06    .42007E-04
   9  norm          .20415        3.0902       -.12179E-05    .20835E-03
  10  Prefactor     2.8982        8.2932        .53184E-05    .17003E-03
  11  Prefactor     .10000E-03    15.411        .84499E-07** at limit **
  12  Prefactor     7.9515        4.7723       -.13781E-06    .39355E-04
  13  norm          .10000E-03    4.9282       -.14802E-07** at limit **
  14  Prefactor     .10000E-03    89.373       -.74184E-05** at limit **
  15  norm          6.7687        6.9894       -.13966E-06    .11711E-04
  16  Prefactor     17.272        31.665        .10840E-05    .56537E-05
  17  Prefactor     1.3034        161.08        .42210E-05    .15920E-05
  18  norm          .10000E-03    5.6843        .65876E-07** at limit **
  19  Prefactor     .10000E-03    30.250       -.98989E-06** at limit **
  20  Prefactor     4.2312        12.414        .28917E-05   -.74092E-04
  21  norm          .45694        2.2664        .82438E-07    .41502E-03
  22  Prefactor     43.529        101.80       -.14035E-06   -.47768E-04
  23  Normalizat    1.0351        .18785       -.12485E-05   -.24837E-04
  24  Prefactor     .87908        .20686       -.89652E-07   -.67149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.37206
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.5527
  norm       = 0.204147
  Prefactor  = 2.89823
  Prefactor  = 0.0001
  Prefactor  = 7.95147
  norm       = 0.0001
  Prefactor  = 0.000100005
  norm       = 6.76869
  Prefactor  = 17.2724
  Prefactor  = 1.3034
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.2312
  norm       = 0.456937
  Prefactor  = 43.5286
  Normalizat = 1.03509
  Prefactor  = 0.879076
 **********
 **   18 **HESSE 
 **********

 FCN=   4745.764     FROM HESSE     STATUS=OK           399 CALLS     3182 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    145.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    40.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.3721        1.9130        .54976E-04   -1.5244    
   5  Prefactor     .10000E-03    1.4370        .80382E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.8111        .14748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.4022        .15636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     36.553        26.968        .66283E-04   -1.4498    
   9  norm          .20415        7.5754        .22562E-02   -1.5618    
  10  Prefactor     2.8982        8.2550        .11936E-02   -1.5367    
  11  Prefactor     .10000E-03    15.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.9515        4.7720        .11046E-03   -1.5144    
  13  norm          .10000E-03    4.9296        .14935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    89.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.7687        6.9855        .15422E-03   -1.5188    
  16  Prefactor     17.272        31.676        .96322E-04   -1.4877    
  17  Prefactor     1.3034        164.97        .38166E-03   -1.5480    
  18  norm          .10000E-03    5.7001        .16040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    30.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.2312        12.080        .97877E-03   -1.5297    
  21  norm          .45694        2.0637        .14410E-03   -1.5573    
  22  Prefactor     43.529        100.27        .60751E-04   -1.4387    
  23  Normalizat    1.0351        .21972        .21961E-03   -.91864    
  24  Prefactor     .87908        .24184        .27047E-03   -.96876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.69691e-10
Minuit parameter uncertainties:
  1  0.00121443
  2  1.32929e-05
  3  0.000168084
  4  1.91301
  5  2.27467e-06
  6  9.69636e-07
  7  5.23085e-06
  8  26.9773
  9  2.4869
  10  8.25821
  11  0.000168443
  12  4.77226
  13  1.29241e-05
  14  0.00128436
  15  6.98634
  16  31.7073
  17  29.4094
  18  6.51298e-06
  19  0.000145071
  20  12.0869
  21  1.94206
  22  100.664
  23  0.21991
  24  0.242139
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  8.791e-01  2.421e-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.035e+00  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/320701/likelihoodResults_534816001_535075201_4FGL_J1418.4+3543_daily_bin1140.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) = 4745.75919996
delta logL = 0.00511433512202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4745.75857168
delta logL = 0.00574261197289

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27730       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4630       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87964       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=   4745.759     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      241 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27328        48.491        .34984E-01    .13124E-02
   2  alpha         2.4561        3.3297        .41157        .28099E-04
   3  Normalizat    1.0337        .22017E-01    .41827E-01    .14119E-03
   4  Prefactor     .87948        .25348E-01    .44745E-01    .65033E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.273284
  alpha      = 2.45608
  Normalizat = 1.0337
  Prefactor  = 0.879481
 **********
 **   18 **HESSE 
 **********

 FCN=   4745.759     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27328        11.386        .19315E-02   -1.5603    
   2  alpha         2.4561        2.8926        .97211E-01   -.17567E-01
   3  Normalizat    1.0337        .20789        .21974E-03   -.91910    
   4  Prefactor     .87948        .23906        .27040E-03   -.96862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38981e-09
Minuit parameter uncertainties:
  1  3.52805
  2  6.9639
  3  0.208056
  4  0.239347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/320701': 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) = 4745.75856711
delta logL = 0.00574718528969

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  2.733e-01  3.528e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.456e+00  6.964e+00  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.795e-01  2.393e-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.034e+00  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/320701/cmap_HighResolution_534816001_535075201_4FGL_J1418.4+3543_daily_bin1140.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.15e-05', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2021-09-09 08:29:38.791877', job_id='320701', GAL2='0.88', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1631201378.79', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='5.75e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1140' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:29:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 320701: <4FGL_J1418.4+3543_daily_bin1140> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1140 214.623 35.7192 534816001 535075201 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 :                                   594.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            828 sec.

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

