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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1131
RA = 331.892, Dec = -53.7719
tmin = 532483201, tmax = 532742401
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='195199', job_status='RUN', time_executed='2021-09-28 05:41:03.828888', time_epoch_executed='1632832863.83' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1131'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195199

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195199/ft1_4FGL_J2207.5-5346_daily_bin1131.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195199/ft2_4FGL_J2207.5-5346_daily_bin1131.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195199/ft1_4FGL_J2207.5-5346_daily_bin1131.fits outfile=/scratch/kocevski/195199/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1131.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=532483201.0 tmax=532742401.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.49
user 3.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195199/ft2_4FGL_J2207.5-5346_daily_bin1131.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/195199/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1131.fits evtable="EVENTS" outfile="/scratch/kocevski/195199/ft1_filtered_4FGL_J2207.5-5346_daily_bin1131.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.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195199/ft1_filtered_4FGL_J2207.5-5346_daily_bin1131.fits" evtable="EVENTS" scfile=/scratch/kocevski/195199/ft2_4FGL_J2207.5-5346_daily_bin1131.fits sctable="SC_DATA" outfile=/scratch/kocevski/195199/ltcube_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.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/195199/ft2_4FGL_J2207.5-5346_daily_bin1131.fits
.....................!
real 12.03
user 11.67
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195199/ft1_filtered_4FGL_J2207.5-5346_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/195199/ft2_4FGL_J2207.5-5346_daily_bin1131.fits sctable="SC_DATA" expcube=/scratch/kocevski/195199/ltcube_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.fits outfile=/scratch/kocevski/195199/expmap_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.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/195199/ltcube_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.fits
.....................!
real 190.96
user 185.14
sys 5.44

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/195199/ft1_filtered_4FGL_J2207.5-5346_daily_bin1131.fits scfile=/scratch/kocevski/195199/ft2_4FGL_J2207.5-5346_daily_bin1131.fits outfile=/scratch/kocevski/195199/cmap_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195199/ft1_filtered_4FGL_J2207.5-5346_daily_bin1131.fits scfile=/scratch/kocevski/195199/ft2_4FGL_J2207.5-5346_daily_bin1131.fits outfile=/scratch/kocevski/195199/cmap_HighResolution_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195199/ft1_filtered_4FGL_J2207.5-5346_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/195199/ft2_4FGL_J2207.5-5346_daily_bin1131.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195199/Model_4FGL_J2207.5-5346_daily_bin1131.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/195199/ft1_filtered_4FGL_J2207.5-5346_daily_bin1131.fits.....................!
real 44.36
user 42.95
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/195199/ft1_filtered_4FGL_J2207.5-5346_daily_bin1131.fits', '/scratch/kocevski/195199/ft2_4FGL_J2207.5-5346_daily_bin1131.fits', expMap='/scratch/kocevski/195199/expmap_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.fits', expCube='/scratch/kocevski/195199/ltcube_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/195199/Model_4FGL_J2207.5-5346_daily_bin1131.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/195199/ft1_filtered_4FGL_J2207.5-5346_daily_bin1131.fits
Spacecraft file(s): /scratch/kocevski/195199/ft2_4FGL_J2207.5-5346_daily_bin1131.fits
Exposure map: /scratch/kocevski/195199/expmap_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.fits
Exposure cube: /scratch/kocevski/195199/ltcube_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/195199/Model_4FGL_J2207.5-5346_daily_bin1131.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) = 5480.76195184

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8668       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.036       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8403       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.8581       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.7069       1.0000         .10000E-03   10000.    
     8 'norm      '    .23368E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.881       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.2392       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.4220       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.7987       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.1812       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3493       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88701       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=   5480.756     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2390 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8664        2.5480        .75567E-06   -.36922E-02
   2  Prefactor     14.036        20.268        .26738E-07   -.37236E-05
   3  Prefactor     5.8158        105.18       -.21622E-04   -.80484E-04
   4  Prefactor     .10000E-03    25.703       -.14856E-05** at limit **
   5  Prefactor     .10000E-03    6.9781        .88002E-06** at limit **
   6  Prefactor     9.8580        27.490        .13843E-05    .14675E-04
   7  Prefactor     7.7073        5.8079        .25130E-05    .80141E-03
   8  norm          .10000E-03    .41948        .78497E-07** at limit **
   9  Prefactor     21.885        43.588       -.11752E-05   -.16950E-04
  10  Prefactor     .10000E-03    7.0622       -.10549E-06** at limit **
  11  Prefactor     .10000E-03    2.2216        .88066E-07** at limit **
  12  Prefactor     .10000E-03    35.897       -.32915E-05** at limit **
  13  norm          .10000E-03    2.3433        .14999E-06** at limit **
  14  Prefactor     .10000E-03    2.7403        .69449E-07** at limit **
  15  Prefactor     5.2384        7.0520        .12486E-05   -.17255E-02
  16  Prefactor     .10000E-03    29.527        .39019E-05** at limit **
  17  Prefactor     2.4193        14.040       -.22118E-06   -.10664E-03
  18  Prefactor     .10000E-03    66.620        .20368E-05** at limit **
  19  Prefactor     2.6596        123.84       -.15667E-05   -.11234E-04
  20  Prefactor     6.1801        18.434        .90748E-07   -.19933E-04
  21  Normalizat    1.3494        .21359       -.96165E-06   -.17849E-04
  22  Prefactor     .88701        .16072        .10472E-06   -.90336E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.86638
  Prefactor  = 14.0359
  Prefactor  = 5.81576
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.85802
  Prefactor  = 7.70733
  norm       = 0.0001
  Prefactor  = 21.8846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.23841
  Prefactor  = 0.000100001
  Prefactor  = 2.41929
  Prefactor  = 0.0001
  Prefactor  = 2.6596
  Prefactor  = 6.18013
  Normalizat = 1.34936
  Prefactor  = 0.887013
 **********
 **   18 **HESSE 
 **********

 FCN=   5480.756     FROM HESSE     STATUS=OK           346 CALLS     2736 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8664        3.1365        .65854E-03   -1.5369    
   2  Prefactor     14.036        20.288        .10691E-03   -1.4959    
   3  Prefactor     5.8158        108.91        .16618E-03   -1.5226    
   4  Prefactor     .10000E-03    25.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.0364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.8580        27.449        .12763E-03   -1.5080    
   7  Prefactor     7.7073        5.8621        .14445E-03   -1.5153    
   8  norm          .10000E-03    5.0235        .92238E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.885        43.608        .85629E-04   -1.4772    
  10  Prefactor     .10000E-03    7.1147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.2484        .10771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    35.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.3438        .11068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.7814        .11964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2384        8.2760        .87805E-03   -1.5250    
  16  Prefactor     .10000E-03    29.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.4193        14.101        .26299E-03   -1.5397    
  18  Prefactor     .10000E-03    66.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6596        123.96        .24319E-03   -1.5382    
  20  Prefactor     6.1801        18.459        .16147E-03   -1.5211    
  21  Normalizat    1.3494        .25306        .25400E-03   -.82105    
  22  Prefactor     .88701        .18996        .23288E-03   -.96596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.31977e-09
Minuit parameter uncertainties:
  1  3.13669
  2  20.2979
  3  50.441
  4  0.000117584
  5  1.20086e-05
  6  27.4843
  7  5.86249
  8  8.66568e-05
  9  43.6718
  10  1.4816e-05
  11  8.19555e-08
  12  0.000313554
  13  3.65623e-06
  14  2.79723e-06
  15  8.27781
  16  0.000348355
  17  11.6852
  18  0.000272481
  19  36.3943
  20  18.4761
  21  0.253297
  22  0.190106
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  8.196e-08  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:  8.870e-01  1.901e-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:  1.349e+00  2.533e-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: 7.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195199/likelihoodResults_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.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) = 5480.75784932
delta logL = -0.00211198131001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5480.75573716
delta logL = 1.81788891496e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4520       1.0000          .0000       10.000    
     3 'Normalizat'    1.3494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88703       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.

 FCN=   5480.756     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4793        .90712E-02** at limit **
   2  Index         2.4691        5.7247        .50000       -.67897E-04
   3  Normalizat    1.3494        .20300        .57439E-01   -.12317E-04
   4  Prefactor     .88701        .15536        .44839E-01    .11753E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.46909
  Normalizat = 1.34936
  Prefactor  = 0.887014
 **********
 **   18 **HESSE 
 **********

 FCN=   5480.756     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.700        .10889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4691        8.7580        .50000       -.53075    
   3  Normalizat    1.3494        .23702        .25400E-03   -.82105    
   4  Prefactor     .88701        .18156        .23288E-03   -.96596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43321e-08
Minuit parameter uncertainties:
  1  5.56444e-05
  2  17.6991
  3  0.237213
  4  0.181684
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195199': 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) = 5480.75573682
delta logL = 5.19000423083e-07

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  5.564e-05  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.469e+00  1.770e+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:  8.870e-01  1.817e-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:  1.349e+00  2.372e-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/195199/cmap_HighResolution_532483201_532742401_4FGL_J2207.5-5346_daily_bin1131.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.95e-03', job_status='DONE', photon_flux_upper_limit='7.68e-08', time_completed='2021-09-28 05:51:17.380661', job_id='195199', GAL2='0.89', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1632833477.38', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1131' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:51:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 195199: <4FGL_J2207.5-5346_daily_bin1131> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1131> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:40:21 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:40: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 05:40:22 2021
Terminated at Tue Sep 28 05:51:18 2021
Results reported at Tue Sep 28 05:51:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1131 331.892 -53.7719 532483201 532742401 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 :                                   594.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             327.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            657 sec.

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

