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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1715
RA = 330.872, Dec = 17.4318
tmin = 683856001, tmax = 684115201
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='240492', job_status='RUN', time_executed='2022-09-16 23:41:08.115925', time_epoch_executed='1663396868.12' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240492/ft1_4FGL_J2203.4+1725_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240492/ft2_4FGL_J2203.4+1725_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240492/ft1_4FGL_J2203.4+1725_daily_bin1715.fits outfile=/scratch/kocevski/240492/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1715.fits ra=330.872 dec=17.4318 rad=12.0 tmin=683856001.0 tmax=684115201.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.46
user 3.21
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/240492/ft2_4FGL_J2203.4+1725_daily_bin1715.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/240492/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/240492/ft1_filtered_4FGL_J2203.4+1725_daily_bin1715.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.53
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 770

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/240492/ft1_filtered_4FGL_J2203.4+1725_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/240492/ft2_4FGL_J2203.4+1725_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/240492/ltcube_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.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/240492/ft2_4FGL_J2203.4+1725_daily_bin1715.fits
.....................!
real 14.67
user 14.27
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240492/ft1_filtered_4FGL_J2203.4+1725_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/240492/ft2_4FGL_J2203.4+1725_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/240492/ltcube_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.fits outfile=/scratch/kocevski/240492/expmap_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.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/240492/ltcube_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.fits
.....................!
real 193.48
user 188.33
sys 4.61

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/240492/ft1_filtered_4FGL_J2203.4+1725_daily_bin1715.fits scfile=/scratch/kocevski/240492/ft2_4FGL_J2203.4+1725_daily_bin1715.fits outfile=/scratch/kocevski/240492/cmap_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240492/ft1_filtered_4FGL_J2203.4+1725_daily_bin1715.fits scfile=/scratch/kocevski/240492/ft2_4FGL_J2203.4+1725_daily_bin1715.fits outfile=/scratch/kocevski/240492/cmap_HighResolution_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/240492/ft1_filtered_4FGL_J2203.4+1725_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/240492/ft2_4FGL_J2203.4+1725_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/240492/Model_4FGL_J2203.4+1725_daily_bin1715.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/240492/ft1_filtered_4FGL_J2203.4+1725_daily_bin1715.fits.....................!
real 115.55
user 113.94
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/240492/ft1_filtered_4FGL_J2203.4+1725_daily_bin1715.fits', '/scratch/kocevski/240492/ft2_4FGL_J2203.4+1725_daily_bin1715.fits', expMap='/scratch/kocevski/240492/expmap_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.fits', expCube='/scratch/kocevski/240492/ltcube_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/240492/Model_4FGL_J2203.4+1725_daily_bin1715.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/240492/ft1_filtered_4FGL_J2203.4+1725_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/240492/ft2_4FGL_J2203.4+1725_daily_bin1715.fits
Exposure map: /scratch/kocevski/240492/expmap_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.fits
Exposure cube: /scratch/kocevski/240492/ltcube_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/240492/Model_4FGL_J2203.4+1725_daily_bin1715.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) = 8205.39150733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10160E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .13711E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13633E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .85475E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .10062       1.0000          .0000       .10000E+07
     6 'norm      '    .12091E-03   1.0000          .0000       .10000E+07
     7 'norm      '    43.035       1.0000          .0000       .10000E+07
     8 'Prefactor '    .21012       1.0000          .0000       .10000E+07
     9 'Prefactor '    90.382       1.0000          .0000       .10000E+07
    10 'norm      '    .47740E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4005       1.0000          .0000       .10000E+07
    12 'norm      '    .33353E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .14302E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .46986E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .21128       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7028       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6283       1.0000          .0000       .10000E+07
    18 'Prefactor '    .57022E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.9359       1.0000          .0000       .10000E+07
    20 'Normalizat'    .84533       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2081       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=   8205.367     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     1715 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20539E-08    22.325        .15910E-07** at limit **
   2  norm          .18929E-07    5.7049        .69143E-07** at limit **
   3  Prefactor      .0000        2.6223       -.76083E-07** at limit **
   4  Prefactor     .18541E-07    36.476       -.17786E-06** at limit **
   5  norm          .12924        12.674        .41139E-06** at limit **
   6  norm           .0000        2.0302        .15446E-06** at limit **
   7  norm          43.616        31.320       -.11537E-06    .42430E-01
   8  Prefactor     .40997E-05    39.261       -.27166E-06** at limit **
   9  Prefactor     91.337        60.992        .11074E-06   -.11895E-01
  10  norm          .55511E-10    1.1956       -.89188E-07** at limit **
  11  Prefactor     8.4159        9.0511       -.12118E-06   -.93686E-01
  12  norm          .55511E-10    1.8635        .17212E-06** at limit **
  13  Prefactor     .14433E-08    10.617       -.21793E-06** at limit **
  14  Prefactor     .36138E-07    6.2446       -.23092E-07** at limit **
  15  Prefactor     .21150        .15568        .52490E-07    .47166E-03
  16  Prefactor     2.7084        6.8522        .18878E-05    .81326E-04
  17  norm          2.6283        1.7769        .40221E-07    .30233E-02
  18  Prefactor     .31641E-07    5.4500        .92226E-08** at limit **
  19  Prefactor     6.9325        9.3955        .16853E-07    .14474E-02
  20  Normalizat    .84433        .28764        .34943E-06   -.37693E-04
  21  Prefactor     1.2080        .14101       -.97507E-06   -.11445E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.05391e-09
  norm       = 1.89293e-08
  Prefactor  = 0
  Prefactor  = 1.85407e-08
  norm       = 0.129236
  norm       = 0
  norm       = 43.616
  Prefactor  = 4.09972e-06
  Prefactor  = 91.3369
  norm       = 5.55112e-11
  Prefactor  = 8.41586
  norm       = 5.55112e-11
  Prefactor  = 1.44329e-09
  Prefactor  = 3.61378e-08
  Prefactor  = 0.211501
  Prefactor  = 2.70843
  norm       = 2.62832
  Prefactor  = 3.16414e-08
  Prefactor  = 6.93252
  Normalizat = 0.844334
  Prefactor  = 1.20804
 **********
 **   18 **HESSE 
 **********

 FCN=   8205.367     FROM HESSE     STATUS=OK           363 CALLS     2078 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20539E-08    22.327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .18929E-07    5.7109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.6159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18541E-07    36.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12924        1.0061        .64888E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.0229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          43.616        33.213        .15245E-03   -1.5576    
   8  Prefactor     .40997E-05    51.047        .11598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     91.337        61.368        .10519E-03   -1.5517    
  10  norm          .55511E-10    1.1467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.4159        13.587        .34564E-03   -1.5650    
  12  norm          .55511E-10    1.8618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14433E-08    10.639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .36138E-07    6.3551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .21150        .16379        .66601E-02   -1.5616    
  16  Prefactor     2.7084        6.8651        .61945E-02   -1.5379    
  17  norm          2.6283        1.7781        .62876E-03   -1.5676    
  18  Prefactor     .31641E-07    5.5459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.9325        9.4014        .38070E-03   -1.5655    
  20  Normalizat    .84433        .25372        .94390E-01   -.98445    
  21  Prefactor     1.2080        .12253        .34442E-01   -.86084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27006e-07
Minuit parameter uncertainties:
  1  0.000429283
  2  0.000657787
  3  3.64221e-06
  4  0.00164699
  5  0.721176
  6  1.41643e-05
  7  33.2132
  8  0.0289332
  9  61.3686
  10  1.15954e-05
  11  13.5869
  12  2.46801e-05
  13  0.000249512
  14  0.000958807
  15  0.163794
  16  6.86714
  17  1.77812
  18  0.00083754
  19  9.40145
  20  0.254075
  21  0.122558
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  5.551e-11  1.160e-05  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:  1.208e+00  1.226e-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:  8.443e-01  2.541e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/240492/likelihoodResults_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.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) = 8204.24621687
delta logL = 1.1205378075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8204.23984907
delta logL = 1.12690560488

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99139E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    4.6259       1.0000          .0000       5.0000    
     3 'Normalizat'    .70374       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2512       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.

 FCN=   8204.240     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      289 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99195E-01    1.7390        .45772E-03** at limit **
   2  alpha         4.6255        2.5165        .50000       -.58666E-05
   3  Normalizat    .70354        .86811E-01    .10270        .45967E-04
   4  Prefactor     1.2513        .40702E-01    .33520E-01   -.54923E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0991948
  alpha      = 4.62553
  Normalizat = 0.703545
  Prefactor  = 1.25129
 **********
 **   18 **HESSE 
 **********

 FCN=   8204.240     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      324 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99195E-01    2.6620        .20975E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.6255        2.5208        .41478E-01    1.0164    
   3  Normalizat    .70354        .22572        .45516E-03   -1.0375    
   4  Prefactor     1.2513        .11115        .17470E-03   -.84767    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.17481e-07
Minuit parameter uncertainties:
  1  1.02773
  2  6.76943
  3  0.226017
  4  0.111168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240492': 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) = 8204.23984862
delta logL = 1.12690605614

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  9.919e-02  1.028e+00  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  4.626e+00  6.769e+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:  1.251e+00  1.112e-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:  7.035e-01  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.60
Ra Dec: 330.872 17.432
Photon Index (Free Index): 4.63 +/- 6.77
Photon Flux (Free Index): 9.14e-08 +/- 6.80e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.52e-05

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/240492/cmap_HighResolution_683856001_684115201_4FGL_J2203.4+1725_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-05', comment='SUCCESS', energy_flux2='1.28e-05', dlogl='1.13e+00', photon_flux2='9.14e-08', job_status='DONE', time_completed='2022-09-16 23:52:47.912639', photon_index_error2='6.77', photon_index2='4.63', ts='-0.00', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='8.52e-08', energy_flux_error2='1.52e-05', EG='0.84', time_epoch_completed='1663397567.91', return_code='0', job_id='240492', GAL2='1.25', EG2='0.70', return_code2='102', photon_flux_error2='6.80e-08', ts2='2.60', photon_index='2.23' WHERE bin_id='1715' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:52:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 240492: <4FGL_J2203.4+1725_daily_bin1715> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1715> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 23:40:26 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:40:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:40:56 2022
Terminated at Fri Sep 16 23:52:48 2022
Results reported at Fri Sep 16 23:52:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1715 330.872 17.4318 683856001 684115201 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 :                                   701.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             354.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            742 sec.

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

