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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1765
RA = 334.823, Dec = -3.7102
tmin = 696816001, tmax = 697075201
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='648330', job_status='RUN', time_executed='2023-02-03 01:48:08.505035', time_epoch_executed='1675417688.51' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/648330

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/648330/ft1_4FGL_J2219.2-0342_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/648330/ft2_4FGL_J2219.2-0342_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/648330/ft1_4FGL_J2219.2-0342_daily_bin1765.fits outfile=/scratch/kocevski/648330/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1765.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=696816001.0 tmax=697075201.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.71
user 3.45
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/648330/ft2_4FGL_J2219.2-0342_daily_bin1765.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/648330/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/648330/ft1_filtered_4FGL_J2219.2-0342_daily_bin1765.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.53
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 534

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/648330/ft1_filtered_4FGL_J2219.2-0342_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/648330/ft2_4FGL_J2219.2-0342_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/648330/ltcube_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.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/648330/ft2_4FGL_J2219.2-0342_daily_bin1765.fits
.....................!
real 16.13
user 15.62
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/648330/ft1_filtered_4FGL_J2219.2-0342_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/648330/ft2_4FGL_J2219.2-0342_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/648330/ltcube_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.fits outfile=/scratch/kocevski/648330/expmap_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.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/648330/ltcube_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.fits
.....................!
real 193.29
user 187.10
sys 5.27

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/648330/ft1_filtered_4FGL_J2219.2-0342_daily_bin1765.fits scfile=/scratch/kocevski/648330/ft2_4FGL_J2219.2-0342_daily_bin1765.fits outfile=/scratch/kocevski/648330/cmap_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/648330/ft1_filtered_4FGL_J2219.2-0342_daily_bin1765.fits scfile=/scratch/kocevski/648330/ft2_4FGL_J2219.2-0342_daily_bin1765.fits outfile=/scratch/kocevski/648330/cmap_HighResolution_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/648330/ft1_filtered_4FGL_J2219.2-0342_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/648330/ft2_4FGL_J2219.2-0342_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/648330/Model_4FGL_J2219.2-0342_daily_bin1765.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/648330/ft1_filtered_4FGL_J2219.2-0342_daily_bin1765.fits.....................!
real 58.56
user 57.10
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/648330/ft1_filtered_4FGL_J2219.2-0342_daily_bin1765.fits', '/scratch/kocevski/648330/ft2_4FGL_J2219.2-0342_daily_bin1765.fits', expMap='/scratch/kocevski/648330/expmap_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.fits', expCube='/scratch/kocevski/648330/ltcube_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/648330/Model_4FGL_J2219.2-0342_daily_bin1765.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  0.000e+00  1.000e+06 ( 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/648330/ft1_filtered_4FGL_J2219.2-0342_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/648330/ft2_4FGL_J2219.2-0342_daily_bin1765.fits
Exposure map: /scratch/kocevski/648330/expmap_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.fits
Exposure cube: /scratch/kocevski/648330/ltcube_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/648330/Model_4FGL_J2219.2-0342_daily_bin1765.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) = 5987.44233219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9568       1.0000          .0000       .10000E+07
     2 'Prefactor '    .24637E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10469E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.9268       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.602       1.0000          .0000       .10000E+07
     6 'Prefactor '    .27251E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.3382       1.0000          .0000       .10000E+07
     8 'Prefactor '    .28055E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.564       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28332E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .84930E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .42744E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .94955E-01   1.0000          .0000       .10000E+07
    14 'norm      '    2.5338       1.0000          .0000       .10000E+07
    15 'Prefactor '    19.443       1.0000          .0000       .10000E+07
    16 'norm      '    .33875E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .34304E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .46314       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.4269       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=   5987.423     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1374 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9562        2.5816        .23016E-06    .14164E-02
   2  Prefactor     .40568E-06    4.2264       -.36327E-06** at limit **
   3  Prefactor     .17630E-06    21.855        .46900E-05** at limit **
   4  Prefactor     6.9345        6.4391        .15205E-05    .29944E-02
   5  Prefactor     11.610        1.4136       -.88726E-08    .38212E-01
   6  Prefactor     .82712E-08    5.0091        .42644E-05** at limit **
   7  Prefactor     4.3430        1.5525       -.89694E-06    .42623E-02
   8  Prefactor     .25907E-06    5.1474        .27868E-05** at limit **
   9  Prefactor     11.492        1.9976        .10200E-05   -.55840E-01
  10  Prefactor     .43299E-07    6.1193       -.78173E-05** at limit **
  11  Prefactor     .11102E-09    1.8740        .84495E-06** at limit **
  12  norm           .0000        .96780       -.46765E-06** at limit **
  13  Prefactor     .11546E-07    31.961        .10205E-04** at limit **
  14  norm          2.5320        1.4336        .88745E-07   -.14837E-01
  15  Prefactor     19.629        4.3390       -.10823E-05    .83395E-01
  16  norm          .55511E-10    2.0403        .54141E-06** at limit **
  17  norm          .12212E-08    3.9981       -.19040E-05** at limit **
  18  Normalizat    .46323        .26404        .56444E-04   -.17336E-03
  19  Prefactor     1.4268        .16968       -.22861E-04   -.50301E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.95616
  Prefactor  = 4.05675e-07
  Prefactor  = 1.76303e-07
  Prefactor  = 6.9345
  Prefactor  = 11.6102
  Prefactor  = 8.27116e-09
  Prefactor  = 4.34298
  Prefactor  = 2.59071e-07
  Prefactor  = 11.4919
  Prefactor  = 4.32987e-08
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 1.15463e-08
  norm       = 2.53196
  Prefactor  = 19.6291
  norm       = 5.55112e-11
  norm       = 1.22125e-09
  Normalizat = 0.463233
  Prefactor  = 1.42683
 **********
 **   18 **HESSE 
 **********

 FCN=   5987.423     FROM HESSE     STATUS=OK           304 CALLS     1678 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9562        2.5987        .74137E-03   -1.5680    
   2  Prefactor     .40568E-06    8.9040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .17630E-06    22.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.9345        6.4493        .38096E-03   -1.5655    
   5  Prefactor     11.610        8.7765        .29385E-03   -1.5640    
   6  Prefactor     .82712E-08    5.0784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3430        13.823        .48338E-03   -1.5666    
   8  Prefactor     .25907E-06    9.2910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.492        16.707        .29434E-03   -1.5640    
  10  Prefactor     .43299E-07    6.3351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    1.8721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .96803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11546E-07    32.187        .14067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.5320        1.4531        .64138E-03   -1.5676    
  15  Prefactor     19.629        21.681        .22687E-03   -1.5619    
  16  norm          .55511E-10    2.0321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .12212E-08    4.0002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .46323        .26699        .10397       -1.1415    
  19  Prefactor     1.4268        .16486        .30700E-01   -.79610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45354e-07
Minuit parameter uncertainties:
  1  2.59871
  2  0.00380104
  3  0.00399696
  4  6.44929
  5  8.77649
  6  0.000409587
  7  13.8228
  8  0.00310289
  9  16.7072
  10  0.00104731
  11  2.773e-05
  12  5.32352e-06
  13  0.00121848
  14  1.45312
  15  21.6809
  16  2.2615e-05
  17  0.000139666
  18  0.267728
  19  0.164921
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  4.330e-08  1.047e-03  0.000e+00  1.000e+06 ( 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.427e+00  1.649e-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.632e-01  2.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 334.823 -3.710
Photon Flux Upper Limit: 9.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/648330/likelihoodResults_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.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): 102
logL (Free Index) = 5987.42273772
delta logL = -0.000232107539887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5987.42250852
delta logL = -2.91259857477e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12518E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.2184       1.0000          .0000       10.000    
     3 'Normalizat'    .46273       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4270       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5987.423     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      251 TOTAL
                     EDM=   .50E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7367        .42118E-03** at limit **
   2  Index         4.0928        1.6494        .31474E-04     .0000    
   3  Normalizat    .46323        .79094       -.41402E-05    .13419E-04
   4  Prefactor     1.4268        1.0569        .17080E-05    .24131E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.09278
  Normalizat = 0.463233
  Prefactor  = 1.42683
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5987.423     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .50E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8079        2.3375        .31474E-04   -.18245    
   3  Normalizat    .46323        .79094       -.41402E-05   -1.1415    
   4  Prefactor     1.4268        1.0569        .17080E-05   -.79610    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.99051e-13
Minuit parameter uncertainties:
  1  1.46213e-06
  2  1.68206
  3  0.811377
  4  1.07368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/648330': 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): 101
logL (Free Index) = 5987.42250561
delta logL = 3.47972672898e-09

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  0.000e+00  1.462e-06  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  4.093e+00  1.682e+00  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.427e+00  1.074e+00  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.632e-01  8.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 334.823 -3.710

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/648330/cmap_HighResolution_696816001_697075201_4FGL_J2219.2-0342_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.55e-03', job_status='DONE', photon_flux_upper_limit='9.60e-08', time_completed='2023-02-03 01:56:44.446665', job_id='648330', GAL2='1.43', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1675418204.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.43', dlogl='3.48e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1765' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:56:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 648330: <4FGL_J2219.2-0342_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 01:45:14 2023
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:46:03 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:46:03 2023
Terminated at Fri Feb  3 01:56:45 2023
Results reported at Fri Feb  3 01:56:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1765 334.823 -3.7102 696816001 697075201 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 :                                   517.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             282.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            691 sec.

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

