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


Performing analysis on: 4FGL_J2219.2+1806_daily_bin1695
RA = 334.813, Dec = 18.1026
tmin = 678672001, tmax = 678931201
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='731207', job_status='RUN', time_executed='2022-07-08 00:36:56.780668', time_epoch_executed='1657265816.78' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731207

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731207/ft1_4FGL_J2219.2+1806_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731207/ft2_4FGL_J2219.2+1806_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731207/ft1_4FGL_J2219.2+1806_daily_bin1695.fits outfile=/scratch/kocevski/731207/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1695.fits ra=334.813 dec=18.1026 rad=12.0 tmin=678672001.0 tmax=678931201.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.72
user 3.47
sys 0.24

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

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

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

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

Number of photons that the gtmktime cut: 822

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731207/ft1_filtered_4FGL_J2219.2+1806_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731207/ft2_4FGL_J2219.2+1806_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731207/ltcube_678672001_678931201_4FGL_J2219.2+1806_daily_bin1695.fits outfile=/scratch/kocevski/731207/expmap_678672001_678931201_4FGL_J2219.2+1806_daily_bin1695.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/731207/ltcube_678672001_678931201_4FGL_J2219.2+1806_daily_bin1695.fits
.....................!
real 190.45
user 184.90
sys 5.19

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/731207/ft1_filtered_4FGL_J2219.2+1806_daily_bin1695.fits scfile=/scratch/kocevski/731207/ft2_4FGL_J2219.2+1806_daily_bin1695.fits outfile=/scratch/kocevski/731207/cmap_678672001_678931201_4FGL_J2219.2+1806_daily_bin1695.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/731207/ft1_filtered_4FGL_J2219.2+1806_daily_bin1695.fits scfile=/scratch/kocevski/731207/ft2_4FGL_J2219.2+1806_daily_bin1695.fits outfile=/scratch/kocevski/731207/cmap_HighResolution_678672001_678931201_4FGL_J2219.2+1806_daily_bin1695.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.114       1.0000         .10000E-03   10000.    
     3 'norm      '    .84935       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.3557       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.555       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4861       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.939       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.579       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10950E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.411       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3217       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.320       1.0000         .10000E-03   10000.    
    17 'norm      '    1.7730       1.0000         .10000E-03   10000.    
    18 'norm      '    3.9817       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10382E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    38.357       1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.779       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .96201       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.6018       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .94818       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92952       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=   8509.283     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2919 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4935        .15041E-06** at limit **
   2  Prefactor     14.997        122.58       -.30594E-05   -.28366E-04
   3  norm          .84945        2.7331        .18889E-05    .17807E-03
   4  Prefactor     .10000E-03    66.231        .35010E-07** at limit **
   5  norm          1.3558        1.5801        .41061E-07    .83560E-05
   6  Prefactor     11.562        26.304       -.31413E-05   -.99052E-04
   7  Prefactor     1.4196        366.75       -.55370E-05   -.31057E-05
   8  norm          .10000E-03    .31704        .56742E-07** at limit **
   9  Prefactor     37.943        32.862        .36312E-06   -.40777E-05
  10  Prefactor     12.582        14.646        .17722E-06   -.16388E-05
  11  norm          .10000E-03    1.7739        .87325E-07** at limit **
  12  Prefactor     .10000E-03    13.891        .31915E-06** at limit **
  13  Prefactor     .10000E-03    93.599        .63443E-06** at limit **
  14  Prefactor     35.416        14.621        .29468E-06   -.33036E-04
  15  Prefactor     1.3217        .27748        .27483E-07   -.40716E-03
  16  Prefactor     12.318        7.5719        .82621E-08   -.10694E-05
  17  norm          1.7731        1.1025        .97174E-07    .25203E-04
  18  norm          3.9819        2.2112        .45013E-07    .18116E-04
  19  Prefactor     .10000E-03    16.176        .93179E-07** at limit **
  20  Prefactor     38.359        13.400        .14718E-06    .18022E-05
  21  Prefactor     18.777        21.468        .23264E-06    .38989E-05
  22  Prefactor     .96202        .19158        .18774E-07   -.27242E-03
  23  Prefactor     4.6038        5.2115        .41081E-07    .23539E-05
  24  Normalizat    .94802        .25620       -.49051E-05   -.43065E-04
  25  Prefactor     .92959        .11762        .13941E-05   -.47831E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.9966
  norm       = 0.849455
  Prefactor  = 0.0001
  norm       = 1.35575
  Prefactor  = 11.5615
  Prefactor  = 1.41962
  norm       = 0.0001
  Prefactor  = 37.9435
  Prefactor  = 12.5815
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.4156
  Prefactor  = 1.32175
  Prefactor  = 12.3179
  norm       = 1.77308
  norm       = 3.98191
  Prefactor  = 0.0001
  Prefactor  = 38.3592
  Prefactor  = 18.7772
  Prefactor  = 0.96202
  Prefactor  = 4.60383
  Normalizat = 0.948019
  Prefactor  = 0.929594
 **********
 **   18 **HESSE 
 **********

 FCN=   8509.283     FROM HESSE     STATUS=OK           437 CALLS     3356 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.997        124.35        .10302E-03   -1.4933    
   3  norm          .84945        2.8064        .23752E-03   -1.5524    
   4  Prefactor     .10000E-03    66.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.3558        1.5654        .12178E-03   -1.5475    
   6  Prefactor     11.562        26.611        .11785E-03   -1.5028    
   7  Prefactor     1.4196        380.59        .35185E-02   -1.5470    
   8  norm          .10000E-03    .49436        .10060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.943        32.873        .65070E-04   -1.4475    
  10  Prefactor     12.582        14.644        .11294E-03   -1.4998    
  11  norm          .10000E-03    1.7873        .12000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    93.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.416        14.687        .67345E-04   -1.4517    
  15  Prefactor     1.3217        .27766        .20788E-04   -1.5478    
  16  Prefactor     12.318        7.5784        .11413E-03   -1.5006    
  17  norm          1.7731        1.0973        .73442E-04   -1.5442    
  18  norm          3.9819        2.2096        .97103E-04   -1.5309    
  19  Prefactor     .10000E-03    16.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     38.359        13.400        .64716E-04   -1.4468    
  21  Prefactor     18.777        21.520        .92424E-04   -1.4841    
  22  Prefactor     .96202        .19221        .16751E-04   -1.5512    
  23  Prefactor     4.6038        5.2108        .18763E-03   -1.5279    
  24  Normalizat    .94802        .27746        .37631E-03   -.94793    
  25  Prefactor     .92959        .13133        .19251E-03   -.95115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38975e-09
Minuit parameter uncertainties:
  1  1.51761e-05
  2  86.6142
  3  2.80683
  4  3.53111e-05
  5  1.5654
  6  26.6383
  7  46.79
  8  5.96846e-06
  9  32.8891
  10  14.6478
  11  3.39073e-06
  12  2.86866e-05
  13  0.000184183
  14  14.6885
  15  0.277662
  16  7.57902
  17  1.09732
  18  2.20964
  19  9.60913e-06
  20  13.4007
  21  21.5288
  22  0.192211
  23  5.21134
  24  0.277884
  25  0.131376
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  1.000e-04  3.391e-06  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:  9.296e-01  1.314e-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:  9.480e-01  2.779e-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.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.13e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/731207/likelihoodResults_678672001_678931201_4FGL_J2219.2+1806_daily_bin1695.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) = 8509.28594894
delta logL = -0.00265746578953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8509.24537385
delta logL = 0.0379176210408

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26954E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .92586       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93681       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=   8509.245     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      315 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26974E-01    .10782        .39782E-03    .94677E-02
   2  alpha         5.0000        4.9924        .50000    ** at limit **
   3  Normalizat    .92594        .26510        .38039E-03    .17896E-03
   4  Prefactor     .93677        .13107        .19186E-03    .18530E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0269736
  alpha      = 5
  Normalizat = 0.925938
  Prefactor  = 0.936768
 **********
 **   18 **HESSE 
 **********

 FCN=   8509.245     FROM HESSE     STATUS=OK            31 CALLS      346 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26974E-01    .10298        .15913E-04   -1.5675    
   2  alpha         5.0000        4.9681        .50000        1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .92594        .26563        .15216E-04   -.95555    
   4  Prefactor     .93677        .13126        .38372E-04   -.94868    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25902e-09
Minuit parameter uncertainties:
  1  0.102976
  2  0.00122869
  3  0.266008
  4  0.1313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731207': 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) = 8509.24537376
delta logL = 0.0379177133327

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  2.697e-02  1.030e-01  1.000e-04  1.000e+04 ( 1.000e-12)
263        alpha:  5.000e+00  1.229e-03  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:  9.368e-01  1.313e-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:  9.259e-01  2.660e-01  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/731207/cmap_HighResolution_678672001_678931201_4FGL_J2219.2+1806_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.13e-05', job_status='DONE', photon_flux_upper_limit='5.01e-08', time_completed='2022-07-08 00:50:38.318032', job_id='731207', GAL2='0.94', fit_tolerance='1e-08', EG2='0.93', EG='0.95', time_epoch_completed='1657266638.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.79e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1695' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:50:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 731207: <4FGL_J2219.2+1806_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2219.2+1806_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:19 2022
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:20 2022
Terminated at Fri Jul  8 00:50:38 2022
Results reported at Fri Jul  8 00:50:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin1695 334.813 18.1026 678672001 678931201 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 :                                   823.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            919 sec.

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

