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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1730
RA = 334.823, Dec = -3.7102
tmin = 687744001, tmax = 688003201
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='469105', job_status='RUN', time_executed='2022-10-21 00:37:15.005906', time_epoch_executed='1666337835.01' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469105

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469105/ft1_4FGL_J2219.2-0342_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469105/ft2_4FGL_J2219.2-0342_daily_bin1730.fits


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

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

Done.
real 4.96
user 4.72
sys 0.22

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

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

Number of photons that the gtmktime cut: 462

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469105/ft1_filtered_4FGL_J2219.2-0342_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/469105/ft2_4FGL_J2219.2-0342_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/469105/ltcube_687744001_688003201_4FGL_J2219.2-0342_daily_bin1730.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/469105/ft2_4FGL_J2219.2-0342_daily_bin1730.fits
.....................!
real 11.69
user 11.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469105/ft1_filtered_4FGL_J2219.2-0342_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469105/ft2_4FGL_J2219.2-0342_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469105/ltcube_687744001_688003201_4FGL_J2219.2-0342_daily_bin1730.fits outfile=/scratch/kocevski/469105/expmap_687744001_688003201_4FGL_J2219.2-0342_daily_bin1730.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/469105/ltcube_687744001_688003201_4FGL_J2219.2-0342_daily_bin1730.fits
.....................!
real 190.29
user 184.73
sys 5.23

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/469105/ft1_filtered_4FGL_J2219.2-0342_daily_bin1730.fits scfile=/scratch/kocevski/469105/ft2_4FGL_J2219.2-0342_daily_bin1730.fits outfile=/scratch/kocevski/469105/cmap_687744001_688003201_4FGL_J2219.2-0342_daily_bin1730.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469105/ft1_filtered_4FGL_J2219.2-0342_daily_bin1730.fits scfile=/scratch/kocevski/469105/ft2_4FGL_J2219.2-0342_daily_bin1730.fits outfile=/scratch/kocevski/469105/cmap_HighResolution_687744001_688003201_4FGL_J2219.2-0342_daily_bin1730.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469105/ft1_filtered_4FGL_J2219.2-0342_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469105/ft2_4FGL_J2219.2-0342_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469105/Model_4FGL_J2219.2-0342_daily_bin1730.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/469105/ft1_filtered_4FGL_J2219.2-0342_daily_bin1730.fits.....................!
real 51.95
user 50.52
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1567       1.0000          .0000       .10000E+07
     2 'Prefactor '    .41618E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2027       1.0000          .0000       .10000E+07
     4 'Prefactor '    .56972E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .54416E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.6978       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.067       1.0000          .0000       .10000E+07
     8 'Prefactor '    8.1955       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22257E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27002       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.8590       1.0000          .0000       .10000E+07
    12 'norm      '    4.3230       1.0000          .0000       .10000E+07
    13 'Prefactor '    59.750       1.0000          .0000       .10000E+07
    14 'norm      '    3.6509       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.265       1.0000          .0000       .10000E+07
    16 'norm      '    .26368E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .13049E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .97069       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90794       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=   5086.448     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1442 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1539        2.4613       -.44787E-08    .87308E-02
   2  Prefactor     .11358E-06    9.8944       -.29372E-05** at limit **
   3  Prefactor     2.4077        23.362        .11269E-04   -.55666E-01
   4  Prefactor     .26706E-06    10.621        .46441E-05** at limit **
   5  Prefactor     .73275E-08    8.0927       -.11312E-05** at limit **
   6  Prefactor     2.6689        8.2159        .25301E-06    .45371E-03
   7  Prefactor     23.708        22.311       -.10630E-05   -.10095E-01
   8  Prefactor     7.7523        14.778        .62967E-06    .19420E-01
   9  Prefactor     .31974E-07    15.226        .19949E-05** at limit **
  10  Prefactor     .15179E-05    12.310        .82393E-07** at limit **
  11  Prefactor     4.9373        4.8751       -.11346E-06   -.86759E-03
  12  norm          4.3531        3.7444       -.15050E-06   -.11678E-01
  13  Prefactor     55.059        81.685       -.31246E-05    .25312E-01
  14  norm          3.6586        1.6685        .72070E-08    .26405E-02
  15  Prefactor     13.435        20.504       -.72294E-05   -.69851E-01
  16  norm          .55511E-10    1.3857       -.17556E-07** at limit **
  17  norm          .31530E-07    11.892       -.72867E-06** at limit **
  18  Normalizat    .97495        .28751        .72369E-05    .37362E-04
  19  Prefactor     .90663        .17080       -.45523E-06    .30621E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.15387
  Prefactor  = 1.13576e-07
  Prefactor  = 2.40769
  Prefactor  = 2.67064e-07
  Prefactor  = 7.32747e-09
  Prefactor  = 2.66894
  Prefactor  = 23.7083
  Prefactor  = 7.75233
  Prefactor  = 3.19744e-08
  Prefactor  = 1.5179e-06
  Prefactor  = 4.9373
  norm       = 4.35305
  Prefactor  = 55.0595
  norm       = 3.65864
  Prefactor  = 13.4353
  norm       = 5.55112e-11
  norm       = 3.15303e-08
  Normalizat = 0.974953
  Prefactor  = 0.90663
 **********
 **   18 **HESSE 
 **********

 FCN=   5086.448     FROM HESSE     STATUS=OK           312 CALLS     1754 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1539        2.4606        .49413E-03   -1.5667    
   2  Prefactor     .11358E-06    10.135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.4077        289.70        .56590E-03   -1.5677    
   4  Prefactor     .26706E-06    11.513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .73275E-08    8.0370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6689        8.3451        .61997E-03   -1.5675    
   7  Prefactor     23.708        24.806        .20826E-03   -1.5611    
   8  Prefactor     7.7523        20.216        .34997E-03   -1.5652    
   9  Prefactor     .31974E-07    15.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .15179E-05    10.348        .10643E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.9373        5.1184        .45610E-03   -1.5664    
  12  norm          4.3531        3.7552        .48425E-03   -1.5666    
  13  Prefactor     55.059        82.029        .12938E-03   -1.5560    
  14  norm          3.6586        1.6708        .52844E-03   -1.5670    
  15  Prefactor     13.435        21.729        .26493E-03   -1.5635    
  16  norm          .55511E-10    1.3912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .31530E-07    12.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .97495        .24230        .68637E-01   -.93874    
  19  Prefactor     .90663        .13987        .45106E-01   -.95910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96684e-06
Minuit parameter uncertainties:
  1  2.46063
  2  0.00214561
  3  52.8236
  4  0.00350684
  5  0.000485619
  6  8.34515
  7  24.8061
  8  20.2163
  9  0.00139828
  10  0.00792632
  11  5.11838
  12  3.75517
  13  82.0306
  14  1.67076
  15  21.7296
  16  1.61407e-05
  17  0.00124524
  18  0.24257
  19  0.139926
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.518e-06  7.926e-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:  9.066e-01  1.399e-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:  9.750e-01  2.426e-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: 1.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469105/likelihoodResults_687744001_688003201_4FGL_J2219.2-0342_daily_bin1730.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) = 5086.45591328
delta logL = -0.00771400735721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5086.42795896
delta logL = 0.0202403047097

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0823       1.0000          .0000       .10000E+07
     2 'Index     '    3.7594       1.0000          .0000       10.000    
     3 'Normalizat'    .95506       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91293       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5086.428     FROM MIGRAD    STATUS=FAILED        86 CALLS      360 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0814        25.867        .32577E-04   -.72972E-02
   2  Index         3.7595        6.8679        .10422E-01   -.24870E-03
   3  Normalizat    .95490        .29712        .30647E-03   -.10878E-02
   4  Prefactor     .91307        .17308        .18813E-03   -.11804E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5086.428     FROM SIMPLEX   STATUS=UNCHANGED     82 CALLS      442 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0814        25.867        .38771E-04   -1.5687    
   2  Index         3.7595        6.8679        .33525E-02   -.25071    
   3  Normalizat    .95490        .29712        .41634E-03   -.94557    
   4  Prefactor     .91307        .17308        .28402E-03   -.95686    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5086.428     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      469 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0802        14.363        .13031E-05   -.10394E-01
   2  Index         3.7603        3.8233        .41686E-03   -.66124E-04
   3  Normalizat    .95491        .29772        .61294E-04   -.53681E-03
   4  Prefactor     .91307        .17335        .37626E-04   -.57324E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08021
  Index      = 3.76034
  Normalizat = 0.954909
  Prefactor  = 0.91307
 **********
 **   18 **HESSE 
 **********

 FCN=   5086.428     FROM HESSE     STATUS=OK            23 CALLS      492 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0802        14.192        .37401E-06   -1.5687    
   2  Index         3.7603        3.8070        .83372E-04   -.25055    
   3  Normalizat    .95491        .29782        .12259E-04   -.94557    
   4  Prefactor     .91307        .17340        .75252E-05   -.95686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53175e-09
Minuit parameter uncertainties:
  1  7.83088
  2  4.37985
  3  0.298342
  4  0.173509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469105': 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) = 5086.42795856
delta logL = 0.0202407083607

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.080e+00  7.831e+00  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  3.760e+00  4.380e+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:  9.131e-01  1.735e-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:  9.549e-01  2.983e-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/469105/cmap_HighResolution_687744001_688003201_4FGL_J2219.2-0342_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', job_status='DONE', photon_flux_upper_limit='1.53e-07', time_completed='2022-10-21 00:45:27.106966', job_id='469105', GAL2='0.91', fit_tolerance='1e-08', EG2='0.95', EG='0.97', time_epoch_completed='1666338327.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.02e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1730' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:45:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 469105: <4FGL_J2219.2-0342_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:22 2022
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:24 2022
Terminated at Fri Oct 21 00:45:27 2022
Results reported at Fri Oct 21 00:45:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1730 334.823 -3.7102 687744001 688003201 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 :                                   495.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             284.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            605 sec.

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

