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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1753
RA = 330.872, Dec = 17.4318
tmin = 693705601, tmax = 693964801
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='467534', job_status='RUN', time_executed='2022-12-29 01:44:12.578033', time_epoch_executed='1672307052.58' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467534

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467534/ft1_4FGL_J2203.4+1725_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467534/ft2_4FGL_J2203.4+1725_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467534/ft1_4FGL_J2203.4+1725_daily_bin1753.fits outfile=/scratch/kocevski/467534/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1753.fits ra=330.872 dec=17.4318 rad=12.0 tmin=693705601.0 tmax=693964801.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.65
user 4.37
sys 0.24

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

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

Number of photons that the gtmktime cut: 744

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467534/ft1_filtered_4FGL_J2203.4+1725_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/467534/ft2_4FGL_J2203.4+1725_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/467534/ltcube_693705601_693964801_4FGL_J2203.4+1725_daily_bin1753.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/467534/ft2_4FGL_J2203.4+1725_daily_bin1753.fits
.....................!
real 15.89
user 15.38
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467534/ft1_filtered_4FGL_J2203.4+1725_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/467534/ft2_4FGL_J2203.4+1725_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/467534/ltcube_693705601_693964801_4FGL_J2203.4+1725_daily_bin1753.fits outfile=/scratch/kocevski/467534/expmap_693705601_693964801_4FGL_J2203.4+1725_daily_bin1753.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/467534/ltcube_693705601_693964801_4FGL_J2203.4+1725_daily_bin1753.fits
.....................!
real 193.80
user 188.18
sys 5.01

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/467534/ft1_filtered_4FGL_J2203.4+1725_daily_bin1753.fits scfile=/scratch/kocevski/467534/ft2_4FGL_J2203.4+1725_daily_bin1753.fits outfile=/scratch/kocevski/467534/cmap_693705601_693964801_4FGL_J2203.4+1725_daily_bin1753.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467534/ft1_filtered_4FGL_J2203.4+1725_daily_bin1753.fits scfile=/scratch/kocevski/467534/ft2_4FGL_J2203.4+1725_daily_bin1753.fits outfile=/scratch/kocevski/467534/cmap_HighResolution_693705601_693964801_4FGL_J2203.4+1725_daily_bin1753.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.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24760E-02   1.0000          .0000       .10000E+07
     2 'norm      '    2.9239       1.0000          .0000       .10000E+07
     3 'Prefactor '    .47291E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .19903E-01   1.0000          .0000       .10000E+07
     5 'norm      '    2.7384       1.0000          .0000       .10000E+07
     6 'norm      '    .25730E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .12085E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .59922E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    40.022       1.0000          .0000       .10000E+07
    10 'norm      '    1.2462       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.641       1.0000          .0000       .10000E+07
    12 'norm      '    .32673E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.7760       1.0000          .0000       .10000E+07
    14 'Prefactor '    15.771       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6813       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0547       1.0000         .10000E-03   10000.    
    17 'norm      '    .94869E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .28012E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .14178E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .64973       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1288       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=   8340.146     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1652 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49305E-06    6.1107       -.12370E-05** at limit **
   2  norm          2.9196        4.2421        .35780E-06   -.56529E-04
   3  Prefactor     .19429E-08    11.220        .13025E-06** at limit **
   4  Prefactor     .33862E-08    97.825       -.28838E-05** at limit **
   5  norm          2.7387        2.5732        .41901E-06   -.40128E-03
   6  norm          .13534E-06    29.038       -.26511E-05** at limit **
   7  norm          .69000E-07    12.846        .20006E-05** at limit **
   8  Prefactor     .16703E-06    11.852       -.21886E-05** at limit **
   9  Prefactor     40.917        42.798        .22582E-05   -.25083E-02
  10  norm          1.2448        .96173       -.60339E-07    .38086E-03
  11  Prefactor     25.597        4.2800       -.11790E-07    .19177E-01
  12  norm          .11102E-09    2.6608       -.58016E-06** at limit **
  13  Prefactor     3.8239        3.3737       -.93283E-07    .10359E-01
  14  Prefactor     15.774        2.6533       -.30153E-06   -.33450E-02
  15  Prefactor     1.6817        .32107       -.72739E-06    .11002E-03
  16  Prefactor     .98614        11.248        .25925E-04   -.49504E-04
  17  norm           .0000        1.0363       -.55143E-06** at limit **
  18  Prefactor     .16653E-09    6.6033       -.43270E-06** at limit **
  19  Prefactor     .16653E-09    4.7789        .30606E-06** at limit **
  20  Normalizat    .64931        .29487       -.57140E-04    .17119E-04
  21  Prefactor     1.1289        .14059        .17491E-04    .14019E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.9305e-07
  norm       = 2.91957
  Prefactor  = 1.94289e-09
  Prefactor  = 3.38618e-09
  norm       = 2.73871
  norm       = 1.35336e-07
  norm       = 6.90004e-08
  Prefactor  = 1.67033e-07
  Prefactor  = 40.9168
  norm       = 1.2448
  Prefactor  = 25.5974
  norm       = 1.11022e-10
  Prefactor  = 3.82387
  Prefactor  = 15.7738
  Prefactor  = 1.68168
  Prefactor  = 0.986143
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 1.66533e-10
  Normalizat = 0.649311
  Prefactor  = 1.12892
 **********
 **   18 **HESSE 
 **********

 FCN=   8340.146     FROM HESSE     STATUS=OK           361 CALLS     2013 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49305E-06    15.706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9196        4.2727        .59384E-03   -1.5674    
   3  Prefactor     .19429E-08    11.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33862E-08    97.567        .17043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.7387        2.5973        .61501E-03   -1.5675    
   6  norm          .13534E-06    1.9286        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .69000E-07    14.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16703E-06    16.831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.917        42.935        .15809E-03   -1.5580    
  10  norm          1.2448        .98677        .10026E-02   -1.5686    
  11  Prefactor     25.597        21.928        .19752E-03   -1.5607    
  12  norm          .11102E-09    2.6602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.8239        26.172        .51927E-03   -1.5669    
  14  Prefactor     15.774        19.248        .25193E-03   -1.5629    
  15  Prefactor     1.6817        .34096        .48213E-02   -1.5449    
  16  Prefactor     .98614        11.028        .11997E-01   -1.5509    
  17  norm           .0000        1.0297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16653E-09    6.6111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16653E-09    4.7878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .64931        .29040        .11046       -1.0593    
  21  Prefactor     1.1289        .12808        .36582E-01   -.88547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7405e-06
Minuit parameter uncertainties:
  1  0.00556564
  2  4.27273
  3  0.0002949
  4  0.00115333
  5  2.59735
  6  0.00102176
  7  0.0019731
  8  0.00335317
  9  42.935
  10  0.986772
  11  21.9276
  12  3.28646e-05
  13  20.0081
  14  19.2485
  15  0.340962
  16  6.59678
  17  7.5935e-07
  18  6.29969e-05
  19  5.29479e-05
  20  0.291083
  21  0.128118
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.245e+00  9.868e-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.129e+00  1.281e-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.493e-01  2.911e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.90
Ra Dec: 330.872 17.432
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.90e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.47e-05

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

Saving results to:
/scratch/kocevski/467534/likelihoodResults_693705601_693964801_4FGL_J2203.4+1725_daily_bin1753.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) = 8340.10845485
delta logL = 0.0378666653887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8340.10766698
delta logL = 0.0386545365709

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2359       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0092       1.0000          .0000       5.0000    
     3 'Normalizat'    .66151       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1253       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=   8340.108     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      227 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2348        41.548        .10096E-02    .54205E-02
   2  alpha         2.0082        3.3132        .42201       -.19872E-04
   3  Normalizat    .66147        .26220        .10950        .50700E-04
   4  Prefactor     1.1253        .13515        .36697E-01   -.52098E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.23477
  alpha      = 2.00817
  Normalizat = 0.661473
  Prefactor  = 1.1253
 **********
 **   18 **HESSE 
 **********

 FCN=   8340.108     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2348        .98881        .78430E-05   -1.5686    
   2  alpha         2.0082        .77025        .20732E-01   -.19802    
   3  Normalizat    .66147        .29215        .48551E-03   -1.0543    
   4  Prefactor     1.1253        .13977        .18173E-03   -.88662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79551e-10
Minuit parameter uncertainties:
  1  0.988814
  2  0.783522
  3  0.292835
  4  0.139814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467534': 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) = 8340.10766569
delta logL = 0.0386558304053

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.235e+00  9.888e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.008e+00  7.835e-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.125e+00  1.398e-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.615e-01  2.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.96
Ra Dec: 330.872 17.432
Photon Index (Free Index): 2.01 +/- 0.78
Photon Flux (Free Index): 3.99e-08 +/- 4.40e-08
Energy Flux (Free Index): 2.09e-05 +/- 2.01e-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/467534/cmap_HighResolution_693705601_693964801_4FGL_J2203.4+1725_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.08e-05', comment='SUCCESS', photon_flux='4.90e-08', energy_flux2='2.09e-05', photon_flux_error='3.88e-08', dlogl='3.87e-02', energy_flux='1.85e-05', photon_flux2='3.99e-08', job_status='DONE', time_completed='2022-12-29 01:55:35.974081', photon_index_error2='0.78', photon_index2='2.01', ts='2.90', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='2.01e-05', EG='0.65', time_epoch_completed='1672307735.97', return_code='0', job_id='467534', GAL2='1.13', EG2='0.66', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='4.40e-08', ts2='2.96', photon_index='2.23' WHERE bin_id='1753' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:55:36 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 467534: <4FGL_J2203.4+1725_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1753> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec 29 01:40:19 2022
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:40:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:40:29 2022
Terminated at Thu Dec 29 01:55:36 2022
Results reported at Thu Dec 29 01:55:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1753 330.872 17.4318 693705601 693964801 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 :                                   685.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            917 sec.

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

