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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin383
RA = 331.892, Dec = -53.7719
tmin = 338601601, tmax = 338860801
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='191086', job_status='RUN', time_executed='2021-09-28 05:28:31.034430', time_epoch_executed='1632832111.03' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='383'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191086

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191086/ft1_4FGL_J2207.5-5346_daily_bin383.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191086/ft2_4FGL_J2207.5-5346_daily_bin383.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191086/ft1_4FGL_J2207.5-5346_daily_bin383.fits outfile=/scratch/kocevski/191086/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin383.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=338601601.0 tmax=338860801.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.17
user 4.89
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191086/ft1_filtered_4FGL_J2207.5-5346_daily_bin383.fits" evtable="EVENTS" scfile=/scratch/kocevski/191086/ft2_4FGL_J2207.5-5346_daily_bin383.fits sctable="SC_DATA" outfile=/scratch/kocevski/191086/ltcube_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.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/191086/ft2_4FGL_J2207.5-5346_daily_bin383.fits
.....................!
real 11.99
user 11.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191086/ft1_filtered_4FGL_J2207.5-5346_daily_bin383.fits evtable="EVENTS" scfile=/scratch/kocevski/191086/ft2_4FGL_J2207.5-5346_daily_bin383.fits sctable="SC_DATA" expcube=/scratch/kocevski/191086/ltcube_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.fits outfile=/scratch/kocevski/191086/expmap_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.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/191086/ltcube_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.fits
.....................!
real 190.11
user 185.53
sys 4.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/191086/ft1_filtered_4FGL_J2207.5-5346_daily_bin383.fits scfile=/scratch/kocevski/191086/ft2_4FGL_J2207.5-5346_daily_bin383.fits outfile=/scratch/kocevski/191086/cmap_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.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.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191086/ft1_filtered_4FGL_J2207.5-5346_daily_bin383.fits scfile=/scratch/kocevski/191086/ft2_4FGL_J2207.5-5346_daily_bin383.fits outfile=/scratch/kocevski/191086/cmap_HighResolution_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.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/191086/ft1_filtered_4FGL_J2207.5-5346_daily_bin383.fits evtable="EVENTS" scfile=/scratch/kocevski/191086/ft2_4FGL_J2207.5-5346_daily_bin383.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191086/Model_4FGL_J2207.5-5346_daily_bin383.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/191086/ft1_filtered_4FGL_J2207.5-5346_daily_bin383.fits.....................!
real 49.42
user 48.11
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/191086/ft1_filtered_4FGL_J2207.5-5346_daily_bin383.fits', '/scratch/kocevski/191086/ft2_4FGL_J2207.5-5346_daily_bin383.fits', expMap='/scratch/kocevski/191086/expmap_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.fits', expCube='/scratch/kocevski/191086/ltcube_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/191086/Model_4FGL_J2207.5-5346_daily_bin383.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/191086/ft1_filtered_4FGL_J2207.5-5346_daily_bin383.fits
Spacecraft file(s): /scratch/kocevski/191086/ft2_4FGL_J2207.5-5346_daily_bin383.fits
Exposure map: /scratch/kocevski/191086/expmap_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.fits
Exposure cube: /scratch/kocevski/191086/ltcube_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/191086/Model_4FGL_J2207.5-5346_daily_bin383.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6436.08898338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    21.455       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.789       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0590       1.0000         .10000E-03   10000.    
     6 'Prefactor '    75.653       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2499       1.0000         .10000E-03   10000.    
     8 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2175       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .67602       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.1226       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21321       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.799       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    116.21       1.0000         .10000E-03   10000.    
    19 'Prefactor '    87.928       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94502       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0179       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=   6435.973     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2143 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0717        .10390E-06** at limit **
   2  Prefactor     21.451        17.420        .16136E-06   -.26673E-05
   3  Prefactor     13.646        37.817       -.31723E-05    .76553E-05
   4  Prefactor     .10000E-03    50.927       -.42992E-06** at limit **
   5  Prefactor     5.0578        5.6838        .14144E-06   -.46255E-05
   6  Prefactor     75.640        31.585        .88272E-06   -.16185E-04
   7  Prefactor     6.2478        4.6065       -.16584E-07   -.93064E-05
   8  norm          .10000E-03    .26100       -.61785E-08** at limit **
   9  Prefactor     7.2098        43.982       -.79731E-07   -.34221E-05
  10  Prefactor     .10000E-03    3.4107       -.13551E-06** at limit **
  11  Prefactor     .67480        4.4130       -.67261E-06    .27266E-04
  12  Prefactor     .10000E-03    24.085       -.48269E-06** at limit **
  13  norm          1.1219        9.8530       -.81205E-06   -.50779E-05
  14  Prefactor     .10000E-03    1.3563        .57679E-07** at limit **
  15  Prefactor     .18966        34.952        .36312E-05   -.78071E-05
  16  Prefactor     14.855        24.151       -.28335E-05   -.41092E-04
  17  Prefactor     .10000E-03    5.5043        .13093E-06** at limit **
  18  Prefactor     116.22        79.362        .56899E-06   -.49932E-05
  19  Prefactor     87.983        45.771        .14258E-05   -.53061E-04
  20  Prefactor     .10000E-03    5.1598        .28210E-07** at limit **
  21  Normalizat    .94556        .19050       -.17933E-05   -.60266E-04
  22  Prefactor     1.0177        .14238        .46243E-06   -.15212E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 21.4509
  Prefactor  = 13.6457
  Prefactor  = 0.0001
  Prefactor  = 5.05777
  Prefactor  = 75.6396
  Prefactor  = 6.24781
  norm       = 0.0001
  Prefactor  = 7.20982
  Prefactor  = 0.0001
  Prefactor  = 0.674802
  Prefactor  = 0.0001
  norm       = 1.12186
  Prefactor  = 0.0001
  Prefactor  = 0.189656
  Prefactor  = 14.8547
  Prefactor  = 0.0001
  Prefactor  = 116.218
  Prefactor  = 87.9831
  Prefactor  = 0.0001
  Normalizat = 0.945557
  Prefactor  = 1.01768
 **********
 **   18 **HESSE 
 **********

 FCN=   6435.973     FROM HESSE     STATUS=OK           346 CALLS     2489 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1038        .16220E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.451        17.420        .86473E-04   -1.4781    
   3  Prefactor     13.646        37.678        .10786E-03   -1.4969    
   4  Prefactor     .10000E-03    50.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.0578        5.6823        .17877E-03   -1.5258    
   6  Prefactor     75.640        31.581        .46164E-04   -1.3966    
   7  Prefactor     6.2478        4.6007        .14039E-03   -1.5208    
   8  norm          .10000E-03    .49045        .79572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.2098        43.900        .14931E-03   -1.5171    
  10  Prefactor     .10000E-03    3.4242        .14453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .67480        4.3565        .31072E-03   -1.5544    
  12  Prefactor     .10000E-03    24.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1219        9.7560        .44276E-03   -1.5496    
  14  Prefactor     .10000E-03    1.3670        .91237E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .18966        35.147        .26766E-02   -1.5621    
  16  Prefactor     14.855        24.386        .10411E-03   -1.4937    
  17  Prefactor     .10000E-03    5.5490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     116.22        79.359        .37324E-04   -1.3548    
  19  Prefactor     87.983        45.325        .21424E-03   -1.3829    
  20  Prefactor     .10000E-03    5.1704        .17798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94556        .21603        .27278E-03   -.94877    
  22  Prefactor     1.0177        .16341        .20569E-03   -.92143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24562e-08
Minuit parameter uncertainties:
  1  1.31572e-06
  2  17.424
  3  37.7435
  4  3.58417e-05
  5  5.68289
  6  31.5875
  7  4.60095
  8  4.27038e-06
  9  35.6202
  10  9.05616e-06
  11  3.42926
  12  1.90267e-05
  13  6.61775
  14  2.15148e-06
  15  5.16539
  16  24.4026
  17  3.97432e-05
  18  79.4316
  19  45.343
  20  2.60635e-06
  21  0.216232
  22  0.163487
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.748e-01  3.429e+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

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.018e+00  1.635e-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.456e-01  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/191086/likelihoodResults_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.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) = 6435.97142998
delta logL = 0.0011654939135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6435.97106351
delta logL = 0.00153196198517

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60005       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5957       1.0000          .0000       10.000    
     3 'Normalizat'    .94432       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0184       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=   6435.971     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      267 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59717        6.3285        .28076E-03    .64416E-04
   2  Index         2.6151        3.3069        .10681E-01    .33719E-05
   3  Normalizat    .94420        .20604        .27296E-03    .11662E-04
   4  Prefactor     1.0184        .15975        .20562E-03    .31128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.59717
  Index      = 2.61512
  Normalizat = 0.944203
  Prefactor  = 1.01843
 **********
 **   18 **HESSE 
 **********

 FCN=   6435.971     FROM HESSE     STATUS=OK            27 CALLS      294 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59717        5.2006        .56152E-04   -1.5553    
   2  Index         2.6151        3.0661        .42725E-03   -.49721    
   3  Normalizat    .94420        .20624        .10918E-04   -.94924    
   4  Prefactor     1.0184        .15977        .82249E-05   -.92118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89826e-12
Minuit parameter uncertainties:
  1  3.52468
  2  3.39339
  3  0.206413
  4  0.159847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191086': 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) = 6435.97104302
delta logL = 0.00155245239603

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  5.972e-01  3.525e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.615e+00  3.393e+00  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.018e+00  1.598e-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.442e-01  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/191086/cmap_HighResolution_338601601_338860801_4FGL_J2207.5-5346_daily_bin383.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', job_status='DONE', photon_flux_upper_limit='8.62e-08', time_completed='2021-09-28 05:39:19.654001', job_id='191086', GAL2='1.02', fit_tolerance='1e-08', EG2='0.94', EG='0.95', time_epoch_completed='1632832759.65', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.55e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='383' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:39:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 191086: <4FGL_J2207.5-5346_daily_bin383> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin383> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:25:15 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:25:16 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:25:16 2021
Terminated at Tue Sep 28 05:39:20 2021
Results reported at Tue Sep 28 05:39:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin383 331.892 -53.7719 338601601 338860801 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 :                                   645.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            845 sec.

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

