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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1452
RA = 331.892, Dec = -53.7719
tmin = 615686401, tmax = 615945601
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='196683', job_status='RUN', time_executed='2021-09-28 05:46:42.399782', time_epoch_executed='1632833202.4' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1452'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196683

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196683/ft1_4FGL_J2207.5-5346_daily_bin1452.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196683/ft2_4FGL_J2207.5-5346_daily_bin1452.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196683/ft1_4FGL_J2207.5-5346_daily_bin1452.fits outfile=/scratch/kocevski/196683/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1452.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=615686401.0 tmax=615945601.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.42
user 3.20
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196683/ft1_filtered_4FGL_J2207.5-5346_daily_bin1452.fits" evtable="EVENTS" scfile=/scratch/kocevski/196683/ft2_4FGL_J2207.5-5346_daily_bin1452.fits sctable="SC_DATA" outfile=/scratch/kocevski/196683/ltcube_615686401_615945601_4FGL_J2207.5-5346_daily_bin1452.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/196683/ft2_4FGL_J2207.5-5346_daily_bin1452.fits
.....................!
real 11.99
user 11.59
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196683/ft1_filtered_4FGL_J2207.5-5346_daily_bin1452.fits evtable="EVENTS" scfile=/scratch/kocevski/196683/ft2_4FGL_J2207.5-5346_daily_bin1452.fits sctable="SC_DATA" expcube=/scratch/kocevski/196683/ltcube_615686401_615945601_4FGL_J2207.5-5346_daily_bin1452.fits outfile=/scratch/kocevski/196683/expmap_615686401_615945601_4FGL_J2207.5-5346_daily_bin1452.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/196683/ltcube_615686401_615945601_4FGL_J2207.5-5346_daily_bin1452.fits
.....................!
real 190.11
user 185.16
sys 4.52

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/196683/ft1_filtered_4FGL_J2207.5-5346_daily_bin1452.fits scfile=/scratch/kocevski/196683/ft2_4FGL_J2207.5-5346_daily_bin1452.fits outfile=/scratch/kocevski/196683/cmap_615686401_615945601_4FGL_J2207.5-5346_daily_bin1452.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196683/ft1_filtered_4FGL_J2207.5-5346_daily_bin1452.fits scfile=/scratch/kocevski/196683/ft2_4FGL_J2207.5-5346_daily_bin1452.fits outfile=/scratch/kocevski/196683/cmap_HighResolution_615686401_615945601_4FGL_J2207.5-5346_daily_bin1452.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196683/ft1_filtered_4FGL_J2207.5-5346_daily_bin1452.fits evtable="EVENTS" scfile=/scratch/kocevski/196683/ft2_4FGL_J2207.5-5346_daily_bin1452.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196683/Model_4FGL_J2207.5-5346_daily_bin1452.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/196683/ft1_filtered_4FGL_J2207.5-5346_daily_bin1452.fits.....................!
real 52.43
user 50.96
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.909       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.083       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.616       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1037       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    72.147       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .25512E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.8792       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4658       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.485       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2485       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77932       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=   6798.453     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2445 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.909        4.2481       -.63080E-07    .64069E-04
   2  Prefactor     .10000E-03    13.906       -.37280E-05** at limit **
   3  Prefactor     26.083        26.678       -.89199E-08    .10684E-04
   4  Prefactor     .10000E-03    64.796       -.58657E-05** at limit **
   5  Prefactor     .10000E-03    3.3918       -.26920E-07** at limit **
   6  Prefactor     11.616        12.746        .27782E-06    .77298E-05
   7  Prefactor     1.1033        2.9657       -.91176E-06   -.10897E-02
   8  norm          .10000E-03    .27192       -.12127E-07** at limit **
   9  Prefactor     72.133        41.311       -.27479E-05   -.87261E-05
  10  Prefactor     .10000E-03    7.0196        .13160E-06** at limit **
  11  Prefactor     .10016E-03    1.9956        .27122E-06** at limit **
  12  Prefactor     .10000E-03    89.352        .10377E-04** at limit **
  13  norm          7.8809        7.0569       -.49750E-05   -.38652E-04
  14  Prefactor     4.4641        4.1581       -.19881E-06   -.44045E-03
  15  Prefactor     .10000E-03    2.7924        .38413E-07** at limit **
  16  Prefactor     15.491        22.064       -.82860E-06    .52026E-05
  17  Prefactor     .10000E-03    18.231       -.21654E-05** at limit **
  18  Prefactor     .10000E-03    26.385        .16732E-05** at limit **
  19  Prefactor     .10000E-03    10.861        .40822E-06** at limit **
  20  Prefactor     .10000E-03    14.658        .48327E-05** at limit **
  21  Normalizat    1.2489        .18057        .72900E-06   -.73798E-04
  22  Prefactor     .77915        .13296        .41511E-06   -.15982E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.9092
  Prefactor  = 0.0001
  Prefactor  = 26.0831
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.6163
  Prefactor  = 1.1033
  norm       = 0.0001
  Prefactor  = 72.1332
  Prefactor  = 0.0001
  Prefactor  = 0.000100158
  Prefactor  = 0.0001
  norm       = 7.88087
  Prefactor  = 4.46411
  Prefactor  = 0.0001
  Prefactor  = 15.4913
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.24886
  Prefactor  = 0.779146
 **********
 **   18 **HESSE 
 **********

 FCN=   6798.453     FROM HESSE     STATUS=OK           350 CALLS     2795 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.909        4.2490        .79847E-04   -1.4861    
   2  Prefactor     .10000E-03    13.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     26.083        26.674        .78438E-04   -1.4686    
   4  Prefactor     .10000E-03    64.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4171        .14828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.616        12.746        .11754E-03   -1.5026    
   7  Prefactor     1.1033        2.9868        .22879E-03   -1.5498    
   8  norm          .10000E-03    .68859        .83733E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     72.133        41.338        .47265E-04   -1.4007    
  10  Prefactor     .10000E-03    7.1120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10016E-03    6.3206        .35507E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    89.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.8809        6.9996        .14285E-03   -1.5146    
  14  Prefactor     4.4641        4.1875        .15468E-03   -1.5285    
  15  Prefactor     .10000E-03    2.8281        .13447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.491        22.135        .10178E-03   -1.4921    
  17  Prefactor     .10000E-03    18.676        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2489        .21542        .24371E-03   -.85106    
  22  Prefactor     .77915        .15698        .23200E-03   -1.0050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07544e-09
Minuit parameter uncertainties:
  1  4.24905
  2  1.9604e-06
  3  26.6866
  4  2.75131e-05
  5  2.81691e-07
  6  12.749
  7  2.98717
  8  3.74892e-06
  9  41.3544
  10  3.62486e-05
  11  0.00200136
  12  0.000122682
  13  7.00037
  14  4.18773
  15  2.51909e-06
  16  22.1468
  17  0.00011139
  18  4.67759e-06
  19  4.9648e-07
  20  3.57734e-05
  21  0.215576
  22  0.157074
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.002e-04  2.001e-03  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:  7.791e-01  1.571e-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.249e+00  2.156e-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.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196683/likelihoodResults_615686401_615945601_4FGL_J2207.5-5346_daily_bin1452.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) = 6798.45257045
delta logL = -2.03704539672e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6797.39414266
delta logL = 1.05840741791

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29464       1.0000         .10000E-03   10000.    
     2 'Index     '    4.5356       1.0000          .0000       10.000    
     3 'Normalizat'    1.1565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81881       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=   6797.394     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      294 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29484        2.8587        .72391E-02    .18653E-02
   2  Index         4.5355        2.5618        .15183        .13709E-03
   3  Normalizat    1.1566        .40191E-01    .56915E-01    .90340E-05
   4  Prefactor     .81878        .31149E-01    .43962E-01    .12446E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.294837
  Index      = 4.53552
  Normalizat = 1.15656
  Prefactor  = 0.818776
 **********
 **   18 **HESSE 
 **********

 FCN=   6797.394     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      329 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29484        8.0877        .32888E-03   -1.5599    
   2  Index         4.5355        7.1698        .52564E-02   -.93031E-01
   3  Normalizat    1.1566        .16646        .25169E-03   -.87956    
   4  Prefactor     .81878        .12639        .22679E-03   -.99040    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.88012e-11
Minuit parameter uncertainties:
  1  3.08833
  2  5.9586
  3  0.166537
  4  0.126434
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196683': 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): 102
logL (Free Index) = 6797.39414223
delta logL = 1.05840784371

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.948e-01  3.088e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  4.536e+00  5.959e+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:  8.188e-01  1.264e-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.157e+00  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.25
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 4.54 +/- 5.96
Photon Flux (Free Index): 7.41e-08 +/- 5.62e-08
Energy Flux (Free Index): 1.03e-05 +/- 1.16e-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/196683/cmap_HighResolution_615686401_615945601_4FGL_J2207.5-5346_daily_bin1452.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.01e-03', comment='SUCCESS', energy_flux2='1.03e-05', dlogl='1.06e+00', photon_flux2='7.41e-08', job_status='DONE', time_completed='2021-09-28 05:58:11.459577', photon_index_error2='5.96', photon_index2='4.54', ts='-0.00', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='9.05e-08', energy_flux_error2='1.16e-05', EG='1.25', time_epoch_completed='1632833891.46', return_code='0', job_id='196683', GAL2='0.82', EG2='1.16', return_code2='102', photon_flux_error2='5.62e-08', ts2='2.25', photon_index='2.44' WHERE bin_id='1452' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:58:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 196683: <4FGL_J2207.5-5346_daily_bin1452> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1452> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:13 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:15 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:15 2021
Terminated at Tue Sep 28 05:58:12 2021
Results reported at Tue Sep 28 05:58:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1452 331.892 -53.7719 615686401 615945601 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 :                                   681.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            779 sec.

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

