aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 122 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 = 7444
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0218.9-2305_daily_bin1696
RA = 34.731, Dec = -23.0986
tmin = 678931201, tmax = 679190401
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='912220', job_status='RUN', time_executed='2022-07-11 08:32:28.741401', time_epoch_executed='1657553548.74' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912220

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912220/ft1_4FGL_J0218.9-2305_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912220/ft2_4FGL_J0218.9-2305_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912220/ft1_4FGL_J0218.9-2305_daily_bin1696.fits outfile=/scratch/kocevski/912220/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1696.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=678931201.0 tmax=679190401.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.56
user 3.29
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/912220/ft2_4FGL_J0218.9-2305_daily_bin1696.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/912220/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/912220/ft1_filtered_4FGL_J0218.9-2305_daily_bin1696.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.50
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 574

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/912220/ft1_filtered_4FGL_J0218.9-2305_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/912220/ft2_4FGL_J0218.9-2305_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/912220/ltcube_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.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/912220/ft2_4FGL_J0218.9-2305_daily_bin1696.fits
.....................!
real 12.14
user 11.72
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912220/ft1_filtered_4FGL_J0218.9-2305_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/912220/ft2_4FGL_J0218.9-2305_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/912220/ltcube_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.fits outfile=/scratch/kocevski/912220/expmap_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.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/912220/ltcube_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.fits
.....................!
real 193.80
user 187.10
sys 6.08

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/912220/ft1_filtered_4FGL_J0218.9-2305_daily_bin1696.fits scfile=/scratch/kocevski/912220/ft2_4FGL_J0218.9-2305_daily_bin1696.fits outfile=/scratch/kocevski/912220/cmap_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.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 0.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/912220/ft1_filtered_4FGL_J0218.9-2305_daily_bin1696.fits scfile=/scratch/kocevski/912220/ft2_4FGL_J0218.9-2305_daily_bin1696.fits outfile=/scratch/kocevski/912220/cmap_HighResolution_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.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 0.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/912220/ft1_filtered_4FGL_J0218.9-2305_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/912220/ft2_4FGL_J0218.9-2305_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912220/Model_4FGL_J0218.9-2305_daily_bin1696.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/912220/ft1_filtered_4FGL_J0218.9-2305_daily_bin1696.fits.....................!
real 126.59
user 124.87
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/912220/ft1_filtered_4FGL_J0218.9-2305_daily_bin1696.fits', '/scratch/kocevski/912220/ft2_4FGL_J0218.9-2305_daily_bin1696.fits', expMap='/scratch/kocevski/912220/expmap_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.fits', expCube='/scratch/kocevski/912220/ltcube_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/912220/Model_4FGL_J0218.9-2305_daily_bin1696.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/912220/ft1_filtered_4FGL_J0218.9-2305_daily_bin1696.fits
Spacecraft file(s): /scratch/kocevski/912220/ft2_4FGL_J0218.9-2305_daily_bin1696.fits
Exposure map: /scratch/kocevski/912220/expmap_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.fits
Exposure cube: /scratch/kocevski/912220/ltcube_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/912220/Model_4FGL_J0218.9-2305_daily_bin1696.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) = 6298.37931755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78910       1.0000         .10000E-03   10000.    
     2 'norm      '    .17549E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.8216       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.457       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0984       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.6902       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    39.004       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    73.594       1.0000         .10000E-03   10000.    
    13 'Prefactor '    226.90       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .79083       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.873       1.0000         .10000E-03   10000.    
    20 'norm      '    .50018       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88174       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99106       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=   6298.349     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2409 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78872        1.6428        .41286E-06   -.95829E-04
   2  norm          .10000E-03    1.2908        .47016E-07** at limit **
   3  Prefactor     .10000E-03    11.605        .10427E-05** at limit **
   4  norm          5.8216        2.3620        .17535E-07   -.17356E-03
   5  Prefactor     .10000E-03    2.1931        .13507E-06** at limit **
   6  Prefactor     14.463        10.968       -.38313E-06   -.14352E-03
   7  Prefactor     1.0927        5.9494        .24699E-05   -.27411E-03
   8  Prefactor     6.6893        7.2043        .36719E-07   -.36932E-04
   9  Prefactor     .10000E-03    10.506       -.66880E-06** at limit **
  10  norm          39.003        43.456       -.18540E-06   -.16566E-04
  11  Prefactor     .10000E-03    2.0574       -.23557E-07** at limit **
  12  Prefactor     73.599        46.151        .52210E-06    .43604E-04
  13  Prefactor     226.89        63.082       -.56032E-06   -.14608E-03
  14  Prefactor     .10000E-03    19.450        .21183E-05** at limit **
  15  Prefactor     .10000E-03    1.1266        .25505E-08** at limit **
  16  Prefactor     .10000E-03    16.937       -.23667E-05** at limit **
  17  norm          .79087        1.4414        .23778E-06   -.14007E-03
  18  Prefactor     .10000E-03    66.031       -.40348E-06** at limit **
  19  Prefactor     24.866        15.559        .16299E-06    .43797E-04
  20  norm          .50167        1.5760        .46446E-06   -.32049E-03
  21  Normalizat    .88182        .15897       -.76595E-06   -.19650E-03
  22  Prefactor     .99105        .17236       -.17663E-06   -.17073E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.788717
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.82161
  Prefactor  = 0.0001
  Prefactor  = 14.4627
  Prefactor  = 1.09267
  Prefactor  = 6.68933
  Prefactor  = 0.0001
  norm       = 39.0033
  Prefactor  = 0.0001
  Prefactor  = 73.599
  Prefactor  = 226.891
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.790871
  Prefactor  = 0.0001
  Prefactor  = 24.8656
  norm       = 0.501668
  Normalizat = 0.881815
  Prefactor  = 0.991051
 **********
 **   18 **HESSE 
 **********

 FCN=   6298.349     FROM HESSE     STATUS=OK           350 CALLS     2759 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78872        1.5437        .14153E-02   -1.5530    
   2  norm          .10000E-03    4.6068        .17167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.8216        2.3636        .73322E-04   -1.5225    
   5  Prefactor     .10000E-03    4.9365        .22846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.463        10.943        .10534E-03   -1.4947    
   7  Prefactor     1.0927        6.3612        .36401E-03   -1.5499    
   8  Prefactor     6.6893        7.1864        .15514E-03   -1.5191    
   9  Prefactor     .10000E-03    10.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          39.003        43.402        .64178E-04   -1.4458    
  11  Prefactor     .10000E-03    2.0664        .11113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     73.599        46.390        .46801E-04   -1.3990    
  13  Prefactor     226.89        63.661        .13431E-03   -1.2684    
  14  Prefactor     .10000E-03    20.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.1317        .82256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .79087        1.2986        .12111E-02   -1.5530    
  18  Prefactor     .10000E-03    66.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.866        15.523        .80320E-04   -1.4710    
  20  norm          .50167        1.5569        .16926E-03   -1.5566    
  21  Normalizat    .88182        .18220        .23354E-03   -.97102    
  22  Prefactor     .99105        .19944        .25337E-03   -.93028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0883e-08
Minuit parameter uncertainties:
  1  1.54383
  2  7.54513e-06
  3  0.000119864
  4  2.3636
  5  1.28247e-05
  6  10.9441
  7  5.27344
  8  7.18734
  9  7.13521e-05
  10  43.4374
  11  1.28861e-06
  12  46.4131
  13  63.6799
  14  0.000313204
  15  1.54346e-06
  16  0.000336782
  17  1.29862
  18  0.000104297
  19  15.5253
  20  1.55706
  21  0.182329
  22  0.199585
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.093e+00  5.273e+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:  9.911e-01  1.996e-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.818e-01  1.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/912220/likelihoodResults_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.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) = 6298.31565075
delta logL = 0.0337204495881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6298.30689788
delta logL = 0.0424733103027

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7268       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0141       1.0000          .0000       10.000    
     3 'Normalizat'    .88669       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98513       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=   6298.307     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      266 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7197        5.2187        .29985E-03    .78862E-05
   2  Index         2.0100        1.4200        .12972E-01   -.96824E-04
   3  Normalizat    .88671        .17310        .23295E-03    .30258E-05
   4  Prefactor     .98509        .19891        .25402E-03   -.93984E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71974
  Index      = 2.01
  Normalizat = 0.886714
  Prefactor  = 0.985086
 **********
 **   18 **HESSE 
 **********

 FCN=   6298.307     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .23E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7197        5.2738        .11994E-04   -1.5446    
   2  Index         2.0100        1.4353        .25944E-02   -.64100    
   3  Normalizat    .88671        .17326        .93180E-05   -.96929    
   4  Prefactor     .98509        .19906        .10161E-04   -.93228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25244e-13
Minuit parameter uncertainties:
  1  5.27524
  2  1.46791
  3  0.173367
  4  0.199211
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912220': 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) = 6298.30689361
delta logL = 0.0424775824522

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.720e+00  5.275e+00  1.000e-04  1.000e+04 ( 1.000e-12)
269        Index:  2.010e+00  1.468e+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:  9.851e-01  1.992e-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.867e-01  1.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/912220/cmap_HighResolution_678931201_679190401_4FGL_J0218.9-2305_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-03', job_status='DONE', photon_flux_upper_limit='8.72e-08', time_completed='2022-07-11 08:44:37.289327', job_id='912220', GAL2='0.99', fit_tolerance='1e-08', EG2='0.89', EG='0.88', time_epoch_completed='1657554277.29', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.25e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1696' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 08:44:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 912220: <4FGL_J0218.9-2305_daily_bin1696> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin1696> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jul 11 08:30:12 2022
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 08:30:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 08:30:14 2022
Terminated at Mon Jul 11 08:44:38 2022
Results reported at Mon Jul 11 08:44:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin1696 34.731 -23.0986 678931201 679190401 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 :                                   727.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            866 sec.

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

