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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1709
RA = 330.872, Dec = 17.4318
tmin = 682300801, tmax = 682560001
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='240480', job_status='RUN', time_executed='2022-09-16 23:42:54.068348', time_epoch_executed='1663396974.07' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240480

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240480/ft1_4FGL_J2203.4+1725_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240480/ft2_4FGL_J2203.4+1725_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240480/ft1_4FGL_J2203.4+1725_daily_bin1709.fits outfile=/scratch/kocevski/240480/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1709.fits ra=330.872 dec=17.4318 rad=12.0 tmin=682300801.0 tmax=682560001.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.84
user 3.54
sys 0.23

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

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

Number of photons that the gtmktime cut: 764

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240480/ft1_filtered_4FGL_J2203.4+1725_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/240480/ft2_4FGL_J2203.4+1725_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/240480/ltcube_682300801_682560001_4FGL_J2203.4+1725_daily_bin1709.fits outfile=/scratch/kocevski/240480/expmap_682300801_682560001_4FGL_J2203.4+1725_daily_bin1709.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/240480/ltcube_682300801_682560001_4FGL_J2203.4+1725_daily_bin1709.fits
.....................!
real 197.23
user 188.05
sys 5.94

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/240480/ft1_filtered_4FGL_J2203.4+1725_daily_bin1709.fits scfile=/scratch/kocevski/240480/ft2_4FGL_J2203.4+1725_daily_bin1709.fits outfile=/scratch/kocevski/240480/cmap_682300801_682560001_4FGL_J2203.4+1725_daily_bin1709.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.61
user 0.39
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.990       1.0000          .0000       .10000E+07
     2 'norm      '    4.5119       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.3453       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11489E-02   1.0000          .0000       .10000E+07
     5 'norm      '    3.4323       1.0000          .0000       .10000E+07
     6 'norm      '    .13482E-03   1.0000          .0000       .10000E+07
     7 'norm      '    29.976       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2762       1.0000          .0000       .10000E+07
     9 'Prefactor '    55.588       1.0000          .0000       .10000E+07
    10 'norm      '    1.1435       1.0000          .0000       .10000E+07
    11 'Prefactor '    32.760       1.0000          .0000       .10000E+07
    12 'norm      '    .18167E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.8411       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.8689       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20909       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.5023       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15664E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    14.854       1.0000          .0000       .10000E+07
    20 'Normalizat'    .49044       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1107       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=   8047.272     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1651 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.336        30.025        .24301E-06   -.15354    
   2  norm          4.4150        4.8770        .10163E-06    .50177E-02
   3  Prefactor     8.3961        6.9868       -.61278E-09    .50901E-03
   4  Prefactor     .12083E-03    80.078       -.45723E-07** at limit **
   5  norm          3.4206        2.6419       -.45427E-07    .25815E-02
   6  norm           .0000        1.5408        .42400E-09** at limit **
   7  norm          30.056        6.7304        .61378E-07    .19150    
   8  Prefactor     3.6544        75.313        .20518E-05   -.37559E-02
   9  Prefactor     59.872        54.022       -.23085E-06   -.11011    
  10  norm          1.1417        .90513       -.37635E-07   -.36925E-02
  11  Prefactor     32.729        18.759        .10955E-06    .29804E-01
  12  norm           .0000        1.4634       -.80350E-07** at limit **
  13  Prefactor     1.6849        10.511       -.38741E-06   -.42964E-03
  14  Prefactor     5.0012        9.0958       -.11947E-06   -.35755E-03
  15  Prefactor     .20979        .13034       -.38801E-07   -.60105E-03
  16  Prefactor     .10000E-03    3.9129        .47493E-06** at limit **
  17  norm          1.5023        1.2191       -.43589E-07   -.38527E-02
  18  Prefactor      .0000        6.3054        .19075E-06** at limit **
  19  Prefactor     14.896        10.893        .35379E-07    .32032E-01
  20  Normalizat    .48766        .26417        .36185E-05    .62560E-04
  21  Prefactor     1.1106        .12673       -.94908E-06    .10917E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.3363
  norm       = 4.41501
  Prefactor  = 8.39609
  Prefactor  = 0.000120828
  norm       = 3.42064
  norm       = 0
  norm       = 30.056
  Prefactor  = 3.65442
  Prefactor  = 59.872
  norm       = 1.14172
  Prefactor  = 32.7286
  norm       = 0
  Prefactor  = 1.68494
  Prefactor  = 5.0012
  Prefactor  = 0.209788
  Prefactor  = 0.0001
  norm       = 1.50229
  Prefactor  = 0
  Prefactor  = 14.8964
  Normalizat = 0.48766
  Prefactor  = 1.1106
 **********
 **   18 **HESSE 
 **********

 FCN=   8047.272     FROM HESSE     STATUS=OK           365 CALLS     2016 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.336        44.610        .18905E-03   -1.5600    
   2  norm          4.4150        5.0259        .47374E-03   -1.5666    
   3  Prefactor     8.3961        7.0349        .34679E-03   -1.5650    
   4  Prefactor     .12083E-03    114.27        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.4206        2.7196        .54572E-03   -1.5671    
   6  norm           .0000        1.5330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          30.056        23.902        .18267E-03   -1.5598    
   8  Prefactor     3.6544        82.286        .55919E-03   -1.5670    
   9  Prefactor     59.872        59.797        .13413E-03   -1.5553    
  10  norm          1.1417        .93402        .10852E-02   -1.5687    
  11  Prefactor     32.729        19.017        .17474E-03   -1.5594    
  12  norm           .0000        1.4639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.6849        10.687        .76843E-03   -1.5682    
  14  Prefactor     5.0012        9.1700        .45563E-03   -1.5663    
  15  Prefactor     .20979        .13112        .55332E-02   -1.5616    
  16  Prefactor     .10000E-03    3.8804        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5023        1.2238        .87312E-03   -1.5683    
  18  Prefactor      .0000        6.2979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.896        10.934        .25962E-03   -1.5631    
  20  Normalizat    .48766        .26362        .10912       -1.1299    
  21  Prefactor     1.1106        .12100        .37195E-01   -.89129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45542e-06
Minuit parameter uncertainties:
  1  44.6109
  2  5.02591
  3  7.03495
  4  0.235011
  5  2.71961
  6  7.97202e-06
  7  23.9017
  8  34.6825
  9  59.7971
  10  0.934017
  11  19.0171
  12  1.23083e-05
  13  8.48711
  14  9.17006
  15  0.131121
  16  7.08037e-06
  17  1.22377
  18  1.67125e-05
  19  10.9342
  20  0.264292
  21  0.121031
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.142e+00  9.340e-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:  1.111e+00  1.210e-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:  4.877e-01  2.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.61
Ra Dec: 330.872 17.432
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.49e-08 +/- 3.67e-08
Energy Flux (Fixed Index): 1.70e-05 +/- 1.39e-05

TS (Fixed Index): 2.61
Ra Dec: 330.872 17.432
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/240480/likelihoodResults_682300801_682560001_4FGL_J2203.4+1725_daily_bin1709.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) = 8047.27136391
delta logL = 0.000916884383514

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8047.27130897
delta logL = 0.000971822019892

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1377       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2634       1.0000          .0000       5.0000    
     3 'Normalizat'    .48576       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1112       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=   8047.271     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1377        23.652        .10910E-02    .56287E-02
   2  alpha         2.2638        2.8812        .41387        .99278E-05
   3  Normalizat    .48574        .85296E-01    .10932       -.16556E-04
   4  Prefactor     1.1112        .40398E-01    .37177E-01   -.27257E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.13766
  alpha      = 2.26377
  Normalizat = 0.485741
  Prefactor  = 1.11119
 **********
 **   18 **HESSE 
 **********

 FCN=   8047.271     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1377        .91062        .73557E-05   -1.5687    
   2  alpha         2.2638        .73193        .19901E-01   -.94634E-01
   3  Normalizat    .48574        .25056        .48453E-03   -1.1308    
   4  Prefactor     1.1112        .12654        .16722E-03   -.89110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13762e-11
Minuit parameter uncertainties:
  1  0.910623
  2  0.742913
  3  0.251139
  4  0.126578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240480': 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) = 8047.27130888
delta logL = 0.000971917362222

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.138e+00  9.106e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.264e+00  7.429e-01  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.111e+00  1.266e-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:  4.857e-01  2.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.62
Ra Dec: 330.872 17.432
Photon Index (Free Index): 2.26 +/- 0.74
Photon Flux (Free Index): 4.62e-08 +/- 4.50e-08
Energy Flux (Free Index): 1.67e-05 +/- 1.43e-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/240480/cmap_HighResolution_682300801_682560001_4FGL_J2203.4+1725_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-05', comment='SUCCESS', photon_flux='4.49e-08', energy_flux2='1.67e-05', photon_flux_error='3.67e-08', dlogl='9.72e-04', energy_flux='1.70e-05', photon_flux2='4.62e-08', job_status='DONE', time_completed='2022-09-16 23:54:17.872986', photon_index_error2='0.74', photon_index2='2.26', ts='2.61', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.43e-05', EG='0.49', time_epoch_completed='1663397657.87', return_code='0', job_id='240480', GAL2='1.11', EG2='0.49', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='4.50e-08', ts2='2.62', photon_index='2.23' WHERE bin_id='1709' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:54:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 240480: <4FGL_J2203.4+1725_daily_bin1709> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1709> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 23:40:25 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:40:52 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:52 2022
Terminated at Fri Sep 16 23:54:18 2022
Results reported at Fri Sep 16 23:54:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1709 330.872 17.4318 682300801 682560001 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 :                                   679.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            833 sec.

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

