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 23 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1703
RA = 330.872, Dec = 17.4318
tmin = 680745601, tmax = 681004801
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='324129', job_status='RUN', time_executed='2022-08-01 01:22:16.125948', time_epoch_executed='1659342136.13' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324129

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324129/ft1_4FGL_J2203.4+1725_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324129/ft2_4FGL_J2203.4+1725_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324129/ft1_4FGL_J2203.4+1725_daily_bin1703.fits outfile=/scratch/kocevski/324129/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1703.fits ra=330.872 dec=17.4318 rad=12.0 tmin=680745601.0 tmax=681004801.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 2.96
user 2.75
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324129/ft2_4FGL_J2203.4+1725_daily_bin1703.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/324129/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/324129/ft1_filtered_4FGL_J2203.4+1725_daily_bin1703.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 562

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324129/ft1_filtered_4FGL_J2203.4+1725_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/324129/ft2_4FGL_J2203.4+1725_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/324129/ltcube_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.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/324129/ft2_4FGL_J2203.4+1725_daily_bin1703.fits
.....................!
real 14.92
user 14.52
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324129/ft1_filtered_4FGL_J2203.4+1725_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324129/ft2_4FGL_J2203.4+1725_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/324129/ltcube_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.fits outfile=/scratch/kocevski/324129/expmap_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.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/324129/ltcube_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.fits
.....................!
real 194.54
user 187.57
sys 5.42

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_archive_v18/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/324129/ft1_filtered_4FGL_J2203.4+1725_daily_bin1703.fits scfile=/scratch/kocevski/324129/ft2_4FGL_J2203.4+1725_daily_bin1703.fits outfile=/scratch/kocevski/324129/cmap_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=330.872 yref=17.4318 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324129/ft1_filtered_4FGL_J2203.4+1725_daily_bin1703.fits scfile=/scratch/kocevski/324129/ft2_4FGL_J2203.4+1725_daily_bin1703.fits outfile=/scratch/kocevski/324129/cmap_HighResolution_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324129/ft1_filtered_4FGL_J2203.4+1725_daily_bin1703.fits', '/scratch/kocevski/324129/ft2_4FGL_J2203.4+1725_daily_bin1703.fits', expMap='/scratch/kocevski/324129/expmap_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.fits', expCube='/scratch/kocevski/324129/ltcube_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324129/Model_4FGL_J2203.4+1725_daily_bin1703.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  1.000e-04  1.000e+04 ( 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  0.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/324129/ft1_filtered_4FGL_J2203.4+1725_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/324129/ft2_4FGL_J2203.4+1725_daily_bin1703.fits
Exposure map: /scratch/kocevski/324129/expmap_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.fits
Exposure cube: /scratch/kocevski/324129/ltcube_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324129/Model_4FGL_J2203.4+1725_daily_bin1703.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) = 6517.30902988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.4540       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1219       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11199E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11532E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.9264       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10276E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.221       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.3576       1.0000         .10000E-03   10000.    
    15 'norm      '    2.5800       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    130.39       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.407       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .72885       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.1295       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .18630E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .73631       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88766       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6517.256     FROM MIGRAD    STATUS=CONVERGED    587 CALLS     2926 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.600        .27465E-06** at limit **
   2  norm          5.4543        5.8372        .26373E-06    .25349E-04
   3  Prefactor     2.1218        16.399        .26760E-05   -.65387E-05
   4  Prefactor     .10000E-03    33.544        .76242E-06** at limit **
   5  Prefactor     .10000E-03    140.13       -.11749E-05** at limit **
   6  norm          5.9255        3.9130        .19510E-06   -.52450E-04
   7  Prefactor     .10000E-03    43.187       -.97496E-06** at limit **
   8  norm          .10000E-03    1.8749        .92512E-07** at limit **
   9  norm          .10000E-03    88.277        .14411E-05** at limit **
  10  Prefactor     .10000E-03    19.433        .93330E-08** at limit **
  11  Prefactor     .10000E-03    25.499       -.15814E-06** at limit **
  12  norm          .10000E-03    .31453        .20113E-07** at limit **
  13  Prefactor     10.247        132.66        .26374E-05    .32666E-04
  14  Prefactor     5.3564        11.185        .45752E-05    .12437E-04
  15  norm          2.5797        4.9330        .65499E-06   -.62401E-05
  16  Prefactor     .10000E-03    9.4951        .13006E-06** at limit **
  17  Prefactor     130.34        111.56       -.17320E-05   -.12660E-03
  18  Prefactor     21.405        16.817       -.34810E-06   -.10105E-03
  19  Prefactor     .72888        .29530        .17198E-07   -.10650E-03
  20  Prefactor     .10000E-03    25.431        .43951E-07** at limit **
  21  norm          1.1296        1.1203        .61505E-08   -.48294E-03
  22  Prefactor     .10000E-03    5.9775        .37838E-08** at limit **
  23  Prefactor     .10053E-03    7.3679        .13744E-05** at limit **
  24  Normalizat    .73644        .27321       -.75652E-06   -.98786E-04
  25  Prefactor     .88762        .11560       -.19242E-06   -.15325E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.45427
  Prefactor  = 2.12183
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 5.9255
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.2471
  Prefactor  = 5.35642
  norm       = 2.57973
  Prefactor  = 0.0001
  Prefactor  = 130.341
  Prefactor  = 21.4047
  Prefactor  = 0.728883
  Prefactor  = 0.0001
  norm       = 1.12959
  Prefactor  = 0.0001
  Prefactor  = 0.000100533
  Normalizat = 0.73644
  Prefactor  = 0.88762
 **********
 **   18 **HESSE 
 **********

 FCN=   6517.256     FROM HESSE     STATUS=OK           423 CALLS     3349 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.4543        5.8326        .17206E-03   -1.5241    
   3  Prefactor     2.1218        16.261        .28311E-03   -1.5417    
   4  Prefactor     .10000E-03    34.409        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    140.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.9255        3.9016        .11960E-03   -1.5221    
   7  Prefactor     .10000E-03    43.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.8862        .10790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    88.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    25.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .32121        .44167E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.247        132.56        .12533E-03   -1.5068    
  14  Prefactor     5.3564        11.237        .86812E-03   -1.5245    
  15  norm          2.5797        4.9107        .23658E-03   -1.5387    
  16  Prefactor     .10000E-03    9.5161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     130.34        111.85        .17630E-03   -1.3420    
  18  Prefactor     21.405        16.943        .86570E-04   -1.4782    
  19  Prefactor     .72888        .29202        .26542E-04   -1.5537    
  20  Prefactor     .10000E-03    25.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.1296        1.1039        .81452E-04   -1.5495    
  22  Prefactor     .10000E-03    5.9777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10053E-03    80.483        .39561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .73644        .31699        .41349E-03   -1.0247    
  25  Prefactor     .88762        .13696        .17388E-03   -.96575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36607e-09
Minuit parameter uncertainties:
  1  0.000106067
  2  5.83325
  3  11.7521
  4  0.000138642
  5  0.00136795
  6  3.90172
  7  0.000659353
  8  1.57359e-06
  9  0.000662823
  10  2.99579e-07
  11  8.36539e-05
  12  1.07683e-07
  13  73.9144
  14  11.2416
  15  4.91147
  16  9.84403e-07
  17  112.029
  18  16.947
  19  0.292023
  20  1.49593e-05
  21  1.10397
  22  7.88281e-08
  23  0.0131181
  24  0.317786
  25  0.137015
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.000e-04  1.077e-07  1.000e-04  1.000e+04 ( 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  0.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:  8.876e-01  1.370e-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.364e-01  3.178e-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: 6.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.34e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/324129/likelihoodResults_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.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) = 6517.25651315
delta logL = -0.000193464694348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6517.25631852
delta logL = 1.16323462862e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2047       1.0000          .0000       5.0000    
     3 'Normalizat'    .73658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88762       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=   6516.991     FROM MIGRAD    STATUS=CONVERGED    170 CALLS      317 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41105E-01    .95733E-01    .64625E-02   -.85052E-03
   2  alpha         .56030        .57473        .41520       -.33776E-04
   3  Normalizat    .72715        .24738        .93861E-01    .15205E-03
   4  Prefactor     .88971        .11417        .44847E-01    .19918E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.041105
  alpha      = 0.560301
  Normalizat = 0.727152
  Prefactor  = 0.889712
 **********
 **   18 **HESSE 
 **********

 FCN=   6516.991     FROM HESSE     STATUS=OK            33 CALLS      350 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41105E-01    .92485E-01    .37216E-03   -1.5748    
   2  alpha         .56030        .66618        .29354E-01   -.88811    
   3  Normalizat    .72715        .28904        .41587E-03   -1.0283    
   4  Prefactor     .88971        .13382        .17367E-03   -.96502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21095e-10
Minuit parameter uncertainties:
  1  0.0924854
  2  0.687768
  3  0.289651
  4  0.133869
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324129': 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) = 6516.99123682
delta logL = 0.265082860694

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  4.111e-02  9.249e-02  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  5.603e-01  6.878e-01  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.474e-02  0.000e+00  0.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:  8.897e-01  1.339e-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.272e-01  2.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 330.872 17.432

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/324129/cmap_HighResolution_680745601_681004801_4FGL_J2203.4+1725_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.34e-05', job_status='DONE', photon_flux_upper_limit='6.19e-08', time_completed='2022-08-01 01:34:50.788337', job_id='324129', GAL2='0.89', fit_tolerance='1e-08', EG2='0.73', EG='0.74', time_epoch_completed='1659342890.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.65e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1703' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:34:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 324129: <4FGL_J2203.4+1725_daily_bin1703> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:20:20 2022
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:21:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:21:42 2022
Terminated at Mon Aug  1 01:34:51 2022
Results reported at Mon Aug  1 01:34:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1703 330.872 17.4318 680745601 681004801 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 :                                   754.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             354.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            871 sec.

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

