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


Performing analysis on: 4FGL_J0218.9-2305_daily_bin1758
RA = 34.731, Dec = -23.0986
tmin = 695001601, tmax = 695260801
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='354803', job_status='RUN', time_executed='2023-01-13 00:10:42.703691', time_epoch_executed='1673597442.7' WHERE source_name='4FGL J0218.9-2305' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354803

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354803/ft1_4FGL_J0218.9-2305_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354803/ft2_4FGL_J0218.9-2305_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354803/ft1_4FGL_J0218.9-2305_daily_bin1758.fits outfile=/scratch/kocevski/354803/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1758.fits ra=34.731 dec=-23.0986 rad=12.0 tmin=695001601.0 tmax=695260801.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 2.86
user 2.57
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/354803/ft2_4FGL_J0218.9-2305_daily_bin1758.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/354803/ft1_filteredMKT_4FGL_J0218.9-2305_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/354803/ft1_filtered_4FGL_J0218.9-2305_daily_bin1758.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.37
sys 0.16

Number of photons that the gtmktime cut: 567

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354803/ft1_filtered_4FGL_J0218.9-2305_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/354803/ft2_4FGL_J0218.9-2305_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/354803/ltcube_695001601_695260801_4FGL_J0218.9-2305_daily_bin1758.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/354803/ft2_4FGL_J0218.9-2305_daily_bin1758.fits
.....................!
real 17.58
user 16.99
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354803/ft1_filtered_4FGL_J0218.9-2305_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/354803/ft2_4FGL_J0218.9-2305_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/354803/ltcube_695001601_695260801_4FGL_J0218.9-2305_daily_bin1758.fits outfile=/scratch/kocevski/354803/expmap_695001601_695260801_4FGL_J0218.9-2305_daily_bin1758.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/354803/ltcube_695001601_695260801_4FGL_J0218.9-2305_daily_bin1758.fits
.....................!
real 194.20
user 186.14
sys 5.58

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/354803/ft1_filtered_4FGL_J0218.9-2305_daily_bin1758.fits scfile=/scratch/kocevski/354803/ft2_4FGL_J0218.9-2305_daily_bin1758.fits outfile=/scratch/kocevski/354803/cmap_695001601_695260801_4FGL_J0218.9-2305_daily_bin1758.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.62
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354803/ft1_filtered_4FGL_J0218.9-2305_daily_bin1758.fits scfile=/scratch/kocevski/354803/ft2_4FGL_J0218.9-2305_daily_bin1758.fits outfile=/scratch/kocevski/354803/cmap_HighResolution_695001601_695260801_4FGL_J0218.9-2305_daily_bin1758.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.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/354803/ft1_filtered_4FGL_J0218.9-2305_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/354803/ft2_4FGL_J0218.9-2305_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354803/Model_4FGL_J0218.9-2305_daily_bin1758.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/354803/ft1_filtered_4FGL_J0218.9-2305_daily_bin1758.fits.....................!
real 125.35
user 122.43
sys 1.44

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10636E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .30487E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .21038E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .15371E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .60051E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .91295E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.7760       1.0000          .0000       .10000E+07
     8 'Prefactor '    .60143E-05   1.0000          .0000       .10000E+07
     9 'norm      '    39.528       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35775E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    39.533       1.0000          .0000       .10000E+07
    12 'Prefactor '    .69295E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .22361E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .20421       1.0000          .0000       .10000E+07
    15 'norm      '    .77479       1.0000          .0000       .10000E+07
    16 'norm      '    .71394E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .97702       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2388       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=   6336.783     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1361 TOTAL
                     EDM=   .13E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .65036       -.63710E-07** at limit **
   2  norm           .0000        .89284        .63209E-08** at limit **
   3  Prefactor      .0000        15.775        .27535E-07** at limit **
   4  norm           .0000        .69661       -.51050E-07** at limit **
   5  Prefactor      .0000        3.0581       -.91061E-07** at limit **
   6  Prefactor      .0000        23.380       -.20543E-07** at limit **
   7  Prefactor     3.7835        4.4485       -.16863E-08   -.44991E-04
   8  Prefactor      .0000        17.317       -.45474E-06** at limit **
   9  norm          40.964        58.117       -.51766E-07    .24911E-04
  10  Prefactor      .0000        1.2348        .76869E-07** at limit **
  11  Prefactor     39.875        54.451        .30239E-07   -.13647E-04
  12  Prefactor      .0000        15.123       -.47770E-07** at limit **
  13  Prefactor      .0000        47.321       -.12858E-06** at limit **
  14  Prefactor     .20015        9.7448       -.31483E-07** at limit **
  15  norm          .77836        1.4539        .23736E-07   -.18700E-03
  16  norm           .0000        1.2226        .80798E-07** at limit **
  17  Normalizat    .97613        .19668       -.11275E-06   -.64137E-05
  18  Prefactor     1.2389        .22869        .56697E-06   -.93748E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.78347
  Prefactor  = 0
  norm       = 40.9642
  Prefactor  = 0
  Prefactor  = 39.8746
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.200146
  norm       = 0.778358
  norm       = 0
  Normalizat = 0.976134
  Prefactor  = 1.23893
 **********
 **   18 **HESSE 
 **********

 FCN=   6336.783     FROM HESSE     STATUS=OK           280 CALLS     1641 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .64738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .88725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        15.710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .69336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.0383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        23.298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.7835        4.4656        .51928E-03   -1.5669    
   8  Prefactor      .0000        17.225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          40.964        58.102        .15907E-03   -1.5580    
  10  Prefactor      .0000        1.2336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.875        54.551        .15906E-03   -1.5582    
  12  Prefactor      .0000        15.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        47.205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .20015        1.9101        .59547E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .77836        1.4682        .54833E-03   -1.5690    
  16  norm           .0000        1.2198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .97613        .16163        .45878E-01   -.93834    
  18  Prefactor     1.2389        .18735        .55680E-01   -.85142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15474e-10
Minuit parameter uncertainties:
  1  7.78462e-07
  2  8.40829e-08
  3  2.27915e-05
  4  6.38027e-07
  5  1.96898e-06
  6  6.56135e-07
  7  4.46561
  8  7.66816e-06
  9  58.1031
  10  1.56595e-06
  11  54.5514
  12  1.37128e-05
  13  1.08309e-06
  14  1.23662
  15  1.46823
  16  1.20866e-06
  17  0.161712
  18  0.187452
Done.

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

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  3.783e+00  4.466e+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

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.239e+00  1.875e-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:  9.761e-01  1.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 34.731 -23.099
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 2.49e-08 +/- 2.94e-08
Energy Flux (Fixed Index): 6.51e-06 +/- 7.68e-06

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

Saving results to:
/scratch/kocevski/354803/likelihoodResults_695001601_695260801_4FGL_J0218.9-2305_daily_bin1758.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) = 6336.7830683
delta logL = 0.000319576664879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6336.78290958
delta logL = 0.000478300687973

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6929       1.0000          .0000       .10000E+07
     2 'Index     '    2.6395       1.0000          .0000       10.000    
     3 'Normalizat'    .97532       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2395       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=   6336.783     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      225 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6893        148.91        .52531E-03    .37887E-02
   2  Index         2.6371        5.8996        .23073        .60062E-04
   3  Normalizat    .97551        .55333E-01    .45857E-01    .42239E-05
   4  Prefactor     1.2395        .62455E-01    .55669E-01    .25475E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.68929
  Index      = 2.63706
  Normalizat = 0.975513
  Prefactor  = 1.23952
 **********
 **   18 **HESSE 
 **********

 FCN=   6336.783     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6893        5.6897        .17224E-04   -1.5670    
   2  Index         2.6371        1.1526        .11747E-01   -.49222    
   3  Normalizat    .97551        .19542        .23427E-03   -.93855    
   4  Prefactor     1.2395        .22738        .24616E-03   -.85124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.24083e-09
Minuit parameter uncertainties:
  1  5.68971
  2  1.16616
  3  0.195567
  4  0.227561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354803': 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) = 6336.78290238
delta logL = 0.000485505011056

Extracting fit parameters...

4FGL J0218.9-2305
   Spectrum: PowerLaw
268    Prefactor:  3.689e+00  5.690e+00  0.000e+00  1.000e+06 ( 1.000e-12)
269        Index:  2.637e+00  1.166e+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:  1.240e+00  2.276e-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:  9.755e-01  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.03
Ra Dec: 34.731 -23.099
Photon Index (Free Index): 2.64 +/- 1.17
Photon Flux (Free Index): 2.53e-08 +/- 3.11e-08
Energy Flux (Free Index): 6.40e-06 +/- 8.58e-06

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/354803/cmap_HighResolution_695001601_695260801_4FGL_J0218.9-2305_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.36e-03', comment='SUCCESS', photon_flux='2.49e-08', energy_flux2='6.40e-06', photon_flux_error='2.94e-08', dlogl='4.86e-04', energy_flux='6.51e-06', photon_flux2='2.53e-08', job_status='DONE', time_completed='2023-01-13 00:20:58.204914', photon_index_error2='1.17', photon_index2='2.64', ts='1.03', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='9.40e-08', energy_flux_error2='8.58e-06', EG='0.98', time_epoch_completed='1673598058.2', return_code='0', job_id='354803', GAL2='1.24', EG2='0.98', return_code2='0', energy_flux_error='7.68e-06', photon_flux_error2='3.11e-08', ts2='1.03', photon_index='2.60' WHERE bin_id='1758' AND source_name='4FGL J0218.9-2305' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:20:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 354803: <4FGL_J0218.9-2305_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0218.9-2305_daily_bin1758> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Jan 13 00:04:51 2023
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:10:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:10:26 2023
Terminated at Fri Jan 13 00:20:59 2023
Results reported at Fri Jan 13 00:20:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0218.9-2305_daily_bin1758 34.731 -23.0986 695001601 695260801 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 :                                   611.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             401.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            968 sec.

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

