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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1275
RA = 331.892, Dec = -53.7719
tmin = 569808001, tmax = 570067201
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='195427', job_status='RUN', time_executed='2021-09-28 05:42:25.039923', time_epoch_executed='1632832945.04' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195427

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195427/ft1_4FGL_J2207.5-5346_daily_bin1275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195427/ft2_4FGL_J2207.5-5346_daily_bin1275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195427/ft1_4FGL_J2207.5-5346_daily_bin1275.fits outfile=/scratch/kocevski/195427/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1275.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=569808001.0 tmax=570067201.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.55
user 3.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195427/ft2_4FGL_J2207.5-5346_daily_bin1275.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/195427/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1275.fits evtable="EVENTS" outfile="/scratch/kocevski/195427/ft1_filtered_4FGL_J2207.5-5346_daily_bin1275.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.59
user 0.34
sys 0.24

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195427/ft1_filtered_4FGL_J2207.5-5346_daily_bin1275.fits" evtable="EVENTS" scfile=/scratch/kocevski/195427/ft2_4FGL_J2207.5-5346_daily_bin1275.fits sctable="SC_DATA" outfile=/scratch/kocevski/195427/ltcube_569808001_570067201_4FGL_J2207.5-5346_daily_bin1275.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/195427/ft2_4FGL_J2207.5-5346_daily_bin1275.fits
.....................!
real 12.36
user 12.04
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195427/ft1_filtered_4FGL_J2207.5-5346_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/195427/ft2_4FGL_J2207.5-5346_daily_bin1275.fits sctable="SC_DATA" expcube=/scratch/kocevski/195427/ltcube_569808001_570067201_4FGL_J2207.5-5346_daily_bin1275.fits outfile=/scratch/kocevski/195427/expmap_569808001_570067201_4FGL_J2207.5-5346_daily_bin1275.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/195427/ltcube_569808001_570067201_4FGL_J2207.5-5346_daily_bin1275.fits
.....................!
real 191.24
user 186.36
sys 4.56

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/195427/ft1_filtered_4FGL_J2207.5-5346_daily_bin1275.fits scfile=/scratch/kocevski/195427/ft2_4FGL_J2207.5-5346_daily_bin1275.fits outfile=/scratch/kocevski/195427/cmap_569808001_570067201_4FGL_J2207.5-5346_daily_bin1275.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.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195427/ft1_filtered_4FGL_J2207.5-5346_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/195427/ft2_4FGL_J2207.5-5346_daily_bin1275.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195427/Model_4FGL_J2207.5-5346_daily_bin1275.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/195427/ft1_filtered_4FGL_J2207.5-5346_daily_bin1275.fits.....................!
real 47.98
user 46.66
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3201       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1475       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0735       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0922       1.0000         .10000E-03   10000.    
     8 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.768       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.826       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .27181E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4065       1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.605       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.5599       1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.592       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1928       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78151       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=   6090.035     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2359 TOTAL
                     EDM=   .76E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3199        1.5387        .27931E-07    .14683E-04
   2  Prefactor     .10000E-03    8.1952       -.58558E-06** at limit **
   3  Prefactor     .10000E-03    22.542        .27373E-06** at limit **
   4  Prefactor     .10000E-03    33.120       -.10628E-05** at limit **
   5  Prefactor     2.1485        4.2646        .25683E-05   -.27552E-04
   6  Prefactor     5.0738        19.932        .22579E-05   -.69351E-05
   7  Prefactor     1.0929        4.2574        .40779E-06   -.39286E-04
   8  norm          .10000E-03    .33391        .10028E-06** at limit **
   9  Prefactor     25.739        29.841        .31961E-05   -.76922E-06
  10  Prefactor     13.824        8.7006       -.32344E-06   -.69865E-04
  11  Prefactor     .10000E-03    3.1052        .14277E-06** at limit **
  12  Prefactor     .10000E-03    49.391        .31339E-07** at limit **
  13  norm          .10000E-03    9.3593       -.37439E-08** at limit **
  14  Prefactor     7.4079        4.4966        .24500E-06   -.15420E-04
  15  Prefactor     25.607        7.8482        .21572E-07   -.70595E-04
  16  Prefactor     .10000E-03    8.6590        .10587E-05** at limit **
  17  Prefactor     6.5608        6.6779       -.50119E-07   -.35446E-04
  18  Prefactor     23.582        46.226        .20285E-05   -.11531E-05
  19  Prefactor     .10000E-03    9.6653       -.49182E-06** at limit **
  20  Prefactor     .10000E-03    27.612        .56108E-06** at limit **
  21  Normalizat    1.1924        .18477       -.14913E-06   -.68306E-04
  22  Prefactor     .78179        .13779       -.69816E-06   -.95911E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.31993
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.14846
  Prefactor  = 5.07379
  Prefactor  = 1.09285
  norm       = 0.0001
  Prefactor  = 25.7393
  Prefactor  = 13.8238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.40791
  Prefactor  = 25.6067
  Prefactor  = 0.0001
  Prefactor  = 6.56083
  Prefactor  = 23.5816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19238
  Prefactor  = 0.781789
 **********
 **   18 **HESSE 
 **********

 FCN=   6090.035     FROM HESSE     STATUS=OK           348 CALLS     2707 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3199        1.5308        .10173E-03   -1.5478    
   2  Prefactor     .10000E-03    8.2033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    33.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1485        4.2676        .11103E-02   -1.5415    
   6  Prefactor     5.0738        19.904        .89255E-03   -1.5257    
   7  Prefactor     1.0929        4.2401        .29758E-03   -1.5499    
   8  norm          .10000E-03    .62230        .87298E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.739        29.847        .78915E-04   -1.4693    
  10  Prefactor     13.824        8.6828        .10772E-03   -1.4964    
  11  Prefactor     .10000E-03    6.2294        .26225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    49.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.5406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.4079        4.5059        .12334E-03   -1.5164    
  15  Prefactor     25.607        7.8739        .79167E-04   -1.4695    
  16  Prefactor     .10000E-03    8.6647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.5608        6.6815        .15669E-03   -1.5196    
  18  Prefactor     23.582        46.215        .82469E-04   -1.4736    
  19  Prefactor     .10000E-03    9.6667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    28.366        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1924        .21764        .24330E-03   -.86839    
  22  Prefactor     .78179        .16210        .22520E-03   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50387e-10
Minuit parameter uncertainties:
  1  1.53086
  2  2.11026e-06
  3  4.59874e-06
  4  3.82053e-06
  5  4.26824
  6  19.9303
  7  4.24131
  8  1.41132e-06
  9  29.8644
  10  8.6836
  11  6.5515e-06
  12  5.34904e-06
  13  6.66071e-06
  14  4.50612
  15  7.87423
  16  1.0127e-06
  17  6.68225
  18  46.2851
  19  1.5564e-06
  20  2.74656e-06
  21  0.217801
  22  0.162195
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  7.818e-01  1.622e-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.192e+00  2.178e-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: 8.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195427/likelihoodResults_569808001_570067201_4FGL_J2207.5-5346_daily_bin1275.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) = 6090.03583684
delta logL = -0.000763632030612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6090.03507328
delta logL = -7.28196027922e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4515       1.0000          .0000       10.000    
     3 'Normalizat'    1.1924       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78183       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6090.035     FROM MIGRAD    STATUS=FAILED        98 CALLS      267 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10391E-03    8.0500        .26278E-02** at limit **
   2  Index         2.7584        6.3767        .50000       -.91331E-05
   3  Normalizat    1.1924        .20682        .24330E-03    .25042E-03
   4  Prefactor     .78179        .15927        .22520E-03    .16598E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6090.035     FROM SIMPLEX   STATUS=UNCHANGED    102 CALLS      369 TOTAL
                     EDM=   .78E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10391E-03    8.0500        .35289E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7584        6.3767        .20043E-02   -.46488    
   3  Normalizat    1.1924        .20682        .10992E-03   -.86839    
   4  Prefactor     .78179        .15927        .76810E-04   -1.0040    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6090.035     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      402 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.8262        .52555E-03** at limit **
   2  Index         2.7596        6.3798        .50000       -.87655E-05
   3  Normalizat    1.1924        .20695        .48659E-04   -.74078E-03
   4  Prefactor     .78179        .15941        .90081E-05   -.63052E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.75956
  Normalizat = 1.19237
  Prefactor  = 0.781791
 **********
 **   18 **HESSE 
 **********

 FCN=   6090.035     FROM HESSE     STATUS=OK            29 CALLS      431 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.2776        .10511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7596        6.3667        .50000       -.46462    
   3  Normalizat    1.1924        .20692        .97318E-05   -.86839    
   4  Prefactor     .78179        .15938        .18016E-05   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49595e-10
Minuit parameter uncertainties:
  1  2.67565e-05
  2  4.48768
  3  0.207062
  4  0.159471
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195427': 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) = 6090.03507212
delta logL = 1.08557469503e-06

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  2.676e-05  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.760e+00  4.488e+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:  7.818e-01  1.595e-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.192e+00  2.071e-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/195427/cmap_HighResolution_569808001_570067201_4FGL_J2207.5-5346_daily_bin1275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', job_status='DONE', photon_flux_upper_limit='8.94e-08', time_completed='2021-09-28 05:53:22.261450', job_id='195427', GAL2='0.78', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1632833602.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.09e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1275' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:53:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 195427: <4FGL_J2207.5-5346_daily_bin1275> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1275 331.892 -53.7719 569808001 570067201 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 :                                   638.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            762 sec.

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

