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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1721
RA = 334.823, Dec = -3.7102
tmin = 685411201, tmax = 685670401
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='70647', job_status='RUN', time_executed='2022-09-24 01:13:59.534605', time_epoch_executed='1664007239.53' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70647/ft1_4FGL_J2219.2-0342_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70647/ft2_4FGL_J2219.2-0342_daily_bin1721.fits


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

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

Done.
real 5.22
user 4.91
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70647/ft1_filtered_4FGL_J2219.2-0342_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/70647/ft2_4FGL_J2219.2-0342_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/70647/ltcube_685411201_685670401_4FGL_J2219.2-0342_daily_bin1721.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/70647/ft2_4FGL_J2219.2-0342_daily_bin1721.fits
.....................!
real 13.55
user 13.12
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70647/ft1_filtered_4FGL_J2219.2-0342_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70647/ft2_4FGL_J2219.2-0342_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70647/ltcube_685411201_685670401_4FGL_J2219.2-0342_daily_bin1721.fits outfile=/scratch/kocevski/70647/expmap_685411201_685670401_4FGL_J2219.2-0342_daily_bin1721.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/70647/ltcube_685411201_685670401_4FGL_J2219.2-0342_daily_bin1721.fits
.....................!
real 191.77
user 186.35
sys 5.02

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/70647/ft1_filtered_4FGL_J2219.2-0342_daily_bin1721.fits scfile=/scratch/kocevski/70647/ft2_4FGL_J2219.2-0342_daily_bin1721.fits outfile=/scratch/kocevski/70647/cmap_685411201_685670401_4FGL_J2219.2-0342_daily_bin1721.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=334.823 yref=-3.7102 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70647/ft1_filtered_4FGL_J2219.2-0342_daily_bin1721.fits scfile=/scratch/kocevski/70647/ft2_4FGL_J2219.2-0342_daily_bin1721.fits outfile=/scratch/kocevski/70647/cmap_HighResolution_685411201_685670401_4FGL_J2219.2-0342_daily_bin1721.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/70647/ft1_filtered_4FGL_J2219.2-0342_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70647/ft2_4FGL_J2219.2-0342_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/70647/Model_4FGL_J2219.2-0342_daily_bin1721.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/70647/ft1_filtered_4FGL_J2219.2-0342_daily_bin1721.fits.....................!
real 67.23
user 65.83
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97403       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.497       1.0000          .0000       .10000E+07
     3 'Prefactor '    .67096E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11456E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36410E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18724E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    18.355       1.0000          .0000       .10000E+07
     8 'Prefactor '    .55388E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.6639       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.4970       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34426E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .54993E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    29.772       1.0000          .0000       .10000E+07
    14 'norm      '    .73951       1.0000          .0000       .10000E+07
    15 'Prefactor '    51.086       1.0000          .0000       .10000E+07
    16 'norm      '    .32505E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .46005E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    .88053       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .88448       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=   7324.386     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1447 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97647        1.7083        .42153E-07    .43750E-03
   2  Prefactor     28.281        16.186       -.24733E-07   -.17569    
   3  Prefactor     .51681E-07    18.090       -.32771E-06** at limit **
   4  Prefactor     .55511E-10    1.3448       -.95443E-07** at limit **
   5  Prefactor     .32196E-08    3.5502        .13765E-06** at limit **
   6  Prefactor     .72164E-08    8.9260        .40442E-06** at limit **
   7  Prefactor     18.397        3.1285       -.35516E-07   -.31540E-01
   8  Prefactor     .44409E-09    4.4105       -.14576E-06** at limit **
   9  Prefactor     9.6784        2.9124       -.63319E-08   -.12145    
  10  Prefactor     5.5199        7.4195       -.39777E-07   -.10481E-01
  11  Prefactor     .27200E-08    3.7878        .62969E-07** at limit **
  12  norm           .0000        2.5342       -.29999E-06** at limit **
  13  Prefactor     29.425        44.383       -.54784E-07    .70105E-01
  14  norm          .73823        .71345        .27349E-07    .29753E-02
  15  Prefactor     51.414        17.418       -.14674E-06    .32155E-01
  16  norm          .77161E-08    4.5127       -.16495E-06** at limit **
  17  norm          .29976E-08    8.3308       -.36568E-07** at limit **
  18  Normalizat    .88007        .20140        .75624E-05    .82701E-04
  19  Prefactor     .88466        .12515       -.44486E-05   -.74348E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.97647
  Prefactor  = 28.2815
  Prefactor  = 5.16809e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 3.21965e-09
  Prefactor  = 7.21645e-09
  Prefactor  = 18.3969
  Prefactor  = 4.44089e-10
  Prefactor  = 9.67837
  Prefactor  = 5.51989
  Prefactor  = 2.72005e-09
  norm       = 0
  Prefactor  = 29.4246
  norm       = 0.738228
  Prefactor  = 51.4142
  norm       = 7.71605e-09
  norm       = 2.9976e-09
  Normalizat = 0.880066
  Prefactor  = 0.88466
 **********
 **   18 **HESSE 
 **********

 FCN=   7324.386     FROM HESSE     STATUS=OK           310 CALLS     1757 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97647        1.7307        .42844E-03   -1.5688    
   2  Prefactor     28.281        29.916        .18736E-03   -1.5602    
   3  Prefactor     .51681E-07    18.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    1.3459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .32196E-08    3.5632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72164E-08    9.3343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.397        13.145        .23350E-03   -1.5622    
   8  Prefactor     .44409E-09    4.4102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.6784        8.6711        .32211E-03   -1.5646    
  10  Prefactor     5.5199        7.5004        .42831E-03   -1.5661    
  11  Prefactor     .27200E-08    3.7701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.4990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     29.425        51.696        .18330E-03   -1.5599    
  14  norm          .73823        .72163        .57557E-03   -1.5691    
  15  Prefactor     51.414        22.976        .13992E-03   -1.5565    
  16  norm          .77161E-08    1.5967        .28705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .29976E-08    8.6968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .88007        .17213        .64622E-01   -.97164    
  19  Prefactor     .88466        .10537        .44807E-01   -.96679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54874e-06
Minuit parameter uncertainties:
  1  1.73072
  2  29.9165
  3  0.0019371
  4  1.66221e-05
  5  0.000214182
  6  0.000519486
  7  13.1454
  8  8.84206e-05
  9  8.67111
  10  7.50044
  11  0.000202808
  12  4.98031e-06
  13  51.6967
  14  0.721626
  15  22.976
  16  0.000221817
  17  0.000324069
  18  0.172237
  19  0.105394
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  5.520e+00  7.500e+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:  8.847e-01  1.054e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  8.801e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/70647/likelihoodResults_685411201_685670401_4FGL_J2219.2-0342_daily_bin1721.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) = 7324.38071566
delta logL = 0.00494256314141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7324.37962682
delta logL = 0.00603140333988

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8130       1.0000          .0000       .10000E+07
     2 'Index     '    2.5177       1.0000          .0000       10.000    
     3 'Normalizat'    .88477       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88257       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=   7324.380     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      223 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8130        208.61        .41632E-03   -.49105E-02
   2  Index         2.5178        6.2468        .42357       -.71523E-04
   3  Normalizat    .88476        .46585E-01    .64465E-01   -.15772E-03
   4  Prefactor     .88258        .27346E-01    .44782E-01   -.52385E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.81305
  Index      = 2.51775
  Normalizat = 0.884762
  Prefactor  = 0.882581
 **********
 **   18 **HESSE 
 **********

 FCN=   7324.380     FROM HESSE     STATUS=OK            31 CALLS      254 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8130        8.1081        .16653E-04   -1.5660    
   2  Index         2.5178        1.3970        .10646E-01   -.51950    
   3  Normalizat    .88476        .20197        .28515E-03   -.96998    
   4  Prefactor     .88258        .12597        .17950E-03   -.96752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.23704e-10
Minuit parameter uncertainties:
  1  8.10814
  2  1.42236
  3  0.202142
  4  0.126012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70647': 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) = 7324.37962681
delta logL = 0.00603141426745

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  5.813e+00  8.108e+00  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  2.518e+00  1.422e+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.826e-01  1.260e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  8.848e-01  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.68
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/70647/cmap_HighResolution_685411201_685670401_4FGL_J2219.2-0342_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.06e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2022-09-24 01:23:29.891882', job_id='70647', GAL2='0.88', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1664007809.89', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='6.03e-03', ts2='0.69', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1721' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:23:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 70647: <4FGL_J2219.2-0342_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1721> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep 24 01:10:37 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:12:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 01:12:54 2022
Terminated at Sat Sep 24 01:23:30 2022
Results reported at Sat Sep 24 01:23:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1721 334.823 -3.7102 685411201 685670401 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 :                                   571.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   636 sec.
    Turnaround time :                            773 sec.

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

