/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 = 7543
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0418.1-0252_daily_bin242
RA = 64.5321, Dec = -2.8795
tmin = 302054401, tmax = 302313601
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='353681', job_status='RUN', time_executed='2021-08-20 10:32:42.217902', time_epoch_executed='1629480762.22' WHERE source_name='4FGL J0418.1-0252' and cadence='daily' and bin_id='242'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353681

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353681/ft1_4FGL_J0418.1-0252_daily_bin242.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353681/ft2_4FGL_J0418.1-0252_daily_bin242.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353681/ft1_4FGL_J0418.1-0252_daily_bin242.fits outfile=/scratch/kocevski/353681/ft1_filteredMKT_4FGL_J0418.1-0252_daily_bin242.fits ra=64.5321 dec=-2.8795 rad=12.0 tmin=302054401.0 tmax=302313601.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 10.01
user 3.34
sys 6.46

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/353681/ft2_4FGL_J0418.1-0252_daily_bin242.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/353681/ft2_4FGL_J0418.1-0252_daily_bin242.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/353681/ft1_filteredMKT_4FGL_J0418.1-0252_daily_bin242.fits evtable="EVENTS" outfile="/scratch/kocevski/353681/ft1_filtered_4FGL_J0418.1-0252_daily_bin242.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 6.74
user 0.33
sys 6.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353681/ft1_filtered_4FGL_J0418.1-0252_daily_bin242.fits" evtable="EVENTS" scfile=/scratch/kocevski/353681/ft2_4FGL_J0418.1-0252_daily_bin242.fits sctable="SC_DATA" outfile=/scratch/kocevski/353681/ltcube_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.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/353681/ft2_4FGL_J0418.1-0252_daily_bin242.fits
.....................!
real 20.76
user 11.92
sys 7.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353681/ft1_filtered_4FGL_J0418.1-0252_daily_bin242.fits evtable="EVENTS" scfile=/scratch/kocevski/353681/ft2_4FGL_J0418.1-0252_daily_bin242.fits sctable="SC_DATA" expcube=/scratch/kocevski/353681/ltcube_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.fits outfile=/scratch/kocevski/353681/expmap_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.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/353681/ltcube_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.fits
.....................!
real 197.96
user 185.15
sys 12.43

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 140 point sources and 0 extended sources

Setting source of interest to:
4FGL J0418.1-0252 @ 64.5321 -2.8795

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/353681/ft1_filtered_4FGL_J0418.1-0252_daily_bin242.fits scfile=/scratch/kocevski/353681/ft2_4FGL_J0418.1-0252_daily_bin242.fits outfile=/scratch/kocevski/353681/cmap_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.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=64.5321 yref=-2.8795 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 6.69
user 0.38
sys 6.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353681/ft1_filtered_4FGL_J0418.1-0252_daily_bin242.fits scfile=/scratch/kocevski/353681/ft2_4FGL_J0418.1-0252_daily_bin242.fits outfile=/scratch/kocevski/353681/cmap_HighResolution_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.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=64.5321 yref=-2.8795 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 6.62
user 0.40
sys 6.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353681/ft1_filtered_4FGL_J0418.1-0252_daily_bin242.fits evtable="EVENTS" scfile=/scratch/kocevski/353681/ft2_4FGL_J0418.1-0252_daily_bin242.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353681/Model_4FGL_J0418.1-0252_daily_bin242.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/353681/ft1_filtered_4FGL_J0418.1-0252_daily_bin242.fits.....................!
real 107.78
user 98.17
sys 9.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/353681/ft1_filtered_4FGL_J0418.1-0252_daily_bin242.fits', '/scratch/kocevski/353681/ft2_4FGL_J0418.1-0252_daily_bin242.fits', expMap='/scratch/kocevski/353681/expmap_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.fits', expCube='/scratch/kocevski/353681/ltcube_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/353681/Model_4FGL_J0418.1-0252_daily_bin242.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0418.1-0252'

4FGL J0418.1-0252
   Spectrum: LogParabola
219         norm:  1.334e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        alpha:  2.145e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  1.899e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  9.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/353681/ft1_filtered_4FGL_J0418.1-0252_daily_bin242.fits
Spacecraft file(s): /scratch/kocevski/353681/ft2_4FGL_J0418.1-0252_daily_bin242.fits
Exposure map: /scratch/kocevski/353681/expmap_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.fits
Exposure cube: /scratch/kocevski/353681/ltcube_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/353681/Model_4FGL_J0418.1-0252_daily_bin242.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) = 6884.31080573

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1934       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.1279       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11109E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    20.466       1.0000         .10000E-03   10000.    
     6 'Prefactor '    44.373       1.0000         .10000E-03   10000.    
     7 'norm      '    .43684       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.9698       1.0000         .10000E-03   10000.    
    10 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .41830       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.0554       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.848       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10459E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.4677       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0589       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1318       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6884.258     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2406 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1929        1.6000       -.33061E-06   -.98894E-03
   2  Prefactor     .10000E-03    25.188       -.69986E-05** at limit **
   3  Prefactor     9.1202        13.905       -.18265E-05    .67493E-05
   4  Prefactor     .10000E-03    25.911        .44720E-05** at limit **
   5  norm          20.476        19.014       -.31137E-07    .14017E-04
   6  Prefactor     44.350        34.454       -.42518E-05    .13751E-03
   7  norm          .40754        2.8565       -.31786E-06   -.10359E-03
   8  Prefactor     .10000E-03    162.05       -.45442E-05** at limit **
   9  norm          5.9695        7.3247       -.91543E-06    .48836E-04
  10  norm          .10000E-03    16.005        .65042E-06** at limit **
  11  norm          .41857        1.0970       -.42973E-06   -.15619E-02
  12  Prefactor     3.0554        2.2054        .24718E-06    .17774E-04
  13  Prefactor     25.881        24.537       -.33397E-05   -.39219E-04
  14  Prefactor     .10000E-03    34.921       -.10324E-04** at limit **
  15  Prefactor     .10000E-03    14.093       -.33255E-06** at limit **
  16  norm          .10000E-03    2.0312        .55597E-06** at limit **
  17  Prefactor     .10000E-03    74.194        .28195E-05** at limit **
  18  norm          2.4675        2.5850       -.21980E-06   -.45844E-03
  19  norm          .10000E-03    .65954       -.31293E-07** at limit **
  20  Prefactor     .10000E-03    31.057        .11210E-04** at limit **
  21  Normalizat    1.0590        .24705        .19351E-05   -.24970E-04
  22  Prefactor     1.1319        .10914        .25911E-06   -.22955E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.19294
  Prefactor  = 0.000100001
  Prefactor  = 9.12023
  Prefactor  = 0.000100001
  norm       = 20.4756
  Prefactor  = 44.3501
  norm       = 0.407537
  Prefactor  = 0.000100002
  norm       = 5.9695
  norm       = 0.0001
  norm       = 0.418575
  Prefactor  = 3.05536
  Prefactor  = 25.8812
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.46753
  norm       = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 1.05902
  Prefactor  = 1.13188
 **********
 **   18 **HESSE 
 **********

 FCN=   6884.258     FROM HESSE     STATUS=OK           346 CALLS     2752 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1929        1.5941        .11696E-03   -1.5490    
   2  Prefactor     .10000E-03    25.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.1202        14.095        .13266E-03   -1.5104    
   4  Prefactor     .10000E-03    26.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          20.476        19.012        .88536E-04   -1.4803    
   6  Prefactor     44.350        34.144        .60186E-04   -1.4375    
   7  norm          .40754        12.316        .25855E-02   -1.5580    
   8  Prefactor     .10000E-03    166.27        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.9695        7.3212        .16434E-03   -1.5219    
  10  norm          .10000E-03    16.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .41857        1.0647        .12789E-03   -1.5579    
  12  Prefactor     3.0554        2.1770        .96191E-04   -1.5358    
  13  Prefactor     25.881        23.524        .78794E-04   -1.4690    
  14  Prefactor     .10000E-03    34.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.9298        .21635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    75.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.4675        2.5839        .12899E-03   -1.5394    
  19  norm          .10000E-03    .66956        .65792E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    30.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0590        .27420        .38142E-03   -.91078    
  22  Prefactor     1.1319        .12154        .17498E-03   -.88454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3058e-08
Minuit parameter uncertainties:
  1  1.59416
  2  0.00024724
  3  14.1003
  4  0.000231053
  5  19.0178
  6  34.1588
  7  4.48128
  8  0.00109636
  9  7.32229
  10  2.09433e-05
  11  1.06478
  12  2.17706
  13  23.5324
  14  0.000499468
  15  3.63458e-05
  16  0.000119185
  17  0.000363739
  18  2.58402
  19  1.16417e-06
  20  0.000499953
  21  0.274568
  22  0.121574
Done.

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

Extracting fit parameters...

4FGL J0418.1-0252
   Spectrum: LogParabola
219         norm:  4.075e-01  4.481e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        alpha:  2.145e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
221         beta:  1.899e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  9.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
454    Prefactor:  1.132e+00  1.216e-01  0.000e+00  1.000e+01 ( 1.000e+00)
455        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
456        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
453   Normalization:  1.059e+00  2.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 64.532 -2.880
Photon Flux Upper Limit: 8.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/353681/likelihoodResults_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.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) = 6884.25568997
delta logL = 0.00273525390276

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6884.25563718
delta logL = 0.00278804820209

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42432       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3560       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0582       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1320       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6884.256     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      255 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45697        54.655        .66591E-01    .60412E-03
   2  alpha         2.3649        3.7571        .41238        .23080E-04
   3  Normalizat    1.0581        .32766E-01    .86171E-01    .19200E-04
   4  Prefactor     1.1319        .15570E-01    .36481E-01   -.70275E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.456973
  alpha      = 2.36491
  Normalizat = 1.05806
  Prefactor  = 1.13195
 **********
 **   18 **HESSE 
 **********

 FCN=   6884.256     FROM HESSE     STATUS=OK            35 CALLS      290 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45697        18.883        .24244E-02   -1.5573    
   2  alpha         2.3649        3.6601        .81428E-01   -.54063E-01
   3  Normalizat    1.0581        .25080        .38157E-03   -.91110    
   4  Prefactor     1.1319        .11912        .17497E-03   -.88452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02733e-08
Minuit parameter uncertainties:
  1  5.8763
  2  4.25903
  3  0.251086
  4  0.119152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353681': 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) = 6884.25559096
delta logL = 0.00283426579335

Extracting fit parameters...

4FGL J0418.1-0252
   Spectrum: LogParabola
219         norm:  4.570e-01  5.876e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        alpha:  2.365e+00  4.259e+00  0.000e+00  5.000e+00 ( 1.000e+00)
221         beta:  1.899e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
222           Eb:  9.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
454    Prefactor:  1.132e+00  1.192e-01  0.000e+00  1.000e+01 ( 1.000e+00)
455        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
456        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
453   Normalization:  1.058e+00  2.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 64.532 -2.880

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/353681/cmap_HighResolution_302054401_302313601_4FGL_J0418.1-0252_daily_bin242.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.83e-05', job_status='DONE', photon_flux_upper_limit='8.18e-08', time_completed='2021-08-20 10:44:48.440193', job_id='353681', GAL2='1.13', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1629481488.44', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.83e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='242' AND source_name='4FGL J0418.1-0252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 10:44:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 353681: <4FGL_J0418.1-0252_daily_bin242> in cluster <slac> Done

Job <4FGL_J0418.1-0252_daily_bin242> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 20 10:30:44 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 10:30:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 10:30:47 2021
Terminated at Fri Aug 20 10:44:52 2021
Results reported at Fri Aug 20 10:44:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0418.1-0252_daily_bin242 64.5321 -2.8795 302054401 302313601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0418.1-0252 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   822.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            848 sec.

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

