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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin917
RA = 331.892, Dec = -53.7719
tmin = 477014401, tmax = 477273601
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='193823', job_status='RUN', time_executed='2021-09-28 05:35:41.482642', time_epoch_executed='1632832541.48' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='917'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193823

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193823/ft1_4FGL_J2207.5-5346_daily_bin917.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193823/ft2_4FGL_J2207.5-5346_daily_bin917.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193823/ft1_4FGL_J2207.5-5346_daily_bin917.fits outfile=/scratch/kocevski/193823/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin917.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=477014401.0 tmax=477273601.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.73
user 3.46
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/193823/ft2_4FGL_J2207.5-5346_daily_bin917.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193823/ft2_4FGL_J2207.5-5346_daily_bin917.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/193823/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin917.fits evtable="EVENTS" outfile="/scratch/kocevski/193823/ft1_filtered_4FGL_J2207.5-5346_daily_bin917.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193823/ft1_filtered_4FGL_J2207.5-5346_daily_bin917.fits" evtable="EVENTS" scfile=/scratch/kocevski/193823/ft2_4FGL_J2207.5-5346_daily_bin917.fits sctable="SC_DATA" outfile=/scratch/kocevski/193823/ltcube_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.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/193823/ft2_4FGL_J2207.5-5346_daily_bin917.fits
.....................!
real 17.17
user 16.67
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193823/ft1_filtered_4FGL_J2207.5-5346_daily_bin917.fits evtable="EVENTS" scfile=/scratch/kocevski/193823/ft2_4FGL_J2207.5-5346_daily_bin917.fits sctable="SC_DATA" expcube=/scratch/kocevski/193823/ltcube_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.fits outfile=/scratch/kocevski/193823/expmap_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.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/193823/ltcube_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.fits
.....................!
real 195.11
user 188.06
sys 6.24

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

Setting source of interest to:
4FGL J2207.5-5346 @ 331.892 -53.7719

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/193823/ft1_filtered_4FGL_J2207.5-5346_daily_bin917.fits scfile=/scratch/kocevski/193823/ft2_4FGL_J2207.5-5346_daily_bin917.fits outfile=/scratch/kocevski/193823/cmap_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.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=331.892 yref=-53.7719 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.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193823/ft1_filtered_4FGL_J2207.5-5346_daily_bin917.fits scfile=/scratch/kocevski/193823/ft2_4FGL_J2207.5-5346_daily_bin917.fits outfile=/scratch/kocevski/193823/cmap_HighResolution_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.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=331.892 yref=-53.7719 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/193823/ft1_filtered_4FGL_J2207.5-5346_daily_bin917.fits evtable="EVENTS" scfile=/scratch/kocevski/193823/ft2_4FGL_J2207.5-5346_daily_bin917.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193823/Model_4FGL_J2207.5-5346_daily_bin917.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/193823/ft1_filtered_4FGL_J2207.5-5346_daily_bin917.fits.....................!
real 49.47
user 47.92
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/193823/ft1_filtered_4FGL_J2207.5-5346_daily_bin917.fits', '/scratch/kocevski/193823/ft2_4FGL_J2207.5-5346_daily_bin917.fits', expMap='/scratch/kocevski/193823/expmap_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.fits', expCube='/scratch/kocevski/193823/ltcube_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/193823/Model_4FGL_J2207.5-5346_daily_bin917.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.5-5346'

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.875e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/193823/ft1_filtered_4FGL_J2207.5-5346_daily_bin917.fits
Spacecraft file(s): /scratch/kocevski/193823/ft2_4FGL_J2207.5-5346_daily_bin917.fits
Exposure map: /scratch/kocevski/193823/expmap_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.fits
Exposure cube: /scratch/kocevski/193823/ltcube_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/193823/Model_4FGL_J2207.5-5346_daily_bin917.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) = 6163.24864189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.405       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    94.662       1.0000         .10000E-03   10000.    
     4 'Prefactor '    109.81       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9312       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13834E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.6386       1.0000         .10000E-03   10000.    
     9 'Prefactor '    62.991       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.952       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .45007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4744       1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.956       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99812       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1174       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6163.243     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2387 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.405        4.1533       -.10823E-06    .32214E-05
   2  Prefactor     .10000E-03    24.307        .64136E-06** at limit **
   3  Prefactor     94.669        69.847       -.53843E-06   -.47532E-05
   4  Prefactor     109.81        84.777        .10595E-05   -.34988E-05
   5  Prefactor     9.9331        10.965        .19005E-06   -.18806E-04
   6  Prefactor     .10000E-03    5.7289        .62660E-07** at limit **
   7  Prefactor     .10000E-03    3.7797        .32046E-06** at limit **
   8  norm          5.6385        1.3998        .83848E-08    .55791E-06
   9  Prefactor     63.000        55.415       -.10301E-05   -.49241E-04
  10  Prefactor     14.938        12.633       -.86564E-06   -.40064E-03
  11  Prefactor     .10000E-03    4.1108       -.13908E-06** at limit **
  12  Prefactor     .10000E-03    650.31        .33181E-04** at limit **
  13  norm          .10000E-03    3.4314       -.30745E-07** at limit **
  14  Prefactor     .10000E-03    1.5735        .20199E-08** at limit **
  15  Prefactor     3.4726        8.1493        .36190E-05   -.84631E-04
  16  Prefactor     39.951        34.520       -.62790E-06   -.28187E-04
  17  Prefactor     .10000E-03    5.5602       -.18859E-06** at limit **
  18  Prefactor     .10000E-03    47.658        .20233E-05** at limit **
  19  Prefactor     .10000E-03    16.051       -.91326E-07** at limit **
  20  Prefactor     .10000E-03    40.448       -.25240E-05** at limit **
  21  Normalizat    .99822        .22401       -.13256E-06   -.64203E-04
  22  Prefactor     1.1173        .17072       -.27288E-06   -.10220E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4049
  Prefactor  = 0.0001
  Prefactor  = 94.6689
  Prefactor  = 109.807
  Prefactor  = 9.93312
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.63849
  Prefactor  = 63.0005
  Prefactor  = 14.938
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.47258
  Prefactor  = 39.9508
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.998225
  Prefactor  = 1.11732
 **********
 **   18 **HESSE 
 **********

 FCN=   6163.243     FROM HESSE     STATUS=OK           336 CALLS     2723 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.405        4.1589        .92508E-04   -1.5032    
   2  Prefactor     .10000E-03    24.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.669        69.857        .41309E-04   -1.3759    
   4  Prefactor     109.81        84.769        .38382E-04   -1.3608    
   5  Prefactor     9.9331        10.946        .12715E-03   -1.5078    
   6  Prefactor     .10000E-03    5.7302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.3217        .29178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6385        1.3999        .44423E-04   -1.5233    
   9  Prefactor     63.000        55.283        .50560E-04   -1.4119    
  10  Prefactor     14.938        12.712        .10358E-03   -1.4935    
  11  Prefactor     .10000E-03    4.2178        .31041E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    652.67        .21209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.4376        .14203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5826        .96164E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4726        8.1727        .10847E-02   -1.5335    
  16  Prefactor     39.951        34.745        .63412E-04   -1.4443    
  17  Prefactor     .10000E-03    5.5711        .18073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    47.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    40.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99822        .26055        .31096E-03   -.93090    
  22  Prefactor     1.1173        .19866        .22900E-03   -.88915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63471e-10
Minuit parameter uncertainties:
  1  4.15898
  2  1.06028e-05
  3  69.9179
  4  84.8632
  5  10.9477
  6  1.12084e-06
  7  2.32738e-05
  8  1.39995
  9  55.3277
  10  12.7146
  11  2.07546e-06
  12  0.00280729
  13  1.46139e-06
  14  1.73314e-07
  15  8.17532
  16  34.7625
  17  8.09521e-06
  18  4.50743e-05
  19  3.1826e-06
  20  4.30764e-05
  21  0.260884
  22  0.198792
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  2.075e-06  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.117e+00  1.988e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  9.982e-01  2.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 9.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193823/likelihoodResults_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.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) = 6163.24441184
delta logL = -0.00113090813375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6162.95660206
delta logL = 0.286678880599

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 'Index     '    8.5907       1.0000          .0000       10.000    
     3 'Normalizat'    .94711       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1425       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+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=   6162.957     FROM MIGRAD    STATUS=CONVERGED    225 CALLS      546 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .37752E-02    .39104E-03** at limit **
   2  Index         8.5909        7.7588        .31474        .85530E-04
   3  Normalizat    .94652        .42106E-01    .31096E-03   -.37584E-04
   4  Prefactor     1.1431        .32581E-01    .22909E-03   -.57665E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.59093
  Normalizat = 0.946524
  Prefactor  = 1.14308
 **********
 **   18 **HESSE 
 **********

 FCN=   6162.957     FROM HESSE     STATUS=OK            31 CALLS      577 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .14844E-02    .12956E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.5909        .74512        .12615E-01    .80119    
   3  Normalizat    .94652        .25481        .12438E-04   -.94844    
   4  Prefactor     1.1431        .19534        .91635E-05   -.88101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63867e-09
Minuit parameter uncertainties:
  1  1.09649e-09
  2  0.750935
  3  0.255134
  4  0.195462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193823': 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) = 6162.95659515
delta logL = 0.286685786212

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  1.096e-09  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  8.591e+00  7.509e-01  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.143e+00  1.955e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  9.465e-01  2.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.892 -53.772

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/193823/cmap_HighResolution_477014401_477273601_4FGL_J2207.5-5346_daily_bin917.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', job_status='DONE', photon_flux_upper_limit='9.10e-08', time_completed='2021-09-28 05:47:10.012052', job_id='193823', GAL2='1.14', fit_tolerance='1e-08', EG2='0.95', EG='1.00', time_epoch_completed='1632833230.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.87e-01', ts2='0.61', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='917' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:47:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 193823: <4FGL_J2207.5-5346_daily_bin917> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin917> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:35:28 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:35:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 05:35:29 2021
Terminated at Tue Sep 28 05:47:10 2021
Results reported at Tue Sep 28 05:47:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin917 331.892 -53.7719 477014401 477273601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.5-5346 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   683.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            702 sec.

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

