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


Performing analysis on: 4FGL_J2219.2+1806_daily_bin1770
RA = 334.813, Dec = 18.1026
tmin = 698112001, tmax = 698371201
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='503084', job_status='RUN', time_executed='2023-02-18 02:03:44.392956', time_epoch_executed='1676714624.39' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/503084

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/503084/ft1_4FGL_J2219.2+1806_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/503084/ft1_4FGL_J2219.2+1806_daily_bin1770.fits outfile=/scratch/kocevski/503084/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1770.fits ra=334.813 dec=18.1026 rad=12.0 tmin=698112001.0 tmax=698371201.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.33
user 4.11
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.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/503084/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/503084/ft1_filtered_4FGL_J2219.2+1806_daily_bin1770.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.33
sys 0.15

Number of photons that the gtmktime cut: 915

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/503084/ft1_filtered_4FGL_J2219.2+1806_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/503084/ltcube_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.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/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.fits
.....................!
real 12.02
user 11.70
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/503084/ft1_filtered_4FGL_J2219.2+1806_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/503084/ltcube_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.fits outfile=/scratch/kocevski/503084/expmap_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.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/503084/ltcube_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.fits
.....................!
real 190.96
user 186.48
sys 4.16

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J2219.2+1806 @ 334.813 18.1026

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/503084/ft1_filtered_4FGL_J2219.2+1806_daily_bin1770.fits scfile=/scratch/kocevski/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.fits outfile=/scratch/kocevski/503084/cmap_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.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.813 yref=18.1026 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/503084/ft1_filtered_4FGL_J2219.2+1806_daily_bin1770.fits scfile=/scratch/kocevski/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.fits outfile=/scratch/kocevski/503084/cmap_HighResolution_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.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.813 yref=18.1026 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/503084/ft1_filtered_4FGL_J2219.2+1806_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/503084/Model_4FGL_J2219.2+1806_daily_bin1770.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/503084/ft1_filtered_4FGL_J2219.2+1806_daily_bin1770.fits.....................!
real 95.87
user 94.63
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/503084/ft1_filtered_4FGL_J2219.2+1806_daily_bin1770.fits', '/scratch/kocevski/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.fits', expMap='/scratch/kocevski/503084/expmap_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.fits', expCube='/scratch/kocevski/503084/ltcube_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/503084/Model_4FGL_J2219.2+1806_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2219.2+1806'

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  3.275e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        alpha:  2.178e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.363e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/503084/ft1_filtered_4FGL_J2219.2+1806_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/503084/ft2_4FGL_J2219.2+1806_daily_bin1770.fits
Exposure map: /scratch/kocevski/503084/expmap_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.fits
Exposure cube: /scratch/kocevski/503084/ltcube_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/503084/Model_4FGL_J2219.2+1806_daily_bin1770.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) = 9893.94225232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34489E-02   1.0000          .0000       .10000E+07
     2 'norm      '    2.1627       1.0000          .0000       .10000E+07
     3 'norm      '    .56689E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .36181E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16293E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .51037       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.9019       1.0000          .0000       .10000E+07
     8 'norm      '    13.551       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1423       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.9395       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3294       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .65081       1.0000         .10000E-03   10000.    
    13 'norm      '    1.2587       1.0000          .0000       .10000E+07
    14 'norm      '    1.7546       1.0000          .0000       .10000E+07
    15 'Prefactor '    30.852       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.6387       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3594       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .88474       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9893.907     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1128 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46074E-08    54.477       -.17182E-04** at limit **
   2  norm          2.1611        2.3486       -.44158E-06    .56209E-02
   3  norm           .0000        .88028       -.98523E-06** at limit **
   4  Prefactor     .77716E-09    6.9716       -.15531E-05** at limit **
   5  Prefactor     .78826E-08    18.105        .11236E-05** at limit **
   6  norm          .51280        .74626        .95612E-07    .81938E-02
   7  Prefactor     2.7704        18.872        .16776E-04    .27672E-02
   8  norm          13.545        6.3988        .52647E-06    .47196E-02
   9  Prefactor     4.0911        2.0460       -.10436E-05    .12288E-01
  10  Prefactor     1.9899        7.5883        .12821E-06   -.52247E-03
  11  Prefactor     1.3287        .29070       -.68478E-07   -.26205E-03
  12  Prefactor     .68327        13.233       -.20328E-04    .61913E-04
  13  norm          1.2579        .97498       -.90277E-07   -.58720E-02
  14  norm          1.7506        1.4862       -.65879E-06    .34856E-04
  15  Prefactor     33.189        32.787       -.44655E-05    .80971E-03
  16  Prefactor     14.509        11.618        .69427E-06    .73674E-03
  17  Prefactor     1.6349        .24425        .15308E-05    .80769E-03
  18  Normalizat    1.3588        .27459       -.59992E-05    .37314E-03
  19  Prefactor     .88476        .12953       -.35066E-05    .69380E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.60743e-09
  norm       = 2.16105
  norm       = 0
  Prefactor  = 7.77156e-10
  Prefactor  = 7.88258e-09
  norm       = 0.512804
  Prefactor  = 2.77035
  norm       = 13.5447
  Prefactor  = 4.09109
  Prefactor  = 1.98988
  Prefactor  = 1.32871
  Prefactor  = 0.683273
  norm       = 1.25788
  norm       = 1.75058
  Prefactor  = 33.1893
  Prefactor  = 14.5089
  Prefactor  = 1.63491
  Normalizat = 1.35875
  Prefactor  = 0.884755
 **********
 **   18 **HESSE 
 **********

 FCN=   9893.907     FROM HESSE     STATUS=OK           314 CALLS     1442 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46074E-08    54.749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1611        2.3744        .70012E-03   -1.5679    
   3  norm           .0000        .88421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .77716E-09    6.9352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .78826E-08    18.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .51280        .76853        .77673E-03   -1.5694    
   7  Prefactor     2.7704        19.117        .59623E-03   -1.5675    
   8  norm          13.545        6.4036        .27184E-03   -1.5634    
   9  Prefactor     4.0911        24.123        .49501E-03   -1.5668    
  10  Prefactor     1.9899        7.6547        .74522E-03   -1.5680    
  11  Prefactor     1.3287        .30800        .53294E-02   -1.5477    
  12  Prefactor     .68327        12.840        .11872E-01   -1.5543    
  13  norm          1.2579        .99390        .99426E-03   -1.5686    
  14  norm          1.7506        1.4975        .79103E-03   -1.5682    
  15  Prefactor     33.189        32.751        .18006E-03   -1.5593    
  16  Prefactor     14.509        11.654        .26387E-03   -1.5632    
  17  Prefactor     1.6349        .24321        .40119E-02   -1.5452    
  18  Normalizat    1.3588        .23323        .81507E-01   -.81829    
  19  Prefactor     .88476        .10880        .44810E-01   -.96676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58967e-07
Minuit parameter uncertainties:
  1  0.00100205
  2  2.37442
  3  5.91467e-06
  4  0.000149289
  5  0.000755068
  6  0.768529
  7  14.555
  8  6.40365
  9  19.8688
  10  7.65473
  11  0.307997
  12  5.92494
  13  0.993903
  14  1.49746
  15  32.751
  16  11.6542
  17  0.243208
  18  0.233413
  19  0.108823
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  1.354e+01  6.404e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        alpha:  2.178e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.363e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  8.848e-01  1.088e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.359e+00  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.55
Ra Dec: 334.813 18.103
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 8.47e-08 +/- 4.00e-08
Energy Flux (Fixed Index): 3.60e-05 +/- 1.70e-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) = 9893.88285055
delta logL = 0.0241191302794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9893.87967025
delta logL = 0.027299428355

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.077       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2686       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3511       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88708       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+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=   9893.880     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      235 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.077        6.6449        .11069E-04    .19253E-01
   2  alpha         2.2687        .39552        .12404E-01    .22837E-03
   3  Normalizat    1.3512        .26536        .36165E-03   -.10248E-03
   4  Prefactor     .88707        .12910        .21217E-03   -.21639E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.0771
  alpha      = 2.26871
  Normalizat = 1.35115
  Prefactor  = 0.887073
 **********
 **   18 **HESSE 
 **********

 FCN=   9893.880     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.077        6.5571        .22139E-05   -1.5636    
   2  alpha         2.2687        .39016        .49616E-03   -.92650E-01
   3  Normalizat    1.3512        .26555        .14466E-04   -.82052    
   4  Prefactor     .88707        .12919        .42434E-04   -.96594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61579e-09
Minuit parameter uncertainties:
  1  6.55706
  2  0.39178
  3  0.265822
  4  0.129238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/503084': 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) = 9893.87967017
delta logL = 0.0272995060659

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  1.308e+01  6.557e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        alpha:  2.269e+00  3.918e-01  0.000e+00  5.000e+00 ( 1.000e+00)
264         beta:  8.363e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  8.871e-01  1.292e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.351e+00  2.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.55
Ra Dec: 334.813 18.103
Photon Index (Free Index): 2.27 +/- 0.39
Photon Flux (Free Index): 9.10e-08 +/- 4.99e-08
Energy Flux (Free Index): 3.44e-05 +/- 1.74e-05

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/503084/cmap_HighResolution_698112001_698371201_4FGL_J2219.2+1806_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.47e-08', energy_flux2='3.44e-05', photon_flux_error='4.00e-08', dlogl='2.73e-02', energy_flux='3.60e-05', photon_flux2='9.10e-08', job_status='DONE', time_completed='2023-02-18 02:13:14.354270', photon_index_error2='0.39', photon_index2='2.27', ts='8.55', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='1.36', time_epoch_completed='1676715194.35', return_code='0', job_id='503084', GAL2='0.89', EG2='1.35', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='4.99e-08', ts2='8.55', photon_index='2.18' WHERE bin_id='1770' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 02:13:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 503084: <4FGL_J2219.2+1806_daily_bin1770> in cluster <slac> Done

Job <4FGL_J2219.2+1806_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 02:00:21 2023
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 02:00:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 02:00:23 2023
Terminated at Sat Feb 18 02:13:15 2023
Results reported at Sat Feb 18 02:13:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin1770 334.813 18.1026 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2219.2+1806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   572.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             295.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            774 sec.

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

