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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1492
RA = 331.892, Dec = -53.7719
tmin = 626054401, tmax = 626313601
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='196740', job_status='RUN', time_executed='2021-09-28 05:46:35.311568', time_epoch_executed='1632833195.31' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1492'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196740

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196740/ft1_4FGL_J2207.5-5346_daily_bin1492.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196740/ft2_4FGL_J2207.5-5346_daily_bin1492.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196740/ft1_4FGL_J2207.5-5346_daily_bin1492.fits outfile=/scratch/kocevski/196740/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1492.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=626054401.0 tmax=626313601.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 4.12
user 3.91
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196740/ft2_4FGL_J2207.5-5346_daily_bin1492.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/196740/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1492.fits evtable="EVENTS" outfile="/scratch/kocevski/196740/ft1_filtered_4FGL_J2207.5-5346_daily_bin1492.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/196740/ft1_filtered_4FGL_J2207.5-5346_daily_bin1492.fits" evtable="EVENTS" scfile=/scratch/kocevski/196740/ft2_4FGL_J2207.5-5346_daily_bin1492.fits sctable="SC_DATA" outfile=/scratch/kocevski/196740/ltcube_626054401_626313601_4FGL_J2207.5-5346_daily_bin1492.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/196740/ft2_4FGL_J2207.5-5346_daily_bin1492.fits
.....................!
real 12.01
user 11.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196740/ft1_filtered_4FGL_J2207.5-5346_daily_bin1492.fits evtable="EVENTS" scfile=/scratch/kocevski/196740/ft2_4FGL_J2207.5-5346_daily_bin1492.fits sctable="SC_DATA" expcube=/scratch/kocevski/196740/ltcube_626054401_626313601_4FGL_J2207.5-5346_daily_bin1492.fits outfile=/scratch/kocevski/196740/expmap_626054401_626313601_4FGL_J2207.5-5346_daily_bin1492.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/196740/ltcube_626054401_626313601_4FGL_J2207.5-5346_daily_bin1492.fits
.....................!
real 190.19
user 185.35
sys 4.37

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/196740/ft1_filtered_4FGL_J2207.5-5346_daily_bin1492.fits scfile=/scratch/kocevski/196740/ft2_4FGL_J2207.5-5346_daily_bin1492.fits outfile=/scratch/kocevski/196740/cmap_626054401_626313601_4FGL_J2207.5-5346_daily_bin1492.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196740/ft1_filtered_4FGL_J2207.5-5346_daily_bin1492.fits scfile=/scratch/kocevski/196740/ft2_4FGL_J2207.5-5346_daily_bin1492.fits outfile=/scratch/kocevski/196740/cmap_HighResolution_626054401_626313601_4FGL_J2207.5-5346_daily_bin1492.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196740/ft1_filtered_4FGL_J2207.5-5346_daily_bin1492.fits evtable="EVENTS" scfile=/scratch/kocevski/196740/ft2_4FGL_J2207.5-5346_daily_bin1492.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196740/Model_4FGL_J2207.5-5346_daily_bin1492.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/196740/ft1_filtered_4FGL_J2207.5-5346_daily_bin1492.fits.....................!
real 63.08
user 61.62
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.445       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.642       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    46.287       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.427       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12602E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2589       1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.441       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3158       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .40264E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6065       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13760E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .69360       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2170       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=   8826.687     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2395 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.445        3.2328       -.35193E-07    .20016E-03
   2  Prefactor     17.641        13.040       -.47866E-06    .86057E-04
   3  Prefactor     .10000E-03    13.726       -.28821E-05** at limit **
   4  Prefactor     46.219        70.790       -.92752E-04    .13545E-04
   5  Prefactor     .10000E-03    5.9431        .19319E-05** at limit **
   6  Prefactor     18.422        21.384       -.47836E-05    .27154E-03
   7  Prefactor     .10007E-03    1.7490       -.20529E-05** at limit **
   8  norm          1.2592        .77749        .41225E-06    .10705E-02
   9  Prefactor     36.430        26.344       -.10193E-04    .19962E-03
  10  Prefactor     .10000E-03    2.7594        .36719E-07** at limit **
  11  Prefactor     1.3164        1.6520       -.13745E-06    .17838E-03
  12  Prefactor     .10000E-03    23.433        .77550E-05** at limit **
  13  norm          .10000E-03    3.2767       -.97327E-06** at limit **
  14  Prefactor     2.6063        2.4801       -.57413E-06   -.56899E-03
  15  Prefactor     .10000E-03    4.2521       -.46835E-06** at limit **
  16  Prefactor     .10000E-03    20.415        .49247E-05** at limit **
  17  Prefactor     .10000E-03    13.839       -.49631E-05** at limit **
  18  Prefactor     .10000E-03    28.797       -.91484E-05** at limit **
  19  Prefactor     .10000E-03    8.2896        .75313E-05** at limit **
  20  Prefactor     .10002E-03    5.2969       -.55052E-06** at limit **
  21  Normalizat    .69351        .15541        .42747E-05    .74060E-03
  22  Prefactor     1.2171        .12504        .27462E-05    .91078E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4453
  Prefactor  = 17.6413
  Prefactor  = 0.0001
  Prefactor  = 46.2191
  Prefactor  = 0.0001
  Prefactor  = 18.4215
  Prefactor  = 0.000100075
  norm       = 1.25918
  Prefactor  = 36.4301
  Prefactor  = 0.0001
  Prefactor  = 1.31635
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 2.60626
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100024
  Normalizat = 0.693506
  Prefactor  = 1.21709
 **********
 **   18 **HESSE 
 **********

 FCN=   8826.687     FROM HESSE     STATUS=OK           336 CALLS     2731 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.445        3.2355        .89878E-04   -1.5061    
   2  Prefactor     17.641        13.040        .95355E-04   -1.4868    
   3  Prefactor     .10000E-03    13.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     46.219        70.867        .58934E-04   -1.4347    
   5  Prefactor     .10000E-03    6.1966        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.422        21.276        .93303E-04   -1.4849    
   7  Prefactor     .10007E-03    7.1567        .23285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2592        .76704        .62693E-04   -1.5484    
   9  Prefactor     36.430        26.304        .66389E-04   -1.4500    
  10  Prefactor     .10000E-03    2.7823        .15232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.3164        1.6338        .13094E-03   -1.5479    
  12  Prefactor     .10000E-03    23.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.6146        .33106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.6063        2.4746        .13870E-03   -1.5385    
  15  Prefactor     .10000E-03    4.4364        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.405        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    28.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.2902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    30.710        .41937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .69351        .17491        .30569E-03   -1.0415    
  22  Prefactor     1.2171        .14292        .19382E-03   -.85807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21117e-08
Minuit parameter uncertainties:
  1  3.23551
  2  13.0421
  3  7.71037e-06
  4  70.9971
  5  8.10479e-05
  6  21.2851
  7  0.00146258
  8  0.767049
  9  26.3122
  10  1.33761e-05
  11  1.63389
  12  7.61882e-06
  13  0.000166223
  14  2.47466
  15  6.97967e-05
  16  0.00016922
  17  0.000142499
  18  3.30019e-05
  19  1.40284e-05
  20  0.0017234
  21  0.175055
  22  0.142965
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.316e+00  1.634e+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.217e+00  1.430e-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:  6.935e-01  1.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.21e-08 +/- 1.50e-08
Energy Flux (Fixed Index): 3.78e-06 +/- 4.69e-06

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

Saving results to:
/scratch/kocevski/196740/likelihoodResults_626054401_626313601_4FGL_J2207.5-5346_daily_bin1492.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) = 8824.99776292
delta logL = 1.68933615332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8824.91161335
delta logL = 1.77548572119

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71839       1.0000         .10000E-03   10000.    
     2 'Index     '    1.0941       1.0000          .0000       10.000    
     3 'Normalizat'    .70373       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2131       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=   8824.912     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71829        .73505        .12132E-01   -.59936E-03
   2  Index         1.0937        .36486        .25797       -.90072E-04
   3  Normalizat    .70372        .14963        .68579E-01    .32508E-04
   4  Prefactor     1.2131        .12303        .34329E-01   -.20580E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.718286
  Index      = 1.09375
  Normalizat = 0.70372
  Prefactor  = 1.21312
 **********
 **   18 **HESSE 
 **********

 FCN=   8824.912     FROM HESSE     STATUS=OK            35 CALLS      246 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71829        1.1679        .75810E-03   -1.5538    
   2  Index         1.0937        .61006        .10241E-01   -.89667    
   3  Normalizat    .70372        .17069        .30347E-03   -1.0375    
   4  Prefactor     1.2131        .14062        .19401E-03   -.85929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40525e-09
Minuit parameter uncertainties:
  1  1.16791
  2  0.614013
  3  0.170814
  4  0.14066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196740': 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) = 8824.91161272
delta logL = 1.77548635388

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  7.183e-01  1.168e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.094e+00  6.140e-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.213e+00  1.407e-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:  7.037e-01  1.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.03
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 1.09 +/- 0.61
Photon Flux (Free Index): 3.27e-09 +/- 3.89e-09
Energy Flux (Free Index): 3.71e-05 +/- 5.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/196740/cmap_HighResolution_626054401_626313601_4FGL_J2207.5-5346_daily_bin1492.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-03', comment='SUCCESS', photon_flux='1.21e-08', energy_flux2='3.71e-05', photon_flux_error='1.50e-08', dlogl='1.78e+00', energy_flux='3.78e-06', photon_flux2='3.27e-09', job_status='DONE', time_completed='2021-09-28 05:59:55.919367', photon_index_error2='0.61', photon_index2='1.09', ts='1.48', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='5.93e-08', energy_flux_error2='5.54e-05', EG='0.69', time_epoch_completed='1632833995.92', return_code='0', job_id='196740', GAL2='1.21', EG2='0.70', return_code2='0', energy_flux_error='4.69e-06', photon_flux_error2='3.89e-09', ts2='5.03', photon_index='2.44' WHERE bin_id='1492' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:59:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 196740: <4FGL_J2207.5-5346_daily_bin1492> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1492> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:17 2021
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 05:45:19 2021
Terminated at Tue Sep 28 05:59:56 2021
Results reported at Tue Sep 28 05:59:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1492 331.892 -53.7719 626054401 626313601 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 :                                   785.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            879 sec.

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

