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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1743
RA = 334.823, Dec = -3.7102
tmin = 691113601, tmax = 691372801
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='462819', job_status='RUN', time_executed='2022-11-29 01:10:54.555762', time_epoch_executed='1669713054.56' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462819

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462819/ft1_4FGL_J2219.2-0342_daily_bin1743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462819/ft2_4FGL_J2219.2-0342_daily_bin1743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462819/ft1_4FGL_J2219.2-0342_daily_bin1743.fits outfile=/scratch/kocevski/462819/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1743.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=691113601.0 tmax=691372801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.77
user 2.49
sys 0.23

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

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

Number of photons that the gtmktime cut: 792

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462819/ft1_filtered_4FGL_J2219.2-0342_daily_bin1743.fits" evtable="EVENTS" scfile=/scratch/kocevski/462819/ft2_4FGL_J2219.2-0342_daily_bin1743.fits sctable="SC_DATA" outfile=/scratch/kocevski/462819/ltcube_691113601_691372801_4FGL_J2219.2-0342_daily_bin1743.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/462819/ft2_4FGL_J2219.2-0342_daily_bin1743.fits
.....................!
real 15.65
user 14.71
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462819/ft1_filtered_4FGL_J2219.2-0342_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462819/ft2_4FGL_J2219.2-0342_daily_bin1743.fits sctable="SC_DATA" expcube=/scratch/kocevski/462819/ltcube_691113601_691372801_4FGL_J2219.2-0342_daily_bin1743.fits outfile=/scratch/kocevski/462819/expmap_691113601_691372801_4FGL_J2219.2-0342_daily_bin1743.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/462819/ltcube_691113601_691372801_4FGL_J2219.2-0342_daily_bin1743.fits
.....................!
real 192.12
user 186.08
sys 5.13

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/462819/ft1_filtered_4FGL_J2219.2-0342_daily_bin1743.fits scfile=/scratch/kocevski/462819/ft2_4FGL_J2219.2-0342_daily_bin1743.fits outfile=/scratch/kocevski/462819/cmap_691113601_691372801_4FGL_J2219.2-0342_daily_bin1743.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.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2703       1.0000          .0000       .10000E+07
     2 'Prefactor '    .65963E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    47.208       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.7107       1.0000          .0000       .10000E+07
     5 'Prefactor '    14.310       1.0000          .0000       .10000E+07
     6 'Prefactor '    .69422E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32253E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .35785E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.830       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9606       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16750E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .78543E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .57559E-03   1.0000          .0000       .10000E+07
    14 'norm      '    7.5575       1.0000          .0000       .10000E+07
    15 'Prefactor '    .79847E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .66352E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .14178E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0763       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90027       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=   8506.823     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1504 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2705        1.9066       -.95535E-07    .78673E-03
   2  Prefactor     .13440E-05    4.6053        .21656E-06** at limit **
   3  Prefactor     46.595        51.231       -.34926E-06    .29541E-01
   4  Prefactor     1.7695        7.1714        .17772E-06   -.11791E-03
   5  Prefactor     14.302        6.5676        .15895E-06   -.10446E-02
   6  Prefactor     .66669E-06    5.0020        .30827E-06** at limit **
   7  Prefactor     .36455E-05    7.6195        .32325E-06** at limit **
   8  Prefactor     .16653E-09    6.1915        .26146E-06** at limit **
   9  Prefactor     11.877        10.365       -.43092E-07    .77583E-02
  10  Prefactor     3.8567        7.9358        .18294E-06    .60571E-03
  11  Prefactor     .11102E-09    5.2544        .11497E-06** at limit **
  12  norm          .11102E-09    3.9525       -.14091E-07** at limit **
  13  Prefactor     .17282E-05    23.631       -.12244E-05** at limit **
  14  norm          7.5567        1.5448        .74022E-08    .24834E-03
  15  Prefactor     .38401E-05    10.331       -.78605E-08** at limit **
  16  norm          .66613E-09    8.0778        .47582E-06** at limit **
  17  norm          .10613E-04    10.788       -.38241E-06** at limit **
  18  Normalizat    1.0767        .21415        .42260E-05    .95825E-05
  19  Prefactor     .90021        .12779       -.12497E-05    .10263E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.27045
  Prefactor  = 1.34404e-06
  Prefactor  = 46.595
  Prefactor  = 1.76955
  Prefactor  = 14.3017
  Prefactor  = 6.66689e-07
  Prefactor  = 3.64547e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 11.8768
  Prefactor  = 3.85668
  Prefactor  = 1.11022e-10
  norm       = 1.11022e-10
  Prefactor  = 1.72823e-06
  norm       = 7.55665
  Prefactor  = 3.84009e-06
  norm       = 6.66134e-10
  norm       = 1.06129e-05
  Normalizat = 1.07673
  Prefactor  = 0.900208
 **********
 **   18 **HESSE 
 **********

 FCN=   8506.823     FROM HESSE     STATUS=OK           310 CALLS     1814 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2705        1.9196        .68133E-03   -1.5678    
   2  Prefactor     .13440E-05    15.492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     46.595        54.659        .14555E-03   -1.5571    
   4  Prefactor     1.7695        7.8470        .80340E-03   -1.5681    
   5  Prefactor     14.302        6.5626        .26452E-03   -1.5632    
   6  Prefactor     .66669E-06    16.493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .36455E-05    15.697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    6.1973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.877        10.352        .29101E-03   -1.5639    
  10  Prefactor     3.8567        7.9540        .50660E-03   -1.5669    
  11  Prefactor     .11102E-09    5.1494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11102E-09    3.8520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .17282E-05    25.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.5567        1.5479        .36456E-03   -1.5653    
  15  Prefactor     .38401E-05    19.042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .66613E-09    .74820        .28735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10613E-04    21.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0767        .17951        .66278E-01   -.90503    
  19  Prefactor     .90021        .10679        .45008E-01   -.96134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06238e-06
Minuit parameter uncertainties:
  1  1.91959
  2  0.00912629
  3  54.6597
  4  7.45271
  5  6.56257
  6  0.006632
  7  0.0151292
  8  5.96159e-05
  9  10.3525
  10  7.95404
  11  4.92166e-05
  12  4.44055e-05
  13  0.0132338
  14  1.5479
  15  0.0171022
  16  4.45195e-05
  17  0.0303394
  18  0.179613
  19  0.106816
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  3.857e+00  7.954e+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

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  9.002e-01  1.068e-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.077e+00  1.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.28
Ra Dec: 334.823 -3.710
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/462819/likelihoodResults_691113601_691372801_4FGL_J2219.2-0342_daily_bin1743.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8506.80424612
delta logL = 0.0182640163875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8506.8023237
delta logL = 0.0201864376249

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3265       1.0000          .0000       .10000E+07
     2 'Index     '    2.4384       1.0000          .0000       10.000    
     3 'Normalizat'    1.0809       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89821       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8506.802     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      268 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3196        8.5103        .96810E-04    .17432E-02
   2  Index         2.4344        1.1563        .12924E-01   -.55173E-05
   3  Normalizat    1.0808        .20857        .29270E-03   -.63699E-04
   4  Prefactor     .89827        .12743        .19403E-03   -.96910E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.31963
  Index      = 2.43442
  Normalizat = 1.08081
  Prefactor  = 0.898271
 **********
 **   18 **HESSE 
 **********

 FCN=   8506.802     FROM HESSE     STATUS=OK            27 CALLS      295 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3196        8.4746        .19362E-04   -1.5666    
   2  Index         2.4344        1.1520        .51695E-03   -.53881    
   3  Normalizat    1.0808        .20876        .11708E-04   -.90370    
   4  Prefactor     .89827        .12752        .77614E-05   -.96202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.90735e-12
Minuit parameter uncertainties:
  1  8.47459
  2  1.16633
  3  0.208924
  4  0.127564
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462819': 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) = 8506.80231678
delta logL = 0.0201933566441

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  4.320e+00  8.475e+00  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  2.434e+00  1.166e+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:  8.983e-01  1.276e-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.081e+00  2.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/462819/cmap_HighResolution_691113601_691372801_4FGL_J2219.2-0342_daily_bin1743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.07e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2022-11-29 01:21:33.436741', job_id='462819', GAL2='0.90', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1669713693.44', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.02e-02', ts2='0.32', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1743' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov 29 01:21:33 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 462819: <4FGL_J2219.2-0342_daily_bin1743> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1743> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov 29 01:05:40 2022
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 01:10:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 01:10:43 2022
Terminated at Tue Nov 29 01:21:34 2022
Results reported at Tue Nov 29 01:21:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1743 334.823 -3.7102 691113601 691372801 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 :                                   639.09 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             304.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            954 sec.

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

