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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin888
RA = 331.892, Dec = -53.7719
tmin = 469497601, tmax = 469756801
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='193776', job_status='RUN', time_executed='2021-09-28 05:38:40.555670', time_epoch_executed='1632832720.56' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='888'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193776

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193776/ft1_4FGL_J2207.5-5346_daily_bin888.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193776/ft2_4FGL_J2207.5-5346_daily_bin888.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193776/ft1_4FGL_J2207.5-5346_daily_bin888.fits outfile=/scratch/kocevski/193776/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin888.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=469497601.0 tmax=469756801.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.58
user 3.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193776/ft2_4FGL_J2207.5-5346_daily_bin888.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/193776/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin888.fits evtable="EVENTS" outfile="/scratch/kocevski/193776/ft1_filtered_4FGL_J2207.5-5346_daily_bin888.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193776/ft1_filtered_4FGL_J2207.5-5346_daily_bin888.fits" evtable="EVENTS" scfile=/scratch/kocevski/193776/ft2_4FGL_J2207.5-5346_daily_bin888.fits sctable="SC_DATA" outfile=/scratch/kocevski/193776/ltcube_469497601_469756801_4FGL_J2207.5-5346_daily_bin888.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/193776/ft2_4FGL_J2207.5-5346_daily_bin888.fits
.....................!
real 12.10
user 11.74
sys 0.33

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

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J2207.5-5346 @ 331.892 -53.7719

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/193776/ft1_filtered_4FGL_J2207.5-5346_daily_bin888.fits scfile=/scratch/kocevski/193776/ft2_4FGL_J2207.5-5346_daily_bin888.fits outfile=/scratch/kocevski/193776/cmap_469497601_469756801_4FGL_J2207.5-5346_daily_bin888.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193776/ft1_filtered_4FGL_J2207.5-5346_daily_bin888.fits scfile=/scratch/kocevski/193776/ft2_4FGL_J2207.5-5346_daily_bin888.fits outfile=/scratch/kocevski/193776/cmap_HighResolution_469497601_469756801_4FGL_J2207.5-5346_daily_bin888.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7665       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.768       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.532       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4602       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2828       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7694       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3239       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .39803       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.843       1.0000         .10000E-03   10000.    
    13 'norm      '    1.9886       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.264       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.317       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0519       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81857       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=   6851.921     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2374 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7664        3.2310        .44411E-07   -.25500E-04
   2  Prefactor     19.767        21.386        .51503E-07   -.23603E-05
   3  Prefactor     .10000E-03    73.610       -.76268E-06** at limit **
   4  Prefactor     30.524        86.177        .73624E-06    .10588E-05
   5  Prefactor     2.4603        6.4496        .15143E-06   -.15160E-04
   6  Prefactor     6.2783        18.151        .10387E-06   -.43855E-05
   7  Prefactor     1.7691        3.5208        .72470E-07   -.30471E-04
   8  norm          1.3241        .85855        .20154E-07   -.43052E-07
   9  Prefactor     .10000E-03    44.187        .30875E-05** at limit **
  10  Prefactor     .10000E-03    1.9148        .29533E-05** at limit **
  11  Prefactor     .39906        2.7720        .12462E-05   -.11968E-04
  12  Prefactor     12.750        77.264        .60351E-06   -.26026E-05
  13  norm          1.9890        3.8345        .19978E-06    .50174E-05
  14  Prefactor     .10000E-03    .91180       -.47505E-07** at limit **
  15  Prefactor     .10000E-03    1.3528        .16579E-06** at limit **
  16  Prefactor     24.254        21.560        .24156E-06   -.22470E-04
  17  Prefactor     .10000E-03    5.6569        .45943E-07** at limit **
  18  Prefactor     .10000E-03    28.189       -.42990E-07** at limit **
  19  Prefactor     20.319        28.112        .11535E-06   -.41509E-05
  20  Prefactor     .10000E-03    7.2000       -.25912E-06** at limit **
  21  Normalizat    1.0518        .16361       -.32988E-06   -.77308E-04
  22  Prefactor     .81859        .12852       -.49604E-07   -.91158E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.76637
  Prefactor  = 19.7666
  Prefactor  = 0.0001
  Prefactor  = 30.5236
  Prefactor  = 2.46026
  Prefactor  = 6.27826
  Prefactor  = 1.76908
  norm       = 1.32409
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.399059
  Prefactor  = 12.7498
  norm       = 1.98904
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.2537
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.319
  Prefactor  = 0.0001
  Normalizat = 1.05182
  Prefactor  = 0.818593
 **********
 **   18 **HESSE 
 **********

 FCN=   6851.921     FROM HESSE     STATUS=OK           346 CALLS     2720 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7664        3.2267        .11531E-03   -1.5271    
   2  Prefactor     19.767        21.367        .90085E-04   -1.4818    
   3  Prefactor     .10000E-03    74.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.524        86.290        .72512E-04   -1.4602    
   5  Prefactor     2.4603        6.4342        .26075E-03   -1.5394    
   6  Prefactor     6.2783        18.131        .16014E-03   -1.5207    
   7  Prefactor     1.7691        3.4986        .20748E-03   -1.5442    
   8  norm          1.3241        .84418        .58979E-04   -1.5478    
   9  Prefactor     .10000E-03    44.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.9157        .11171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .39906        2.7729        .12987E-02   -1.5582    
  12  Prefactor     12.750        77.451        .11177E-03   -1.4994    
  13  norm          1.9890        3.8062        .21924E-03   -1.5426    
  14  Prefactor     .10000E-03    .91694        .77174E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.3599        .93993E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.254        21.666        .81321E-04   -1.4723    
  17  Prefactor     .10000E-03    5.6892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    28.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.319        28.109        .88859E-04   -1.4806    
  20  Prefactor     .10000E-03    7.2427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0518        .18940        .23914E-03   -.91314    
  22  Prefactor     .81859        .14903        .21114E-03   -.99047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93415e-09
Minuit parameter uncertainties:
  1  3.22684
  2  21.3756
  3  4.00514e-05
  4  86.6455
  5  6.43603
  6  18.1467
  7  3.49904
  8  0.844189
  9  2.58555e-05
  10  1.76116e-07
  11  2.10373
  12  62.9702
  13  3.80666
  14  8.95367e-08
  15  3.21396e-07
  16  21.6733
  17  4.29323e-06
  18  3.00501e-06
  19  28.1272
  20  8.75073e-07
  21  0.189523
  22  0.149102
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  3.991e-01  2.104e+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:  8.186e-01  1.491e-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.052e+00  1.895e-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: 5.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193776/likelihoodResults_469497601_469756801_4FGL_J2207.5-5346_daily_bin888.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) = 6851.78513741
delta logL = 0.135745886942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6851.78447413
delta logL = 0.136409161903

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1330       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7416       1.0000          .0000       10.000    
     3 'Normalizat'    1.0565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81337       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=   6851.784     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      279 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1330        2.3267        .17931E-03    .21881E-03
   2  Index         1.7417        .92621        .15677E-01    .15378E-04
   3  Normalizat    1.0564        .18151        .23865E-03   -.12862E-05
   4  Prefactor     .81337        .14405        .21171E-03    .37805E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.133
  Index      = 1.74165
  Normalizat = 1.05645
  Prefactor  = 0.813371
 **********
 **   18 **HESSE 
 **********

 FCN=   6851.784     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1330        2.3473        .71723E-05   -1.5495    
   2  Index         1.7417        .93496        .62706E-03   -.70978    
   3  Normalizat    1.0564        .18166        .95461E-05   -.91163    
   4  Prefactor     .81337        .14417        .84682E-05   -.99237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.69334e-11
Minuit parameter uncertainties:
  1  2.34753
  2  0.944695
  3  0.181766
  4  0.144233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193776': 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) = 6851.78447413
delta logL = 0.136409164626

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  8.134e-01  1.442e-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.056e+00  1.818e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/193776/cmap_HighResolution_469497601_469756801_4FGL_J2207.5-5346_daily_bin888.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='5.86e-08', time_completed='2021-09-28 05:49:59.440450', job_id='193776', GAL2='0.81', fit_tolerance='1e-08', EG2='1.06', EG='1.05', time_epoch_completed='1632833399.44', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.36e-01', ts2='0.32', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='888' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:49:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 193776: <4FGL_J2207.5-5346_daily_bin888> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin888> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:35:25 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:35:26 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:35:26 2021
Terminated at Tue Sep 28 05:50:00 2021
Results reported at Tue Sep 28 05:50:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin888 331.892 -53.7719 469497601 469756801 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 :                                   677.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            875 sec.

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

