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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1630
RA = 330.872, Dec = 17.4318
tmin = 661824001, tmax = 662083201
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='498860', job_status='RUN', time_executed='2021-12-25 00:57:12.402119', time_epoch_executed='1640422632.4' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/498860

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/498860/ft1_4FGL_J2203.4+1725_daily_bin1630.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/498860/ft2_4FGL_J2203.4+1725_daily_bin1630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/498860/ft1_4FGL_J2203.4+1725_daily_bin1630.fits outfile=/scratch/kocevski/498860/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1630.fits ra=330.872 dec=17.4318 rad=12.0 tmin=661824001.0 tmax=662083201.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.70
user 4.45
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/498860/ft1_filtered_4FGL_J2203.4+1725_daily_bin1630.fits evtable="EVENTS" scfile=/scratch/kocevski/498860/ft2_4FGL_J2203.4+1725_daily_bin1630.fits sctable="SC_DATA" expcube=/scratch/kocevski/498860/ltcube_661824001_662083201_4FGL_J2203.4+1725_daily_bin1630.fits outfile=/scratch/kocevski/498860/expmap_661824001_662083201_4FGL_J2203.4+1725_daily_bin1630.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/498860/ltcube_661824001_662083201_4FGL_J2203.4+1725_daily_bin1630.fits
.....................!
real 193.25
user 187.70
sys 5.11

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/498860/ft1_filtered_4FGL_J2203.4+1725_daily_bin1630.fits scfile=/scratch/kocevski/498860/ft2_4FGL_J2203.4+1725_daily_bin1630.fits outfile=/scratch/kocevski/498860/cmap_661824001_662083201_4FGL_J2203.4+1725_daily_bin1630.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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/498860/ft1_filtered_4FGL_J2203.4+1725_daily_bin1630.fits scfile=/scratch/kocevski/498860/ft2_4FGL_J2203.4+1725_daily_bin1630.fits outfile=/scratch/kocevski/498860/cmap_HighResolution_661824001_662083201_4FGL_J2203.4+1725_daily_bin1630.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=330.872 yref=17.4318 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9520       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10401E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.439       1.0000         .10000E-03   10000.    
     8 'norm      '    .10330E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1471       1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.301       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.7193       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.867       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.028       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.9314       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.5870       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0243       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .83775       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=   7196.270     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     3003 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.470        .28620E-06** at limit **
   2  norm          .10000E-03    3.3603        .81705E-07** at limit **
   3  Prefactor     1.9541        6.0586        .26771E-05   -.92191E-05
   4  Prefactor     .10000E-03    3.7385        .11729E-06** at limit **
   5  Prefactor     .10000E-03    32.440        .76361E-06** at limit **
   6  norm          .10000E-03    1.1566        .28564E-06** at limit **
   7  Prefactor     34.408        56.474       -.85779E-06    .32890E-04
   8  norm          .10000E-03    1.4648       -.16212E-06** at limit **
   9  norm          3.1311        18.443       -.24650E-05    .43443E-04
  10  Prefactor     27.302        28.782        .34788E-06   -.50726E-04
  11  Prefactor     .10000E-03    27.141       -.12162E-05** at limit **
  12  norm          1.7193        1.0861        .64759E-07   -.13106E-03
  13  Prefactor     .10000E-03    19.069        .22179E-06** at limit **
  14  Prefactor     .10000E-03    17.067        .54346E-06** at limit **
  15  norm          .10000E-03    1.8422        .18485E-07** at limit **
  16  Prefactor     .10000E-03    17.234        .51328E-06** at limit **
  17  Prefactor     23.836        127.57        .96202E-05   -.13391E-04
  18  Prefactor     18.028        18.719        .79774E-06   -.46966E-04
  19  Prefactor     .10000E-03    .11595        .14734E-06** at limit **
  20  Prefactor     .10000E-03    14.665       -.46964E-06** at limit **
  21  norm          1.9312        1.6188        .38101E-07   -.82480E-05
  22  Prefactor     .10000E-03    5.8936       -.11704E-07** at limit **
  23  Prefactor     3.5869        8.1290        .18105E-06   -.41061E-05
  24  Normalizat    1.0240        .23336       -.24516E-05   -.30220E-04
  25  Prefactor     .83783        .10269       -.39174E-06   -.22145E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.95411
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 34.4083
  norm       = 0.000100003
  norm       = 3.13107
  Prefactor  = 27.3022
  Prefactor  = 0.0001
  norm       = 1.71934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.8363
  Prefactor  = 18.0275
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.93123
  Prefactor  = 0.0001
  Prefactor  = 3.58688
  Normalizat = 1.02399
  Prefactor  = 0.83783
 **********
 **   18 **HESSE 
 **********

 FCN=   7196.270     FROM HESSE     STATUS=OK           423 CALLS     3426 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.4304        .15185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.9541        6.1761        .14851E-02   -1.5428    
   4  Prefactor     .10000E-03    3.7691        .16025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.0294        .17500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     34.408        56.823        .68286E-04   -1.4534    
   8  norm          .10000E-03    8.2586        .17425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1311        18.227        .22850E-03   -1.5354    
  10  Prefactor     27.302        28.443        .76672E-04   -1.4662    
  11  Prefactor     .10000E-03    27.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7193        1.0862        .32041E-04   -1.5446    
  13  Prefactor     .10000E-03    19.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.8471        .11242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.836        126.53        .81992E-04   -1.4731    
  18  Prefactor     18.028        18.895        .94330E-04   -1.4859    
  19  Prefactor     .10000E-03    .22082        .55572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.105        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9312        1.6219        .95796E-04   -1.5430    
  22  Prefactor     .10000E-03    5.8938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.5869        8.1071        .21337E-03   -1.5329    
  24  Normalizat    1.0240        .27550        .34690E-03   -.92231    
  25  Prefactor     .83783        .12355        .17820E-03   -.98349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72708e-09
Minuit parameter uncertainties:
  1  1.07076e-05
  2  1.91213e-05
  3  6.17815
  4  1.39578e-05
  5  1.72153e-05
  6  2.98842e-05
  7  56.913
  8  0.000320654
  9  15.1157
  10  28.4569
  11  6.91512e-05
  12  1.0862
  13  3.65579e-05
  14  4.57855e-05
  15  2.54205e-06
  16  7.05615e-05
  17  110.202
  18  18.901
  19  5.41198e-06
  20  9.65575e-05
  21  1.62197
  22  1.41475e-06
  23  8.10962
  24  0.275887
  25  0.123586
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.719e+00  1.086e+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

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  8.378e-01  1.236e-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:  1.024e+00  2.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.33
Ra Dec: 330.872 17.432
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 6.77e-08 +/- 4.27e-08
Energy Flux (Fixed Index): 2.55e-05 +/- 1.61e-05

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) = 7196.25484693
delta logL = 0.0148456771867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7196.25388395
delta logL = 0.0158086611937

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7049       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3559       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84053       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=   7196.254     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      197 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7040        23.851        .80518E-02    .30847E-03
   2  alpha         2.3555        3.0309        .41238        .17727E-04
   3  Normalizat    1.0144        .11950        .78693E-01    .19926E-04
   4  Prefactor     .84052        .46010E-01    .44242E-01    .22363E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.70397
  alpha      = 2.35555
  Normalizat = 1.01445
  Prefactor  = 0.840517
 **********
 **   18 **HESSE 
 **********

 FCN=   7196.254     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7040        1.0721        .65103E-04   -1.5447    
   2  alpha         2.3555        .69641        .17114E-01   -.57814E-01
   3  Normalizat    1.0144        .26432        .34830E-03   -.92548    
   4  Prefactor     .84052        .12257        .17793E-03   -.98252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06756e-10
Minuit parameter uncertainties:
  1  1.07213
  2  0.705782
  3  0.264661
  4  0.122613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/498860': 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) = 7196.25388335
delta logL = 0.0158092602715

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.704e+00  1.072e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.356e+00  7.058e-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.405e-01  1.226e-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:  1.014e+00  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.39
Ra Dec: 330.872 17.432
Photon Index (Free Index): 2.36 +/- 0.71
Photon Flux (Free Index): 7.58e-08 +/- 6.41e-08
Energy Flux (Free Index): 2.48e-05 +/- 1.58e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/498860/cmap_HighResolution_661824001_662083201_4FGL_J2203.4+1725_daily_bin1630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.77e-08', energy_flux2='2.48e-05', photon_flux_error='4.27e-08', dlogl='1.58e-02', energy_flux='2.55e-05', photon_flux2='7.58e-08', job_status='DONE', time_completed='2021-12-25 01:09:01.370205', photon_index_error2='0.71', photon_index2='2.36', ts='6.33', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='1.02', time_epoch_completed='1640423341.37', return_code='0', job_id='498860', GAL2='0.84', EG2='1.01', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='6.41e-08', ts2='6.39', photon_index='2.23' WHERE bin_id='1630' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 25 01:09:01 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 498860: <4FGL_J2203.4+1725_daily_bin1630> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1630> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Dec 25 00:55:41 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 25 00:57:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 25 00:57:03 2021
Terminated at Sat Dec 25 01:09:02 2021
Results reported at Sat Dec 25 01:09:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1630 330.872 17.4318 661824001 662083201 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 :                                   709.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             359.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            801 sec.

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

