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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1716
RA = 330.872, Dec = 17.4318
tmin = 684115201, tmax = 684374401
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='240493', job_status='RUN', time_executed='2022-09-16 23:44:41.855291', time_epoch_executed='1663397081.86' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240493

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240493/ft1_4FGL_J2203.4+1725_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240493/ft2_4FGL_J2203.4+1725_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240493/ft1_4FGL_J2203.4+1725_daily_bin1716.fits outfile=/scratch/kocevski/240493/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1716.fits ra=330.872 dec=17.4318 rad=12.0 tmin=684115201.0 tmax=684374401.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.13
user 3.86
sys 0.23

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

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

Number of photons that the gtmktime cut: 749

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/240493/ft1_filtered_4FGL_J2203.4+1725_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/240493/ft2_4FGL_J2203.4+1725_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/240493/ltcube_684115201_684374401_4FGL_J2203.4+1725_daily_bin1716.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/240493/ft2_4FGL_J2203.4+1725_daily_bin1716.fits
.....................!
real 14.84
user 14.24
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240493/ft1_filtered_4FGL_J2203.4+1725_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/240493/ft2_4FGL_J2203.4+1725_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/240493/ltcube_684115201_684374401_4FGL_J2203.4+1725_daily_bin1716.fits outfile=/scratch/kocevski/240493/expmap_684115201_684374401_4FGL_J2203.4+1725_daily_bin1716.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/240493/ltcube_684115201_684374401_4FGL_J2203.4+1725_daily_bin1716.fits
.....................!
real 192.07
user 186.28
sys 4.95

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/240493/ft1_filtered_4FGL_J2203.4+1725_daily_bin1716.fits scfile=/scratch/kocevski/240493/ft2_4FGL_J2203.4+1725_daily_bin1716.fits outfile=/scratch/kocevski/240493/cmap_684115201_684374401_4FGL_J2203.4+1725_daily_bin1716.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240493/ft1_filtered_4FGL_J2203.4+1725_daily_bin1716.fits scfile=/scratch/kocevski/240493/ft2_4FGL_J2203.4+1725_daily_bin1716.fits outfile=/scratch/kocevski/240493/cmap_HighResolution_684115201_684374401_4FGL_J2203.4+1725_daily_bin1716.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.59
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9877       1.0000          .0000       .10000E+07
     2 'norm      '    8.1523       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55142E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    83.749       1.0000          .0000       .10000E+07
     5 'norm      '    .11308E-06   1.0000          .0000       .10000E+07
     6 'norm      '    6.6908       1.0000          .0000       .10000E+07
     7 'norm      '    .39069E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .25694E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .89978       1.0000          .0000       .10000E+07
    10 'norm      '    .21290       1.0000          .0000       .10000E+07
    11 'Prefactor '    33.959       1.0000          .0000       .10000E+07
    12 'norm      '    .44964E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .66769E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .77105E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .51133       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.351       1.0000         .10000E-03   10000.    
    17 'norm      '    1.1933       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.839       1.0000          .0000       .10000E+07
    19 'Prefactor '    13.857       1.0000          .0000       .10000E+07
    20 'Normalizat'    .78595       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0445       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=   8225.730     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1655 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5040        134.90        .11522E-07    .89300E-03
   2  norm          8.1022        5.2465        .23364E-07    .21272E-03
   3  Prefactor     .16653E-09    27.946        .23247E-05** at limit **
   4  Prefactor     82.891        28.112        .73875E-06   -.12861    
   5  norm           .0000        .88990        .70863E-07** at limit **
   6  norm          6.6885        3.0574        .37388E-07    .13768E-02
   7  norm          .55511E-10    112.44       -.40576E-06** at limit **
   8  Prefactor      .0000        36.032        .19902E-05** at limit **
   9  Prefactor     .20207E-03    1005.5        .15230E-04** at limit **
  10  norm          .21298        .54315        .87624E-07** at limit **
  11  Prefactor     33.813        22.674        .63708E-06   -.29209E-02
  12  norm           .0000        1.6901       -.59177E-07** at limit **
  13  Prefactor     .55511E-10    11.800        .51035E-06** at limit **
  14  Prefactor      .0000        2.5231        .24964E-06** at limit **
  15  Prefactor     .51114        .20576        .40426E-06   -.78171E-03
  16  Prefactor     11.348        7.3881        .90899E-06   -.35013E-04
  17  norm          1.1925        1.2817        .16453E-06   -.15657E-02
  18  Prefactor     11.806        12.644       -.83485E-06    .11301E-02
  19  Prefactor     13.873        12.629       -.24613E-06    .58376E-03
  20  Normalizat    .78694        .27487       -.64678E-06   -.24079E-03
  21  Prefactor     1.0446        .13208       -.73638E-05   -.61321E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.50396
  norm       = 8.10217
  Prefactor  = 1.66533e-10
  Prefactor  = 82.8914
  norm       = 0
  norm       = 6.68851
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0.000202072
  norm       = 0.212983
  Prefactor  = 33.8131
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0.511142
  Prefactor  = 11.3484
  norm       = 1.1925
  Prefactor  = 11.8064
  Prefactor  = 13.8735
  Normalizat = 0.786944
  Prefactor  = 1.04461
 **********
 **   18 **HESSE 
 **********

 FCN=   8225.730     FROM HESSE     STATUS=OK           367 CALLS     2022 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5040        127.42        .58706E-03   -1.5671    
   2  norm          8.1022        5.2775        .35090E-03   -1.5651    
   3  Prefactor     .16653E-09    3.2350        .10511E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     82.891        102.96        .10928E-03   -1.5526    
   5  norm           .0000        .89328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.6885        3.0690        .38769E-03   -1.5656    
   7  norm          .55511E-10    112.09        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        36.286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20207E-03    1115.9        .45775E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .21298        .54457        .11551E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.813        22.725        .17162E-03   -1.5592    
  12  norm           .0000        1.6930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    11.837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.5244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .51114        .20749        .56595E-02   -1.5565    
  16  Prefactor     11.348        7.3864        .29727E-02   -1.5034    
  17  norm          1.1925        1.3148        .10414E-02   -1.5686    
  18  Prefactor     11.806        12.660        .29089E-03   -1.5639    
  19  Prefactor     13.873        12.692        .26882E-03   -1.5633    
  20  Normalizat    .78694        .24318        .95760E-01   -1.0055    
  21  Prefactor     1.0446        .11444        .40240E-01   -.91257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30195e-06
Minuit parameter uncertainties:
  1  42.2601
  2  5.27748
  3  4.76879e-05
  4  102.959
  5  3.94004e-07
  6  3.06902
  7  0.000140052
  8  2.35452e-05
  9  0.949906
  10  0.544573
  11  22.725
  12  7.31587e-06
  13  5.68179e-05
  14  1.71527e-06
  15  0.207492
  16  7.38699
  17  1.3148
  18  12.6598
  19  12.6916
  20  0.243517
  21  0.114464
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  2.130e-01  5.446e-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.045e+00  1.145e-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.869e-01  2.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/240493/likelihoodResults_684115201_684374401_4FGL_J2203.4+1725_daily_bin1716.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) = 8225.71926444
delta logL = 0.0105593192111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8225.71841616
delta logL = 0.0114076062764

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22780       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6944       1.0000          .0000       5.0000    
     3 'Normalizat'    .77771       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0472       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8225.718     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      259 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22786        .60883        .22601E-04** at limit **
   2  alpha         2.6979        3.8081        .94238E-01   -.94780E-05
   3  Normalizat    .77763        .29966        .42672E-03    .11083E-04
   4  Prefactor     1.0472        .13757        .18041E-03    .22307E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.22786
  alpha      = 2.69788
  Normalizat = 0.777633
  Prefactor  = 1.04724
 **********
 **   18 **HESSE 
 **********

 FCN=   8225.718     FROM HESSE     STATUS=OK            27 CALLS      286 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22786        .55341        .90405E-06   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6979        3.8470        .37695E-02    .79234E-01
   3  Normalizat    .77763        .29048        .17069E-04   -1.0090    
   4  Prefactor     1.0472        .13532        .72166E-05   -.91171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14445e-12
Minuit parameter uncertainties:
  1  0.55341
  2  4.25035
  3  0.291059
  4  0.135366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240493': 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) = 8225.71841579
delta logL = 0.0114079760551

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  2.279e-01  5.534e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.698e+00  4.250e+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.047e+00  1.354e-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.776e-01  2.911e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/240493/cmap_HighResolution_684115201_684374401_4FGL_J2203.4+1725_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-05', job_status='DONE', photon_flux_upper_limit='7.94e-08', time_completed='2022-09-16 23:55:56.577270', job_id='240493', GAL2='1.05', fit_tolerance='1e-08', EG2='0.78', EG='0.79', time_epoch_completed='1663397756.58', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.14e-02', ts2='0.23', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1716' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:55:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 240493: <4FGL_J2203.4+1725_daily_bin1716> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1716> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 23:40:26 2022
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:40:56 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:56 2022
Terminated at Fri Sep 16 23:55:57 2022
Results reported at Fri Sep 16 23:55:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1716 330.872 17.4318 684115201 684374401 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 :                                   675.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            931 sec.

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

