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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1666
RA = 334.823, Dec = -3.7102
tmin = 671155201, tmax = 671414401
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='414485', job_status='RUN', time_executed='2022-04-12 00:36:03.516468', time_epoch_executed='1649748963.52' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414485

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414485/ft1_4FGL_J2219.2-0342_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414485/ft1_4FGL_J2219.2-0342_daily_bin1666.fits outfile=/scratch/kocevski/414485/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1666.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.30
user 4.94
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.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/414485/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1666.fits evtable="EVENTS" outfile="/scratch/kocevski/414485/ft1_filtered_4FGL_J2219.2-0342_daily_bin1666.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.52
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 807

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414485/ft1_filtered_4FGL_J2219.2-0342_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414485/ltcube_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.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/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.fits
.....................!
real 11.98
user 11.58
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414485/ft1_filtered_4FGL_J2219.2-0342_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414485/ltcube_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.fits outfile=/scratch/kocevski/414485/expmap_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.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/414485/ltcube_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.fits
.....................!
real 191.76
user 186.04
sys 5.35

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

Setting source of interest to:
4FGL J2219.2-0342 @ 334.823 -3.7102

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/414485/ft1_filtered_4FGL_J2219.2-0342_daily_bin1666.fits scfile=/scratch/kocevski/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.fits outfile=/scratch/kocevski/414485/cmap_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.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.823 yref=-3.7102 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414485/ft1_filtered_4FGL_J2219.2-0342_daily_bin1666.fits scfile=/scratch/kocevski/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.fits outfile=/scratch/kocevski/414485/cmap_HighResolution_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.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.823 yref=-3.7102 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414485/ft1_filtered_4FGL_J2219.2-0342_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414485/Model_4FGL_J2219.2-0342_daily_bin1666.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/414485/ft1_filtered_4FGL_J2219.2-0342_daily_bin1666.fits.....................!
real 78.38
user 76.99
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/414485/ft1_filtered_4FGL_J2219.2-0342_daily_bin1666.fits', '/scratch/kocevski/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.fits', expMap='/scratch/kocevski/414485/expmap_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.fits', expCube='/scratch/kocevski/414485/ltcube_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/414485/Model_4FGL_J2219.2-0342_daily_bin1666.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2219.2-0342'

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  3.492e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  2.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/414485/ft1_filtered_4FGL_J2219.2-0342_daily_bin1666.fits
Spacecraft file(s): /scratch/kocevski/414485/ft2_4FGL_J2219.2-0342_daily_bin1666.fits
Exposure map: /scratch/kocevski/414485/expmap_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.fits
Exposure cube: /scratch/kocevski/414485/ltcube_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/414485/Model_4FGL_J2219.2-0342_daily_bin1666.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) = 8839.00728421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30211E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.296       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.3657       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8586       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0490       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    50.011       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.9221       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.209       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.283       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1053       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.1371       1.0000         .10000E-03   10000.    
    16 'norm      '    5.3220       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.6508       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.4483       1.0000         .10000E-03   10000.    
    20 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    19.052       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81877       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8838.930     FROM MIGRAD    STATUS=CONVERGED     69 CALLS     1895 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10009E-03    8.6596       -.19813E-04** at limit **
   2  Prefactor     17.303        1.4075        .55826E-06   -.15641E-02
   3  Prefactor     6.3644        1.0177       -.12328E-06    .92917E-04
   4  Prefactor     .10000E-03    15.601        .15029E-05** at limit **
   5  Prefactor     4.8574        1.0333        .25674E-06    .29486E-03
   6  Prefactor     4.0481        1.7310       -.25417E-05   -.37077E-02
   7  Prefactor     .10000E-03    3.6952       -.48801E-06** at limit **
   8  Prefactor     .10000E-03    7.2180        .24321E-05** at limit **
   9  Prefactor     50.015        1.5048        .49393E-06   -.26068E-02
  10  Prefactor     6.9092        3.8952        .47054E-05   -.39538E-02
  11  Prefactor     11.205        1.9647        .17147E-05   -.21256E-02
  12  Prefactor     .10000E-03    5.9875       -.94302E-06** at limit **
  13  Prefactor     14.282        1.0618        .26829E-06   -.51413E-03
  14  Prefactor     5.0935        2.8263       -.35625E-05    .32218E-02
  15  Prefactor     7.1368        2.0870       -.35320E-06   -.17081E-02
  16  norm          5.3204        3.1648        .10240E-05    .70409E-03
  17  Prefactor     .10000E-03    97.915       -.40035E-05** at limit **
  18  norm          3.6505        1.1562        .42294E-07   -.91657E-04
  19  Prefactor     6.4458        1.0039        .15214E-07   -.43572E-04
  20  norm          .10000E-03    .62118        .15231E-06** at limit **
  21  Prefactor     .10000E-03    3.1079       -.18619E-06** at limit **
  22  norm          19.050        1.3837        .73809E-06   -.14639E-02
  23  Normalizat    .81880        .20912       -.24289E-05   -.27995E-05
  24  Prefactor     1.0257        .12821        .19444E-06    .10576E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100085
  Prefactor  = 17.303
  Prefactor  = 6.36442
  Prefactor  = 0.000100001
  Prefactor  = 4.85743
  Prefactor  = 4.04809
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 50.0155
  Prefactor  = 6.90919
  Prefactor  = 11.2054
  Prefactor  = 0.0001
  Prefactor  = 14.2818
  Prefactor  = 5.09353
  Prefactor  = 7.13683
  norm       = 5.32037
  Prefactor  = 0.000100001
  norm       = 3.65054
  Prefactor  = 6.44581
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 19.0502
  Normalizat = 0.818801
  Prefactor  = 1.02568
 **********
 **   18 **HESSE 
 **********

 FCN=   8838.930     FROM HESSE     STATUS=OK           463 CALLS     2358 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10009E-03    .88210        .57225E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.303        30.365        .24076E-02   -1.4876    
   3  Prefactor     6.3644        20.862        .39771E-02   -1.5203    
   4  Prefactor     .10000E-03    15.604        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.8574        5.6137        .45624E-02   -1.5267    
   6  Prefactor     4.0481        4.3658        .50097E-02   -1.5306    
   7  Prefactor     .10000E-03    3.6735        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.2370        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     50.015        20.287        .14177E-02   -1.4292    
  10  Prefactor     6.9092        13.662        .38122E-02   -1.5182    
  11  Prefactor     11.205        10.371        .29915E-02   -1.5038    
  12  Prefactor     .10000E-03    5.9880        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.282        9.4399        .26495E-02   -1.4952    
  14  Prefactor     5.0935        247.94        .44485E-02   -1.5257    
  15  Prefactor     7.1368        4.2295        .37538E-02   -1.5174    
  16  norm          5.3204        3.8993        .43554E-02   -1.5247    
  17  Prefactor     .10000E-03    98.237        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.6505        1.1710        .52855E-02   -1.5326    
  19  Prefactor     6.4458        14.140        .39513E-02   -1.5200    
  20  norm          .10000E-03    .49010        .31840E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.1053        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          19.050        10.868        .22940E-02   -1.4835    
  23  Normalizat    .81880        .19291        .76651E-01   -.99375    
  24  Prefactor     1.0257        .11136        .41620E-01   -.91878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08798e-06
Minuit parameter uncertainties:
  1  0.000547838
  2  30.392
  3  20.8863
  4  0.0002181
  5  5.61433
  6  4.36611
  7  5.97672e-06
  8  0.000127289
  9  20.2901
  10  13.6681
  11  10.3722
  12  1.3512e-06
  13  9.44084
  14  71.3888
  15  4.22965
  16  3.89952
  17  0.000511388
  18  1.17102
  19  14.1475
  20  5.49793e-07
  21  9.14749e-06
  22  10.8687
  23  0.19307
  24  0.111381
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.428e+01  9.441e+00  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  2.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.026e+00  1.114e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  8.188e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.85
Ra Dec: 334.823 -3.710
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 6.58e-08 +/- 4.34e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.06e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8838.87767656
delta logL = 0.0525788789273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8838.87173088
delta logL = 0.0585245571474

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.293       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4933       1.0000          .0000       10.000    
     3 'Normalizat'    .82700       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0225       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+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=   8838.872     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      241 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.294        10.186        .10242E-03   -.47443E-03
   2  Index         2.4935        .54379        .89269E-02   -.13705E-03
   3  Normalizat    .82700        .20684        .33780E-03   -.14801E-03
   4  Prefactor     1.0225        .12827        .19054E-03   -.28131E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2937
  Index      = 2.49355
  Normalizat = 0.827003
  Prefactor  = 1.02249
 **********
 **   18 **HESSE 
 **********

 FCN=   8838.872     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.294        10.118        .40967E-05   -1.4926    
   2  Index         2.4935        .54007        .35708E-03   -.52509    
   3  Normalizat    .82700        .20698        .13512E-04   -.99075    
   4  Prefactor     1.0225        .12835        .38108E-04   -.91984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9184e-10
Minuit parameter uncertainties:
  1  10.1193
  2  0.541483
  3  0.207176
  4  0.128386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414485': 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) = 8838.87173079
delta logL = 0.0585246444243

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.529e+01  1.012e+01  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  2.494e+00  5.415e-01  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.022e+00  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  8.270e-01  2.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.98
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 2.49 +/- 0.54
Photon Flux (Free Index): 5.84e-08 +/- 4.51e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.16e-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/414485/cmap_HighResolution_671155201_671414401_4FGL_J2219.2-0342_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.58e-08', energy_flux2='1.71e-05', photon_flux_error='4.34e-08', dlogl='5.85e-02', energy_flux='1.61e-05', photon_flux2='5.84e-08', job_status='DONE', time_completed='2022-04-12 00:46:35.578658', photon_index_error2='0.54', photon_index2='2.49', ts='4.85', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.16e-05', EG='0.82', time_epoch_completed='1649749595.58', return_code='0', job_id='414485', GAL2='1.02', EG2='0.83', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='4.51e-08', ts2='4.98', photon_index='2.68' WHERE bin_id='1666' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:46:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 414485: <4FGL_J2219.2-0342_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:37 2022
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:38 2022
Terminated at Tue Apr 12 00:46:36 2022
Results reported at Tue Apr 12 00:46:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1666 334.823 -3.7102 671155201 671414401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2219.2-0342 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   634.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             380.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            659 sec.

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

