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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1748
RA = 330.872, Dec = 17.4318
tmin = 692409601, tmax = 692668801
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='898147', job_status='RUN', time_executed='2022-12-14 01:23:37.522093', time_epoch_executed='1671009817.52' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898147

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898147/ft1_4FGL_J2203.4+1725_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898147/ft1_4FGL_J2203.4+1725_daily_bin1748.fits outfile=/scratch/kocevski/898147/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1748.fits ra=330.872 dec=17.4318 rad=12.0 tmin=692409601.0 tmax=692668801.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.59
user 3.32
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.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/898147/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/898147/ft1_filtered_4FGL_J2203.4+1725_daily_bin1748.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.32
sys 0.16

Number of photons that the gtmktime cut: 820

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898147/ft1_filtered_4FGL_J2203.4+1725_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/898147/ltcube_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.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/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.fits
.....................!
real 12.38
user 11.98
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898147/ft1_filtered_4FGL_J2203.4+1725_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/898147/ltcube_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.fits outfile=/scratch/kocevski/898147/expmap_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.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/898147/ltcube_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.fits
.....................!
real 191.53
user 185.38
sys 5.32

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
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 162 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2203.4+1725 @ 330.872 17.4318

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/898147/ft1_filtered_4FGL_J2203.4+1725_daily_bin1748.fits scfile=/scratch/kocevski/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.fits outfile=/scratch/kocevski/898147/cmap_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.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=330.872 yref=17.4318 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/898147/ft1_filtered_4FGL_J2203.4+1725_daily_bin1748.fits scfile=/scratch/kocevski/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.fits outfile=/scratch/kocevski/898147/cmap_HighResolution_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.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=330.872 yref=17.4318 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/898147/ft1_filtered_4FGL_J2203.4+1725_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/898147/Model_4FGL_J2203.4+1725_daily_bin1748.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/898147/ft1_filtered_4FGL_J2203.4+1725_daily_bin1748.fits....................!
real 117.79
user 116.03
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/898147/ft1_filtered_4FGL_J2203.4+1725_daily_bin1748.fits', '/scratch/kocevski/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.fits', expMap='/scratch/kocevski/898147/expmap_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.fits', expCube='/scratch/kocevski/898147/ltcube_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/898147/Model_4FGL_J2203.4+1725_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2203.4+1725'

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.262e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.231e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.474e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/898147/ft1_filtered_4FGL_J2203.4+1725_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/898147/ft2_4FGL_J2203.4+1725_daily_bin1748.fits
Exposure map: /scratch/kocevski/898147/expmap_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.fits
Exposure cube: /scratch/kocevski/898147/ltcube_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/898147/Model_4FGL_J2203.4+1725_daily_bin1748.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) = 8524.23406223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.036       1.0000          .0000       .10000E+07
     2 'norm      '    .44466E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .31412E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .80139E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.6578       1.0000          .0000       .10000E+07
     6 'norm      '    2.5153       1.0000          .0000       .10000E+07
     7 'norm      '    .13573E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .21298E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .35401       1.0000          .0000       .10000E+07
    10 'norm      '    .39129       1.0000          .0000       .10000E+07
    11 'Prefactor '    .64458E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .30548       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9627       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.5172       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.2456       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.792       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6702       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.537       1.0000          .0000       .10000E+07
    19 'Prefactor '    .57937E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    .96930       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91364       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8524.232     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1665 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.086        1.8582        .32515E-07   -.39302E-01
   2  norm           .0000        4.5272       -.90761E-07** at limit **
   3  Prefactor      .0000        2.7846       -.15049E-07** at limit **
   4  Prefactor     .91205E-07    231.68        .30763E-05** at limit **
   5  norm          2.6593        2.1434       -.14195E-06   -.20434E-02
   6  norm          2.5142        1.9335        .22747E-06    .14792E-02
   7  norm          .20595E-07    53.437       -.63081E-06** at limit **
   8  Prefactor     .51553E-06    14.005        .97810E-06** at limit **
   9  Prefactor     .36742E-04    5.5851        .61610E-06** at limit **
  10  norm          .39144        .72504       -.10218E-06   -.73762E-03
  11  Prefactor     .11102E-09    6.3571       -.12848E-06** at limit **
  12  norm          .30772        4.6746       -.77304E-07   -.23534E-03
  13  Prefactor     3.9682        12.430       -.48609E-06   -.16583E-02
  14  Prefactor     5.5158        2.5499       -.72634E-07    .34068E-01
  15  Prefactor     1.2457        .26499       -.22530E-06   -.10348E-03
  16  Prefactor     13.788        9.7977       -.10145E-05    .46734E-03
  17  norm          2.6700        1.4181        .26694E-07   -.26191E-03
  18  Prefactor     11.534        1.8094       -.34814E-07    .24601E-02
  19  Prefactor      .0000        2.5695       -.62927E-07** at limit **
  20  Normalizat    .96928        .25723        .17601E-04   -.11131E-04
  21  Prefactor     .91379        .12401       -.82780E-05   -.84510E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.0863
  norm       = 0
  Prefactor  = 0
  Prefactor  = 9.12048e-08
  norm       = 2.65929
  norm       = 2.51418
  norm       = 2.05946e-08
  Prefactor  = 5.15532e-07
  Prefactor  = 3.67424e-05
  norm       = 0.39144
  Prefactor  = 1.11022e-10
  norm       = 0.307718
  Prefactor  = 3.9682
  Prefactor  = 5.51577
  Prefactor  = 1.24569
  Prefactor  = 13.7885
  norm       = 2.66997
  Prefactor  = 11.5336
  Prefactor  = 0
  Normalizat = 0.969278
  Prefactor  = 0.913793
 **********
 **   18 **HESSE 
 **********

 FCN=   8524.232     FROM HESSE     STATUS=OK           361 CALLS     2026 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.086        33.202        .25804E-03   -1.5630    
   2  norm           .0000        4.5129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.7661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .91205E-07    234.12        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6593        2.1533        .62499E-03   -1.5675    
   6  norm          2.5142        1.9364        .64394E-03   -1.5676    
   7  norm          .20595E-07    52.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .51553E-06    15.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .36742E-04    75.822        .95021E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .39144        .74491        .90503E-03   -1.5695    
  11  Prefactor     .11102E-09    6.3542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .30772        4.4987        .10137E-02   -1.5697    
  13  Prefactor     3.9682        12.602        .50646E-03   -1.5668    
  14  Prefactor     5.5158        11.014        .42751E-03   -1.5661    
  15  Prefactor     1.2457        .26449        .46128E-02   -1.5485    
  16  Prefactor     13.788        9.7960        .26963E-02   -1.4965    
  17  norm          2.6700        1.4147        .62342E-03   -1.5675    
  18  Prefactor     11.534        12.610        .29469E-03   -1.5640    
  19  Prefactor      .0000        2.5662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .96928        .21997        .81066E-01   -.94067    
  21  Prefactor     .91379        .10330        .45179E-01   -.95661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.86499e-07
Minuit parameter uncertainties:
  1  33.2026
  2  4.36067e-06
  3  5.424e-06
  4  0.00924095
  5  2.1533
  6  1.93644
  7  0.00208932
  8  0.00558296
  9  0.105564
  10  0.744906
  11  5.66679e-05
  12  2.35316
  13  12.6025
  14  11.0139
  15  0.264489
  16  9.79714
  17  1.4147
  18  12.6103
  19  3.57075e-06
  20  0.220179
  21  0.103318
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  3.914e-01  7.449e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.231e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.474e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.138e-01  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  9.693e-01  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.37
Ra Dec: 330.872 17.432
Photon Flux Upper Limit: 8.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/898147/likelihoodResults_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.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) = 8524.09773164
delta logL = 0.134704275679

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8524.09242901
delta logL = 0.140006897878

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8524.092     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35058        .65553        .73371E-05   -.58570E-02
   2  alpha         2.9260        1.3684        .83864E-02   -.18423E-04
   3  Normalizat    .94754        .25475        .36257E-03   -.52465E-03
   4  Prefactor     .92013        .12421        .18060E-03   -.10297E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.350582
  alpha      = 2.92603
  Normalizat = 0.947536
  Prefactor  = 0.920132
 **********
 **   18 **HESSE 
 **********

 FCN=   8524.092     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35058        .62948        .29348E-06   -1.5696    
   2  alpha         2.9260        1.3194        .33545E-03    .17125    
   3  Normalizat    .94754        .25495        .14503E-04   -.94809    
   4  Prefactor     .92013        .12429        .36121E-04   -.95441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89057e-10
Minuit parameter uncertainties:
  1  0.629475
  2  1.39234
  3  0.255279
  4  0.124325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898147': 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) = 8524.09242897
delta logL = 0.140006942616

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  3.506e-01  6.295e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.926e+00  1.392e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.474e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.201e-01  1.243e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  9.475e-01  2.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.37
Ra Dec: 330.872 17.432

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/898147/cmap_HighResolution_692409601_692668801_4FGL_J2203.4+1725_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-05', job_status='DONE', photon_flux_upper_limit='8.51e-08', time_completed='2022-12-14 01:35:07.082997', job_id='898147', GAL2='0.92', fit_tolerance='1e-08', EG2='0.95', EG='0.97', time_epoch_completed='1671010507.08', return_code2='0', ts='0.37', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.40e-01', ts2='0.68', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1748' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:35:07 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 898147: <4FGL_J2203.4+1725_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:20:22 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:20:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:20:22 2022
Terminated at Wed Dec 14 01:35:08 2022
Results reported at Wed Dec 14 01:35:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1748 330.872 17.4318 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2203.4+1725 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   690.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            886 sec.

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

