/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 7 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 = 7391
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2203.4+1725_daily_bin416
RA = 330.872, Dec = 17.4318
tmin = 347155201, tmax = 347414401
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='153882', job_status='RUN', time_executed='2021-09-28 03:20:34.421894', time_epoch_executed='1632824434.42' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='416'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153882

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153882/ft1_4FGL_J2203.4+1725_daily_bin416.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153882/ft2_4FGL_J2203.4+1725_daily_bin416.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153882/ft1_4FGL_J2203.4+1725_daily_bin416.fits outfile=/scratch/kocevski/153882/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin416.fits ra=330.872 dec=17.4318 rad=12.0 tmin=347155201.0 tmax=347414401.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.46
user 3.27
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153882/ft1_filtered_4FGL_J2203.4+1725_daily_bin416.fits" evtable="EVENTS" scfile=/scratch/kocevski/153882/ft2_4FGL_J2203.4+1725_daily_bin416.fits sctable="SC_DATA" outfile=/scratch/kocevski/153882/ltcube_347155201_347414401_4FGL_J2203.4+1725_daily_bin416.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/153882/ft2_4FGL_J2203.4+1725_daily_bin416.fits
.....................!
real 11.76
user 11.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153882/ft1_filtered_4FGL_J2203.4+1725_daily_bin416.fits evtable="EVENTS" scfile=/scratch/kocevski/153882/ft2_4FGL_J2203.4+1725_daily_bin416.fits sctable="SC_DATA" expcube=/scratch/kocevski/153882/ltcube_347155201_347414401_4FGL_J2203.4+1725_daily_bin416.fits outfile=/scratch/kocevski/153882/expmap_347155201_347414401_4FGL_J2203.4+1725_daily_bin416.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/153882/ltcube_347155201_347414401_4FGL_J2203.4+1725_daily_bin416.fits
.....................!
real 190.91
user 185.37
sys 5.16

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/153882/ft1_filtered_4FGL_J2203.4+1725_daily_bin416.fits scfile=/scratch/kocevski/153882/ft2_4FGL_J2203.4+1725_daily_bin416.fits outfile=/scratch/kocevski/153882/cmap_347155201_347414401_4FGL_J2203.4+1725_daily_bin416.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153882/ft1_filtered_4FGL_J2203.4+1725_daily_bin416.fits scfile=/scratch/kocevski/153882/ft2_4FGL_J2203.4+1725_daily_bin416.fits outfile=/scratch/kocevski/153882/cmap_HighResolution_347155201_347414401_4FGL_J2203.4+1725_daily_bin416.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.225       1.0000         .10000E-03   10000.    
     2 'norm      '    7.0805       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1421       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.6657       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10375E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5837       1.0000         .10000E-03   10000.    
     8 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.317       1.0000         .10000E-03   10000.    
    11 'Prefactor '    86.080       1.0000         .10000E-03   10000.    
    12 'norm      '    .25060       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.9446       1.0000         .10000E-03   10000.    
    15 'norm      '    4.1147       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .83715E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .43695E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .38533       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9791       1.0000         .10000E-03   10000.    
    21 'norm      '    1.2516       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .80923       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98179       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=   8159.531     FROM MIGRAD    STATUS=CONVERGED    607 CALLS     2973 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.221        37.166        .33620E-06   -.27846E-04
   2  norm          7.0809        4.6311        .12332E-06   -.23130E-03
   3  Prefactor     4.1414        6.3759        .84466E-06   -.11212E-04
   4  Prefactor     6.6678        9.3966       -.13782E-05   -.34300E-03
   5  Prefactor     .10000E-03    50.301        .77184E-06** at limit **
   6  norm          .10000E-03    1.5871        .13714E-05** at limit **
   7  Prefactor     6.5792        41.265        .46199E-06   -.50815E-05
   8  norm          .10000E-03    .88622       -.53188E-07** at limit **
   9  norm          .10000E-03    36.263        .26034E-06** at limit **
  10  Prefactor     21.335        32.215       -.18775E-05   -.28558E-03
  11  Prefactor     86.067        70.523        .13233E-05   -.96010E-04
  12  norm          .25050        .65063        .62002E-07   -.41784E-03
  13  Prefactor     .10000E-03    53.581       -.14619E-05** at limit **
  14  Prefactor     2.9333        23.637        .86251E-06    .70834E-05
  15  norm          4.1127        4.8733        .22387E-05   -.48261E-04
  16  Prefactor     .10005E-03    9.2676        .37347E-05** at limit **
  17  Prefactor     .10000E-03    36.762        .25045E-06** at limit **
  18  Prefactor     .10001E-03    11.401       -.10079E-05** at limit **
  19  Prefactor     .38539        .17586        .13320E-07   -.15145E-02
  20  Prefactor     1.9793        4.5111        .68747E-06   -.35284E-04
  21  norm          1.2514        1.3880        .30355E-07    .24494E-04
  22  Prefactor     .10000E-03    4.7448       -.25512E-07** at limit **
  23  Prefactor     .10000E-03    3.6445       -.17849E-08** at limit **
  24  Normalizat    .80930        .23793       -.13595E-05   -.31672E-03
  25  Prefactor     .98178        .10525        .17399E-06   -.56329E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2215
  norm       = 7.08088
  Prefactor  = 4.14143
  Prefactor  = 6.66777
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.57916
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 21.335
  Prefactor  = 86.0665
  norm       = 0.250499
  Prefactor  = 0.0001
  Prefactor  = 2.93334
  norm       = 4.1127
  Prefactor  = 0.000100053
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.38539
  Prefactor  = 1.97933
  norm       = 1.25137
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.809298
  Prefactor  = 0.981776
 **********
 **   18 **HESSE 
 **********

 FCN=   8159.531     FROM HESSE     STATUS=OK           441 CALLS     3414 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.221        37.158        .96502E-04   -1.4878    
   2  norm          7.0809        4.6223        .14904E-03   -1.5176    
   3  Prefactor     4.1414        6.3588        .19805E-03   -1.5301    
   4  Prefactor     6.6678        9.4657        .15542E-03   -1.5191    
   5  Prefactor     .10000E-03    50.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.9649        .20859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5792        40.914        .15640E-03   -1.5195    
   8  norm          .10000E-03    .89472        .82619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    36.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.335        32.062        .86753E-04   -1.4784    
  11  Prefactor     86.067        70.070        .43301E-04   -1.3850    
  12  norm          .25050        .65267        .10953E-02   -1.5608    
  13  Prefactor     .10000E-03    53.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9333        23.505        .23668E-03   -1.5365    
  15  norm          4.1127        5.1590        .99366E-03   -1.5302    
  16  Prefactor     .10005E-03    31.291        .42699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    36.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    17.063        .78549E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .38539        .17206        .24151E-04   -1.5584    
  20  Prefactor     1.9793        4.4708        .28113E-03   -1.5427    
  21  norm          1.2514        1.3632        .10902E-03   -1.5484    
  22  Prefactor     .10000E-03    4.7449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.6484        .16840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .80930        .27647        .39290E-03   -.99725    
  25  Prefactor     .98178        .12572        .17261E-03   -.93339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58122e-08
Minuit parameter uncertainties:
  1  37.2081
  2  4.62258
  3  6.35979
  4  9.46785
  5  6.78529e-05
  6  6.12275e-05
  7  32.8464
  8  2.92333e-06
  9  8.5323e-05
  10  32.0874
  11  70.1378
  12  0.652689
  13  0.000253983
  14  16.6158
  15  5.1596
  16  0.00256892
  17  4.07722e-05
  18  0.000620329
  19  0.172057
  20  4.47157
  21  1.36325
  22  8.67392e-07
  23  2.08465e-07
  24  0.276954
  25  0.125753
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  2.505e-01  6.527e-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.818e-01  1.258e-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.093e-01  2.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/153882/likelihoodResults_347155201_347414401_4FGL_J2203.4+1725_daily_bin416.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) = 8159.33658546
delta logL = 0.194019422552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8159.32528185
delta logL = 0.205323039249

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17588       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7758       1.0000          .0000       5.0000    
     3 'Normalizat'    .76034       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99660       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=   8159.325     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      217 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17460        3.5290        .98670E-02    .24630E-02
   2  alpha         3.7816        4.0233        .50000        .50432E-04
   3  Normalizat    .76026        .37821E-01    .91289E-01   -.31368E-04
   4  Prefactor     .99659        .18256E-01    .46225E-01   -.11953E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.174596
  alpha      = 3.7816
  Normalizat = 0.760264
  Prefactor  = 0.996593
 **********
 **   18 **HESSE 
 **********

 FCN=   8159.325     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      248 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17460        14.933        .49806E-04   -1.5624    
   2  alpha         3.7816        3.4528        .38388E-01    .53826    
   3  Normalizat    .76026        .25633        .40440E-03   -1.0156    
   4  Prefactor     .99659        .11098        .17145E-03   -.92843    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.41796e-06
Minuit parameter uncertainties:
  1  3.22931
  2  15.1839
  3  0.256738
  4  0.111009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153882': 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) = 8159.32528018
delta logL = 0.205324706823

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.746e-01  3.229e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  3.782e+00  1.518e+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.966e-01  1.110e-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.603e-01  2.567e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
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/153882/cmap_HighResolution_347155201_347414401_4FGL_J2203.4+1725_daily_bin416.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-05', job_status='DONE', photon_flux_upper_limit='8.47e-08', time_completed='2021-09-28 03:34:35.786107', job_id='153882', GAL2='1.00', fit_tolerance='1e-08', EG2='0.76', EG='0.81', time_epoch_completed='1632825275.79', return_code2='102', ts='0.19', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.05e-01', ts2='0.67', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='416' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:34:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 153882: <4FGL_J2203.4+1725_daily_bin416> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin416> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 03:20:18 2021
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 03:20:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 03:20:19 2021
Terminated at Tue Sep 28 03:34:38 2021
Results reported at Tue Sep 28 03:34:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin416 330.872 17.4318 347155201 347414401 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 :                                   837.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             390.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            860 sec.

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

