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 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 17407
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0218.9-2305_weekly_bin762
RA = 34.731, Dec = -23.0986
tmin = 699840001, tmax = 700444801
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='963515', job_status='RUN', time_executed='2023-03-14 01:00:53.044227', time_epoch_executed='1678780853.04' WHERE source_name='4FGL J0218.9-2305' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963515

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963515/ft1_4FGL_J0218.9-2305_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963515/ft2_4FGL_J0218.9-2305_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963515/ft1_4FGL_J0218.9-2305_weekly_bin762.fits outfile=/scratch/kocevski/963515/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin762.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=699840001.0 tmax=700444801.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 8.14
user 7.83
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/963515/ft2_4FGL_J0218.9-2305_weekly_bin762.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/963515/ft1_filteredMKT_4FGL_J0218.9-2305_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/963515/ft1_filtered_4FGL_J0218.9-2305_weekly_bin762.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.54
user 0.39
sys 0.14

Number of photons that the gtmktime cut: 796

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963515/ft1_filtered_4FGL_J0218.9-2305_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/963515/ft2_4FGL_J0218.9-2305_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/963515/ltcube_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.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/963515/ft2_4FGL_J0218.9-2305_weekly_bin762.fits
.....................!
real 27.39
user 26.97
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963515/ft1_filtered_4FGL_J0218.9-2305_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/963515/ft2_4FGL_J0218.9-2305_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/963515/ltcube_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.fits outfile=/scratch/kocevski/963515/expmap_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.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/963515/ltcube_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.fits
.....................!
real 192.33
user 187.25
sys 4.67

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_8years/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/963515/ft1_filtered_4FGL_J0218.9-2305_weekly_bin762.fits scfile=/scratch/kocevski/963515/ft2_4FGL_J0218.9-2305_weekly_bin762.fits outfile=/scratch/kocevski/963515/cmap_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963515/ft1_filtered_4FGL_J0218.9-2305_weekly_bin762.fits scfile=/scratch/kocevski/963515/ft2_4FGL_J0218.9-2305_weekly_bin762.fits outfile=/scratch/kocevski/963515/cmap_HighResolution_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.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.57
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/963515/ft1_filtered_4FGL_J0218.9-2305_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/963515/ft2_4FGL_J0218.9-2305_weekly_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963515/Model_4FGL_J0218.9-2305_weekly_bin762.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/963515/ft1_filtered_4FGL_J0218.9-2305_weekly_bin762.fits.....................!
real 170.92
user 169.41
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/963515/ft1_filtered_4FGL_J0218.9-2305_weekly_bin762.fits', '/scratch/kocevski/963515/ft2_4FGL_J0218.9-2305_weekly_bin762.fits', expMap='/scratch/kocevski/963515/expmap_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.fits', expCube='/scratch/kocevski/963515/ltcube_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/963515/Model_4FGL_J0218.9-2305_weekly_bin762.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  0.000e+00  1.000e+06 ( 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/963515/ft1_filtered_4FGL_J0218.9-2305_weekly_bin762.fits
Spacecraft file(s): /scratch/kocevski/963515/ft2_4FGL_J0218.9-2305_weekly_bin762.fits
Exposure map: /scratch/kocevski/963515/expmap_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.fits
Exposure cube: /scratch/kocevski/963515/ltcube_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/963515/Model_4FGL_J0218.9-2305_weekly_bin762.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) = 9266.59798772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9782       1.0000          .0000       .10000E+07
     2 'norm      '    4.4730       1.0000          .0000       .10000E+07
     3 'Prefactor '    28.315       1.0000          .0000       .10000E+07
     4 'norm      '    7.9259       1.0000          .0000       .10000E+07
     5 'Prefactor '    .63927E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.058       1.0000          .0000       .10000E+07
     7 'Prefactor '    .67632E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.0271       1.0000          .0000       .10000E+07
     9 'norm      '    301.90       1.0000          .0000       .10000E+07
    10 'Prefactor '    .20980E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .12615E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    88.390       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.0604       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.1979       1.0000          .0000       .10000E+07
    15 'norm      '    .64393E-08   1.0000          .0000       .10000E+07
    16 'norm      '    .55369E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    .83111       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0781       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9266.316     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1379 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9858        2.1723       -.12371E-07    .64989E-03
   2  norm          4.4893        3.1690       -.11397E-06    .10115E-02
   3  Prefactor     27.704        36.476        .43270E-06   -.22342E-03
   4  norm          7.9205        2.3744       -.67215E-07    .19645E-02
   5  Prefactor     .55511E-10    1.0590       -.33324E-06** at limit **
   6  Prefactor     11.114        9.2841        .13620E-06   -.65734E-03
   7  Prefactor     .16653E-09    13.323        .83450E-06** at limit **
   8  Prefactor     2.5424        7.9318       -.33307E-06    .56600E-03
   9  norm          308.60        71.138       -.61520E-06    .10195E-02
  10  Prefactor      .0000        1.3344        .44162E-07** at limit **
  11  Prefactor     .61062E-09    32.694       -.22964E-05** at limit **
  12  Prefactor     91.715        56.648       -.50826E-06    .41079E-04
  13  Prefactor     3.6628        53.004        .15460E-05   -.17389E-03
  14  Prefactor     3.1816        2.6772        .25355E-07   -.66896E-03
  15  norm           .0000        .58076       -.11898E-06** at limit **
  16  norm          .55511E-10    1.5297       -.33331E-06** at limit **
  17  Normalizat    .82969        .17591        .82369E-05   -.36199E-04
  18  Prefactor     1.0776        .18340       -.60337E-05    .26424E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.98581
  norm       = 4.48933
  Prefactor  = 27.7036
  norm       = 7.92054
  Prefactor  = 5.55112e-11
  Prefactor  = 11.1139
  Prefactor  = 1.66533e-10
  Prefactor  = 2.54243
  norm       = 308.6
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 91.715
  Prefactor  = 3.66282
  Prefactor  = 3.18158
  norm       = 0
  norm       = 5.55112e-11
  Normalizat = 0.829693
  Prefactor  = 1.07762
 **********
 **   18 **HESSE 
 **********

 FCN=   9266.316     FROM HESSE     STATUS=OK           286 CALLS     1665 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9858        2.1763        .45050E-03   -1.5663    
   2  norm          4.4893        3.1709        .47585E-03   -1.5666    
   3  Prefactor     27.704        36.521        .18796E-03   -1.5603    
   4  norm          7.9205        2.3790        .35592E-03   -1.5652    
   5  Prefactor     .55511E-10    1.0630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.114        9.2799        .30103E-03   -1.5641    
   7  Prefactor     .16653E-09    12.881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.5424        8.1240        .58300E-03   -1.5676    
   9  norm          308.60        72.181        .57562E-04   -1.5357    
  10  Prefactor      .0000        1.3370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61062E-09    32.418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     91.715        56.616        .10637E-03   -1.5516    
  13  Prefactor     3.6628        52.246        .50014E-03   -1.5670    
  14  Prefactor     3.1816        2.6812        .56635E-03   -1.5672    
  15  norm           .0000        .57988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    1.5219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .82969        .14821        .44015E-01   -.98977    
  18  Prefactor     1.0776        .15440        .59016E-01   -.90185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06554e-08
Minuit parameter uncertainties:
  1  2.17627
  2  3.1709
  3  36.5212
  4  2.37896
  5  1.20986e-05
  6  9.27987
  7  8.91691e-05
  8  8.12404
  9  72.1813
  10  1.36934e-06
  11  0.000284697
  12  56.6162
  13  27.6675
  14  2.68124
  15  2.59448e-06
  16  1.39148e-05
  17  0.148279
  18  0.154463
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  1.665e-10  8.917e-05  0.000e+00  1.000e+06 ( 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:  1.078e+00  1.545e-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.297e-01  1.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/963515/likelihoodResults_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.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) = 9266.37465338
delta logL = -0.0587672552992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9265.83483156
delta logL = 0.481054564983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92821       1.0000          .0000       .10000E+07
     2 'Index     '    1.3121       1.0000          .0000       10.000    
     3 'Normalizat'    .83138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0716       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.

 FCN=   9265.835     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      221 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .92871        1.3463        .43829E-03    .26215E-02
   2  Index         1.3118        .43610        .24665       -.12032E-03
   3  Normalizat    .83126        .13803        .44019E-01    .30564E-04
   4  Prefactor     1.0717        .15388        .59134E-01    .21494E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.928706
  Index      = 1.31182
  Normalizat = 0.831264
  Prefactor  = 1.0717
 **********
 **   18 **HESSE 
 **********

 FCN=   9265.835     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .92871        1.8358        .13077E-04   -1.5689    
   2  Index         1.3118        .73051        .12134E-01   -.82956    
   3  Normalizat    .83126        .16352        .26448E-03   -.98919    
   4  Prefactor     1.0717        .18224        .26150E-03   -.90376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10912e-08
Minuit parameter uncertainties:
  1  1.83576
  2  0.736337
  3  0.163614
  4  0.182343
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963515': 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) = 9265.83483083
delta logL = 0.481055296905

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  9.287e-01  1.836e+00  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  1.312e+00  7.363e-01  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:  1.072e+00  1.823e-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.313e-01  1.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/963515/cmap_HighResolution_699840001_700444801_4FGL_J0218.9-2305_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.24e-03', job_status='DONE', photon_flux_upper_limit='6.69e-08', time_completed='2023-03-14 01:13:34.408267', job_id='963515', GAL2='1.07', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1678781614.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.81e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='762' AND source_name='4FGL J0218.9-2305' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:13:34 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0007>
Subject: Job 963515: <4FGL_J0218.9-2305_weekly_bin762> in cluster <slac> Done

Job <4FGL_J0218.9-2305_weekly_bin762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 01:00:36 2023
Job was executed on host(s) <bullet0007>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 01:00:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 01:00:38 2023
Terminated at Tue Mar 14 01:13:34 2023
Results reported at Tue Mar 14 01:13:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_weekly_bin762 34.731 -23.0986 699840001 700444801 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 :                                   761.06 sec.
    Max Memory :                                 1267 MB
    Average Memory :                             382.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2934 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            778 sec.

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

