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


Performing analysis on: 4FGL_J2219.2-0342_daily_bin1763
RA = 334.823, Dec = -3.7102
tmin = 696297601, tmax = 696556801
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='296557', job_status='RUN', time_executed='2023-01-28 01:49:38.349911', time_epoch_executed='1674899378.35' WHERE source_name='4FGL J2219.2-0342' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/296557

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/296557/ft1_4FGL_J2219.2-0342_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/296557/ft2_4FGL_J2219.2-0342_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/296557/ft1_4FGL_J2219.2-0342_daily_bin1763.fits outfile=/scratch/kocevski/296557/ft1_filteredMKT_4FGL_J2219.2-0342_daily_bin1763.fits ra=334.823 dec=-3.7102 rad=12.0 tmin=696297601.0 tmax=696556801.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.63
user 3.39
sys 0.21

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

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

Number of photons that the gtmktime cut: 519

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/296557/ft1_filtered_4FGL_J2219.2-0342_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/296557/ft2_4FGL_J2219.2-0342_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/296557/ltcube_696297601_696556801_4FGL_J2219.2-0342_daily_bin1763.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/296557/ft2_4FGL_J2219.2-0342_daily_bin1763.fits
.....................!
real 14.42
user 13.97
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/296557/ft1_filtered_4FGL_J2219.2-0342_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/296557/ft2_4FGL_J2219.2-0342_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/296557/ltcube_696297601_696556801_4FGL_J2219.2-0342_daily_bin1763.fits outfile=/scratch/kocevski/296557/expmap_696297601_696556801_4FGL_J2219.2-0342_daily_bin1763.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/296557/ltcube_696297601_696556801_4FGL_J2219.2-0342_daily_bin1763.fits
.....................!
real 191.92
user 184.50
sys 6.89

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/296557/ft1_filtered_4FGL_J2219.2-0342_daily_bin1763.fits scfile=/scratch/kocevski/296557/ft2_4FGL_J2219.2-0342_daily_bin1763.fits outfile=/scratch/kocevski/296557/cmap_696297601_696556801_4FGL_J2219.2-0342_daily_bin1763.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/296557/ft1_filtered_4FGL_J2219.2-0342_daily_bin1763.fits scfile=/scratch/kocevski/296557/ft2_4FGL_J2219.2-0342_daily_bin1763.fits outfile=/scratch/kocevski/296557/cmap_HighResolution_696297601_696556801_4FGL_J2219.2-0342_daily_bin1763.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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/296557/ft1_filtered_4FGL_J2219.2-0342_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/296557/ft2_4FGL_J2219.2-0342_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/296557/Model_4FGL_J2219.2-0342_daily_bin1763.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/296557/ft1_filtered_4FGL_J2219.2-0342_daily_bin1763.fits.....................!
real 58.24
user 56.87
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14261       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23856E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.263       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13726E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.7000       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9743       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.2524       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42642E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.265       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.651       1.0000          .0000       .10000E+07
    11 'Prefactor '    .85614       1.0000          .0000       .10000E+07
    12 'norm      '    2.6754       1.0000          .0000       .10000E+07
    13 'Prefactor '    55.386       1.0000          .0000       .10000E+07
    14 'norm      '    2.5227       1.0000          .0000       .10000E+07
    15 'Prefactor '    61.625       1.0000          .0000       .10000E+07
    16 'norm      '    .77366E-05   1.0000          .0000       .10000E+07
    17 'norm      '    16.188       1.0000          .0000       .10000E+07
    18 'Normalizat'    .37423       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3281       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=   5772.233     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1483 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13797        11.803        .97436E-06** at limit **
   2  Prefactor      .0000        54.197        .48750E-06** at limit **
   3  Prefactor     14.174        3.7561       -.50447E-06    .33004E-01
   4  Prefactor      .0000        5.2782        .75018E-06** at limit **
   5  Prefactor     8.7106        8.3176        .14856E-06    .14247E-02
   6  Prefactor     3.0345        7.6014        .39489E-08   -.39236E-03
   7  Prefactor     3.1013        15.805       -.34378E-05   -.11422E-02
   8  Prefactor     .27756E-09    23.200        .34829E-06** at limit **
   9  Prefactor     11.053        13.787        .12146E-05    .26102E-02
  10  Prefactor     13.592        12.889        .27627E-05    .43336E-02
  11  Prefactor     .87130        3.2161       -.56570E-06   -.40898E-03
  12  norm          2.6686        4.2263        .28533E-06    .79543E-03
  13  Prefactor     56.253        69.351        .11694E-05   -.22282E-02
  14  norm          2.5153        1.4839        .32485E-07   -.25011E-03
  15  Prefactor     62.522        28.628        .55807E-07    .50890E-03
  16  norm           .0000        1.9894       -.94931E-08** at limit **
  17  norm          16.308        9.4701       -.48226E-06   -.14825E-02
  18  Normalizat    .37384        .28387       -.21203E-04    .21038E-04
  19  Prefactor     1.3281        .17364        .32575E-05    .52049E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.137971
  Prefactor  = 0
  Prefactor  = 14.1739
  Prefactor  = 0
  Prefactor  = 8.71057
  Prefactor  = 3.03447
  Prefactor  = 3.10127
  Prefactor  = 2.77556e-10
  Prefactor  = 11.0526
  Prefactor  = 13.5923
  Prefactor  = 0.871302
  norm       = 2.66864
  Prefactor  = 56.2532
  norm       = 2.51533
  Prefactor  = 62.5221
  norm       = 0
  norm       = 16.3078
  Normalizat = 0.373841
  Prefactor  = 1.32809
 **********
 **   18 **HESSE 
 **********

 FCN=   5772.233     FROM HESSE     STATUS=OK           320 CALLS     1803 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13797        1.4971        .56189E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        52.987        .16795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.174        34.755        .26495E-03   -1.5633    
   4  Prefactor      .0000        5.2710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.7106        8.4407        .33960E-03   -1.5649    
   6  Prefactor     3.0345        7.6111        .58846E-03   -1.5673    
   7  Prefactor     3.1013        16.517        .56133E-03   -1.5673    
   8  Prefactor     .27756E-09    23.146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.053        15.336        .29824E-03   -1.5641    
  10  Prefactor     13.592        14.554        .27084E-03   -1.5634    
  11  Prefactor     .87130        3.2857        .48841E-03   -1.5689    
  12  norm          2.6686        4.2842        .62276E-03   -1.5675    
  13  Prefactor     56.253        69.537        .13438E-03   -1.5558    
  14  norm          2.5153        1.4909        .64290E-03   -1.5676    
  15  Prefactor     62.522        28.981        .12739E-03   -1.5550    
  16  norm           .0000        1.9857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          16.308        14.567        .24866E-03   -1.5627    
  18  Normalizat    .37384        .30473        .11092       -1.1868    
  19  Prefactor     1.3281        .17846        .32138E-01   -.82475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17418e-07
Minuit parameter uncertainties:
  1  0.908984
  2  4.08019e-05
  3  34.755
  4  4.72409e-06
  5  8.44075
  6  7.61111
  7  14.3144
  8  0.000155133
  9  15.3365
  10  14.5542
  11  3.28574
  12  4.28416
  13  69.5379
  14  1.4909
  15  28.9813
  16  6.27173e-06
  17  14.5674
  18  0.306089
  19  0.178538
Done.

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

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.359e+01  1.455e+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.328e+00  1.785e-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:  3.738e-01  3.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.22
Ra Dec: 334.823 -3.710
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 6.26e-08 +/- 6.70e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.64e-05

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

Saving results to:
/scratch/kocevski/296557/likelihoodResults_696297601_696556801_4FGL_J2219.2-0342_daily_bin1763.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) = 5772.22940274
delta logL = 0.00356754781296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5772.22747734
delta logL = 0.0054929515918

Fit tolerance = 1e-08

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

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

 FCN=   5772.227     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.630        17.571        .11261E-04    .27380E-02
   2  Index         2.7763        .98762        .90777E-02    .14888E-04
   3  Normalizat    .36972        .27388        .49398E-03    .64510E-04
   4  Prefactor     1.3305        .17324        .17207E-03    .15225E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6303
  Index      = 2.77627
  Normalizat = 0.369721
  Prefactor  = 1.33048
 **********
 **   18 **HESSE 
 **********

 FCN=   5772.227     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.630        16.440        .45043E-06   -1.5637    
   2  Index         2.7763        .92432        .36311E-03   -.46089    
   3  Normalizat    .36972        .27367        .19759E-04   -1.1890    
   4  Prefactor     1.3305        .17290        .34414E-04   -.82405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38822e-10
Minuit parameter uncertainties:
  1  16.4402
  2  0.931015
  3  0.274663
  4  0.17298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/296557': 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) = 5772.22747669
delta logL = 0.00549360465902

Extracting fit parameters...

4FGL J2219.2-0342
   Spectrum: PowerLaw
256    Prefactor:  1.263e+01  1.644e+01  0.000e+00  1.000e+06 ( 1.000e-12)
257        Index:  2.776e+00  9.310e-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:  1.330e+00  1.730e-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:  3.697e-01  2.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.23
Ra Dec: 334.823 -3.710
Photon Index (Free Index): 2.78 +/- 0.93
Photon Flux (Free Index): 6.42e-08 +/- 6.61e-08
Energy Flux (Free Index): 1.46e-05 +/- 1.64e-05

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/296557/cmap_HighResolution_696297601_696556801_4FGL_J2219.2-0342_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-02', comment='SUCCESS', photon_flux='6.26e-08', energy_flux2='1.46e-05', photon_flux_error='6.70e-08', dlogl='5.49e-03', energy_flux='1.53e-05', photon_flux2='6.42e-08', job_status='DONE', time_completed='2023-01-28 01:58:13.763348', photon_index_error2='0.93', photon_index2='2.78', ts='1.22', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', photon_flux_upper_limit='1.93e-07', energy_flux_error2='1.64e-05', EG='0.37', time_epoch_completed='1674899893.76', return_code='0', job_id='296557', GAL2='1.33', EG2='0.37', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='6.61e-08', ts2='1.23', photon_index='2.68' WHERE bin_id='1763' AND source_name='4FGL J2219.2-0342' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 01:58:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 296557: <4FGL_J2219.2-0342_daily_bin1763> in cluster <slac> Done

Job <4FGL_J2219.2-0342_daily_bin1763> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jan 28 01:45:25 2023
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:47:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:47:23 2023
Terminated at Sat Jan 28 01:58:14 2023
Results reported at Sat Jan 28 01:58:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2219.2-0342_daily_bin1763 334.823 -3.7102 696297601 696556801 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 :                                   516.63 sec.
    Max Memory :                                 1208 MB
    Average Memory :                             298.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            769 sec.

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

