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 62 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-0342_daily_bin1734
RA = 334.823, Dec = -3.7102
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='776449', job_status='RUN', time_executed='2022-11-02 00:36:38.336392', time_epoch_executed='1667374598.34' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776449

Creating custom pfile directory:
/scratch/kocevski/776449/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/776449/ft1_4FGL_J2219.2-0342_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/776449/ft2_4FGL_J2219.2-0342_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776449/ft1_4FGL_J2219.2-0342_daily_bin1734.fits outfile=/scratch/kocevski/776449/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1734.fits ra=334.823 dec=-3.7102 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.53
user 3.32
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776449/ft2_4FGL_J2219.2-0342_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/776449/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1734.fits evtable="EVENTS" outfile="/scratch/kocevski/776449/ft1_filtered_4FGL_J2219.2-0342_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.31
sys 0.17

Number of photons that the gtmktime cut: 632

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776449/ft1_filtered_4FGL_J2219.2-0342_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776449/ft2_4FGL_J2219.2-0342_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776449/ltcube_688780801_689040001_4FGL_J2219.2-0342_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/776449/ft2_4FGL_J2219.2-0342_daily_bin1734.fits
.....................!
real 12.10
user 11.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776449/ft1_filtered_4FGL_J2219.2-0342_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776449/ft2_4FGL_J2219.2-0342_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776449/ltcube_688780801_689040001_4FGL_J2219.2-0342_daily_bin1734.fits outfile=/scratch/kocevski/776449/expmap_688780801_689040001_4FGL_J2219.2-0342_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/776449/ltcube_688780801_689040001_4FGL_J2219.2-0342_daily_bin1734.fits
.....................!
real 190.70
user 184.95
sys 5.44

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/776449/ft1_filtered_4FGL_J2219.2-0342_daily_bin1734.fits scfile=/scratch/kocevski/776449/ft2_4FGL_J2219.2-0342_daily_bin1734.fits outfile=/scratch/kocevski/776449/cmap_688780801_689040001_4FGL_J2219.2-0342_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.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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776449/ft1_filtered_4FGL_J2219.2-0342_daily_bin1734.fits scfile=/scratch/kocevski/776449/ft2_4FGL_J2219.2-0342_daily_bin1734.fits outfile=/scratch/kocevski/776449/cmap_HighResolution_688780801_689040001_4FGL_J2219.2-0342_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.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776449/ft1_filtered_4FGL_J2219.2-0342_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776449/ft2_4FGL_J2219.2-0342_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776449/Model_4FGL_J2219.2-0342_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/776449/ft1_filtered_4FGL_J2219.2-0342_daily_bin1734.fits.....................!
real 66.75
user 65.46
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9276       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12964E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    38.938       1.0000          .0000       .10000E+07
     4 'Prefactor '    .37005E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.1767       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1459       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.931       1.0000          .0000       .10000E+07
     8 'Prefactor '    14.594       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.422       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.4203       1.0000          .0000       .10000E+07
    11 'Prefactor '    .27116E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.1169       1.0000          .0000       .10000E+07
    13 'Prefactor '    .30803E-01   1.0000          .0000       .10000E+07
    14 'norm      '    1.8568       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.306       1.0000          .0000       .10000E+07
    16 'norm      '    .89152E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .24894E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .76970       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1673       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=   7131.915     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1460 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9253        2.2958       -.11949E-07    .75009E-03
   2  Prefactor     .29976E-08    8.3886       -.46888E-06** at limit **
   3  Prefactor     38.266        63.452       -.81716E-06   -.12103E-03
   4  Prefactor     .18985E-07    13.092        .16714E-05** at limit **
   5  Prefactor     4.2450        5.7165       -.40879E-06    .30312E-02
   6  Prefactor     3.1413        9.7691        .42312E-07   -.23270E-03
   7  Prefactor     14.772        15.899        .34260E-06    .14262E-01
   8  Prefactor     14.927        22.775       -.60695E-06    .97499E-02
   9  Prefactor     11.362        10.802        .17563E-05    .43637E-02
  10  Prefactor     3.3362        12.732       -.13255E-05   -.17046E-02
  11  Prefactor      .0000        1.5069       -.63018E-07** at limit **
  12  norm          1.1015        2.4068       -.12156E-06    .19147E-02
  13  Prefactor     .35527E-08    87.047       -.17997E-05** at limit **
  14  norm          1.8582        1.0589       -.85603E-07    .11328E-01
  15  Prefactor     14.284        15.429        .51704E-07    .13952E-02
  16  norm           .0000        8.2458        .46287E-06** at limit **
  17  norm          .22093E-07    5.2901       -.13124E-06** at limit **
  18  Normalizat    .76999        .24806       -.33359E-05    .87365E-04
  19  Prefactor     1.1673        .14843        .16007E-05    .11690E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.92534
  Prefactor  = 2.9976e-09
  Prefactor  = 38.266
  Prefactor  = 1.89848e-08
  Prefactor  = 4.24499
  Prefactor  = 3.14128
  Prefactor  = 14.772
  Prefactor  = 14.9269
  Prefactor  = 11.3616
  Prefactor  = 3.33623
  Prefactor  = 0
  norm       = 1.10148
  Prefactor  = 3.55271e-09
  norm       = 1.85822
  Prefactor  = 14.2841
  norm       = 0
  norm       = 2.20934e-08
  Normalizat = 0.769989
  Prefactor  = 1.16732
 **********
 **   18 **HESSE 
 **********

 FCN=   7131.915     FROM HESSE     STATUS=OK           314 CALLS     1774 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9253        2.2968        .59344E-03   -1.5674    
   2  Prefactor     .29976E-08    13.461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     38.266        63.638        .16027E-03   -1.5584    
   4  Prefactor     .18985E-07    14.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.2450        5.7329        .49291E-03   -1.5667    
   6  Prefactor     3.1413        9.9314        .57126E-03   -1.5673    
   7  Prefactor     14.772        20.162        .25894E-03   -1.5631    
   8  Prefactor     14.927        24.544        .26192E-03   -1.5631    
   9  Prefactor     11.362        10.881        .29618E-03   -1.5641    
  10  Prefactor     3.3362        12.961        .54672E-03   -1.5671    
  11  Prefactor      .0000        1.5030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1015        2.4639        .11130E-02   -1.5687    
  13  Prefactor     .35527E-08    86.445        .16408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.8582        1.0581        .76458E-04   -1.5681    
  15  Prefactor     14.284        21.490        .26455E-03   -1.5632    
  16  norm           .0000        1.8129        .29411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .22093E-07    13.484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .76999        .21967        .81055E-01   -1.0119    
  19  Prefactor     1.1673        .12944        .35453E-01   -.87343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25118e-07
Minuit parameter uncertainties:
  1  2.29678
  2  0.000401161
  3  63.6388
  4  0.00104457
  5  5.73295
  6  9.93145
  7  20.1616
  8  24.5445
  9  10.8808
  10  12.9611
  11  4.06465e-06
  12  2.46386
  13  0.0011122
  14  1.05814
  15  21.4897
  16  8.29697e-06
  17  0.00109214
  18  0.219926
  19  0.129478
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  3.336e+00  1.296e+01  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  2.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.167e+00  1.295e-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:  7.700e-01  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 334.823 -3.710
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.12e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776449/likelihoodResults_688780801_689040001_4FGL_J2219.2-0342_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) = 7131.82272257
delta logL = 0.0925100241348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7131.46232944
delta logL = 0.452903153227

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52026E-03   1.0000          .0000       .10000E+07
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    .69741       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2017       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=   7131.462     FROM MIGRAD    STATUS=CONVERGED    372 CALLS      660 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51968E-03    .60465E-03    .42118E-04** at limit **
   2  Index        10.0000        1.7246        .50000    ** at limit **
   3  Normalizat    .69745        .22764        .84871E-01    .56168E-04
   4  Prefactor     1.2015        .13469        .34592E-01   -.18529E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000519675
  Index      = 10
  Normalizat = 0.697452
  Prefactor  = 1.20153
 **********
 **   18 **HESSE 
 **********

 FCN=   7131.462     FROM HESSE     STATUS=OK            37 CALLS      697 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51968E-03    .60403E-03    .20615E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        1.7642        .50000       -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .69745        .25764        .37588E-03   -13.606    
   4  Prefactor     1.2015        .15387        .18154E-03   -13.429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02863e-11
Minuit parameter uncertainties:
  1  0.000604027
  2  4.75301e-05
  3  0.258086
  4  0.153929
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776449': 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) = 7131.4623231
delta logL = 0.452909497147

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  5.197e-04  6.040e-04  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  1.000e+01  4.753e-05  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  5.061e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.202e+00  1.539e-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:  6.975e-01  2.581e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.57e-08 +/- 7.40e-08
Energy Flux (Free Index): 7.34e-06 +/- 8.32e-06

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/776449/cmap_HighResolution_688780801_689040001_4FGL_J2219.2-0342_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', comment='SUCCESS', energy_flux2='7.34e-06', dlogl='4.53e-01', photon_flux2='6.57e-08', job_status='DONE', time_completed='2022-11-02 00:46:11.735216', photon_index_error2='0.00', photon_index2='10.00', ts='0.07', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='8.32e-06', EG='0.77', time_epoch_completed='1667375171.74', return_code='0', job_id='776449', GAL2='1.20', EG2='0.70', return_code2='0', photon_flux_error2='7.40e-08', ts2='1.09', photon_index='2.68' WHERE bin_id='1734' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:46:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 776449: <4FGL_J2219.2-0342_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2219.2-0342_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) <bullet0279>, 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:46:12 2022
Results reported at Wed Nov  2 00:46:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1734 334.823 -3.7102 688780801 689040001 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 :                                   576.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            647 sec.

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

