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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1732
RA = 334.823, Dec = -3.7102
tmin = 688262401, tmax = 688521601
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='647626', job_status='RUN', time_executed='2022-10-27 00:37:51.500659', time_epoch_executed='1666856271.5' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647626

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647626/ft1_4FGL_J2219.2-0342_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647626/ft2_4FGL_J2219.2-0342_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647626/ft1_4FGL_J2219.2-0342_daily_bin1732.fits outfile=/scratch/kocevski/647626/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1732.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=688262401.0 tmax=688521601.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.50
user 3.28
sys 0.21

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

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

Number of photons that the gtmktime cut: 484

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647626/ft1_filtered_4FGL_J2219.2-0342_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647626/ft2_4FGL_J2219.2-0342_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647626/ltcube_688262401_688521601_4FGL_J2219.2-0342_daily_bin1732.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/647626/ft2_4FGL_J2219.2-0342_daily_bin1732.fits
.....................!
real 12.15
user 11.76
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647626/ft1_filtered_4FGL_J2219.2-0342_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647626/ft2_4FGL_J2219.2-0342_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647626/ltcube_688262401_688521601_4FGL_J2219.2-0342_daily_bin1732.fits outfile=/scratch/kocevski/647626/expmap_688262401_688521601_4FGL_J2219.2-0342_daily_bin1732.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/647626/ltcube_688262401_688521601_4FGL_J2219.2-0342_daily_bin1732.fits
.....................!
real 192.15
user 186.38
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/647626/ft1_filtered_4FGL_J2219.2-0342_daily_bin1732.fits scfile=/scratch/kocevski/647626/ft2_4FGL_J2219.2-0342_daily_bin1732.fits outfile=/scratch/kocevski/647626/cmap_688262401_688521601_4FGL_J2219.2-0342_daily_bin1732.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=334.823 yref=-3.7102 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647626/ft1_filtered_4FGL_J2219.2-0342_daily_bin1732.fits scfile=/scratch/kocevski/647626/ft2_4FGL_J2219.2-0342_daily_bin1732.fits outfile=/scratch/kocevski/647626/cmap_HighResolution_688262401_688521601_4FGL_J2219.2-0342_daily_bin1732.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9417       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20062E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    40.661       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.5874       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45986E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.234       1.0000          .0000       .10000E+07
     7 'Prefactor '    .40194E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .18249E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.4540       1.0000          .0000       .10000E+07
    10 'Prefactor '    .20894E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17935E-03   1.0000          .0000       .10000E+07
    12 'norm      '    4.8120       1.0000          .0000       .10000E+07
    13 'Prefactor '    37.900       1.0000          .0000       .10000E+07
    14 'norm      '    5.7153       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11266       1.0000          .0000       .10000E+07
    16 'norm      '    .86108       1.0000          .0000       .10000E+07
    17 'norm      '    .30941E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0077       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .80806       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=   5519.150     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1379 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9426        2.0166        .22183E-06    .11957E-02
   2  Prefactor     .41891E-05    23.055        .71158E-06** at limit **
   3  Prefactor     40.627        1.2403       -.16412E-07    .89539E-01
   4  Prefactor     4.6232        7.7195       -.57631E-06   -.39945E-02
   5  Prefactor     .16653E-09    3.0065        .30809E-06** at limit **
   6  Prefactor     10.237        2.5516       -.12301E-06    .17222E-01
   7  Prefactor      .0000        8.4200        .51648E-06** at limit **
   8  Prefactor     .27756E-09    5.0498        .39108E-06** at limit **
   9  Prefactor     5.4648        1.7219       -.80011E-07    .43607E-01
  10  Prefactor     .11102E-08    13.111        .32301E-07** at limit **
  11  Prefactor     .55511E-10    2.9474       -.10066E-07** at limit **
  12  norm          4.8121        4.4988       -.21273E-06    .32116E-03
  13  Prefactor     37.880        1.0298       -.50602E-08    .41252E-01
  14  norm          5.7166        1.8317       -.13512E-06   -.20980E-02
  15  Prefactor     .99032E-07    31.662       -.10387E-05** at limit **
  16  norm          .86602        1.1449        .12441E-06    .14014E-02
  17  norm          .60529E-05    20.250        .72626E-06** at limit **
  18  Normalizat    1.0077        .25703        .29921E-04    .57889E-04
  19  Prefactor     .80801        .14994       -.10155E-04    .10998E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.9426
  Prefactor  = 4.18915e-06
  Prefactor  = 40.6265
  Prefactor  = 4.62323
  Prefactor  = 1.66533e-10
  Prefactor  = 10.2371
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 5.46477
  Prefactor  = 1.11022e-09
  Prefactor  = 5.55112e-11
  norm       = 4.81214
  Prefactor  = 37.8805
  norm       = 5.71656
  Prefactor  = 9.90319e-08
  norm       = 0.866019
  norm       = 6.05294e-06
  Normalizat = 1.00769
  Prefactor  = 0.808011
 **********
 **   18 **HESSE 
 **********

 FCN=   5519.150     FROM HESSE     STATUS=OK           306 CALLS     1685 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9426        2.0124        .59192E-03   -1.5674    
   2  Prefactor     .41891E-05    41.746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.627        45.782        .15684E-03   -1.5580    
   4  Prefactor     4.6232        8.0124        .46973E-03   -1.5665    
   5  Prefactor     .16653E-09    3.0246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.237        9.0153        .31297E-03   -1.5644    
   7  Prefactor      .0000        8.4067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    5.0719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.4648        11.874        .43002E-03   -1.5661    
  10  Prefactor     .11102E-08    13.108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    2.9638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8121        4.6155        .45838E-03   -1.5664    
  13  Prefactor     37.880        106.47        .16245E-03   -1.5585    
  14  norm          5.7166        1.8340        .41992E-03   -1.5660    
  15  Prefactor     .99032E-07    33.490        .13601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .86602        1.1641        .48489E-03   -1.5689    
  17  norm          .60529E-05    44.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0077        .22066        .46264E-01   -.92773    
  19  Prefactor     .80801        .12662        .43822E-01   -.99434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24255e-06
Minuit parameter uncertainties:
  1  2.01238
  2  0.0264486
  3  45.7819
  4  8.01239
  5  4.64919e-05
  6  9.01535
  7  1.5009e-05
  8  7.70188e-05
  9  11.8741
  10  0.000243254
  11  3.09072e-05
  12  4.61547
  13  106.473
  14  1.83404
  15  0.0036421
  16  1.16412
  17  0.0328922
  18  0.220856
  19  0.126666
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.110e-09  2.433e-04  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.080e-01  1.267e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  1.008e+00  2.209e-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.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647626/likelihoodResults_688262401_688521601_4FGL_J2219.2-0342_daily_bin1732.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) = 5519.18824175
delta logL = -0.0379580640838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5518.95165637
delta logL = 0.198627315713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42895       1.0000          .0000       .10000E+07
     2 'Index     '    5.2615       1.0000          .0000       10.000    
     3 'Normalizat'    .94581       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83053       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=   5518.952     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      224 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42716        14.000        .86206E-03    .11084E-01
   2  Index         5.2636        7.3131        .20165        .63167E-04
   3  Normalizat    .94576        .42663E-01    .67577E-01   -.38771E-04
   4  Prefactor     .83055        .25300E-01    .44113E-01   -.36639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.42716
  Index      = 5.26357
  Normalizat = 0.945761
  Prefactor  = 0.830546
 **********
 **   18 **HESSE 
 **********

 FCN=   5518.952     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      257 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42716        51.221        .73108E-05   -1.5695    
   2  Index         5.2636        5.7755        .10877E-01    .52739E-01
   3  Normalizat    .94576        .21606        .29894E-03   -.94870    
   4  Prefactor     .83055        .12169        .18710E-03   -.98612    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.97248e-07
Minuit parameter uncertainties:
  1  9.35521
  2  14.6491
  3  0.216261
  4  0.121728
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647626': 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): 102
logL (Free Index) = 5518.95165575
delta logL = 0.198627926959

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  4.272e-01  9.355e+00  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  5.264e+00  1.465e+01  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.305e-01  1.217e-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.458e-01  2.163e-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/647626/cmap_HighResolution_688262401_688521601_4FGL_J2219.2-0342_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2022-10-27 00:45:56.019220', job_id='647626', GAL2='0.83', fit_tolerance='1e-08', EG2='0.95', EG='1.01', time_epoch_completed='1666856756.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.99e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1732' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:45:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 647626: <4FGL_J2219.2-0342_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:41 2022
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:42 2022
Terminated at Thu Oct 27 00:45:56 2022
Results reported at Thu Oct 27 00:45:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1732 334.823 -3.7102 688262401 688521601 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 :                                   487.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             280.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            615 sec.

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

