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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1692
RA = 334.823, Dec = -3.7102
tmin = 677894401, tmax = 678153601
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='484280', job_status='RUN', time_executed='2022-06-29 04:56:37.305908', time_epoch_executed='1656503797.31' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484280

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484280/ft1_4FGL_J2219.2-0342_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484280/ft2_4FGL_J2219.2-0342_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484280/ft1_4FGL_J2219.2-0342_daily_bin1692.fits outfile=/scratch/kocevski/484280/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1692.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=677894401.0 tmax=678153601.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 4.44
user 4.20
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/484280/ft2_4FGL_J2219.2-0342_daily_bin1692.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/484280/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/484280/ft1_filtered_4FGL_J2219.2-0342_daily_bin1692.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.34
sys 0.15

Number of photons that the gtmktime cut: 545

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484280/ft1_filtered_4FGL_J2219.2-0342_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/484280/ft2_4FGL_J2219.2-0342_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/484280/ltcube_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.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/484280/ft2_4FGL_J2219.2-0342_daily_bin1692.fits
.....................!
real 13.04
user 12.63
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484280/ft1_filtered_4FGL_J2219.2-0342_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/484280/ft2_4FGL_J2219.2-0342_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/484280/ltcube_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.fits outfile=/scratch/kocevski/484280/expmap_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.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/484280/ltcube_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.fits
.....................!
real 193.06
user 187.56
sys 4.87

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/484280/ft1_filtered_4FGL_J2219.2-0342_daily_bin1692.fits scfile=/scratch/kocevski/484280/ft2_4FGL_J2219.2-0342_daily_bin1692.fits outfile=/scratch/kocevski/484280/cmap_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484280/ft1_filtered_4FGL_J2219.2-0342_daily_bin1692.fits scfile=/scratch/kocevski/484280/ft2_4FGL_J2219.2-0342_daily_bin1692.fits outfile=/scratch/kocevski/484280/cmap_HighResolution_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.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.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/484280/ft1_filtered_4FGL_J2219.2-0342_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/484280/ft2_4FGL_J2219.2-0342_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484280/Model_4FGL_J2219.2-0342_daily_bin1692.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/484280/ft1_filtered_4FGL_J2219.2-0342_daily_bin1692.fits.....................!
real 58.26
user 56.79
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/484280/ft1_filtered_4FGL_J2219.2-0342_daily_bin1692.fits', '/scratch/kocevski/484280/ft2_4FGL_J2219.2-0342_daily_bin1692.fits', expMap='/scratch/kocevski/484280/expmap_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.fits', expCube='/scratch/kocevski/484280/ltcube_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/484280/Model_4FGL_J2219.2-0342_daily_bin1692.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/484280/ft1_filtered_4FGL_J2219.2-0342_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/484280/ft2_4FGL_J2219.2-0342_daily_bin1692.fits
Exposure map: /scratch/kocevski/484280/expmap_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.fits
Exposure cube: /scratch/kocevski/484280/ltcube_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/484280/Model_4FGL_J2219.2-0342_daily_bin1692.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) = 6112.39936099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64815       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.256       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.6434       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19043       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7980       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.441       1.0000         .10000E-03   10000.    
    12 'Prefactor '    54.491       1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.388       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.3435       1.0000         .10000E-03   10000.    
    16 'norm      '    4.4834       1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.150       1.0000         .10000E-03   10000.    
    18 'norm      '    3.4980       1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.094       1.0000         .10000E-03   10000.    
    20 'norm      '    .14153E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.0355       1.0000         .10000E-03   10000.    
    22 'norm      '    6.2785       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .45193       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0242       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.

 FCN=   6112.374     FROM MIGRAD    STATUS=CONVERGED    587 CALLS     2779 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64767        1.5031        .10082E-05    .85924E-03
   2  Prefactor     .10000E-03    11.225        .64153E-07** at limit **
   3  Prefactor     .10000E-03    12.872        .88953E-07** at limit **
   4  Prefactor     .10000E-03    9.9200        .17973E-07** at limit **
   5  Prefactor     .10000E-03    1.3241        .49794E-08** at limit **
   6  Prefactor     18.251        10.171        .40471E-06    .88115E-04
   7  Prefactor     8.6433        11.704       -.12830E-06   -.40179E-04
   8  Prefactor     .10003E-03    11.642        .13195E-06** at limit **
   9  Prefactor     .10000E-03    8.3028       -.86153E-06** at limit **
  10  Prefactor     1.8011        39.625        .43081E-05   -.30235E-04
  11  Prefactor     23.437        13.666        .22929E-06    .18497E-04
  12  Prefactor     54.550        29.971        .30514E-06   -.13170E-03
  13  Prefactor     35.380        15.674       -.11390E-05   -.77544E-04
  14  Prefactor     .10000E-03    27.945        .84639E-07** at limit **
  15  Prefactor     7.3458        6.1163        .31197E-05   -.56886E-03
  16  norm          4.4833        3.4736       -.88038E-07    .33146E-04
  17  Prefactor     33.967        90.377       -.58652E-05   -.11299E-03
  18  norm          3.4980        1.6195        .51785E-07    .26695E-03
  19  Prefactor     21.176        29.336        .13416E-05    .16668E-03
  20  norm          .10000E-03    1.5018       -.36648E-06** at limit **
  21  Prefactor     4.0498        14.094        .90598E-06    .42240E-04
  22  norm          6.2732        10.782        .71565E-06    .68982E-04
  23  Normalizat    .45177        .23857       -.57843E-05   -.46053E-05
  24  Prefactor     1.0245        .13100        .11133E-05   -.81294E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.647672
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.2509
  Prefactor  = 8.64334
  Prefactor  = 0.000100026
  Prefactor  = 0.0001
  Prefactor  = 1.80114
  Prefactor  = 23.4372
  Prefactor  = 54.5503
  Prefactor  = 35.3795
  Prefactor  = 0.0001
  Prefactor  = 7.3458
  norm       = 4.48326
  Prefactor  = 33.9675
  norm       = 3.498
  Prefactor  = 21.1759
  norm       = 0.0001
  Prefactor  = 4.04982
  norm       = 6.2732
  Normalizat = 0.451771
  Prefactor  = 1.02452
 **********
 **   18 **HESSE 
 **********

 FCN=   6112.374     FROM HESSE     STATUS=OK           413 CALLS     3192 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64767        1.3408        .14773E-02   -1.5547    
   2  Prefactor     .10000E-03    11.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.9243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.3245        .87857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.251        10.139        .93739E-04   -1.4853    
   7  Prefactor     8.6433        11.645        .13634E-03   -1.5120    
   8  Prefactor     .10003E-03    15.537        .80652E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.3158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.8011        39.114        .31180E-03   -1.5440    
  11  Prefactor     23.437        13.652        .82733E-04   -1.4739    
  12  Prefactor     54.550        29.958        .54338E-04   -1.4229    
  13  Prefactor     35.380        15.566        .67367E-04   -1.4518    
  14  Prefactor     .10000E-03    27.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.3458        5.9687        .74004E-03   -1.5166    
  16  norm          4.4833        3.4666        .11991E-03   -1.5284    
  17  Prefactor     33.967        90.815        .68573E-04   -1.4542    
  18  norm          3.4980        1.6164        .63622E-04   -1.5334    
  19  Prefactor     21.176        26.170        .87209E-04   -1.4787    
  20  norm          .10000E-03    1.8653        .15966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.0498        13.964        .20073E-03   -1.5305    
  22  norm          6.2732        10.763        .16020E-03   -1.5207    
  23  Normalizat    .45177        .25179        .41333E-03   -1.1471    
  24  Prefactor     1.0245        .14331        .17183E-03   -.91916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15257e-10
Minuit parameter uncertainties:
  1  1.34086
  2  4.9367e-06
  3  4.16067e-06
  4  9.88538e-07
  5  1.85424e-07
  6  10.1401
  7  11.6478
  8  0.00128023
  9  6.5399e-06
  10  16.7988
  11  13.6541
  12  29.9664
  13  15.5674
  14  1.8611e-06
  15  5.96918
  16  3.46674
  17  91.188
  18  1.61644
  19  26.184
  20  8.31425e-06
  21  13.9756
  22  10.7667
  23  0.252426
  24  0.143359
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  3.538e+01  1.557e+01  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.025e+00  1.434e-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:  4.518e-01  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.33
Ra Dec: 334.823 -3.710
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.63e-07 +/- 7.16e-08
Energy Flux (Fixed Index): 3.98e-05 +/- 1.75e-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) = 6112.09669259
delta logL = 0.277642439251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6112.09551891
delta logL = 0.278816118708

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.951       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3612       1.0000          .0000       10.000    
     3 'Normalizat'    .49192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0064       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.

 FCN=   6112.096     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      263 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.941        54.110        .15854E-02    .10350E-03
   2  Index         2.3612        1.1584        .15739        .22934E-04
   3  Normalizat    .49175        .23384        .89633E-01    .16285E-03
   4  Prefactor     1.0064        .14156        .43911E-01    .25487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.9413
  Index      = 2.36119
  Normalizat = 0.491754
  Prefactor  = 1.00645
 **********
 **   18 **HESSE 
 **********

 FCN=   6112.096     FROM HESSE     STATUS=OK            31 CALLS      294 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.941        16.908        .63416E-04   -1.4443    
   2  Index         2.3612        .40552        .61948E-02   -.55596    
   3  Normalizat    .49175        .23650        .39711E-03   -1.1280    
   4  Prefactor     1.0064        .14245        .17312E-03   -.92515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04976e-11
Minuit parameter uncertainties:
  1  16.9102
  2  0.406134
  3  0.236979
  4  0.142507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484280': 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) = 6112.0955179
delta logL = 0.278817124788

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  3.994e+01  1.691e+01  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  2.361e+00  4.061e-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.006e+00  1.425e-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:  4.918e-01  2.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.86
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 2.36 +/- 0.41
Photon Flux (Free Index): 1.35e-07 +/- 7.02e-08
Energy Flux (Free Index): 4.67e-05 +/- 2.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/484280/cmap_HighResolution_677894401_678153601_4FGL_J2219.2-0342_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.63e-07', energy_flux2='4.67e-05', photon_flux_error='7.16e-08', dlogl='2.79e-01', energy_flux='3.98e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2022-06-29 05:06:29.710722', photon_index_error2='0.41', photon_index2='2.36', ts='9.33', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.32e-05', EG='0.45', time_epoch_completed='1656504389.71', return_code='0', job_id='484280', GAL2='1.01', EG2='0.49', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='7.02e-08', ts2='9.86', photon_index='2.68' WHERE bin_id='1692' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 05:06:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 484280: <4FGL_J2219.2-0342_daily_bin1692> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1692> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jun 29 04:50:24 2022
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:54:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:54:36 2022
Terminated at Wed Jun 29 05:06:30 2022
Results reported at Wed Jun 29 05:06:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1692 334.823 -3.7102 677894401 678153601 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 :                                   594.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            966 sec.

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

