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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1671
RA = 334.823, Dec = -3.7102
tmin = 672451201, tmax = 672710401
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='43740', job_status='RUN', time_executed='2022-04-27 01:08:20.353381', time_epoch_executed='1651046900.35' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43740

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43740/ft1_4FGL_J2219.2-0342_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43740/ft2_4FGL_J2219.2-0342_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43740/ft1_4FGL_J2219.2-0342_daily_bin1671.fits outfile=/scratch/kocevski/43740/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1671.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=672451201.0 tmax=672710401.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.07
user 2.74
sys 0.19

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

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

Number of photons that the gtmktime cut: 1018

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43740/ft1_filtered_4FGL_J2219.2-0342_daily_bin1671.fits" evtable="EVENTS" scfile=/scratch/kocevski/43740/ft2_4FGL_J2219.2-0342_daily_bin1671.fits sctable="SC_DATA" outfile=/scratch/kocevski/43740/ltcube_672451201_672710401_4FGL_J2219.2-0342_daily_bin1671.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/43740/ft2_4FGL_J2219.2-0342_daily_bin1671.fits
.....................!
real 12.70
user 12.31
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43740/ft1_filtered_4FGL_J2219.2-0342_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43740/ft2_4FGL_J2219.2-0342_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/43740/ltcube_672451201_672710401_4FGL_J2219.2-0342_daily_bin1671.fits outfile=/scratch/kocevski/43740/expmap_672451201_672710401_4FGL_J2219.2-0342_daily_bin1671.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/43740/ltcube_672451201_672710401_4FGL_J2219.2-0342_daily_bin1671.fits
.....................!
real 192.06
user 186.38
sys 5.26

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/43740/ft1_filtered_4FGL_J2219.2-0342_daily_bin1671.fits scfile=/scratch/kocevski/43740/ft2_4FGL_J2219.2-0342_daily_bin1671.fits outfile=/scratch/kocevski/43740/cmap_672451201_672710401_4FGL_J2219.2-0342_daily_bin1671.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43740/ft1_filtered_4FGL_J2219.2-0342_daily_bin1671.fits scfile=/scratch/kocevski/43740/ft2_4FGL_J2219.2-0342_daily_bin1671.fits outfile=/scratch/kocevski/43740/cmap_HighResolution_672451201_672710401_4FGL_J2219.2-0342_daily_bin1671.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/43740/ft1_filtered_4FGL_J2219.2-0342_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43740/ft2_4FGL_J2219.2-0342_daily_bin1671.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/43740/Model_4FGL_J2219.2-0342_daily_bin1671.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/43740/ft1_filtered_4FGL_J2219.2-0342_daily_bin1671.fits.....................!
real 99.11
user 95.42
sys 1.50

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    46.924       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.585       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11672E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7927       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.217       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.6253       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6230       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.9110       1.0000         .10000E-03   10000.    
    16 'norm      '    .14930       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12979E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.1395       1.0000         .10000E-03   10000.    
    19 'Prefactor '    55.008       1.0000         .10000E-03   10000.    
    20 'norm      '    .32082E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10677E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    46.523       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1938       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .76708       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=   10769.85     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2803 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1337        .40032E-06** at limit **
   2  Prefactor     46.898        27.484       -.16069E-04   -.28549E-04
   3  Prefactor     .10000E-03    18.067        .95257E-05** at limit **
   4  Prefactor     37.593        33.945        .78333E-05   -.10828E-04
   5  Prefactor     .10000E-03    1.8329       -.12633E-06** at limit **
   6  Prefactor     .10000E-03    3.3358       -.33433E-06** at limit **
   7  Prefactor     .10000E-03    3.2253       -.37014E-05** at limit **
   8  Prefactor     .10000E-03    31.089        .11382E-04** at limit **
   9  Prefactor     4.7913        6.1127       -.13917E-06   -.10284E-03
  10  Prefactor     .10000E-03    3.2432        .39962E-05** at limit **
  11  Prefactor     35.216        10.734       -.16719E-06    .13027E-03
  12  Prefactor     6.6189        21.441       -.64852E-05   -.67164E-04
  13  Prefactor     7.6228        5.3434       -.29383E-06   -.52167E-04
  14  Prefactor     .10000E-03    21.447       -.19771E-04** at limit **
  15  Prefactor     3.9111        2.6285       -.83086E-07   -.13079E-03
  16  norm          .13577        .84102       -.62554E-06    .65213E-03
  17  Prefactor     .10000E-03    49.093       -.73948E-05** at limit **
  18  norm          7.1397        1.3837       -.36715E-07    .53471E-03
  19  Prefactor     55.011        23.876        .39870E-06    .12580E-03
  20  norm          .10001E-03    .71724       -.77647E-07** at limit **
  21  Prefactor     .10008E-03    5.5245        .84281E-06** at limit **
  22  norm          46.511        14.255       -.10310E-06    .18169E-04
  23  Normalizat    1.1939        .16378        .10063E-05    .41959E-04
  24  Prefactor     .76714        .95209E-01    .54937E-06    .50294E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 46.8977
  Prefactor  = 0.0001
  Prefactor  = 37.5929
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.79131
  Prefactor  = 0.0001
  Prefactor  = 35.2159
  Prefactor  = 6.61892
  Prefactor  = 7.62279
  Prefactor  = 0.0001
  Prefactor  = 3.91107
  norm       = 0.135768
  Prefactor  = 0.0001
  norm       = 7.13967
  Prefactor  = 55.0109
  norm       = 0.000100009
  Prefactor  = 0.000100079
  norm       = 46.5113
  Normalizat = 1.19389
  Prefactor  = 0.767142
 **********
 **   18 **HESSE 
 **********

 FCN=   10769.85     FROM HESSE     STATUS=OK           405 CALLS     3208 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1886        .21578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.898        27.516        .58534E-04   -1.4337    
   3  Prefactor     .10000E-03    18.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.593        33.919        .65374E-04   -1.4481    
   5  Prefactor     .10000E-03    1.8382        .13711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.4789        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.2393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    31.862        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.7913        6.1083        .18377E-03   -1.5270    
  10  Prefactor     .10000E-03    3.2465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.216        10.766        .67530E-04   -1.4520    
  12  Prefactor     6.6189        21.472        .15590E-03   -1.5193    
  13  Prefactor     7.6228        5.3381        .14525E-03   -1.5156    
  14  Prefactor     .10000E-03    21.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9111        2.6217        .13129E-03   -1.5312    
  16  norm          .13577        6.8915        .18098E-02   -1.5634    
  17  Prefactor     .10000E-03    49.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.1397        1.3839        .51134E-04   -1.5174    
  19  Prefactor     55.011        19.960        .54084E-04   -1.4223    
  20  norm          .10001E-03    7.0069        .14019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10008E-03    29.992        .47005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          46.511        14.299        .58785E-04   -1.4343    
  23  Normalizat    1.1939        .19396        .28354E-03   -.86792    
  24  Prefactor     .76714        .11282        .20874E-03   -1.0095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.97154e-09
Minuit parameter uncertainties:
  1  4.44635e-05
  2  27.5236
  3  2.30461e-05
  4  33.9364
  5  1.4618e-05
  6  9.04592e-06
  7  9.27439e-06
  8  0.000204824
  9  6.10907
  10  1.20164e-06
  11  10.7667
  12  21.4967
  13  5.33842
  14  4.0531e-06
  15  2.62179
  16  1.93409
  17  2.46989e-06
  18  1.38388
  19  19.9626
  20  0.000515596
  21  0.00308501
  22  14.3001
  23  0.19408
  24  0.112855
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  7.623e+00  5.338e+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:  7.671e-01  1.129e-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:  1.194e+00  1.941e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.00
Ra Dec: 334.823 -3.710
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 3.51e-08 +/- 2.46e-08
Energy Flux (Fixed Index): 8.57e-06 +/- 6.00e-06

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) = 10767.691901
delta logL = 2.15685957461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10767.5012898
delta logL = 2.34747080765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.593       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7494       1.0000          .0000       10.000    
     3 'Normalizat'    1.2209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75089       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=   10767.50     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      218 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.593        6.6243        .29415E-02    .24212E-02
   2  Index         1.7494        .28005        .19259       -.96534E-04
   3  Normalizat    1.2208        .15596        .63462E-01    .16280E-04
   4  Prefactor     .75090        .94646E-01    .43075E-01    .19967E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.5926
  Index      = 1.74937
  Normalizat = 1.22084
  Prefactor  = 0.750901
 **********
 **   18 **HESSE 
 **********

 FCN=   10767.50     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.593        6.9159        .11766E-03   -1.5027    
   2  Index         1.7494        .33814        .73745E-02   -.70775    
   3  Normalizat    1.2208        .18397        .28072E-03   -.85961    
   4  Prefactor     .75090        .11168        .21048E-03   -1.0156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53757e-09
Minuit parameter uncertainties:
  1  6.9164
  2  0.338585
  3  0.184067
  4  0.111713
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43740': 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) = 10767.5012898
delta logL = 2.34747081262

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.159e+01  6.916e+00  1.000e-04  1.000e+04 ( 1.000e-12)
257        Index:  1.749e+00  3.386e-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:  7.509e-01  1.117e-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:  1.221e+00  1.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.75
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 1.75 +/- 0.34
Photon Flux (Free Index): 2.62e-08 +/- 1.68e-08
Energy Flux (Free Index): 3.67e-05 +/- 3.44e-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/43740/cmap_HighResolution_672451201_672710401_4FGL_J2219.2-0342_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.51e-08', energy_flux2='3.67e-05', photon_flux_error='2.46e-08', dlogl='2.35e+00', energy_flux='8.57e-06', photon_flux2='2.62e-08', job_status='DONE', time_completed='2022-04-27 01:22:07.316370', photon_index_error2='0.34', photon_index2='1.75', ts='4.00', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='3.44e-05', EG='1.19', time_epoch_completed='1651047727.32', return_code='0', job_id='43740', GAL2='0.75', EG2='1.22', return_code2='0', energy_flux_error='6.00e-06', photon_flux_error2='1.68e-08', ts2='8.75', photon_index='2.68' WHERE bin_id='1671' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:22:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 43740: <4FGL_J2219.2-0342_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1671> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr 27 01:05:33 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:05:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:05:34 2022
Terminated at Wed Apr 27 01:22:08 2022
Results reported at Wed Apr 27 01:22:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1671 334.823 -3.7102 672451201 672710401 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 :                                   821.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

