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


Performing analysis on: 4FGL_J0218.9+3643_daily_bin740
RA = 34.7473, Dec = 36.7176
tmin = 431136001, tmax = 431395201
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='296200', job_status='RUN', time_executed='2021-08-15 17:02:42.138000', time_epoch_executed='1629072162.14' WHERE source_name='4FGL J0218.9+3643' and cadence='daily' and bin_id='740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/296200

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/296200/ft1_4FGL_J0218.9+3643_daily_bin740.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/296200/ft2_4FGL_J0218.9+3643_daily_bin740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/296200/ft1_4FGL_J0218.9+3643_daily_bin740.fits outfile=/scratch/kocevski/296200/ft1_filteredMKT_4FGL_J0218.9+3643_daily_bin740.fits ra=34.7473 dec=36.7176 rad=12.0 tmin=431136001.0 tmax=431395201.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 6.21
user 5.24
sys 0.93

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/296200/ft2_4FGL_J0218.9+3643_daily_bin740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/296200/ft2_4FGL_J0218.9+3643_daily_bin740.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/296200/ft1_filteredMKT_4FGL_J0218.9+3643_daily_bin740.fits evtable="EVENTS" outfile="/scratch/kocevski/296200/ft1_filtered_4FGL_J0218.9+3643_daily_bin740.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 1.20
user 0.34
sys 0.80

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/296200/ft1_filtered_4FGL_J0218.9+3643_daily_bin740.fits" evtable="EVENTS" scfile=/scratch/kocevski/296200/ft2_4FGL_J0218.9+3643_daily_bin740.fits sctable="SC_DATA" outfile=/scratch/kocevski/296200/ltcube_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.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/296200/ft2_4FGL_J0218.9+3643_daily_bin740.fits
.....................!
real 14.42
user 13.30
sys 1.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/296200/ft1_filtered_4FGL_J0218.9+3643_daily_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/296200/ft2_4FGL_J0218.9+3643_daily_bin740.fits sctable="SC_DATA" expcube=/scratch/kocevski/296200/ltcube_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.fits outfile=/scratch/kocevski/296200/expmap_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.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/296200/ltcube_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.fits
.....................!
real 192.62
user 185.87
sys 6.28

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 J0218.9+3643 @ 34.7473 36.7176

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/296200/ft1_filtered_4FGL_J0218.9+3643_daily_bin740.fits scfile=/scratch/kocevski/296200/ft2_4FGL_J0218.9+3643_daily_bin740.fits outfile=/scratch/kocevski/296200/cmap_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.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=34.7473 yref=36.7176 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 1.19
user 0.37
sys 0.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/296200/ft1_filtered_4FGL_J0218.9+3643_daily_bin740.fits scfile=/scratch/kocevski/296200/ft2_4FGL_J0218.9+3643_daily_bin740.fits outfile=/scratch/kocevski/296200/cmap_HighResolution_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.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=34.7473 yref=36.7176 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 1.22
user 0.40
sys 0.78

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/296200/ft1_filtered_4FGL_J0218.9+3643_daily_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/296200/ft2_4FGL_J0218.9+3643_daily_bin740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/296200/Model_4FGL_J0218.9+3643_daily_bin740.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/296200/ft1_filtered_4FGL_J0218.9+3643_daily_bin740.fits.....................!
real 89.69
user 87.27
sys 2.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/296200/ft1_filtered_4FGL_J0218.9+3643_daily_bin740.fits', '/scratch/kocevski/296200/ft2_4FGL_J0218.9+3643_daily_bin740.fits', expMap='/scratch/kocevski/296200/expmap_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.fits', expCube='/scratch/kocevski/296200/ltcube_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/296200/Model_4FGL_J0218.9+3643_daily_bin740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0218.9+3643'

4FGL J0218.9+3643
   Spectrum: LogParabola
263         norm:  1.139e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.474e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  1.847e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/296200/ft1_filtered_4FGL_J0218.9+3643_daily_bin740.fits
Spacecraft file(s): /scratch/kocevski/296200/ft2_4FGL_J0218.9+3643_daily_bin740.fits
Exposure map: /scratch/kocevski/296200/expmap_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.fits
Exposure cube: /scratch/kocevski/296200/ltcube_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/296200/Model_4FGL_J0218.9+3643_daily_bin740.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) = 7395.11987064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8307       1.0000         .10000E-03   10000.    
     2 'norm      '    .59996       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.2291       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.705       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.0006       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .44406       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0906       1.0000         .10000E-03   10000.    
    15 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.3237       1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.011       1.0000         .10000E-03   10000.    
    19 'norm      '    .14779E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.1780       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4167       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90886       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7395.118     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2349 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8328        14.643        .10520E-04   -.18366E-03
   2  norm          .60066        1.7501        .10047E-05   -.84639E-04
   3  Prefactor     .10000E-03    10.909        .28169E-06** at limit **
   4  Prefactor     .10000E-03    2.4386        .35685E-06** at limit **
   5  Prefactor     .10000E-03    7.7784        .21648E-07** at limit **
   6  Prefactor     .10000E-03    74.033        .39267E-06** at limit **
   7  norm          9.2297        5.8091       -.10289E-06   -.21729E-03
   8  Prefactor     10.707        8.3565       -.17651E-07   -.79295E-04
   9  norm          .10000E-03    .94131        .56650E-07** at limit **
  10  Prefactor     .10000E-03    2.7230        .40805E-07** at limit **
  11  norm          1.0007        .52976        .56149E-08   -.73815E-04
  12  norm          .10000E-03    48.780        .16987E-05** at limit **
  13  norm          .44411        .28728        .26170E-07   -.80466E-04
  14  Prefactor     3.0927        4.9571        .53343E-06   -.72427E-04
  15  norm          .10000E-03    3.0480        .38072E-07** at limit **
  16  Prefactor     .10000E-03    12.326        .14896E-07** at limit **
  17  norm          4.3240        2.0901        .93938E-07    .11220E-04
  18  Prefactor     30.917        81.176       -.12289E-04   -.23708E-03
  19  norm          .10000E-03    44.294       -.31522E-05** at limit **
  20  Prefactor     6.1777        11.766        .51151E-05   -.20253E-03
  21  Normalizat    1.4166        .23593       -.10814E-05   -.75908E-04
  22  Prefactor     .90882        .10638       -.45501E-06   -.12599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.8328
  norm       = 0.600657
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.22971
  Prefactor  = 10.7065
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.00068
  norm       = 0.000100001
  norm       = 0.44411
  Prefactor  = 3.09271
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.32395
  Prefactor  = 30.9174
  norm       = 0.0001
  Prefactor  = 6.17768
  Normalizat = 1.41662
  Prefactor  = 0.908816
 **********
 **   18 **HESSE 
 **********

 FCN=   7395.118     FROM HESSE     STATUS=OK           340 CALLS     2689 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8328        14.880        .10310E-02   -1.5316    
   2  norm          .60066        1.7203        .18760E-03   -1.5553    
   3  Prefactor     .10000E-03    10.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.4962        .26200E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.7809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    74.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.2297        5.8143        .13192E-03   -1.5100    
   8  Prefactor     10.707        8.3635        .12245E-03   -1.5053    
   9  norm          .10000E-03    .94783        .81416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.7289        .13857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.0007        .52401        .43877E-04   -1.5508    
  12  norm          .10000E-03    48.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .44411        .28660        .35751E-04   -1.5575    
  14  Prefactor     3.0927        4.9546        .22834E-03   -1.5356    
  15  norm          .10000E-03    3.0594        .14642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3240        2.0906        .83146E-04   -1.5292    
  18  Prefactor     30.917        85.746        .71951E-04   -1.4595    
  19  norm          .10000E-03    44.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.1777        11.841        .80757E-03   -1.5211    
  21  Normalizat    1.4166        .27286        .32958E-03   -.80149    
  22  Prefactor     .90882        .12287        .19071E-03   -.95834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71591e-09
Minuit parameter uncertainties:
  1  14.8944
  2  1.72047
  3  1.21138e-05
  4  2.61363e-06
  5  1.41346e-06
  6  9.8378e-05
  7  5.81462
  8  8.36441
  9  4.79201e-07
  10  2.79912e-06
  11  0.524013
  12  0.000483534
  13  0.286601
  14  4.95526
  15  3.31533e-06
  16  1.07381e-06
  17  2.09064
  18  86.0904
  19  1.54775e-05
  20  11.845
  21  0.273142
  22  0.122911
Done.

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

Extracting fit parameters...

4FGL J0218.9+3643
   Spectrum: LogParabola
263         norm:  1.000e-04  4.792e-07  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.474e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  1.847e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.088e-01  1.229e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.417e+00  2.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 34.747 36.718
Photon Flux Upper Limit: 5.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/296200/likelihoodResults_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.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) = 7395.12294862
delta logL = -0.00491650042932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7395.11803043
delta logL = 1.69198938238e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7395.118     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      241 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    392.91        .10676E-02** at limit **
   2  alpha         1.6506        3.1489        .16466        .18435E-06
   3  Normalizat    1.4166        .22304        .32958E-03   -.31094E-03
   4  Prefactor     .90882        .10692        .19071E-03   -.35595E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.65061
  Normalizat = 1.41662
  Prefactor  = 0.908816
 **********
 **   18 **HESSE 
 **********

 FCN=   7395.118     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6280        .21351E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6506        2.5277        .65862E-02   -.34666    
   3  Normalizat    1.4166        .25217        .65916E-04   -.80149    
   4  Prefactor     .90882        .12089        .38141E-04   -.95834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59973e-10
Minuit parameter uncertainties:
  1  3.06925e-05
  2  133.018
  3  0.25239
  4  0.120926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/296200': 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) = 7395.11801009
delta logL = 2.20343445108e-05

Extracting fit parameters...

4FGL J0218.9+3643
   Spectrum: LogParabola
263         norm:  1.000e-04  3.069e-05  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  1.651e+00  1.330e+02  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  1.847e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  1.004e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.088e-01  1.209e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.417e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 34.747 36.718

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/296200/cmap_HighResolution_431136001_431395201_4FGL_J0218.9+3643_daily_bin740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-05', job_status='DONE', photon_flux_upper_limit='5.52e-08', time_completed='2021-08-15 17:15:47.487198', job_id='296200', GAL2='0.91', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1629072947.49', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.20e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='740' AND source_name='4FGL J0218.9+3643' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 17:15:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 296200: <4FGL_J0218.9+3643_daily_bin740> in cluster <slac> Done

Job <4FGL_J0218.9+3643_daily_bin740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Aug 15 17:00:38 2021
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 17:02:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 17:02:16 2021
Terminated at Sun Aug 15 17:15:48 2021
Results reported at Sun Aug 15 17:15:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9+3643_daily_bin740 34.7473 36.7176 431136001 431395201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0218.9+3643 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   789.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            910 sec.

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

