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


Performing analysis on: 4FGL_J2219.2+1806_daily_bin1748
RA = 334.813, Dec = 18.1026
tmin = 692409601, tmax = 692668801
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='898164', job_status='RUN', time_executed='2022-12-14 01:22:39.849076', time_epoch_executed='1671009759.85' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898164

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898164/ft1_4FGL_J2219.2+1806_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898164/ft2_4FGL_J2219.2+1806_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898164/ft1_4FGL_J2219.2+1806_daily_bin1748.fits outfile=/scratch/kocevski/898164/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1748.fits ra=334.813 dec=18.1026 rad=12.0 tmin=692409601.0 tmax=692668801.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.36
sys 0.21

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

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

Number of photons that the gtmktime cut: 904

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898164/ft1_filtered_4FGL_J2219.2+1806_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898164/ft2_4FGL_J2219.2+1806_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/898164/ltcube_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.fits outfile=/scratch/kocevski/898164/expmap_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.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/898164/ltcube_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.fits
.....................!
real 190.69
user 185.11
sys 5.00

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/898164/ft1_filtered_4FGL_J2219.2+1806_daily_bin1748.fits scfile=/scratch/kocevski/898164/ft2_4FGL_J2219.2+1806_daily_bin1748.fits outfile=/scratch/kocevski/898164/cmap_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898164/ft1_filtered_4FGL_J2219.2+1806_daily_bin1748.fits scfile=/scratch/kocevski/898164/ft2_4FGL_J2219.2+1806_daily_bin1748.fits outfile=/scratch/kocevski/898164/cmap_HighResolution_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.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.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/898164/ft1_filtered_4FGL_J2219.2+1806_daily_bin1748.fits', '/scratch/kocevski/898164/ft2_4FGL_J2219.2+1806_daily_bin1748.fits', expMap='/scratch/kocevski/898164/expmap_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.fits', expCube='/scratch/kocevski/898164/ltcube_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/898164/Model_4FGL_J2219.2+1806_daily_bin1748.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/898164/ft1_filtered_4FGL_J2219.2+1806_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/898164/ft2_4FGL_J2219.2+1806_daily_bin1748.fits
Exposure map: /scratch/kocevski/898164/expmap_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.fits
Exposure cube: /scratch/kocevski/898164/ltcube_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/898164/Model_4FGL_J2219.2+1806_daily_bin1748.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) = 9259.67713883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17559E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1.7458       1.0000          .0000       .10000E+07
     3 'norm      '    1.8352       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18043E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12128E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .15664       1.0000          .0000       .10000E+07
     7 'Prefactor '    .90229E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .16834E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .68171       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.4916       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.3011       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.731       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7586       1.0000          .0000       .10000E+07
    14 'norm      '    2.9864       1.0000          .0000       .10000E+07
    15 'Prefactor '    24.471       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16636E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.8125       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3687       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85434       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=   9259.581     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1158 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56066E-08    128.21        .10706E-04** at limit **
   2  norm          1.7472        1.7097       -.33063E-07   -.34163E-02
   3  norm          1.8368        1.7036       -.47631E-06    .68936E-02
   4  Prefactor      .0000        10.241       -.71719E-06** at limit **
   5  Prefactor     .12768E-08    34.541       -.68756E-05** at limit **
   6  norm          .15781        .66981        .18373E-06** at limit **
   7  Prefactor     .55511E-10    5.0031       -.13163E-05** at limit **
   8  norm          .77996E-01    16.675        .18562E-05** at limit **
   9  Prefactor     .74426        43.577        .85262E-05    .37445E-02
  10  Prefactor     2.5765        11.969        .14261E-05   -.72105E-04
  11  Prefactor     1.3001        .27260        .30401E-06   -.15263E-02
  12  Prefactor     13.891        9.8749        .61762E-05    .15523E-03
  13  norm          1.7590        1.1409       -.11046E-06   -.21489E-02
  14  norm          2.9862        1.5548        .26706E-06   -.72916E-02
  15  Prefactor     24.547        8.0479        .10932E-05   -.25771E-01
  16  Prefactor     .11102E-09    3.8037       -.92233E-07** at limit **
  17  Prefactor     1.8126        .23929       -.28872E-06    .17851E-02
  18  Normalizat    1.3677        .27199       -.27360E-05   -.62262E-04
  19  Prefactor     .85436        .13081       -.82104E-05   -.21551E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.60663e-09
  norm       = 1.74717
  norm       = 1.83678
  Prefactor  = 0
  Prefactor  = 1.27676e-09
  norm       = 0.157805
  Prefactor  = 5.55112e-11
  norm       = 0.0779964
  Prefactor  = 0.744261
  Prefactor  = 2.57653
  Prefactor  = 1.30008
  Prefactor  = 13.891
  norm       = 1.75901
  norm       = 2.98622
  Prefactor  = 24.5473
  Prefactor  = 1.11022e-10
  Prefactor  = 1.81259
  Normalizat = 1.36774
  Prefactor  = 0.854361
 **********
 **   18 **HESSE 
 **********

 FCN=   9259.581     FROM HESSE     STATUS=OK           320 CALLS     1478 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56066E-08    128.20        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7472        1.7234        .79344E-03   -1.5682    
   3  norm          1.8368        1.7003        .76990E-03   -1.5681    
   4  Prefactor      .0000        10.282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12768E-08    34.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .15781        .51330        .23441E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    5.0177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .77996E-01    2.1891        .45901E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .74426        47.373        .62205E-03   -1.5691    
  10  Prefactor     2.5765        11.750        .64728E-03   -1.5676    
  11  Prefactor     1.3001        .27296        .48187E-02   -1.5480    
  12  Prefactor     13.891        9.8657        .27023E-02   -1.4962    
  13  norm          1.7590        1.1465        .78992E-03   -1.5681    
  14  norm          2.9862        1.5525        .58720E-03   -1.5673    
  15  Prefactor     24.547        24.209        .20219E-03   -1.5609    
  16  Prefactor     .11102E-09    3.7850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.8126        .24099        .36767E-02   -1.5439    
  18  Normalizat    1.3677        .22706        .75981E-01   -.81566    
  19  Prefactor     .85436        .10841        .44420E-01   -.97755    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84115e-07
Minuit parameter uncertainties:
  1  0.00169512
  2  1.72342
  3  1.70028
  4  1.53335e-05
  5  0.000418724
  6  0.513295
  7  3.79301e-05
  8  0.826419
  9  11.8758
  10  11.0043
  11  0.272956
  12  9.86688
  13  1.14649
  14  1.55248
  15  24.2094
  16  4.14077e-05
  17  0.240995
  18  0.227226
  19  0.108435
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  7.800e-02  8.264e-01  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.544e-01  1.084e-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.368e+00  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 334.813 18.103
Photon Flux Upper Limit: 5.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/898164/likelihoodResults_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.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): 102
logL (Free Index) = 9259.58120732
delta logL = 3.14708813676e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9259.58118415
delta logL = 2.349307033e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84076E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    2.1414       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3677       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85436       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.

 FCN=   9259.581     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      239 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .80654E-01    78.395        .45270E-02** at limit **
   2  alpha         2.1378        3.5181        .41700        .27905E-04
   3  Normalizat    1.3678        .33841E-01    .75980E-01    .52818E-04
   4  Prefactor     .85435        .17138E-01    .44421E-01    .87372E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0806536
  alpha      = 2.13781
  Normalizat = 1.36776
  Prefactor  = 0.854352
 **********
 **   18 **HESSE 
 **********

 FCN=   9259.581     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      274 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .80654E-01    1328.4        .28164E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1378        3.9209        .50000       -.14539    
   3  Normalizat    1.3678        .57173E-01    .33626E-03   -.81566    
   4  Prefactor     .85435        .29631E-01    .20867E-03   -.97755    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.47131e-06
Minuit parameter uncertainties:
  1  20.706
  2  42.698
  3  0.0571759
  4  0.029632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898164': 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): 102
logL (Free Index) = 9259.58118273
delta logL = 2.49036856985e-05

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  8.065e-02  2.071e+01  0.000e+00  1.000e+06 ( 1.000e-12)
263        alpha:  2.138e+00  4.270e+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.544e-01  2.963e-02  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.368e+00  5.718e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 334.813 18.103

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/898164/cmap_HighResolution_692409601_692668801_4FGL_J2219.2+1806_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-05', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2022-12-14 01:33:07.883987', job_id='898164', GAL2='0.85', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1671010387.88', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.49e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1748' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:33:07 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 898164: <4FGL_J2219.2+1806_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2219.2+1806_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:20:23 2022
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:20:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:20:25 2022
Terminated at Wed Dec 14 01:33:08 2022
Results reported at Wed Dec 14 01:33:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin1748 334.813 18.1026 692409601 692668801 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 :                                   629.00 sec.
    Max Memory :                                 1165 MB
    Average Memory :                             301.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            765 sec.

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

