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


Performing analysis on: 4FGL_J2219.2+1806_daily_bin1734
RA = 334.813, Dec = 18.1026
tmin = 688780801, tmax = 689040001
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='776448', job_status='RUN', time_executed='2022-11-02 00:38:56.958263', time_epoch_executed='1667374736.96' WHERE source_name='4FGL J2219.2+1806' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776448

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776448/ft1_4FGL_J2219.2+1806_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776448/ft1_4FGL_J2219.2+1806_daily_bin1734.fits outfile=/scratch/kocevski/776448/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1734.fits ra=334.813 dec=18.1026 rad=12.0 tmin=688780801.0 tmax=689040001.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.54
user 3.30
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.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/776448/ft1_filteredMKT_4FGL_J2219.2+1806_daily_bin1734.fits evtable="EVENTS" outfile="/scratch/kocevski/776448/ft1_filtered_4FGL_J2219.2+1806_daily_bin1734.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 986

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776448/ft1_filtered_4FGL_J2219.2+1806_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776448/ltcube_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.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/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.fits
.....................!
real 11.89
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776448/ft1_filtered_4FGL_J2219.2+1806_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776448/ltcube_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.fits outfile=/scratch/kocevski/776448/expmap_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.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/776448/ltcube_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.fits
.....................!
real 190.39
user 185.65
sys 4.39

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J2219.2+1806 @ 334.813 18.1026

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/776448/ft1_filtered_4FGL_J2219.2+1806_daily_bin1734.fits scfile=/scratch/kocevski/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.fits outfile=/scratch/kocevski/776448/cmap_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.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.813 yref=18.1026 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776448/ft1_filtered_4FGL_J2219.2+1806_daily_bin1734.fits scfile=/scratch/kocevski/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.fits outfile=/scratch/kocevski/776448/cmap_HighResolution_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.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.813 yref=18.1026 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776448/ft1_filtered_4FGL_J2219.2+1806_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776448/Model_4FGL_J2219.2+1806_daily_bin1734.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/776448/ft1_filtered_4FGL_J2219.2+1806_daily_bin1734.fits.....................!
real 106.14
user 104.71
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776448/ft1_filtered_4FGL_J2219.2+1806_daily_bin1734.fits', '/scratch/kocevski/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.fits', expMap='/scratch/kocevski/776448/expmap_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.fits', expCube='/scratch/kocevski/776448/ltcube_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776448/Model_4FGL_J2219.2+1806_daily_bin1734.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2219.2+1806'

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  3.275e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        alpha:  2.178e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.363e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/776448/ft1_filtered_4FGL_J2219.2+1806_daily_bin1734.fits
Spacecraft file(s): /scratch/kocevski/776448/ft2_4FGL_J2219.2+1806_daily_bin1734.fits
Exposure map: /scratch/kocevski/776448/expmap_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.fits
Exposure cube: /scratch/kocevski/776448/ltcube_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776448/Model_4FGL_J2219.2+1806_daily_bin1734.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) = 10444.5326773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49681E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .75505E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .24425E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    87.945       1.0000          .0000       .10000E+07
     5 'Prefactor '    45.705       1.0000          .0000       .10000E+07
     6 'norm      '    1.4175       1.0000          .0000       .10000E+07
     7 'Prefactor '    34.199       1.0000          .0000       .10000E+07
     8 'norm      '    3.5349       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19381E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    16.275       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1418       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.5641       1.0000         .10000E-03   10000.    
    13 'norm      '    .25683       1.0000          .0000       .10000E+07
    14 'norm      '    4.4929       1.0000          .0000       .10000E+07
    15 'Prefactor '    .88566E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    8.7046       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2241       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .83969       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0766       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10444.39     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1502 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10769E-06    36.492        .16819E-05** at limit **
   2  norm          .10536E-06    7.8125        .55167E-06** at limit **
   3  norm           .0000        1.0392        .15851E-06** at limit **
   4  Prefactor     90.368        37.849       -.10941E-06   -.33049E-01
   5  Prefactor     46.599        8.4329       -.14528E-06    .13480    
   6  norm          1.4106        1.0294       -.27026E-07   -.11824E-02
   7  Prefactor     33.509        18.892        .46196E-06   -.31862E-02
   8  norm          3.5269        5.5519       -.60521E-06   -.29992E-03
   9  Prefactor     .20539E-08    4.9998        .49132E-06** at limit **
  10  Prefactor     16.142        15.725        .64862E-06    .17759E-01
  11  Prefactor     1.1420        .25999        .10413E-06   -.11680E-03
  12  Prefactor     6.5964        6.0487        .40165E-06    .17735E-04
  13  norm          .25986        1.3601       -.36968E-07   -.34275E-03
  14  norm          4.4996        2.3532        .33663E-07   -.34371E-03
  15  Prefactor     .88818E-09    10.106       -.30473E-06** at limit **
  16  Prefactor     8.6311        14.071        .45288E-07    .58042E-02
  17  Prefactor     4.2248        .34484        .23449E-06   -.49750E-03
  18  Normalizat    .83969        .30234       -.22635E-04    .74695E-05
  19  Prefactor     1.0761        .14122        .17157E-05   -.10305E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07692e-07
  norm       = 1.0536e-07
  norm       = 0
  Prefactor  = 90.3676
  Prefactor  = 46.5988
  norm       = 1.41056
  Prefactor  = 33.5093
  norm       = 3.52694
  Prefactor  = 2.05391e-09
  Prefactor  = 16.1418
  Prefactor  = 1.14197
  Prefactor  = 6.59643
  norm       = 0.259858
  norm       = 4.49955
  Prefactor  = 8.88178e-10
  Prefactor  = 8.63114
  Prefactor  = 4.22482
  Normalizat = 0.839692
  Prefactor  = 1.07611
 **********
 **   18 **HESSE 
 **********

 FCN=   10444.39     FROM HESSE     STATUS=OK           322 CALLS     1824 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10769E-06    37.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10536E-06    1.8840        .47156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.0356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     90.368        41.172        .10664E-03   -1.5518    
   5  Prefactor     46.599        37.212        .14793E-03   -1.5571    
   6  norm          1.4106        1.0397        .90869E-03   -1.5684    
   7  Prefactor     33.509        21.340        .17102E-03   -1.5592    
   8  norm          3.5269        5.5716        .53739E-03   -1.5670    
   9  Prefactor     .20539E-08    5.2038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.142        15.842        .24800E-03   -1.5628    
  11  Prefactor     1.1420        .26003        .53238E-02   -1.5494    
  12  Prefactor     6.5964        6.0409        .39159E-02   -1.5194    
  13  norm          .25986        .84195        .29497E-02   -1.5718    
  14  norm          4.4996        2.3514        .47477E-03   -1.5666    
  15  Prefactor     .88818E-09    10.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.6311        14.101        .33951E-03   -1.5649    
  17  Prefactor     4.2248        .34434        .36819E-02   -1.5297    
  18  Normalizat    .83969        .26823        .10866       -.98613    
  19  Prefactor     1.0761        .12434        .38552E-01   -.90234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75977e-07
Minuit parameter uncertainties:
  1  0.00400074
  2  0.000891142
  3  5.53017e-06
  4  41.1723
  5  37.2119
  6  1.03974
  7  21.3398
  8  5.57161
  9  0.000206002
  10  15.8417
  11  0.260032
  12  6.04146
  13  0.84195
  14  2.35135
  15  0.000191767
  16  14.1015
  17  0.34434
  18  0.268654
  19  0.124376
Done.

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

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  3.527e+00  5.572e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        alpha:  2.178e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
264         beta:  8.363e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.076e+00  1.244e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  8.397e-01  2.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.55
Ra Dec: 334.813 18.103
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776448/likelihoodResults_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.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) = 10444.3886648
delta logL = 0.00434977648183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10444.3880989
delta logL = 0.00491561025592

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7189       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0819       1.0000          .0000       5.0000    
     3 'Normalizat'    .84204       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0751       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10444.39     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      229 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7152        358.84        .52340E-03    .41483E-02
   2  alpha         2.0811        3.7455        .41903        .70139E-05
   3  Normalizat    .84199        .11071        .10853        .70118E-04
   4  Prefactor     1.0751        .63937E-01    .38621E-01    .98805E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.71522
  alpha      = 2.08112
  Normalizat = 0.841991
  Prefactor  = 1.07512
 **********
 **   18 **HESSE 
 **********

 FCN=   10444.39     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7152        6.0660        .20936E-04   -1.5669    
   2  alpha         2.0811        .95038        .30634E-01   -.16835    
   3  Normalizat    .84199        .28055        .48118E-03   -.98530    
   4  Prefactor     1.0751        .13995        .21290E-03   -.90266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55565e-10
Minuit parameter uncertainties:
  1  6.06605
  2  0.975659
  3  0.281034
  4  0.139999
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776448': 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) = 10444.3880982
delta logL = 0.00491635680737

Extracting fit parameters...

4FGL J2219.2+1806
   Spectrum: LogParabola
262         norm:  3.715e+00  6.066e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        alpha:  2.081e+00  9.757e-01  0.000e+00  5.000e+00 ( 1.000e+00)
264         beta:  8.363e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
265           Eb:  7.797e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.075e+00  1.400e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  8.420e-01  2.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
Ra Dec: 334.813 18.103

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/776448/cmap_HighResolution_688780801_689040001_4FGL_J2219.2+1806_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-05', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2022-11-02 00:50:12.760729', job_id='776448', GAL2='1.08', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1667375412.76', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.92e-03', ts2='0.55', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1734' AND source_name='4FGL J2219.2+1806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:50:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 776448: <4FGL_J2219.2+1806_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2219.2+1806_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:25 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:26 2022
Terminated at Wed Nov  2 00:50:13 2022
Results reported at Wed Nov  2 00:50:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2+1806_daily_bin1734 334.813 18.1026 688780801 689040001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2219.2+1806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   678.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            888 sec.

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

