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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1771
RA = 330.872, Dec = 17.4318
tmin = 698371201, tmax = 698630401
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='570903', job_status='RUN', time_executed='2023-02-21 02:22:00.233374', time_epoch_executed='1676974920.23' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/570903

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/570903/ft1_4FGL_J2203.4+1725_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/570903/ft2_4FGL_J2203.4+1725_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/570903/ft1_4FGL_J2203.4+1725_daily_bin1771.fits outfile=/scratch/kocevski/570903/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1771.fits ra=330.872 dec=17.4318 rad=12.0 tmin=698371201.0 tmax=698630401.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.08
user 2.88
sys 0.19

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

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

Number of photons that the gtmktime cut: 1030

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/570903/ft1_filtered_4FGL_J2203.4+1725_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/570903/ft2_4FGL_J2203.4+1725_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/570903/ltcube_698371201_698630401_4FGL_J2203.4+1725_daily_bin1771.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/570903/ft2_4FGL_J2203.4+1725_daily_bin1771.fits
.....................!
real 12.60
user 12.26
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/570903/ft1_filtered_4FGL_J2203.4+1725_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/570903/ft2_4FGL_J2203.4+1725_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/570903/ltcube_698371201_698630401_4FGL_J2203.4+1725_daily_bin1771.fits outfile=/scratch/kocevski/570903/expmap_698371201_698630401_4FGL_J2203.4+1725_daily_bin1771.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/570903/ltcube_698371201_698630401_4FGL_J2203.4+1725_daily_bin1771.fits
.....................!
real 193.39
user 187.56
sys 5.18

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/570903/ft1_filtered_4FGL_J2203.4+1725_daily_bin1771.fits scfile=/scratch/kocevski/570903/ft2_4FGL_J2203.4+1725_daily_bin1771.fits outfile=/scratch/kocevski/570903/cmap_698371201_698630401_4FGL_J2203.4+1725_daily_bin1771.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/570903/ft1_filtered_4FGL_J2203.4+1725_daily_bin1771.fits scfile=/scratch/kocevski/570903/ft2_4FGL_J2203.4+1725_daily_bin1771.fits outfile=/scratch/kocevski/570903/cmap_HighResolution_698371201_698630401_4FGL_J2203.4+1725_daily_bin1771.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/570903/ft1_filtered_4FGL_J2203.4+1725_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/570903/ft2_4FGL_J2203.4+1725_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/570903/Model_4FGL_J2203.4+1725_daily_bin1771.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/570903/ft1_filtered_4FGL_J2203.4+1725_daily_bin1771.fits.....................!
real 153.65
user 151.99
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6825       1.0000          .0000       .10000E+07
     2 'norm      '    3.8710       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3628       1.0000          .0000       .10000E+07
     4 'Prefactor '    .61306E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .62783E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .54240E-06   1.0000          .0000       .10000E+07
     7 'norm      '    4.7405       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13708E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.5063       1.0000          .0000       .10000E+07
    10 'norm      '    .60646       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9216       1.0000          .0000       .10000E+07
    12 'norm      '    .18214E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.573       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.6496       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.3329       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.4420       1.0000         .10000E-03   10000.    
    17 'norm      '    1.7528       1.0000          .0000       .10000E+07
    18 'Prefactor '    .14536E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .56044E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .89660       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0383       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=   11298.66     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1309 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6913        1.5935        .43089E-08   -.11702E-01
   2  norm          3.8645        3.4398       -.38207E-07    .14469E-03
   3  Prefactor     2.3576        3.8020        .18450E-07   -.62222E-04
   4  Prefactor     .14599E-07    32.906        .53597E-06** at limit **
   5  norm           .0000        1.9339        .34394E-08** at limit **
   6  norm           .0000        1.2059       -.65352E-08** at limit **
   7  norm          4.3708        2.5633        .12133E-07   -.30365E-01
   8  Prefactor     .22204E-09    20.172        .11897E-06** at limit **
   9  Prefactor     .33057E-06    938.81       -.34006E-05** at limit **
  10  norm          .60710        .65257        .37486E-08   -.63078E-04
  11  Prefactor     2.1623        19.620       -.18889E-06    .83672E-03
  12  norm           .0000        5.0514       -.99188E-07** at limit **
  13  Prefactor     17.795        14.878        .55619E-07    .71227E-02
  14  Prefactor     2.8016        7.2263        .81640E-07   -.43341E-03
  15  Prefactor     1.3306        .30363       -.13456E-06    .13392E-03
  16  Prefactor     4.5267        7.7215        .22232E-05   -.14622E-04
  17  norm          1.7520        1.1637        .29895E-08   -.57846E-03
  18  Prefactor      .0000        10.242       -.42708E-07** at limit **
  19  Prefactor      .0000        5.0000       -.72412E-07** at limit **
  20  Normalizat    .89718        .24672        .21194E-05   -.40887E-05
  21  Prefactor     1.0388        .11538       -.84868E-06   -.79009E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.69133
  norm       = 3.86452
  Prefactor  = 2.35763
  Prefactor  = 1.45994e-08
  norm       = 0
  norm       = 0
  norm       = 4.37076
  Prefactor  = 2.22045e-10
  Prefactor  = 3.30569e-07
  norm       = 0.607103
  Prefactor  = 2.16234
  norm       = 0
  Prefactor  = 17.7954
  Prefactor  = 2.80164
  Prefactor  = 1.33063
  Prefactor  = 4.52671
  norm       = 1.75204
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.897178
  Prefactor  = 1.03876
 **********
 **   18 **HESSE 
 **********

 FCN=   11298.66     FROM HESSE     STATUS=OK           369 CALLS     1678 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6913        16.828        .38793E-03   -1.5656    
   2  norm          3.8645        3.4703        .51264E-03   -1.5669    
   3  Prefactor     2.3576        3.8283        .66640E-03   -1.5677    
   4  Prefactor     .14599E-07    33.286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.9103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.2039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.3708        35.052        .46190E-03   -1.5666    
   8  Prefactor     .22204E-09    20.513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33057E-06    35.990        .12860E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .60710        .66593        .68651E-03   -1.5692    
  11  Prefactor     2.1623        19.752        .74926E-03   -1.5679    
  12  norm           .0000        5.0331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.795        14.909        .23865E-03   -1.5624    
  14  Prefactor     2.8016        7.2911        .62603E-03   -1.5674    
  15  Prefactor     1.3306        .30353        .57953E-02   -1.5477    
  16  Prefactor     4.5267        7.7226        .47766E-02   -1.5282    
  17  norm          1.7520        1.1629        .79151E-03   -1.5681    
  18  Prefactor      .0000        10.289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        5.0083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .89718        .21134        .91556E-01   -.96559    
  21  Prefactor     1.0388        .97044E-01    .40650E-01   -.91449    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79979e-07
Minuit parameter uncertainties:
  1  16.8285
  2  3.47031
  3  3.82834
  4  0.00139468
  5  2.34449e-06
  6  1.46104e-06
  7  24.7553
  8  0.000136081
  9  0.00689875
  10  0.665927
  11  13.0707
  12  7.12339e-06
  13  14.9095
  14  7.29117
  15  0.303533
  16  7.7243
  17  1.16291
  18  7.4858e-06
  19  2.70129e-06
  20  0.211531
  21  0.09706
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  6.071e-01  6.659e-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.039e+00  9.706e-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:  8.972e-01  2.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 330.872 17.432
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.39e-08 +/- 2.62e-08
Energy Flux (Fixed Index): 9.01e-06 +/- 9.89e-06

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

Saving results to:
/scratch/kocevski/570903/likelihoodResults_698371201_698630401_4FGL_J2203.4+1725_daily_bin1771.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) = 11298.5509405
delta logL = 0.109526312011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11298.5460378
delta logL = 0.11442898219

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59887       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7560       1.0000          .0000       5.0000    
     3 'Normalizat'    .87061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0465       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=   11298.55     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      204 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59884        17.521        .69330E-04    .99487E-02
   2  alpha         2.7562        2.7249        .41427        .36056E-04
   3  Normalizat    .87062        .10782        .92819E-01    .41673E-03
   4  Prefactor     1.0465        .36457E-01    .40119E-01    .92035E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.598839
  alpha      = 2.75616
  Normalizat = 0.87062
  Prefactor  = 1.04649
 **********
 **   18 **HESSE 
 **********

 FCN=   11298.55     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59884        .67505        .27732E-05   -1.5692    
   2  alpha         2.7562        1.1623        .30757E-01    .10264    
   3  Normalizat    .87062        .25040        .41117E-03   -.97500    
   4  Prefactor     1.0465        .11679        .17974E-03   -.91196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.47852e-09
Minuit parameter uncertainties:
  1  0.675047
  2  1.20946
  3  0.250738
  4  0.116815
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/570903': 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) = 11298.5460378
delta logL = 0.114429019173

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  5.988e-01  6.750e-01  0.000e+00  1.000e+06 ( 1.000e-11)
271        alpha:  2.756e+00  1.209e+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.046e+00  1.168e-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:  8.706e-01  2.507e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.71
Ra Dec: 330.872 17.432
Photon Index (Free Index): 2.76 +/- 1.21
Photon Flux (Free Index): 4.16e-08 +/- 5.18e-08
Energy Flux (Free Index): 9.76e-06 +/- 9.20e-06

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/570903/cmap_HighResolution_698371201_698630401_4FGL_J2203.4+1725_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-05', comment='SUCCESS', photon_flux='2.39e-08', energy_flux2='9.76e-06', photon_flux_error='2.62e-08', dlogl='1.14e-01', energy_flux='9.01e-06', photon_flux2='4.16e-08', job_status='DONE', time_completed='2023-02-21 02:34:39.546815', photon_index_error2='1.21', photon_index2='2.76', ts='1.42', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='8.67e-08', energy_flux_error2='9.20e-06', EG='0.90', time_epoch_completed='1676975679.55', return_code='0', job_id='570903', GAL2='1.05', EG2='0.87', return_code2='0', energy_flux_error='9.89e-06', photon_flux_error2='5.18e-08', ts2='1.71', photon_index='2.23' WHERE bin_id='1771' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 02:34:39 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 570903: <4FGL_J2203.4+1725_daily_bin1771> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 02:20:16 2023
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:20:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:20:17 2023
Terminated at Tue Feb 21 02:34:40 2023
Results reported at Tue Feb 21 02:34:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1771 330.872 17.4318 698371201 698630401 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 :                                   759.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            864 sec.

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

