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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1753
RA = 334.823, Dec = -3.7102
tmin = 693705601, tmax = 693964801
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='467552', job_status='RUN', time_executed='2022-12-29 01:44:37.760858', time_epoch_executed='1672307077.76' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467552

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467552/ft1_4FGL_J2219.2-0342_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467552/ft2_4FGL_J2219.2-0342_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467552/ft1_4FGL_J2219.2-0342_daily_bin1753.fits outfile=/scratch/kocevski/467552/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1753.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=693705601.0 tmax=693964801.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 4.10
user 3.56
sys 0.22

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

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

Number of photons that the gtmktime cut: 660

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467552/ft1_filtered_4FGL_J2219.2-0342_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/467552/ft2_4FGL_J2219.2-0342_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/467552/ltcube_693705601_693964801_4FGL_J2219.2-0342_daily_bin1753.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/467552/ft2_4FGL_J2219.2-0342_daily_bin1753.fits
.....................!
real 15.09
user 12.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467552/ft1_filtered_4FGL_J2219.2-0342_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/467552/ft2_4FGL_J2219.2-0342_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/467552/ltcube_693705601_693964801_4FGL_J2219.2-0342_daily_bin1753.fits outfile=/scratch/kocevski/467552/expmap_693705601_693964801_4FGL_J2219.2-0342_daily_bin1753.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/467552/ltcube_693705601_693964801_4FGL_J2219.2-0342_daily_bin1753.fits
.....................!
real 169.37
user 152.11
sys 4.55

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/467552/ft1_filtered_4FGL_J2219.2-0342_daily_bin1753.fits scfile=/scratch/kocevski/467552/ft2_4FGL_J2219.2-0342_daily_bin1753.fits outfile=/scratch/kocevski/467552/cmap_693705601_693964801_4FGL_J2219.2-0342_daily_bin1753.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.50
user 0.30
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467552/ft1_filtered_4FGL_J2219.2-0342_daily_bin1753.fits scfile=/scratch/kocevski/467552/ft2_4FGL_J2219.2-0342_daily_bin1753.fits outfile=/scratch/kocevski/467552/cmap_HighResolution_693705601_693964801_4FGL_J2219.2-0342_daily_bin1753.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.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/467552/ft1_filtered_4FGL_J2219.2-0342_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/467552/ft2_4FGL_J2219.2-0342_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/467552/Model_4FGL_J2219.2-0342_daily_bin1753.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/467552/ft1_filtered_4FGL_J2219.2-0342_daily_bin1753.fits....................!
real 64.29
user 55.53
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2873       1.0000          .0000       .10000E+07
     2 'Prefactor '    50.277       1.0000          .0000       .10000E+07
     3 'Prefactor '    .67623E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10596E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8001       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.6659       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11524E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .98488E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4027       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12643E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .40240       1.0000          .0000       .10000E+07
    12 'norm      '    3.2590       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41134E-06   1.0000          .0000       .10000E+07
    14 'norm      '    1.4560       1.0000          .0000       .10000E+07
    15 'Prefactor '    39.622       1.0000          .0000       .10000E+07
    16 'norm      '    .10981E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .97965       1.0000          .0000       .10000E+07
    18 'Normalizat'    .82951       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0943       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=   7342.331     FROM MIGRAD    STATUS=CONVERGED    172 CALLS     1518 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2674        3.1549       -.13868E-05   -.59777E-03
   2  Prefactor     51.126        58.985        .10162E-04   -.65527E-02
   3  Prefactor     .72220E-07    65.403        .62054E-05** at limit **
   4  Prefactor     .38858E-09    5.1096        .52620E-06** at limit **
   5  Prefactor     5.6763        5.4734       -.56738E-06   -.21776E-02
   6  Prefactor     5.9583        13.901       -.44631E-06   -.32849E-02
   7  Prefactor     .29976E-08    16.811        .44227E-06** at limit **
   8  Prefactor     .11902E-02    86.405       -.22505E-04** at limit **
   9  Prefactor     4.3631        10.318        .49712E-05   -.64287E-03
  10  Prefactor     .61062E-09    5.9655       -.78786E-06** at limit **
  11  Prefactor     .40254        6.9609       -.17170E-05   -.50884E-03
  12  norm          3.2678        3.2640        .62016E-06    .28565E-02
  13  Prefactor     .19962E-06    22.367        .22645E-05** at limit **
  14  norm          1.4544        1.0575        .13963E-06    .30651E-02
  15  Prefactor     39.883        19.891       -.23944E-06   -.48973E-01
  16  norm           .0000        5.7861        .61383E-05** at limit **
  17  norm          1.0903        3.1923       -.27212E-05   -.75642E-01
  18  Normalizat    .82933        .24531       -.14441E-04    .21719E-03
  19  Prefactor     1.0940        .14519       -.77266E-05    .27893E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.26741
  Prefactor  = 51.126
  Prefactor  = 7.222e-08
  Prefactor  = 3.88578e-10
  Prefactor  = 5.67626
  Prefactor  = 5.95834
  Prefactor  = 2.9976e-09
  Prefactor  = 0.00119017
  Prefactor  = 4.36315
  Prefactor  = 6.10623e-10
  Prefactor  = 0.402536
  norm       = 3.26776
  Prefactor  = 1.99618e-07
  norm       = 1.45436
  Prefactor  = 39.8834
  norm       = 0
  norm       = 1.09028
  Normalizat = 0.829335
  Prefactor  = 1.09403
 **********
 **   18 **HESSE 
 **********

 FCN=   7342.331     FROM HESSE     STATUS=OK           324 CALLS     1842 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2674        3.2459        .97640E-03   -1.5685    
   2  Prefactor     51.126        62.460        .14104E-03   -1.5565    
   3  Prefactor     .72220E-07    65.412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .38858E-09    5.1179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.6763        5.5089        .41679E-03   -1.5660    
   6  Prefactor     5.9583        14.270        .42177E-03   -1.5659    
   7  Prefactor     .29976E-08    16.827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11902E-02    12.934        .13970E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3631        10.369        .47973E-03   -1.5666    
  10  Prefactor     .61062E-09    5.9357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .40254        2.0913        .63168E-02   -1.5695    
  12  norm          3.2678        3.2963        .56073E-03   -1.5672    
  13  Prefactor     .19962E-06    22.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4544        1.0759        .89190E-03   -1.5684    
  15  Prefactor     39.883        27.446        .15888E-03   -1.5582    
  16  norm           .0000        1.8249        .30584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0903        32.993        .43044E-03   -1.5687    
  18  Normalizat    .82933        .21744        .75651E-01   -.98990    
  19  Prefactor     1.0940        .12381        .37807E-01   -.89657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.52024e-07
Minuit parameter uncertainties:
  1  3.24592
  2  62.4608
  3  0.00434742
  4  9.04228e-05
  5  5.50892
  6  14.27
  7  0.000450338
  8  0.248142
  9  10.369
  10  0.000118895
  11  1.835
  12  3.29635
  13  0.00425271
  14  1.07591
  15  27.4462
  16  5.37072e-06
  17  11.9953
  18  0.217666
  19  0.123844
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  6.106e-10  1.189e-04  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.094e+00  1.238e-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.293e-01  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.823 -3.710
Photon Flux Upper Limit: 8.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/467552/likelihoodResults_693705601_693964801_4FGL_J2219.2-0342_daily_bin1753.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) = 7342.33122353
delta logL = -0.000281657523374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7342.33094623
delta logL = -4.36024583905e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46280E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.2694       1.0000          .0000       10.000    
     3 'Normalizat'    .82946       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0942       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=   7342.331     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      263 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-08    2.7282        .42118E-02** at limit **
   2  Index         4.0890        7.0414        .50000       -.31832E-09
   3  Normalizat    .82933        .70573E-02    .75651E-01    .93191E-04
   4  Prefactor     1.0940        .44115E-02    .37813E-01    .30677E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-09
  Index      = 4.08904
  Normalizat = 0.829332
  Prefactor  = 1.09404
 **********
 **   18 **HESSE 
 **********

 FCN=   7342.331     FROM HESSE     STATUS=OK            35 CALLS      298 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-08    14.080        .19229E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0890        6.8682        .50000       -.18322    
   3  Normalizat    .82933        .22749        .33483E-03   -.98990    
   4  Prefactor     1.0940        .14250        .18373E-03   -.89657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09725e-10
Minuit parameter uncertainties:
  1  0.000303772
  2  4.96418
  3  0.227755
  4  0.142554
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467552': 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) = 7342.33094187
delta logL = -1.1823431123e-11

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.665e-09  3.038e-04  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  4.089e+00  4.964e+00  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.094e+00  1.426e-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.293e-01  2.278e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.823 -3.710

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/467552/cmap_HighResolution_693705601_693964801_4FGL_J2219.2-0342_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', job_status='DONE', photon_flux_upper_limit='8.50e-08', time_completed='2022-12-29 01:53:35.848289', job_id='467552', GAL2='1.09', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1672307615.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-1.18e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1753' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:53:35 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 467552: <4FGL_J2219.2-0342_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1753> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec 29 01:40:21 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:40:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:40:37 2022
Terminated at Thu Dec 29 01:53:37 2022
Results reported at Thu Dec 29 01:53:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1753 334.823 -3.7102 693705601 693964801 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 :                                   478.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            796 sec.

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

