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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin735
RA = 332.474, Dec = -50.4702
tmin = 429840001, tmax = 430099201
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='208979', job_status='RUN', time_executed='2021-09-28 06:22:30.196045', time_epoch_executed='1632835350.2' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/208979

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/208979/ft1_4FGL_J2209.8-5028_daily_bin735.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/208979/ft2_4FGL_J2209.8-5028_daily_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/208979/ft1_4FGL_J2209.8-5028_daily_bin735.fits outfile=/scratch/kocevski/208979/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin735.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=429840001.0 tmax=430099201.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 5.92
user 5.66
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/208979/ft2_4FGL_J2209.8-5028_daily_bin735.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/208979/ft2_4FGL_J2209.8-5028_daily_bin735.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/208979/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin735.fits evtable="EVENTS" outfile="/scratch/kocevski/208979/ft1_filtered_4FGL_J2209.8-5028_daily_bin735.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/208979/ft1_filtered_4FGL_J2209.8-5028_daily_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/208979/ft2_4FGL_J2209.8-5028_daily_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/208979/ltcube_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.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/208979/ft2_4FGL_J2209.8-5028_daily_bin735.fits
.....................!
real 12.49
user 12.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/208979/ft1_filtered_4FGL_J2209.8-5028_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/208979/ft2_4FGL_J2209.8-5028_daily_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/208979/ltcube_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.fits outfile=/scratch/kocevski/208979/expmap_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.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/208979/ltcube_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.fits
.....................!
real 192.22
user 187.66
sys 4.19

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
Added 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J2209.8-5028 @ 332.474 -50.4702

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/208979/ft1_filtered_4FGL_J2209.8-5028_daily_bin735.fits scfile=/scratch/kocevski/208979/ft2_4FGL_J2209.8-5028_daily_bin735.fits outfile=/scratch/kocevski/208979/cmap_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.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=332.474 yref=-50.4702 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/208979/ft1_filtered_4FGL_J2209.8-5028_daily_bin735.fits scfile=/scratch/kocevski/208979/ft2_4FGL_J2209.8-5028_daily_bin735.fits outfile=/scratch/kocevski/208979/cmap_HighResolution_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.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=332.474 yref=-50.4702 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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/208979/ft1_filtered_4FGL_J2209.8-5028_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/208979/ft2_4FGL_J2209.8-5028_daily_bin735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/208979/Model_4FGL_J2209.8-5028_daily_bin735.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 EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/208979/ft1_filtered_4FGL_J2209.8-5028_daily_bin735.fits.....................!
real 34.85
user 33.48
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/208979/ft1_filtered_4FGL_J2209.8-5028_daily_bin735.fits', '/scratch/kocevski/208979/ft2_4FGL_J2209.8-5028_daily_bin735.fits', expMap='/scratch/kocevski/208979/expmap_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.fits', expCube='/scratch/kocevski/208979/ltcube_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/208979/Model_4FGL_J2209.8-5028_daily_bin735.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2209.8-5028'

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  7.258e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.372e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/208979/ft1_filtered_4FGL_J2209.8-5028_daily_bin735.fits
Spacecraft file(s): /scratch/kocevski/208979/ft2_4FGL_J2209.8-5028_daily_bin735.fits
Exposure map: /scratch/kocevski/208979/expmap_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.fits
Exposure cube: /scratch/kocevski/208979/ltcube_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/208979/Model_4FGL_J2209.8-5028_daily_bin735.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) = 3911.88198768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.369       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9305       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12589E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.321       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    20.323       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.869       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5065       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.8655       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.1959       1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.480       1.0000         .10000E-03   10000.    
    13 'norm      '    4.8682       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    59.041       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1617       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.049       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .59730E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    25.145       1.0000         .10000E-03   10000.    
    23 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .90197       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .72680       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3911.876     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2943 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.366        33.683        .25541E-06   -.14850E-04
   2  Prefactor     .10000E-03    22.751       -.16655E-06** at limit **
   3  Prefactor     2.9270        8.7958        .82805E-05    .97923E-03
   4  Prefactor     .10001E-03    86.665       -.11637E-05** at limit **
   5  Prefactor     17.321        22.200        .16217E-06    .42398E-05
   6  Prefactor     .10000E-03    1.8842        .30134E-07** at limit **
   7  norm          20.319        7.8770       -.24982E-08    .51713E-03
   8  Prefactor     18.868        16.444        .11072E-06    .77355E-04
   9  Prefactor     1.5105        204.63        .77874E-06    .15210E-04
  10  Prefactor     7.8648        9.1225       -.93198E-07    .10138E-03
  11  Prefactor     6.1964        4.9067        .62117E-06    .41839E-03
  12  Prefactor     38.456        87.227        .23546E-05   -.62416E-04
  13  norm          4.8681        4.8925        .16155E-06   -.27017E-03
  14  Prefactor     .10000E-03    1.1251       -.13141E-08** at limit **
  15  Prefactor     59.040        50.671        .23504E-06    .36902E-04
  16  Prefactor     6.1619        5.5126        .12144E-06   -.98194E-04
  17  Prefactor     .10000E-03    17.051       -.10440E-06** at limit **
  18  Prefactor     14.050        12.398        .11006E-06   -.54333E-06
  19  Prefactor     .10000E-03    42.428       -.14419E-05** at limit **
  20  Prefactor     .10340E-03    18.013       -.95812E-05** at limit **
  21  Prefactor     .10000E-03    36.772        .13806E-05** at limit **
  22  Prefactor     25.143        24.582        .31851E-06   -.33447E-04
  23  norm          .10000E-03    3.3283       -.16769E-07** at limit **
  24  Normalizat    .90185        .21490       -.12781E-05    .26893E-03
  25  Prefactor     .72683        .15930       -.43543E-06    .18489E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.366
  Prefactor  = 0.0001
  Prefactor  = 2.92697
  Prefactor  = 0.000100008
  Prefactor  = 17.3211
  Prefactor  = 0.0001
  norm       = 20.319
  Prefactor  = 18.8679
  Prefactor  = 1.51053
  Prefactor  = 7.86482
  Prefactor  = 6.19637
  Prefactor  = 38.4557
  norm       = 4.86809
  Prefactor  = 0.0001
  Prefactor  = 59.0402
  Prefactor  = 6.1619
  Prefactor  = 0.0001
  Prefactor  = 14.0501
  Prefactor  = 0.000100001
  Prefactor  = 0.000103401
  Prefactor  = 0.000100002
  Prefactor  = 25.1429
  norm       = 0.0001
  Normalizat = 0.90185
  Prefactor  = 0.726835
 **********
 **   18 **HESSE 
 **********

 FCN=   3911.876     FROM HESSE     STATUS=OK           431 CALLS     3374 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.366        33.687        .70429E-04   -1.4570    
   2  Prefactor     .10000E-03    22.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9270        9.1002        .11864E-02   -1.5366    
   4  Prefactor     .10001E-03    88.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.321        22.200        .96235E-04   -1.4875    
   6  Prefactor     .10000E-03    1.9021        .83825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.319        7.8852        .88846E-04   -1.4806    
   8  Prefactor     18.868        16.447        .92204E-04   -1.4839    
   9  Prefactor     1.5105        202.96        .34864E-03   -1.5462    
  10  Prefactor     7.8648        9.0472        .14297E-03   -1.5147    
  11  Prefactor     6.1964        4.9206        .58300E-03   -1.5210    
  12  Prefactor     38.456        87.644        .64613E-04   -1.4467    
  13  norm          4.8681        4.9036        .13555E-03   -1.5267    
  14  Prefactor     .10000E-03    1.1303        .64780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     59.040        50.712        .52214E-04   -1.4170    
  16  Prefactor     6.1619        5.5300        .13304E-03   -1.5211    
  17  Prefactor     .10000E-03    17.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.050        12.435        .10686E-03   -1.4958    
  19  Prefactor     .10000E-03    42.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10340E-03    7.4454        .51630E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    36.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     25.143        24.799        .79885E-04   -1.4705    
  23  norm          .10000E-03    3.3285        .11144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .90185        .24893        .24456E-03   -.96395    
  25  Prefactor     .72683        .18396        .21599E-03   -1.0248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.88749e-09
Minuit parameter uncertainties:
  1  33.7071
  2  2.88289e-05
  3  9.10454
  4  0.00172893
  5  22.2106
  6  2.6013e-06
  7  7.88559
  8  16.4512
  9  35.1396
  10  9.04876
  11  4.92087
  12  87.9393
  13  4.904
  14  9.34927e-08
  15  50.7487
  16  5.53044
  17  4.62065e-05
  18  12.4376
  19  0.000466201
  20  0.0100657
  21  0.000480832
  22  24.8091
  23  9.5024e-07
  24  0.249244
  25  0.184116
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.846e+01  8.794e+01  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.372e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  7.268e-01  1.841e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  9.018e-01  2.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.31
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: 9.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/208979/likelihoodResults_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.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) = 3911.87591188
delta logL = 2.73002824542e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3911.87589573
delta logL = 4.34440589743e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.919       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3834       1.0000          .0000       10.000    
     3 'Normalizat'    .90176       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72682       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3911.876     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      237 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.914        103.82        .65087E-04   -.76802E-04
   2  Index         2.3834        1.3091        .87890E-02   -.68815E-04
   3  Normalizat    .90174        .22390        .24457E-03   -.14550E-03
   4  Prefactor     .72689        .17975        .21599E-03   -.15872E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.9135
  Index      = 2.38343
  Normalizat = 0.901743
  Prefactor  = 0.726886
 **********
 **   18 **HESSE 
 **********

 FCN=   3911.876     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.914        96.976        .13017E-04   -1.4476    
   2  Index         2.3834        1.2249        .35156E-03   -.55074    
   3  Normalizat    .90174        .22404        .97828E-05   -.96399    
   4  Prefactor     .72689        .17986        .43197E-04   -1.0248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15204e-10
Minuit parameter uncertainties:
  1  97.3835
  2  1.24243
  3  0.224271
  4  0.180006
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/208979': 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) = 3911.87589553
delta logL = 4.36453779002e-05

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.791e+01  9.738e+01  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.383e+00  1.242e+00  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  7.269e-01  1.800e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  9.017e-01  2.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.31
Ra Dec: 332.474 -50.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/208979/cmap_HighResolution_429840001_430099201_4FGL_J2209.8-5028_daily_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.28e-03', job_status='DONE', photon_flux_upper_limit='9.44e-08', time_completed='2021-09-28 06:32:18.150843', job_id='208979', GAL2='0.73', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1632835938.15', return_code2='0', ts='0.31', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='4.36e-05', ts2='0.32', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='735' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:32:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 208979: <4FGL_J2209.8-5028_daily_bin735> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin735> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 06:20:21 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:20:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:20:22 2021
Terminated at Tue Sep 28 06:32:18 2021
Results reported at Tue Sep 28 06:32:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin735 332.474 -50.4702 429840001 430099201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2209.8-5028 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   584.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            717 sec.

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

