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


Performing analysis on: 4FGL_J2219.2+1806_daily_bin1773
RA = 334.813, Dec = 18.1026
tmin = 698889601, tmax = 699148801
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='805814', job_status='RUN', time_executed='2023-02-27 10:37:00.810656', time_epoch_executed='1677523020.81' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805814/ft1_4FGL_J2219.2+1806_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805814/ft2_4FGL_J2219.2+1806_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805814/ft1_4FGL_J2219.2+1806_daily_bin1773.fits outfile=/scratch/kocevski/805814/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1773.fits ra=334.813 dec=18.1026 rad=12.0 tmin=698889601.0 tmax=699148801.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.93
user 2.72
sys 0.20

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

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

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

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

Number of photons that the gtmktime cut: 906

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805814/ft1_filtered_4FGL_J2219.2+1806_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/805814/ft2_4FGL_J2219.2+1806_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/805814/ltcube_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.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/805814/ft2_4FGL_J2219.2+1806_daily_bin1773.fits
.....................!
real 13.29
user 12.93
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805814/ft1_filtered_4FGL_J2219.2+1806_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/805814/ft2_4FGL_J2219.2+1806_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/805814/ltcube_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.fits outfile=/scratch/kocevski/805814/expmap_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.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/805814/ltcube_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.fits
.....................!
real 191.03
user 184.63
sys 6.04

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/805814/ft1_filtered_4FGL_J2219.2+1806_daily_bin1773.fits scfile=/scratch/kocevski/805814/ft2_4FGL_J2219.2+1806_daily_bin1773.fits outfile=/scratch/kocevski/805814/cmap_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805814/ft1_filtered_4FGL_J2219.2+1806_daily_bin1773.fits scfile=/scratch/kocevski/805814/ft2_4FGL_J2219.2+1806_daily_bin1773.fits outfile=/scratch/kocevski/805814/cmap_HighResolution_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.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/805814/ft1_filtered_4FGL_J2219.2+1806_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/805814/ft2_4FGL_J2219.2+1806_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/805814/Model_4FGL_J2219.2+1806_daily_bin1773.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/805814/ft1_filtered_4FGL_J2219.2+1806_daily_bin1773.fits.....................!
real 99.31
user 97.90
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/805814/ft1_filtered_4FGL_J2219.2+1806_daily_bin1773.fits', '/scratch/kocevski/805814/ft2_4FGL_J2219.2+1806_daily_bin1773.fits', expMap='/scratch/kocevski/805814/expmap_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.fits', expCube='/scratch/kocevski/805814/ltcube_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/805814/Model_4FGL_J2219.2+1806_daily_bin1773.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/805814/ft1_filtered_4FGL_J2219.2+1806_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/805814/ft2_4FGL_J2219.2+1806_daily_bin1773.fits
Exposure map: /scratch/kocevski/805814/expmap_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.fits
Exposure cube: /scratch/kocevski/805814/ltcube_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/805814/Model_4FGL_J2219.2+1806_daily_bin1773.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 10192.9742738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76950E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .17074       1.0000          .0000       .10000E+07
     3 'norm      '    .14493E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35232E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .76739E-02   1.0000          .0000       .10000E+07
     6 'norm      '    1.3566       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.7283       1.0000          .0000       .10000E+07
     8 'norm      '    5.8671       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6294       1.0000          .0000       .10000E+07
    10 'Prefactor '    19.640       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.5756       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .94122E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .94609       1.0000          .0000       .10000E+07
    14 'norm      '    .73677       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10441       1.0000          .0000       .10000E+07
    16 'Prefactor '    22.504       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.5734       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0267       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0329       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=   10191.71     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      911 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    31.729        .84426E-06** at limit **
   2  norm          .17598        8.0377       -.18822E-06** at limit **
   3  norm          .87708E-08    17.880       -.61771E-06** at limit **
   4  Prefactor     .97145E-08    13.796       -.41267E-06** at limit **
   5  Prefactor     .34972E-08    37.646       -.43745E-06** at limit **
   6  norm          1.3568        1.0279        .39221E-08    .11845E-02
   7  Prefactor     4.7215        6.8291       -.26296E-07    .57410E-02
   8  norm          5.8909        6.6177        .11029E-06    .79104E-02
   9  Prefactor     2.6104        1.3279        .82390E-08   -.72579E-02
  10  Prefactor     19.617        7.8655       -.10624E-07   -.14207    
  11  Prefactor     1.5757        .36774        .78629E-07    .95678E-03
  12  Prefactor     .10000E-03    .28284       -.52644E-06** at limit **
  13  norm          .94625        .89493       -.30059E-07   -.14812E-02
  14  norm          .73742        .74355        .71286E-08    .14282E-02
  15  Prefactor     .45769E-06    63.273        .55276E-07** at limit **
  16  Prefactor     22.450        8.5433       -.17121E-07    .12797    
  17  Prefactor     1.5736        .24703        .40277E-07    .14001E-02
  18  Normalizat    1.0268        .28309       -.24261E-05    .11785E-04
  19  Prefactor     1.0329        .12977        .11938E-05    .11307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  norm       = 0.175982
  norm       = 8.77076e-09
  Prefactor  = 9.71445e-09
  Prefactor  = 3.4972e-09
  norm       = 1.3568
  Prefactor  = 4.72145
  norm       = 5.89085
  Prefactor  = 2.61043
  Prefactor  = 19.6166
  Prefactor  = 1.57572
  Prefactor  = 0.000100002
  norm       = 0.946249
  norm       = 0.737422
  Prefactor  = 4.57689e-07
  Prefactor  = 22.4504
  Prefactor  = 1.57359
  Normalizat = 1.02681
  Prefactor  = 1.03289
 **********
 **   18 **HESSE 
 **********

 FCN=   10191.71     FROM HESSE     STATUS=OK           320 CALLS     1231 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    31.704        .14595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .17598        .96017        .63818E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .87708E-08    17.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .97145E-08    13.816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .34972E-08    37.678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.3568        1.0550        .93795E-03   -1.5685    
   7  Prefactor     4.7215        13.786        .46251E-03   -1.5665    
   8  norm          5.8909        6.6741        .41437E-03   -1.5659    
   9  Prefactor     2.6104        50.947        .62862E-03   -1.5676    
  10  Prefactor     19.617        12.858        .22572E-03   -1.5619    
  11  Prefactor     1.5757        .39443        .63380E-02   -1.5457    
  12  Prefactor     .10000E-03    46.802        .90932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .94625        .89824        .42624E-03   -1.5689    
  14  norm          .73742        .73548        .57772E-03   -1.5691    
  15  Prefactor     .45769E-06    63.986        .13812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.450        13.793        .21085E-03   -1.5613    
  17  Prefactor     1.5736        .24757        .42554E-02   -1.5457    
  18  Normalizat    1.0268        .24487        .93459E-01   -.92138    
  19  Prefactor     1.0329        .11088        .41033E-01   -.91641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41983e-07
Minuit parameter uncertainties:
  1  0.000289657
  2  0.822126
  3  0.000781553
  4  0.000732005
  5  0.000724636
  6  1.05503
  7  13.7861
  8  6.67412
  9  23.0649
  10  12.8578
  11  0.394434
  12  0.000674465
  13  0.898242
  14  0.735482
  15  0.0108232
  16  13.7931
  17  0.247571
  18  0.245142
  19  0.110904
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  5.891e+00  6.674e+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:  1.033e+00  1.109e-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.027e+00  2.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.00
Ra Dec: 334.813 18.103
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 3.68e-08 +/- 4.17e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.78e-05

TS (Fixed Index): 1.00
Ra Dec: 334.813 18.103
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/805814/likelihoodResults_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.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) = 10190.8565712
delta logL = 0.855242178772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10190.8562732
delta logL = 0.855540128356

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6944       1.0000          .0000       .10000E+07
     2 'alpha     '    3.2596       1.0000          .0000       5.0000    
     3 'Normalizat'    .93886       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0600       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=   10190.86     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      265 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6955        40.011        .52520E-03    .21734E-01
   2  alpha         3.2590        4.0395        .41322        .20156E-03
   3  Normalizat    .93880        .67652E-01    .97166E-01    .36794E-03
   4  Prefactor     1.0601        .31974E-01    .39356E-01    .38202E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.69547
  alpha      = 3.25901
  Normalizat = 0.9388
  Prefactor  = 1.06006
 **********
 **   18 **HESSE 
 **********

 FCN=   10190.86     FROM HESSE     STATUS=OK            31 CALLS      296 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6955        7.2401        .12505E-04   -1.5670    
   2  alpha         3.2590        1.2594        .14788E-01    .30847    
   3  Normalizat    .93880        .27759        .43048E-03   -.95110    
   4  Prefactor     1.0601        .13246        .19784E-03   -.90753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.90151e-10
Minuit parameter uncertainties:
  1  7.24008
  2  1.32702
  3  0.278018
  4  0.132497
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805814': 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) = 10190.8562727
delta logL = 0.855540654691

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  3.695e+00  7.240e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        alpha:  3.259e+00  1.327e+00  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:  1.060e+00  1.325e-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.388e-01  2.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.85
Ra Dec: 334.813 18.103
Photon Index (Free Index): 3.26 +/- 1.33
Photon Flux (Free Index): 1.05e-07 +/- 7.80e-08
Energy Flux (Free Index): 1.98e-05 +/- 1.46e-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/805814/cmap_HighResolution_698889601_699148801_4FGL_J2219.2+1806_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-05', comment='SUCCESS', photon_flux='3.68e-08', energy_flux2='1.98e-05', photon_flux_error='4.17e-08', dlogl='8.56e-01', energy_flux='1.57e-05', photon_flux2='1.05e-07', job_status='DONE', time_completed='2023-02-27 10:47:22.639983', photon_index_error2='1.33', photon_index2='3.26', ts='1.00', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='1.46e-05', EG='1.03', time_epoch_completed='1677523642.64', return_code='0', job_id='805814', GAL2='1.06', EG2='0.94', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='7.80e-08', ts2='2.85', photon_index='2.18' WHERE bin_id='1773' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:47:22 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 805814: <4FGL_J2219.2+1806_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2219.2+1806_daily_bin1773> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb 27 10:35:18 2023
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:35:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:35:19 2023
Terminated at Mon Feb 27 10:47:23 2023
Results reported at Mon Feb 27 10:47:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin1773 334.813 18.1026 698889601 699148801 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 :                                   624.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             313.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            725 sec.

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

