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


Performing analysis on: 4FGL_J0218.9-2305_daily_bin15
RA = 34.731, Dec = -23.0986
tmin = 243216001, tmax = 243475201
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='300696', job_status='RUN', time_executed='2021-08-15 17:19:44.294372', time_epoch_executed='1629073184.29' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/300696

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/300696/ft1_4FGL_J0218.9-2305_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/300696/ft2_4FGL_J0218.9-2305_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/300696/ft1_4FGL_J0218.9-2305_daily_bin15.fits outfile=/scratch/kocevski/300696/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin15.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=243216001.0 tmax=243475201.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.87
user 1.20
sys 2.59

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/300696/ft2_4FGL_J0218.9-2305_daily_bin15.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/300696/ft2_4FGL_J0218.9-2305_daily_bin15.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/300696/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin15.fits evtable="EVENTS" outfile="/scratch/kocevski/300696/ft1_filtered_4FGL_J0218.9-2305_daily_bin15.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 2.81
user 0.34
sys 2.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/300696/ft1_filtered_4FGL_J0218.9-2305_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/300696/ft2_4FGL_J0218.9-2305_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/300696/ltcube_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.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/300696/ft2_4FGL_J0218.9-2305_daily_bin15.fits
.....................!
real 19.64
user 16.43
sys 3.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/300696/ft1_filtered_4FGL_J0218.9-2305_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/300696/ft2_4FGL_J0218.9-2305_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/300696/ltcube_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.fits outfile=/scratch/kocevski/300696/expmap_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.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/300696/ltcube_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.fits
.....................!
real 197.15
user 187.65
sys 8.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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 178 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0218.9-2305 @ 34.731 -23.0986

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/300696/ft1_filtered_4FGL_J0218.9-2305_daily_bin15.fits scfile=/scratch/kocevski/300696/ft2_4FGL_J0218.9-2305_daily_bin15.fits outfile=/scratch/kocevski/300696/cmap_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.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.731 yref=-23.0986 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 2.97
user 0.38
sys 2.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/300696/ft1_filtered_4FGL_J0218.9-2305_daily_bin15.fits scfile=/scratch/kocevski/300696/ft2_4FGL_J0218.9-2305_daily_bin15.fits outfile=/scratch/kocevski/300696/cmap_HighResolution_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.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.731 yref=-23.0986 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 2.98
user 0.39
sys 2.54

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/300696/ft1_filtered_4FGL_J0218.9-2305_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/300696/ft2_4FGL_J0218.9-2305_daily_bin15.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/300696/Model_4FGL_J0218.9-2305_daily_bin15.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/300696/ft1_filtered_4FGL_J0218.9-2305_daily_bin15.fits.....................!
real 114.72
user 109.70
sys 4.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/300696/ft1_filtered_4FGL_J0218.9-2305_daily_bin15.fits', '/scratch/kocevski/300696/ft2_4FGL_J0218.9-2305_daily_bin15.fits', expMap='/scratch/kocevski/300696/expmap_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.fits', expCube='/scratch/kocevski/300696/ltcube_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/300696/Model_4FGL_J0218.9-2305_daily_bin15.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0218.9-2305'

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.106e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/300696/ft1_filtered_4FGL_J0218.9-2305_daily_bin15.fits
Spacecraft file(s): /scratch/kocevski/300696/ft2_4FGL_J0218.9-2305_daily_bin15.fits
Exposure map: /scratch/kocevski/300696/expmap_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.fits
Exposure cube: /scratch/kocevski/300696/ltcube_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/300696/Model_4FGL_J0218.9-2305_daily_bin15.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) = 5486.84994176

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5122       1.0000         .10000E-03   10000.    
     2 'norm      '    13.208       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2703       1.0000         .10000E-03   10000.    
     4 'norm      '    1.1918       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .47777       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0977       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    41.857       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10974E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7457       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.054       1.0000         .10000E-03   10000.    
    17 'norm      '    2.3001       1.0000         .10000E-03   10000.    
    18 'Prefactor '    197.26       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .75107E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.6264       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .80956       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83336       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5486.811     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2345 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5121        1.5834        .10333E-06    .22528E-04
   2  norm          13.206        4.0437        .67376E-07   -.10324E-03
   3  Prefactor     8.2493        25.143       -.67548E-07   -.61649E-04
   4  norm          1.1922        1.9970        .41539E-06    .21400E-04
   5  Prefactor     .47942        3.6879        .29628E-05    .26016E-03
   6  Prefactor     .10000E-03    3.0954       -.10982E-06** at limit **
   7  Prefactor     1.0959        4.3274        .24240E-05    .19477E-03
   8  Prefactor     .10000E-03    2.6210       -.60268E-07** at limit **
   9  Prefactor     .10000E-03    7.4889        .25110E-07** at limit **
  10  norm          41.855        31.199       -.11048E-06   -.57871E-04
  11  Prefactor     .10000E-03    1.6389       -.18160E-06** at limit **
  12  Prefactor     .10000E-03    14.788       -.16751E-07** at limit **
  13  Prefactor     .10000E-03    45.277        .45599E-06** at limit **
  14  Prefactor     3.7252        33.647        .13971E-05   -.52887E-04
  15  Prefactor     .10000E-03    2.5000        .27734E-06** at limit **
  16  Prefactor     24.075        31.677       -.10606E-05   -.21430E-03
  17  norm          2.2992        1.7724        .87193E-07   -.29879E-03
  18  Prefactor     197.19        98.466       -.16093E-06   -.14559E-03
  19  Prefactor     .10006E-03    10.802        .43510E-05** at limit **
  20  norm          3.6275        3.0164        .20102E-07   -.35974E-03
  21  Normalizat    .81007        .15578       -.63710E-06   -.59111E-03
  22  Prefactor     .83276        .16507       -.16170E-05   -.52029E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.51207
  norm       = 13.2056
  Prefactor  = 8.24935
  norm       = 1.19222
  Prefactor  = 0.479416
  Prefactor  = 0.0001
  Prefactor  = 1.09588
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 41.8546
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.72522
  Prefactor  = 0.0001
  Prefactor  = 24.0751
  norm       = 2.29916
  Prefactor  = 197.186
  Prefactor  = 0.000100064
  norm       = 3.62751
  Normalizat = 0.810075
  Prefactor  = 0.832759
 **********
 **   18 **HESSE 
 **********

 FCN=   5486.811     FROM HESSE     STATUS=OK           340 CALLS     2685 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5121        1.5736        .91453E-04   -1.5462    
   2  norm          13.206        4.0527        .77746E-04   -1.4981    
   3  Prefactor     8.2493        25.131        .13941E-03   -1.5133    
   4  norm          1.1922        1.9758        .12357E-03   -1.5490    
   5  Prefactor     .47942        3.8340        .27442E-03   -1.5569    
   6  Prefactor     .10000E-03    3.0995        .12727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.0959        4.4472        .29119E-03   -1.5499    
   8  Prefactor     .10000E-03    2.6261        .11701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.4919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          41.855        31.155        .61961E-04   -1.4413    
  11  Prefactor     .10000E-03    1.6429        .92584E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    45.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7252        33.749        .20862E-03   -1.5322    
  15  Prefactor     .10000E-03    2.5378        .11448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.075        31.473        .81673E-04   -1.4726    
  17  norm          2.2992        1.7616        .81595E-04   -1.5405    
  18  Prefactor     197.19        98.240        .14382E-03   -1.2890    
  19  Prefactor     .10006E-03    20.431        .38208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.6275        3.0093        .11206E-03   -1.5327    
  21  Normalizat    .81007        .18237        .21783E-03   -.99696    
  22  Prefactor     .83276        .19290        .24324E-03   -.98532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89041e-09
Minuit parameter uncertainties:
  1  1.5736
  2  4.05282
  3  25.1628
  4  1.9759
  5  2.71147
  6  6.24567e-06
  7  4.41561
  8  1.54067e-06
  9  1.72666e-06
  10  31.1674
  11  5.34079e-06
  12  4.36234e-06
  13  0.000136134
  14  22.4417
  15  1.42308e-05
  16  31.4943
  17  1.7616
  18  98.3217
  19  0.00228243
  20  3.00939
  21  0.182513
  22  0.193057
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.096e+00  4.416e+00  1.000e-04  1.000e+04 ( 1.000e-12)
269        Index:  2.603e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.328e-01  1.931e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  8.101e-01  1.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 34.731 -23.099
Photon Flux Upper Limit: 7.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/300696/likelihoodResults_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.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) = 5486.81045858
delta logL = 0.000221069803047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5486.8097356
delta logL = 0.000944044573771

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97694       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7532       1.0000          .0000       10.000    
     3 'Normalizat'    .80901       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83381       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+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=   5486.810     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      252 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97674        9.1659        .26985E-03   -.34433E-03
   2  Index         2.7536        3.7190        .11678E-01   -.84170E-04
   3  Normalizat    .80897        .17265        .21797E-03   -.54201E-03
   4  Prefactor     .83386        .19413        .24310E-03   -.39319E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.976737
  Index      = 2.75365
  Normalizat = 0.808967
  Prefactor  = 0.833856
 **********
 **   18 **HESSE 
 **********

 FCN=   5486.810     FROM HESSE     STATUS=OK            23 CALLS      275 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97674        6.7643        .10794E-04   -1.5510    
   2  Index         2.7536        3.3396        .46714E-03   -.46595    
   3  Normalizat    .80897        .17259        .43593E-04   -.99737    
   4  Prefactor     .83386        .19370        .48619E-04   -.98492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81498e-09
Minuit parameter uncertainties:
  1  5.14136
  2  3.77223
  3  0.172706
  4  0.193862
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/300696': 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) = 5486.80973555
delta logL = 0.000944093323596

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  9.767e-01  5.141e+00  1.000e-04  1.000e+04 ( 1.000e-12)
269        Index:  2.754e+00  3.772e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  5.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.339e-01  1.939e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
556   Normalization:  8.090e-01  1.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 34.731 -23.099

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/300696/cmap_HighResolution_243216001_243475201_4FGL_J0218.9-2305_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-03', job_status='DONE', photon_flux_upper_limit='7.80e-08', time_completed='2021-08-15 17:31:22.534082', job_id='300696', GAL2='0.83', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1629073882.53', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='9.44e-04', ts2='0.07', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='15' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 17:31:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 300696: <4FGL_J0218.9-2305_daily_bin15> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin15> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 15 17:15:36 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 17:16:44 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:16:44 2021
Terminated at Sun Aug 15 17:31:23 2021
Results reported at Sun Aug 15 17:31:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin15 34.731 -23.0986 243216001 243475201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0218.9-2305 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   734.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            947 sec.

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

