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 115 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2219.2+1806_daily_bin1703
RA = 334.813, Dec = 18.1026
tmin = 680745601, tmax = 681004801
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='324145', job_status='RUN', time_executed='2022-08-01 01:23:56.180751', time_epoch_executed='1659342236.18' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324145

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324145/ft1_4FGL_J2219.2+1806_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324145/ft2_4FGL_J2219.2+1806_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324145/ft1_4FGL_J2219.2+1806_daily_bin1703.fits outfile=/scratch/kocevski/324145/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1703.fits ra=334.813 dec=18.1026 rad=12.0 tmin=680745601.0 tmax=681004801.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 2.99
user 2.77
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324145/ft2_4FGL_J2219.2+1806_daily_bin1703.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/324145/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/324145/ft1_filtered_4FGL_J2219.2+1806_daily_bin1703.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 647

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324145/ft1_filtered_4FGL_J2219.2+1806_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/324145/ft2_4FGL_J2219.2+1806_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/324145/ltcube_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.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/324145/ft2_4FGL_J2219.2+1806_daily_bin1703.fits
.....................!
real 15.76
user 15.33
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324145/ft1_filtered_4FGL_J2219.2+1806_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324145/ft2_4FGL_J2219.2+1806_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/324145/ltcube_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.fits outfile=/scratch/kocevski/324145/expmap_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.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/324145/ltcube_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.fits
.....................!
real 193.30
user 186.87
sys 5.92

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/324145/ft1_filtered_4FGL_J2219.2+1806_daily_bin1703.fits scfile=/scratch/kocevski/324145/ft2_4FGL_J2219.2+1806_daily_bin1703.fits outfile=/scratch/kocevski/324145/cmap_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324145/ft1_filtered_4FGL_J2219.2+1806_daily_bin1703.fits scfile=/scratch/kocevski/324145/ft2_4FGL_J2219.2+1806_daily_bin1703.fits outfile=/scratch/kocevski/324145/cmap_HighResolution_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.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.57
user 0.42
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324145/ft1_filtered_4FGL_J2219.2+1806_daily_bin1703.fits', '/scratch/kocevski/324145/ft2_4FGL_J2219.2+1806_daily_bin1703.fits', expMap='/scratch/kocevski/324145/expmap_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.fits', expCube='/scratch/kocevski/324145/ltcube_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324145/Model_4FGL_J2219.2+1806_daily_bin1703.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  1.000e-04  1.000e+04 ( 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  0.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/324145/ft1_filtered_4FGL_J2219.2+1806_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/324145/ft2_4FGL_J2219.2+1806_daily_bin1703.fits
Exposure map: /scratch/kocevski/324145/expmap_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.fits
Exposure cube: /scratch/kocevski/324145/ltcube_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324145/Model_4FGL_J2219.2+1806_daily_bin1703.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) = 7294.87887681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.9941       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8076       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7255       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    79.905       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.357       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .79748       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8996       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2289       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .19891E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .76808       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.0348       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4246       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .73570       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.

 FCN=   7294.875     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     3001 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.511       -.59174E-06** at limit **
   2  Prefactor     .10000E-03    114.81       -.22758E-05** at limit **
   3  norm          3.9981        3.5445        .15785E-08    .22980E-04
   4  Prefactor     .10000E-03    43.718        .22368E-05** at limit **
   5  norm          .10000E-03    1.6582       -.20350E-07** at limit **
   6  Prefactor     .10000E-03    14.686        .45484E-06** at limit **
   7  Prefactor     .10000E-03    19.209        .51562E-06** at limit **
   8  norm          .10000E-03    .26228       -.23498E-07** at limit **
   9  Prefactor     .10000E-03    39.208       -.19923E-05** at limit **
  10  Prefactor     2.8094        9.2319        .28961E-05    .19078E-04
  11  norm          1.7264        4.6369        .99191E-07   -.93618E-05
  12  Prefactor     .10000E-03    7.8322       -.44686E-07** at limit **
  13  Prefactor     79.971        102.41       -.62091E-05   -.14985E-05
  14  Prefactor     14.333        15.977        .14051E-06   -.16036E-05
  15  Prefactor     .79773        .30586       -.50711E-08   -.61027E-04
  16  Prefactor     .10000E-03    14.063        .49346E-06** at limit **
  17  norm          1.8997        1.0351        .70625E-07    .12675E-03
  18  norm          1.2198        1.1920       -.19976E-08   -.10608E-03
  19  Prefactor     .10000E-03    10.177        .67556E-08** at limit **
  20  Prefactor     .33411        7.2243        .53735E-06   -.15895E-03
  21  Prefactor     .10000E-03    16.225       -.10199E-05** at limit **
  22  Prefactor     .76795        .20045        .44991E-08    .22056E-03
  23  Prefactor     6.9969        12.735       -.27869E-06   -.17365E-04
  24  Normalizat    1.4247        .25635       -.19327E-06   -.96475E-05
  25  Prefactor     .73534        .11329        .36001E-06   -.16350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.99814
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.80944
  norm       = 1.72641
  Prefactor  = 0.0001
  Prefactor  = 79.9713
  Prefactor  = 14.3335
  Prefactor  = 0.797735
  Prefactor  = 0.0001
  norm       = 1.89973
  norm       = 1.21978
  Prefactor  = 0.0001
  Prefactor  = 0.334108
  Prefactor  = 0.0001
  Prefactor  = 0.767949
  Prefactor  = 6.99694
  Normalizat = 1.4247
  Prefactor  = 0.735341
 **********
 **   18 **HESSE 
 **********

 FCN=   7294.875     FROM HESSE     STATUS=OK           429 CALLS     3430 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    115.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.9981        3.5411        .14203E-03   -1.5308    
   4  Prefactor     .10000E-03    43.707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6618        .10741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .26592        .42698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    39.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.8094        9.2465        .12139E-02   -1.5373    
  11  norm          1.7264        4.6084        .28829E-03   -1.5445    
  12  Prefactor     .10000E-03    7.8445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     79.971        102.63        .22464E-03   -1.3917    
  14  Prefactor     14.333        16.206        .10571E-03   -1.4951    
  15  Prefactor     .79773        .30378        .27709E-04   -1.5529    
  16  Prefactor     .10000E-03    14.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8997        1.0302        .61354E-04   -1.5432    
  18  norm          1.2198        1.2050        .87189E-04   -1.5487    
  19  Prefactor     .10000E-03    10.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33411        58.433        .41259E-02   -1.5592    
  21  Prefactor     .10000E-03    16.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .76795        .20046        .18462E-04   -1.5533    
  23  Prefactor     6.9969        12.711        .15125E-03   -1.5179    
  24  Normalizat    1.4247        .30874        .32368E-03   -.79917    
  25  Prefactor     .73534        .13588        .20547E-03   -1.0216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4744e-10
Minuit parameter uncertainties:
  1  8.18482e-06
  2  3.14604e-05
  3  3.54129
  4  3.84721e-06
  5  6.86922e-07
  6  4.71247e-06
  7  5.61175e-06
  8  3.57916e-07
  9  1.25636e-05
  10  9.25122
  11  4.60935
  12  3.14897e-06
  13  102.86
  14  16.2111
  15  0.303784
  16  8.56597e-06
  17  1.03018
  18  1.20507
  19  2.02758e-06
  20  8.84437
  21  5.92886e-06
  22  0.200456
  23  12.716
  24  0.309149
  25  0.135941
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  1.726e+00  4.609e+00  1.000e-04  1.000e+04 ( 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  0.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:  7.353e-01  1.359e-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.425e+00  3.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/324145/likelihoodResults_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.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) = 7294.8419078
delta logL = 0.0329892996588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7294.84117505
delta logL = 0.0337220414094

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7569       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6486       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4134       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73832       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=   7294.841     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      275 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7675        4.8647        .24103E-03   -.41036E-05
   2  alpha         2.6576        1.9259        .43669E-01    .54866E-05
   3  Normalizat    1.4127        .28799        .32484E-03   -.18969E-04
   4  Prefactor     .73852        .13493        .20506E-03   -.21012E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.76751
  alpha      = 2.65757
  Normalizat = 1.41274
  Prefactor  = 0.738524
 **********
 **   18 **HESSE 
 **********

 FCN=   7294.841     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7675        4.3716        .96411E-05   -1.5442    
   2  alpha         2.6576        1.7739        .17468E-02    .63070E-01
   3  Normalizat    1.4127        .28739        .12994E-04   -.80261    
   4  Prefactor     .73852        .13465        .82025E-05   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80469e-12
Minuit parameter uncertainties:
  1  4.37235
  2  1.97325
  3  0.287721
  4  0.13471
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324145': 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) = 7294.84115278
delta logL = 0.0337443199569

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  1.768e+00  4.372e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  2.658e+00  1.973e+00  0.000e+00  5.000e+00 ( 1.000e+00)
264         beta:  8.363e-02  0.000e+00  0.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:  7.385e-01  1.347e-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.413e+00  2.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/324145/cmap_HighResolution_680745601_681004801_4FGL_J2219.2+1806_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-05', job_status='DONE', photon_flux_upper_limit='8.92e-08', time_completed='2022-08-01 01:36:17.495395', job_id='324145', GAL2='0.74', fit_tolerance='1e-08', EG2='1.41', EG='1.42', time_epoch_completed='1659342977.5', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='3.37e-02', ts2='0.25', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1703' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:36:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 324145: <4FGL_J2219.2+1806_daily_bin1703> in cluster <slac> Done

Job <4FGL_J2219.2+1806_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:20:21 2022
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:21:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:21:47 2022
Terminated at Mon Aug  1 01:36:18 2022
Results reported at Mon Aug  1 01:36:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin1703 334.813 18.1026 680745601 681004801 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 :                                   742.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             331.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            957 sec.

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

