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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1711
RA = 330.872, Dec = 17.4318
tmin = 682819201, tmax = 683078401
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='240483', job_status='RUN', time_executed='2022-09-16 23:44:24.032845', time_epoch_executed='1663397064.03' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240483

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240483/ft1_4FGL_J2203.4+1725_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240483/ft2_4FGL_J2203.4+1725_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240483/ft1_4FGL_J2203.4+1725_daily_bin1711.fits outfile=/scratch/kocevski/240483/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1711.fits ra=330.872 dec=17.4318 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.62
user 4.33
sys 0.24

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

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

Number of photons that the gtmktime cut: 791

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/240483/ft1_filtered_4FGL_J2203.4+1725_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/240483/ft2_4FGL_J2203.4+1725_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/240483/ltcube_682819201_683078401_4FGL_J2203.4+1725_daily_bin1711.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/240483/ft2_4FGL_J2203.4+1725_daily_bin1711.fits
.....................!
real 14.79
user 14.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240483/ft1_filtered_4FGL_J2203.4+1725_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/240483/ft2_4FGL_J2203.4+1725_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/240483/ltcube_682819201_683078401_4FGL_J2203.4+1725_daily_bin1711.fits outfile=/scratch/kocevski/240483/expmap_682819201_683078401_4FGL_J2203.4+1725_daily_bin1711.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/240483/ltcube_682819201_683078401_4FGL_J2203.4+1725_daily_bin1711.fits
.....................!
real 191.89
user 186.08
sys 4.78

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/240483/ft1_filtered_4FGL_J2203.4+1725_daily_bin1711.fits scfile=/scratch/kocevski/240483/ft2_4FGL_J2203.4+1725_daily_bin1711.fits outfile=/scratch/kocevski/240483/cmap_682819201_683078401_4FGL_J2203.4+1725_daily_bin1711.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.41
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240483/ft1_filtered_4FGL_J2203.4+1725_daily_bin1711.fits scfile=/scratch/kocevski/240483/ft2_4FGL_J2203.4+1725_daily_bin1711.fits outfile=/scratch/kocevski/240483/cmap_HighResolution_682819201_683078401_4FGL_J2203.4+1725_daily_bin1711.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26087E-02   1.0000          .0000       .10000E+07
     2 'norm      '    6.9474       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.6678       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13499       1.0000          .0000       .10000E+07
     5 'norm      '    1.6559       1.0000          .0000       .10000E+07
     6 'norm      '    .29985       1.0000          .0000       .10000E+07
     7 'norm      '    14.276       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13685E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26834E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .17355       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10322E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .53554E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0777       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.4907       1.0000          .0000       .10000E+07
    15 'Prefactor '    .42655       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .18489E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.5880       1.0000          .0000       .10000E+07
    18 'Prefactor '    .35337E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    11.880       1.0000          .0000       .10000E+07
    20 'Normalizat'    .62470       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1595       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=   8309.730     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1316 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .93681E-06    14.600        .11410E-06** at limit **
   2  norm          6.9277        4.7236        .39549E-07    .21554E-02
   3  Prefactor     5.6570        4.8972        .14118E-07    .13428E-02
   4  Prefactor     .52736E-08    50.744       -.36687E-06** at limit **
   5  norm          1.6537        1.9547        .19912E-07    .13019E-02
   6  norm          .29829        3.4912       -.98265E-07   -.34317E-03
   7  norm          14.343        16.790        .40567E-07    .12796E-01
   8  Prefactor     .77216E-07    17.520        .28728E-06** at limit **
   9  Prefactor     .18315E-05    9.8799        .20064E-06** at limit **
  10  norm          .17371        .50790       -.17646E-07** at limit **
  11  Prefactor     .27423E-07    12.202        .25837E-06** at limit **
  12  norm           .0000        1.2669       -.42832E-07** at limit **
  13  Prefactor     2.0524        3.2664       -.57796E-08    .28988E-01
  14  Prefactor     8.4667        9.4367       -.15965E-08   -.58203E-03
  15  Prefactor     .42662        .20027        .30440E-07    .36904E-03
  16  Prefactor     .10040E-03    2.6490        .64372E-07** at limit **
  17  norm          1.5887        1.5136        .53288E-07    .29785E-02
  18  Prefactor      .0000        6.5584       -.20545E-06** at limit **
  19  Prefactor     11.854        8.0736       -.34755E-07   -.30674E-02
  20  Normalizat    .62462        .26019       -.24873E-05    .44706E-04
  21  Prefactor     1.1598        .12956        .17723E-05    .18830E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.36806e-07
  norm       = 6.92773
  Prefactor  = 5.65699
  Prefactor  = 5.27356e-09
  norm       = 1.65367
  norm       = 0.298285
  norm       = 14.3432
  Prefactor  = 7.7216e-08
  Prefactor  = 1.83153e-06
  norm       = 0.173712
  Prefactor  = 2.74225e-08
  norm       = 0
  Prefactor  = 2.05236
  Prefactor  = 8.46668
  Prefactor  = 0.426623
  Prefactor  = 0.000100396
  norm       = 1.58875
  Prefactor  = 0
  Prefactor  = 11.8541
  Normalizat = 0.624616
  Prefactor  = 1.15975
 **********
 **   18 **HESSE 
 **********

 FCN=   8309.730     FROM HESSE     STATUS=OK           369 CALLS     1685 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .93681E-06    21.915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.9277        4.7161        .38039E-03   -1.5655    
   3  Prefactor     5.6570        4.8768        .42170E-03   -1.5660    
   4  Prefactor     .52736E-08    51.483        .13071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6537        1.9757        .81980E-03   -1.5682    
   6  norm          .29829        1.1498        .48175E-02   -1.5697    
   7  norm          14.343        17.556        .26483E-03   -1.5632    
   8  Prefactor     .77216E-07    29.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .18315E-05    23.659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .17371        .50982        .12267E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .27423E-07    30.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.2710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.0524        8.0208        .71621E-03   -1.5679    
  14  Prefactor     8.4667        10.452        .34379E-03   -1.5650    
  15  Prefactor     .42662        .21190        .60389E-02   -1.5577    
  16  Prefactor     .10040E-03    5.7184        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5887        1.5276        .84192E-03   -1.5683    
  18  Prefactor      .0000        6.6063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.854        8.0803        .29039E-03   -1.5639    
  20  Normalizat    .62462        .23922        .98754E-01   -1.0695    
  21  Prefactor     1.1598        .11643        .35666E-01   -.87579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03913e-07
Minuit parameter uncertainties:
  1  0.00906203
  2  4.71614
  3  4.87685
  4  0.00104347
  5  1.97566
  6  1.14981
  7  17.556
  8  0.00302902
  9  0.0131654
  10  0.509822
  11  0.00183433
  12  4.04259e-06
  13  8.02086
  14  10.452
  15  0.211904
  16  0.00300942
  17  1.52758
  18  2.19366e-05
  19  8.0803
  20  0.239614
  21  0.116454
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.737e-01  5.098e-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.160e+00  1.165e-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:  6.246e-01  2.396e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/240483/likelihoodResults_682819201_683078401_4FGL_J2203.4+1725_daily_bin1711.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) = 8309.54824942
delta logL = 0.181604153264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8309.54641447
delta logL = 0.183439096149

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16019       1.0000          .0000       .10000E+07
     2 'alpha     '    1.3511       1.0000          .0000       5.0000    
     3 'Normalizat'    .63272       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1565       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=   8309.546     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      217 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16015        .43301        .18684E-02** at limit **
   2  alpha         1.3509        .78763        .48740       -.54637E-04
   3  Normalizat    .63260        .22419        .98151E-01    .51113E-04
   4  Prefactor     1.1565        .11484        .35752E-01   -.38170E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.16015
  alpha      = 1.35094
  Normalizat = 0.632599
  Prefactor  = 1.15651
 **********
 **   18 **HESSE 
 **********

 FCN=   8309.546     FROM HESSE     STATUS=OK            35 CALLS      252 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16015        .35509        .84052E-04   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3509        1.0662        .28226E-01   -.47757    
   3  Normalizat    .63260        .24854        .43495E-03   -1.0662    
   4  Prefactor     1.1565        .12790        .16822E-03   -.87680    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1593e-08
Minuit parameter uncertainties:
  1  0.355091
  2  1.1121
  3  0.248977
  4  0.127937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240483': 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) = 8309.54641434
delta logL = 0.18343923529

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.602e-01  3.551e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  1.351e+00  1.112e+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.157e+00  1.279e-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:  6.326e-01  2.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/240483/cmap_HighResolution_682819201_683078401_4FGL_J2203.4+1725_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-05', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2022-09-16 23:55:26.434597', job_id='240483', GAL2='1.16', fit_tolerance='1e-08', EG2='0.63', EG='0.62', time_epoch_completed='1663397726.43', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.83e-01', ts2='0.52', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1711' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:55:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 240483: <4FGL_J2203.4+1725_daily_bin1711> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1711> 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) <bullet0105>, 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:55:27 2022
Results reported at Fri Sep 16 23:55:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1711 330.872 17.4318 682819201 683078401 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 :                                   663.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            902 sec.

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

