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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1696
RA = 330.872, Dec = 17.4318
tmin = 678931201, tmax = 679190401
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='794043', job_status='RUN', time_executed='2022-07-11 00:37:05.571317', time_epoch_executed='1657525025.57' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794043

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794043/ft1_4FGL_J2203.4+1725_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794043/ft2_4FGL_J2203.4+1725_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794043/ft1_4FGL_J2203.4+1725_daily_bin1696.fits outfile=/scratch/kocevski/794043/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1696.fits ra=330.872 dec=17.4318 rad=12.0 tmin=678931201.0 tmax=679190401.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.54
user 3.32
sys 0.21

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

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

Number of photons that the gtmktime cut: 785

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794043/ft1_filtered_4FGL_J2203.4+1725_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794043/ft2_4FGL_J2203.4+1725_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/794043/ltcube_678931201_679190401_4FGL_J2203.4+1725_daily_bin1696.fits outfile=/scratch/kocevski/794043/expmap_678931201_679190401_4FGL_J2203.4+1725_daily_bin1696.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/794043/ltcube_678931201_679190401_4FGL_J2203.4+1725_daily_bin1696.fits
.....................!
real 193.41
user 187.06
sys 5.93

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/794043/ft1_filtered_4FGL_J2203.4+1725_daily_bin1696.fits scfile=/scratch/kocevski/794043/ft2_4FGL_J2203.4+1725_daily_bin1696.fits outfile=/scratch/kocevski/794043/cmap_678931201_679190401_4FGL_J2203.4+1725_daily_bin1696.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.57
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0923       1.0000         .10000E-03   10000.    
     2 'norm      '    7.8465       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.6048       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .62469E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .12564E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    44.609       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .17998       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.959       1.0000         .10000E-03   10000.    
    15 'norm      '    .21691E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.2553       1.0000         .10000E-03   10000.    
    17 'Prefactor '    78.964       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.196       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2986       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .54308       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    44.562       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .62579       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92693       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=   8419.671     FROM MIGRAD    STATUS=CONVERGED    602 CALLS     3003 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1785        72.591        .26968E-05    .85331E-04
   2  norm          7.8460        4.7242        .25740E-06   -.13527E-03
   3  Prefactor     8.6090        5.9132        .17277E-06   -.23121E-03
   4  Prefactor     .10006E-03    4.1106        .46080E-06** at limit **
   5  Prefactor     .10000E-03    48.553       -.22870E-06** at limit **
   6  norm          .10000E-03    .91122        .23284E-06** at limit **
   7  Prefactor     .10000E-03    22.228        .99949E-07** at limit **
   8  norm          .10000E-03    .72514        .11307E-07** at limit **
   9  norm          .10000E-03    11.256        .51509E-07** at limit **
  10  Prefactor     44.623        29.291       -.23339E-06   -.13915E-03
  11  Prefactor     .10000E-03    95.924        .17338E-05** at limit **
  12  norm          .17960        .60588        .33324E-06   -.86797E-03
  13  Prefactor     .10000E-03    18.969       -.10966E-06** at limit **
  14  Prefactor     19.961        15.780        .34844E-06   -.21734E-04
  15  norm          .10000E-03    2.8757       -.91104E-07** at limit **
  16  Prefactor     4.2574        15.967        .11752E-04   -.12605E-03
  17  Prefactor     78.898        67.923       -.55523E-06   -.17033E-03
  18  Prefactor     11.195        8.5752        .10220E-06   -.41784E-04
  19  Prefactor     1.2986        .25785       -.10382E-06   -.25055E-03
  20  Prefactor     .10000E-03    2.3211       -.57814E-08** at limit **
  21  norm          .54317        1.0123        .59370E-07    .25748E-03
  22  Prefactor     .10000E-03    6.8350        .27292E-09** at limit **
  23  Prefactor     44.563        13.594        .65743E-07   -.11897E-04
  24  Normalizat    .62577        .21223       -.55088E-06   -.25967E-03
  25  Prefactor     .92688        .10003       -.80729E-06   -.33771E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.17846
  norm       = 7.84597
  Prefactor  = 8.60899
  Prefactor  = 0.000100063
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 44.6227
  Prefactor  = 0.000100002
  norm       = 0.179604
  Prefactor  = 0.0001
  Prefactor  = 19.9611
  norm       = 0.0001
  Prefactor  = 4.25738
  Prefactor  = 78.8981
  Prefactor  = 11.1948
  Prefactor  = 1.29858
  Prefactor  = 0.0001
  norm       = 0.543174
  Prefactor  = 0.0001
  Prefactor  = 44.5634
  Normalizat = 0.62577
  Prefactor  = 0.926881
 **********
 **   18 **HESSE 
 **********

 FCN=   8419.671     FROM HESSE     STATUS=OK           439 CALLS     3442 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1785        71.825        .17817E-03   -1.5253    
   2  norm          7.8460        4.7118        .14315E-03   -1.5148    
   3  Prefactor     8.6090        5.9032        .13665E-03   -1.5121    
   4  Prefactor     .10006E-03    4.6502        .56134E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    48.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.1155        .16201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .73690        .76243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     44.623        28.254        .60027E-04   -1.4371    
  11  Prefactor     .10000E-03    97.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .17960        .78331        .12046E-02   -1.5623    
  13  Prefactor     .10000E-03    19.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.961        15.769        .89653E-04   -1.4814    
  15  norm          .10000E-03    7.8400        .29850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.2574        16.052        .97661E-03   -1.5295    
  17  Prefactor     78.898        67.870        .22597E-03   -1.3929    
  18  Prefactor     11.195        8.5685        .11973E-03   -1.5039    
  19  Prefactor     1.2986        .25793        .18914E-04   -1.5480    
  20  Prefactor     .10000E-03    2.3253        .13652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .54317        .74605        .12204E-02   -1.5561    
  22  Prefactor     .10000E-03    6.8368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     44.563        13.518        .60059E-04   -1.4372    
  24  Normalizat    .62577        .23736        .41095E-03   -1.0690    
  25  Prefactor     .92688        .11452        .17176E-03   -.95208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.73014e-10
Minuit parameter uncertainties:
  1  38.6277
  2  4.71198
  3  5.90363
  4  0.00107855
  5  0.000201064
  6  6.91453e-05
  7  4.93671e-05
  8  6.79429e-07
  9  1.00003e-05
  10  28.2628
  11  0.000852356
  12  0.74997
  13  3.23134e-05
  14  15.7728
  15  1.68088e-05
  16  16.0684
  17  67.9366
  18  8.56941
  19  0.257927
  20  1.85347e-07
  21  0.746066
  22  6.37326e-07
  23  13.519
  24  0.237748
  25  0.11455
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.796e-01  7.500e-01  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:  9.269e-01  1.146e-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.258e-01  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/794043/likelihoodResults_678931201_679190401_4FGL_J2203.4+1725_daily_bin1696.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): 102
logL (Free Index) = 8419.26868785
delta logL = 0.402103068758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8419.25824901
delta logL = 0.412541908529

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19622       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6994       1.0000          .0000       5.0000    
     3 'Normalizat'    .57284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94129       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=   8419.258     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      220 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19569        3.2004        .99309E-02    .32284E-02
   2  alpha         3.7020        4.3227        .49775        .63597E-04
   3  Normalizat    .57281        .36763E-01    .96655E-01    .53184E-04
   4  Prefactor     .94132        .18585E-01    .45529E-01    .12321E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.195692
  alpha      = 3.70197
  Normalizat = 0.572814
  Prefactor  = 0.941317
 **********
 **   18 **HESSE 
 **********

 FCN=   8419.258     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      255 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19569        12.035        .45552E-03   -1.5620    
   2  alpha         3.7020        3.1427        .29098E-01    .50155    
   3  Normalizat    .57281        .18781        .42836E-03   -1.0915    
   4  Prefactor     .94132        .96503E-01    .17052E-03   -.94712    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.73134e-07
Minuit parameter uncertainties:
  1  3.06919
  2  11.2088
  3  0.188014
  4  0.0965209
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794043': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8419.25824769
delta logL = 0.412543229846

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.957e-01  3.069e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  3.702e+00  1.121e+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:  9.413e-01  9.652e-02  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:  5.728e-01  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.00
Ra Dec: 330.872 17.432
Photon Index (Free Index): 3.70 +/- 11.21
Photon Flux (Free Index): 4.69e-08 +/- 5.20e-08
Energy Flux (Free Index): 7.65e-06 +/- 2.11e-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/794043/cmap_HighResolution_678931201_679190401_4FGL_J2203.4+1725_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.10e-05', comment='SUCCESS', energy_flux2='7.65e-06', dlogl='4.13e-01', photon_flux2='4.69e-08', job_status='DONE', time_completed='2022-07-11 00:51:53.965986', photon_index_error2='11.21', photon_index2='3.70', ts='0.07', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='8.21e-08', energy_flux_error2='2.11e-05', EG='0.63', time_epoch_completed='1657525913.97', return_code='0', job_id='794043', GAL2='0.94', EG2='0.57', return_code2='102', photon_flux_error2='5.20e-08', ts2='1.00', photon_index='2.23' WHERE bin_id='1696' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:51:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 794043: <4FGL_J2203.4+1725_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:35:20 2022
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:35:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:35:21 2022
Terminated at Mon Jul 11 00:51:54 2022
Results reported at Mon Jul 11 00:51:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1696 330.872 17.4318 678931201 679190401 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 :                                   890.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1009 sec.
    Turnaround time :                            994 sec.

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

