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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1728
RA = 334.823, Dec = -3.7102
tmin = 687225601, tmax = 687484801
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='304474', job_status='RUN', time_executed='2022-10-15 00:37:26.669381', time_epoch_executed='1665819446.67' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304474

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304474/ft1_4FGL_J2219.2-0342_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304474/ft1_4FGL_J2219.2-0342_daily_bin1728.fits outfile=/scratch/kocevski/304474/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1728.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=687225601.0 tmax=687484801.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.72
user 2.51
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.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/304474/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1728.fits evtable="EVENTS" outfile="/scratch/kocevski/304474/ft1_filtered_4FGL_J2219.2-0342_daily_bin1728.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.34
sys 0.15

Number of photons that the gtmktime cut: 295

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/304474/ft1_filtered_4FGL_J2219.2-0342_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/304474/ltcube_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.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/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.fits
.....................!
real 13.09
user 12.71
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304474/ft1_filtered_4FGL_J2219.2-0342_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/304474/ltcube_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.fits outfile=/scratch/kocevski/304474/expmap_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.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/304474/ltcube_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.fits
.....................!
real 191.19
user 185.41
sys 5.39

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2219.2-0342 @ 334.823 -3.7102

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/304474/ft1_filtered_4FGL_J2219.2-0342_daily_bin1728.fits scfile=/scratch/kocevski/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.fits outfile=/scratch/kocevski/304474/cmap_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.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=334.823 yref=-3.7102 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304474/ft1_filtered_4FGL_J2219.2-0342_daily_bin1728.fits scfile=/scratch/kocevski/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.fits outfile=/scratch/kocevski/304474/cmap_HighResolution_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.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=334.823 yref=-3.7102 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/304474/ft1_filtered_4FGL_J2219.2-0342_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/304474/Model_4FGL_J2219.2-0342_daily_bin1728.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/304474/ft1_filtered_4FGL_J2219.2-0342_daily_bin1728.fits......................!
real 41.34
user 40.02
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/304474/ft1_filtered_4FGL_J2219.2-0342_daily_bin1728.fits', '/scratch/kocevski/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.fits', expMap='/scratch/kocevski/304474/expmap_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.fits', expCube='/scratch/kocevski/304474/ltcube_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/304474/Model_4FGL_J2219.2-0342_daily_bin1728.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2219.2-0342'

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  3.492e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  2.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/304474/ft1_filtered_4FGL_J2219.2-0342_daily_bin1728.fits
Spacecraft file(s): /scratch/kocevski/304474/ft2_4FGL_J2219.2-0342_daily_bin1728.fits
Exposure map: /scratch/kocevski/304474/expmap_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.fits
Exposure cube: /scratch/kocevski/304474/ltcube_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/304474/Model_4FGL_J2219.2-0342_daily_bin1728.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3365.81945409

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9298       1.0000          .0000       .10000E+07
     2 'Prefactor '    97.610       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.0666       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18874E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .99051       1.0000          .0000       .10000E+07
     6 'Prefactor '    34.894       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20028E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    33.614       1.0000          .0000       .10000E+07
     9 'Prefactor '    14.523       1.0000          .0000       .10000E+07
    10 'Prefactor '    31.764       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14695E-04   1.0000          .0000       .10000E+07
    12 'norm      '    3.1493       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.8347       1.0000          .0000       .10000E+07
    14 'norm      '    3.4926       1.0000          .0000       .10000E+07
    15 'Prefactor '    52.052       1.0000          .0000       .10000E+07
    16 'norm      '    .22385E-04   1.0000          .0000       .10000E+07
    17 'norm      '    10.539       1.0000          .0000       .10000E+07
    18 'Normalizat'    .87106       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .70375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3362.539     FROM MIGRAD    STATUS=CONVERGED    137 CALLS      915 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9249        3.7212        .40319E-06    .31435E-02
   2  Prefactor     96.927        58.436       -.33163E-05    .60387E-01
   3  Prefactor     .28961E-04    81.422        .43838E-05** at limit **
   4  Prefactor      .0000        3.3330        .13232E-05** at limit **
   5  Prefactor     .71095        21.586        .32596E-05   -.26721E-01
   6  Prefactor     35.451        16.482       -.17056E-05   -.44702E-01
   7  Prefactor     .23870E-08    8.5352       -.25540E-05** at limit **
   8  Prefactor     33.676        10.567       -.64626E-06    .50636E-01
   9  Prefactor     14.667        16.819       -.15115E-05    .26578E-01
  10  Prefactor     31.321        8.6441        .11014E-05    .13781    
  11  Prefactor     .55511E-09    5.6382        .13615E-05** at limit **
  12  norm          3.1493        4.9293        .14332E-05    .29808E-02
  13  Prefactor     .79672E-04    81.379        .83146E-08** at limit **
  14  norm          3.4891        1.7003       -.13544E-06   -.17865E-02
  15  Prefactor     51.960        11.278       -.52351E-06   -.11407    
  16  norm          .27756E-09    8.0442        .73321E-06** at limit **
  17  norm          10.686        5.0182       -.99469E-06    .13987E-01
  18  Normalizat    .87716        .35486        .45614E-04    .86672E-04
  19  Prefactor     .70197        .19603       -.20536E-04    .69373E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.92491
  Prefactor  = 96.9265
  Prefactor  = 2.89608e-05
  Prefactor  = 0
  Prefactor  = 0.710949
  Prefactor  = 35.4513
  Prefactor  = 2.38698e-09
  Prefactor  = 33.6756
  Prefactor  = 14.667
  Prefactor  = 31.3212
  Prefactor  = 5.55112e-10
  norm       = 3.14929
  Prefactor  = 7.9672e-05
  norm       = 3.48907
  Prefactor  = 51.9604
  norm       = 2.77556e-10
  norm       = 10.6863
  Normalizat = 0.877165
  Prefactor  = 0.701971
 **********
 **   18 **HESSE 
 **********

 FCN=   3362.539     FROM HESSE     STATUS=OK           312 CALLS     1227 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9249        3.7451        .45275E-03   -1.5664    
   2  Prefactor     96.927        61.829        .10122E-03   -1.5511    
   3  Prefactor     .28961E-04    143.06        .71841E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.3262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .71095        24.080        .43429E-03   -1.5691    
   6  Prefactor     35.451        22.246        .16931E-03   -1.5589    
   7  Prefactor     .23870E-08    8.5445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.676        25.251        .17250E-03   -1.5592    
   9  Prefactor     14.667        18.182        .26256E-03   -1.5631    
  10  Prefactor     31.321        18.847        .17746E-03   -1.5596    
  11  Prefactor     .55511E-09    5.6215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1493        4.9471        .57094E-03   -1.5672    
  13  Prefactor     .79672E-04    166.07        .77004E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.4891        1.7041        .54078E-03   -1.5671    
  15  Prefactor     51.960        38.163        .13862E-03   -1.5564    
  16  norm          .27756E-09    3.4038        .30447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.686        21.211        .30839E-03   -1.5643    
  18  Normalizat    .87716        .31430        .70740E-01   -.97267    
  19  Prefactor     .70197        .16417        .42451E-01   -1.0345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57468e-06
Minuit parameter uncertainties:
  1  3.74513
  2  61.8295
  3  0.128737
  4  5.04543e-06
  5  8.27514
  6  22.246
  7  0.000287047
  8  25.2516
  9  18.1819
  10  18.8472
  11  0.000109127
  12  4.94706
  13  0.23006
  14  1.70408
  15  38.1627
  16  6.16166e-05
  17  21.2112
  18  0.314955
  19  0.16428
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  3.132e+01  1.885e+01  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  2.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  7.020e-01  1.643e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  8.772e-01  3.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.93
Ra Dec: 334.823 -3.710
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.44e-07 +/- 8.67e-08
Energy Flux (Fixed Index): 3.52e-05 +/- 2.12e-05

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) = 3362.43644986
delta logL = 0.102247114979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3362.42912149
delta logL = 0.109575481822

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.577       1.0000          .0000       .10000E+07
     2 'Index     '    3.0002       1.0000          .0000       10.000    
     3 'Normalizat'    .84345       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71648       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3362.429     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      258 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.598        348.94        .19401E-03    .29307E-02
   2  Index         3.0012        6.4574        .14404        .41394E-04
   3  Normalizat    .84331        .16754        .71987E-01    .19151E-04
   4  Prefactor     .71642        .91833E-01    .42620E-01    .96042E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.5983
  Index      = 3.00124
  Normalizat = 0.843311
  Prefactor  = 0.716424
 **********
 **   18 **HESSE 
 **********

 FCN=   3362.429     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.598        20.675        .38803E-04   -1.5605    
   2  Index         3.0012        .73587        .57558E-02   -.41125    
   3  Normalizat    .84331        .34407        .31856E-03   -.98482    
   4  Prefactor     .71642        .19573        .19816E-03   -1.0289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27503e-10
Minuit parameter uncertainties:
  1  20.6747
  2  0.73907
  3  0.344967
  4  0.195919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304474': 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) = 3362.42911655
delta logL = 0.109580426065

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  2.660e+01  2.067e+01  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  3.001e+00  7.391e-01  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  7.164e-01  1.959e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  8.433e-01  3.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.13
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 3.00 +/- 0.74
Photon Flux (Free Index): 1.73e-07 +/- 1.12e-07
Energy Flux (Free Index): 3.45e-05 +/- 1.99e-05

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/304474/cmap_HighResolution_687225601_687484801_4FGL_J2219.2-0342_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.44e-07', energy_flux2='3.45e-05', photon_flux_error='8.67e-08', dlogl='1.10e-01', energy_flux='3.52e-05', photon_flux2='1.73e-07', job_status='DONE', time_completed='2022-10-15 00:43:55.740416', photon_index_error2='0.74', photon_index2='3.00', ts='4.93', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='1.99e-05', EG='0.88', time_epoch_completed='1665819835.74', return_code='0', job_id='304474', GAL2='0.72', EG2='0.84', return_code2='0', energy_flux_error='2.12e-05', photon_flux_error2='1.12e-07', ts2='5.13', photon_index='2.68' WHERE bin_id='1728' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:43:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 304474: <4FGL_J2219.2-0342_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1728> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Oct 15 00:35:57 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:35:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:35:59 2022
Terminated at Sat Oct 15 00:43:56 2022
Results reported at Sat Oct 15 00:43:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1728 334.823 -3.7102 687225601 687484801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2219.2-0342 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   391.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             364.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   477 sec.
    Turnaround time :                            479 sec.

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

