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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1771
RA = 334.823, Dec = -3.7102
tmin = 698371201, tmax = 698630401
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='570923', job_status='RUN', time_executed='2023-02-21 02:23:51.947746', time_epoch_executed='1676975031.95' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/570923

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/570923/ft1_4FGL_J2219.2-0342_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/570923/ft2_4FGL_J2219.2-0342_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/570923/ft1_4FGL_J2219.2-0342_daily_bin1771.fits outfile=/scratch/kocevski/570923/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1771.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=698371201.0 tmax=698630401.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.08
user 2.86
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/570923/ft2_4FGL_J2219.2-0342_daily_bin1771.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/570923/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/570923/ft1_filtered_4FGL_J2219.2-0342_daily_bin1771.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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 206

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/570923/ft1_filtered_4FGL_J2219.2-0342_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/570923/ft2_4FGL_J2219.2-0342_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/570923/ltcube_698371201_698630401_4FGL_J2219.2-0342_daily_bin1771.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/570923/ft2_4FGL_J2219.2-0342_daily_bin1771.fits
.....................!
real 12.40
user 12.01
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/570923/ft1_filtered_4FGL_J2219.2-0342_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/570923/ft2_4FGL_J2219.2-0342_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/570923/ltcube_698371201_698630401_4FGL_J2219.2-0342_daily_bin1771.fits outfile=/scratch/kocevski/570923/expmap_698371201_698630401_4FGL_J2219.2-0342_daily_bin1771.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/570923/ltcube_698371201_698630401_4FGL_J2219.2-0342_daily_bin1771.fits
.....................!
real 191.74
user 186.33
sys 4.91

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/570923/ft1_filtered_4FGL_J2219.2-0342_daily_bin1771.fits scfile=/scratch/kocevski/570923/ft2_4FGL_J2219.2-0342_daily_bin1771.fits outfile=/scratch/kocevski/570923/cmap_698371201_698630401_4FGL_J2219.2-0342_daily_bin1771.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 1.25
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/570923/ft1_filtered_4FGL_J2219.2-0342_daily_bin1771.fits scfile=/scratch/kocevski/570923/ft2_4FGL_J2219.2-0342_daily_bin1771.fits outfile=/scratch/kocevski/570923/cmap_HighResolution_698371201_698630401_4FGL_J2219.2-0342_daily_bin1771.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 1.17
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/570923/ft1_filtered_4FGL_J2219.2-0342_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/570923/ft2_4FGL_J2219.2-0342_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/570923/Model_4FGL_J2219.2-0342_daily_bin1771.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/570923/ft1_filtered_4FGL_J2219.2-0342_daily_bin1771.fits.....................!
real 37.48
user 35.93
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3290       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14527E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3017       1.0000          .0000       .10000E+07
     4 'Prefactor '    .68834E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    308.22       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64782E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .80269E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.6776       1.0000          .0000       .10000E+07
     9 'Prefactor '    .85805E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    120.22       1.0000          .0000       .10000E+07
    11 'Prefactor '    .41400E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .15926E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    287.75       1.0000          .0000       .10000E+07
    14 'norm      '    .26798E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    16.319       1.0000          .0000       .10000E+07
    16 'norm      '    .99314E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .15488E-07   1.0000          .0000       .10000E+07
    18 'Normalizat'    .80588       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .80081       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.

 FCN=   2530.490     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     2317 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3292        5.7927        .92447E-08    .11689E-03
   2  Prefactor      .0000        45.503       -.14674E-07** at limit **
   3  Prefactor     1.2622        900.34       -.41353E-06    .33749E-05
   4  Prefactor      .0000        4.6271       -.90712E-09** at limit **
   5  Prefactor     308.22        116.28       -.11242E-07   -.53589E-04
   6  Prefactor      .0000        7.7280        .62389E-08** at limit **
   7  Prefactor      .0000        17.666        .59162E-07** at limit **
   8  Prefactor     6.6757        34.690       -.18847E-07    .27218E-03
   9  Prefactor      .0000        205.67        .97325E-08** at limit **
  10  Prefactor     120.24        56.176        .24992E-07   -.13960E-05
  11  Prefactor      .0000        14.938        .22995E-07** at limit **
  12  norm           .0000        48.301        .28243E-06** at limit **
  13  Prefactor     287.88        297.30        .55013E-07    .96359E-04
  14  norm          .11102E-09    53.464        .46119E-06** at limit **
  15  Prefactor     16.319        416.19       -.60499E-06   -.59483E-04
  16  norm           .0000        27.106        .83127E-06** at limit **
  17  norm           .0000        131.68       -.17938E-06** at limit **
  18  Normalizat    .80581        .40527       -.36862E-05    .29057E-04
  19  Prefactor     .80083        .20171        .25423E-05   -.99549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.32924
  Prefactor  = 0
  Prefactor  = 1.26221
  Prefactor  = 0
  Prefactor  = 308.223
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.67566
  Prefactor  = 0
  Prefactor  = 120.241
  Prefactor  = 0
  norm       = 0
  Prefactor  = 287.885
  norm       = 1.11022e-10
  Prefactor  = 16.3194
  norm       = 0
  norm       = 0
  Normalizat = 0.805808
  Prefactor  = 0.800834
 **********
 **   18 **HESSE 
 **********

 FCN=   2530.490     FROM HESSE     STATUS=OK           258 CALLS     2575 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3292        5.7931        .10193E-04   -1.5654    
   2  Prefactor      .0000        45.514        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2622        904.84        .38715E-04   -1.5685    
   4  Prefactor      .0000        4.6279        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     308.22        116.24        .11394E-04   -1.5357    
   6  Prefactor      .0000        7.7324        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        17.661        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.6757        34.419        .15523E-04   -1.5656    
   9  Prefactor      .0000        205.65        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     120.24        56.096        .36484E-05   -1.5489    
  11  Prefactor      .0000        14.963        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        48.328        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     287.88        297.03        .11792E-04   -1.5369    
  14  norm          .11102E-09    53.523        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.319        421.00        .99066E-05   -1.5627    
  16  norm           .0000        27.652        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        132.44        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .80581        .46553        .36849E-03   -.99854    
  19  Prefactor     .80083        .23313        .19210E-03   -.99698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06586e-10
Minuit parameter uncertainties:
  1  5.7931
  2  1.82303e-05
  3  67.6004
  4  2.07278e-07
  5  116.238
  6  1.57665e-06
  7  8.27039e-06
  8  30.3167
  9  7.0284e-05
  10  56.0961
  11  1.08622e-05
  12  7.17522e-05
  13  297.048
  14  0.000145918
  15  165.791
  16  2.90614e-05
  17  0.000108545
  18  0.467857
  19  0.233413
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.202e+02  5.610e+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:  8.008e-01  2.334e-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.058e-01  4.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.19
Ra Dec: 334.823 -3.710
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 5.54e-07 +/- 2.58e-07
Energy Flux (Fixed Index): 1.35e-04 +/- 6.31e-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) = 2530.47038443
delta logL = 0.0192557254722

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2530.46124923
delta logL = 0.0283909270102

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    113.47       1.0000          .0000       .10000E+07
     2 'Index     '    2.8213       1.0000          .0000       10.000    
     3 'Normalizat'    .76703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81867       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=   2530.461     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      255 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     113.47        63.570        .37554E-05   -.61654E-02
   2  Index         2.8211        .61597        .47264E-02   -.32712E-03
   3  Normalizat    .76749        .47322        .37662E-03    .48177E-04
   4  Prefactor     .81844        .24396        .19029E-03    .29217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 113.472
  Index      = 2.82105
  Normalizat = 0.767491
  Prefactor  = 0.818443
 **********
 **   18 **HESSE 
 **********

 FCN=   2530.461     FROM HESSE     STATUS=OK            23 CALLS      278 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     113.47        62.320        .75108E-06   -1.5495    
   2  Index         2.8211        .60338        .18905E-03   -.45092    
   3  Normalizat    .76749        .47283        .15065E-04   -1.0129    
   4  Prefactor     .81844        .24357        .38058E-04   -.99052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6581e-09
Minuit parameter uncertainties:
  1  62.3204
  2  0.605206
  3  0.475388
  4  0.243889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/570923': 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) = 2530.46124873
delta logL = 0.0283914231031

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.135e+02  6.232e+01  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  2.821e+00  6.052e-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:  8.184e-01  2.439e-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:  7.675e-01  4.754e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.27
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 2.82 +/- 0.61
Photon Flux (Free Index): 6.05e-07 +/- 3.45e-07
Energy Flux (Free Index): 1.34e-04 +/- 6.13e-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/570923/cmap_HighResolution_698371201_698630401_4FGL_J2219.2-0342_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.54e-07', energy_flux2='1.34e-04', photon_flux_error='2.58e-07', dlogl='2.84e-02', energy_flux='1.35e-04', photon_flux2='6.05e-07', job_status='DONE', time_completed='2023-02-21 02:30:34.903006', photon_index_error2='0.61', photon_index2='2.82', ts='7.19', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='6.13e-05', EG='0.81', time_epoch_completed='1676975434.9', return_code='0', job_id='570923', GAL2='0.82', EG2='0.77', return_code2='0', energy_flux_error='6.31e-05', photon_flux_error2='3.45e-07', ts2='7.27', photon_index='2.68' WHERE bin_id='1771' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 02:30:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 570923: <4FGL_J2219.2-0342_daily_bin1771> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 02:20:18 2023
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:20:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:20:19 2023
Terminated at Tue Feb 21 02:30:35 2023
Results reported at Tue Feb 21 02:30:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1771 334.823 -3.7102 698371201 698630401 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 :                                   402.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            617 sec.

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

