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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1713
RA = 334.823, Dec = -3.7102
tmin = 683337601, tmax = 683596801
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='242219', job_status='RUN', time_executed='2022-09-16 23:49:39.176269', time_epoch_executed='1663397379.18' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/242219

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/242219/ft1_4FGL_J2219.2-0342_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/242219/ft2_4FGL_J2219.2-0342_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/242219/ft1_4FGL_J2219.2-0342_daily_bin1713.fits outfile=/scratch/kocevski/242219/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1713.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=683337601.0 tmax=683596801.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.58
user 3.29
sys 0.23

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

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

Number of photons that the gtmktime cut: 520

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/242219/ft1_filtered_4FGL_J2219.2-0342_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/242219/ft2_4FGL_J2219.2-0342_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/242219/ltcube_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.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/242219/ft2_4FGL_J2219.2-0342_daily_bin1713.fits
.....................!
real 16.22
user 15.65
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/242219/ft1_filtered_4FGL_J2219.2-0342_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/242219/ft2_4FGL_J2219.2-0342_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/242219/ltcube_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.fits outfile=/scratch/kocevski/242219/expmap_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.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/242219/ltcube_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.fits
.....................!
real 195.24
user 187.06
sys 5.93

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/242219/ft1_filtered_4FGL_J2219.2-0342_daily_bin1713.fits scfile=/scratch/kocevski/242219/ft2_4FGL_J2219.2-0342_daily_bin1713.fits outfile=/scratch/kocevski/242219/cmap_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/242219/ft1_filtered_4FGL_J2219.2-0342_daily_bin1713.fits scfile=/scratch/kocevski/242219/ft2_4FGL_J2219.2-0342_daily_bin1713.fits outfile=/scratch/kocevski/242219/cmap_HighResolution_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/242219/ft1_filtered_4FGL_J2219.2-0342_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/242219/ft2_4FGL_J2219.2-0342_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/242219/Model_4FGL_J2219.2-0342_daily_bin1713.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/242219/ft1_filtered_4FGL_J2219.2-0342_daily_bin1713.fits....................!
real 59.90
user 57.96
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/242219/ft1_filtered_4FGL_J2219.2-0342_daily_bin1713.fits', '/scratch/kocevski/242219/ft2_4FGL_J2219.2-0342_daily_bin1713.fits', expMap='/scratch/kocevski/242219/expmap_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.fits', expCube='/scratch/kocevski/242219/ltcube_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/242219/Model_4FGL_J2219.2-0342_daily_bin1713.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/242219/ft1_filtered_4FGL_J2219.2-0342_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/242219/ft2_4FGL_J2219.2-0342_daily_bin1713.fits
Exposure map: /scratch/kocevski/242219/expmap_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.fits
Exposure cube: /scratch/kocevski/242219/ltcube_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/242219/Model_4FGL_J2219.2-0342_daily_bin1713.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) = 5780.91212706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54956E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    .31825E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .57282E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10381E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    6.5513       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.692       1.0000          .0000       .10000E+07
     7 'Prefactor '    .72164E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20818E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    24.002       1.0000          .0000       .10000E+07
    10 'Prefactor '    35.403       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20250E-02   1.0000          .0000       .10000E+07
    12 'norm      '    4.5807       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20617E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .47211       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49579E-02   1.0000          .0000       .10000E+07
    16 'norm      '    1.3051       1.0000          .0000       .10000E+07
    17 'norm      '    .79381E-08   1.0000          .0000       .10000E+07
    18 'Normalizat'    .64928       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2100       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=   5780.872     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1689 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0034        .87492E-08** at limit **
   2  Prefactor     .51625E-08    17.010       -.32777E-07** at limit **
   3  Prefactor     .72004E-06    27.667       -.13595E-06** at limit **
   4  Prefactor     .11102E-09    3.3487       -.37896E-07** at limit **
   5  Prefactor     6.5482        9.8147       -.10871E-07    .22320E-03
   6  Prefactor     11.688        10.298        .50683E-07    .97565E-03
   7  Prefactor     .61062E-09    5.1423       -.12666E-06** at limit **
   8  Prefactor     .68850E-06    15.462        .34354E-08** at limit **
   9  Prefactor     23.998        3.2810        .13358E-07    .77892E-02
  10  Prefactor     35.466        16.451       -.65267E-07    .10576E-01
  11  Prefactor     .27652E-05    11.069       -.83702E-07** at limit **
  12  norm          4.5839        4.1854        .10790E-08    .36165E-03
  13  Prefactor     .56133E-06    36.847        .40382E-07** at limit **
  14  norm          .47263        .90566       -.23470E-07   -.81107E-03
  15  Prefactor     .19151E-07    101.32        .28558E-06** at limit **
  16  norm          1.3074        1.4185       -.43018E-07   -.19681E-02
  17  norm          .11657E-08    6.0178       -.16541E-07** at limit **
  18  Normalizat    .64959        .27669        .29250E-05    .26957E-04
  19  Prefactor     1.2099        .16645       -.50546E-06    .38945E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.16254e-09
  Prefactor  = 7.20035e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 6.54822
  Prefactor  = 11.6885
  Prefactor  = 6.10623e-10
  Prefactor  = 6.88505e-07
  Prefactor  = 23.9982
  Prefactor  = 35.4665
  Prefactor  = 2.76518e-06
  norm       = 4.58389
  Prefactor  = 5.61329e-07
  norm       = 0.472627
  Prefactor  = 1.91513e-08
  norm       = 1.30736
  norm       = 1.16573e-09
  Normalizat = 0.649593
  Prefactor  = 1.20989
 **********
 **   18 **HESSE 
 **********

 FCN=   5780.872     FROM HESSE     STATUS=OK           306 CALLS     1995 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .51625E-08    17.117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .72004E-06    31.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    3.3501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.5482        9.9940        .39184E-03   -1.5657    
   6  Prefactor     11.688        10.308        .29272E-03   -1.5640    
   7  Prefactor     .61062E-09    5.1475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .68850E-06    19.364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.998        19.133        .20416E-03   -1.5610    
  10  Prefactor     35.466        16.803        .16809E-03   -1.5589    
  11  Prefactor     .27652E-05    25.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.5839        4.1981        .47008E-03   -1.5665    
  13  Prefactor     .56133E-06    39.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .47263        1.0739        .22716E-02   -1.5694    
  15  Prefactor     .19151E-07    100.80        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3074        1.4403        .96587E-03   -1.5685    
  17  norm          .11657E-08    6.0232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .64959        .25399        .87248E-01   -1.0592    
  19  Prefactor     1.2099        .14839        .34399E-01   -.86028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76634e-07
Minuit parameter uncertainties:
  1  8.66201e-07
  2  0.000594458
  3  0.00955039
  4  3.57358e-05
  5  9.99401
  6  10.3078
  7  0.000111852
  8  0.00730287
  9  19.1327
  10  16.8031
  11  0.0168341
  12  4.19815
  13  0.00947566
  14  1.07387
  15  0.00278056
  16  1.44025
  17  0.000166705
  18  0.254444
  19  0.148445
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  3.547e+01  1.680e+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:  1.210e+00  1.484e-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:  6.496e-01  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.66
Ra Dec: 334.823 -3.710
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.63e-07 +/- 7.73e-08
Energy Flux (Fixed Index): 3.99e-05 +/- 1.89e-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) = 5780.87159965
delta logL = 0.000378243522391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5780.87137095
delta logL = 0.000606947637607

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5780.871     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      260 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.061        20.851        .67562E-05   -.79046E-02
   2  Index         2.6989        .49526        .57722E-02   -.30773E-03
   3  Normalizat    .64796        .27288        .38691E-03    .86856E-04
   4  Prefactor     1.2108        .16765        .17985E-03    .29383E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.0615
  Index      = 2.69889
  Normalizat = 0.647959
  Prefactor  = 1.21076
 **********
 **   18 **HESSE 
 **********

 FCN=   5780.871     FROM HESSE     STATUS=OK            23 CALLS      283 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.061        20.293        .13512E-05   -1.5590    
   2  Index         2.6989        .48172        .23089E-03   -.47825    
   3  Normalizat    .64796        .27292        .15477E-04   -1.0598    
   4  Prefactor     1.2108        .16760        .35970E-04   -.86001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40568e-10
Minuit parameter uncertainties:
  1  20.293
  2  0.482669
  3  0.273487
  4  0.167671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/242219': 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) = 5780.87137094
delta logL = 0.000606959946708

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  3.506e+01  2.029e+01  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  2.699e+00  4.827e-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:  1.211e+00  1.677e-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:  6.480e-01  2.735e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.64
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 2.70 +/- 0.48
Photon Flux (Free Index): 1.64e-07 +/- 8.16e-08
Energy Flux (Free Index): 3.96e-05 +/- 2.05e-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/242219/cmap_HighResolution_683337601_683596801_4FGL_J2219.2-0342_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.63e-07', energy_flux2='3.96e-05', photon_flux_error='7.73e-08', dlogl='6.07e-04', energy_flux='3.99e-05', photon_flux2='1.64e-07', job_status='DONE', time_completed='2022-09-16 23:58:08.843456', photon_index_error2='0.48', photon_index2='2.70', ts='6.66', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='2.05e-05', EG='0.65', time_epoch_completed='1663397888.84', return_code='0', job_id='242219', GAL2='1.21', EG2='0.65', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='8.16e-08', ts2='6.64', photon_index='2.68' WHERE bin_id='1713' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:58:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 242219: <4FGL_J2219.2-0342_daily_bin1713> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1713> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 23:45:28 2022
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:46:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:46:35 2022
Terminated at Fri Sep 16 23:58:09 2022
Results reported at Fri Sep 16 23:58:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1713 334.823 -3.7102 683337601 683596801 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 :                                   507.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            761 sec.

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

