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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin827
RA = 331.892, Dec = -53.7719
tmin = 453686401, tmax = 453945601
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='193684', job_status='RUN', time_executed='2021-09-28 05:39:20.741564', time_epoch_executed='1632832760.74' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='827'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193684

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193684/ft1_4FGL_J2207.5-5346_daily_bin827.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193684/ft2_4FGL_J2207.5-5346_daily_bin827.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193684/ft1_4FGL_J2207.5-5346_daily_bin827.fits outfile=/scratch/kocevski/193684/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin827.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=453686401.0 tmax=453945601.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.60
user 3.39
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193684/ft1_filtered_4FGL_J2207.5-5346_daily_bin827.fits" evtable="EVENTS" scfile=/scratch/kocevski/193684/ft2_4FGL_J2207.5-5346_daily_bin827.fits sctable="SC_DATA" outfile=/scratch/kocevski/193684/ltcube_453686401_453945601_4FGL_J2207.5-5346_daily_bin827.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/193684/ft2_4FGL_J2207.5-5346_daily_bin827.fits
.....................!
real 14.35
user 13.98
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193684/ft1_filtered_4FGL_J2207.5-5346_daily_bin827.fits evtable="EVENTS" scfile=/scratch/kocevski/193684/ft2_4FGL_J2207.5-5346_daily_bin827.fits sctable="SC_DATA" expcube=/scratch/kocevski/193684/ltcube_453686401_453945601_4FGL_J2207.5-5346_daily_bin827.fits outfile=/scratch/kocevski/193684/expmap_453686401_453945601_4FGL_J2207.5-5346_daily_bin827.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/193684/ltcube_453686401_453945601_4FGL_J2207.5-5346_daily_bin827.fits
.....................!
real 188.92
user 184.38
sys 4.24

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

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

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/193684/ft1_filtered_4FGL_J2207.5-5346_daily_bin827.fits scfile=/scratch/kocevski/193684/ft2_4FGL_J2207.5-5346_daily_bin827.fits outfile=/scratch/kocevski/193684/cmap_453686401_453945601_4FGL_J2207.5-5346_daily_bin827.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.55
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193684/ft1_filtered_4FGL_J2207.5-5346_daily_bin827.fits evtable="EVENTS" scfile=/scratch/kocevski/193684/ft2_4FGL_J2207.5-5346_daily_bin827.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193684/Model_4FGL_J2207.5-5346_daily_bin827.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/193684/ft1_filtered_4FGL_J2207.5-5346_daily_bin827.fits.....................!
real 53.27
user 52.01
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    84.122       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4316       1.0000         .10000E-03   10000.    
     8 'norm      '    3.6924       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5700       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .61334       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.7010       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0240       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4598       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.783       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6438       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2424       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89089       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=   6841.312     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2360 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1727        .29238E-07** at limit **
   2  Prefactor     .10000E-03    5.5233        .10352E-06** at limit **
   3  Prefactor     .10000E-03    29.974       -.34607E-05** at limit **
   4  Prefactor     84.114        90.389       -.66548E-06   -.28295E-04
   5  Prefactor     .10000E-03    4.2613       -.19334E-07** at limit **
   6  Prefactor     .10000E-03    49.095        .12941E-05** at limit **
   7  Prefactor     3.4317        4.2505       -.98039E-07   -.19344E-03
   8  norm          3.6924        1.0871        .21234E-07   -.44357E-04
   9  Prefactor     .10000E-03    14.430        .42269E-07** at limit **
  10  Prefactor     8.5686        8.2738        .17104E-05   -.12604E-03
  11  Prefactor     .62372        2.8694        .36656E-06   -.29892E-03
  12  Prefactor     .10001E-03    56.303       -.71955E-05** at limit **
  13  norm          3.7009        4.5144       -.13130E-07    .28566E-05
  14  Prefactor     .10000E-03    5.6104       -.18973E-06** at limit **
  15  Prefactor     3.0238        7.7181        .12302E-05   -.86719E-04
  16  Prefactor     2.4823        127.79        .19404E-05    .27816E-04
  17  Prefactor     20.784        14.906        .11590E-06   -.10970E-03
  18  Prefactor     .10000E-03    44.106        .43168E-05** at limit **
  19  Prefactor     .10000E-03    36.790        .37576E-05** at limit **
  20  Prefactor     5.6437        13.671        .42624E-05   -.58391E-04
  21  Normalizat    1.2424        .19800       -.16168E-05    .29816E-06
  22  Prefactor     .89089        .13985        .45228E-06   -.15151E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 84.1139
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.43168
  norm       = 3.6924
  Prefactor  = 0.0001
  Prefactor  = 8.56865
  Prefactor  = 0.62372
  Prefactor  = 0.000100008
  norm       = 3.70088
  Prefactor  = 0.0001
  Prefactor  = 3.02383
  Prefactor  = 2.48228
  Prefactor  = 20.7836
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 5.64369
  Normalizat = 1.24244
  Prefactor  = 0.890887
 **********
 **   18 **HESSE 
 **********

 FCN=   6841.312     FROM HESSE     STATUS=OK           344 CALLS     2704 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.2184        .17485E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.5302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    30.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     84.114        90.530        .43797E-04   -1.3871    
   5  Prefactor     .10000E-03    4.2987        .16670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    50.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4317        4.2531        .18037E-03   -1.5337    
   8  norm          3.6924        1.0871        .45122E-04   -1.5324    
   9  Prefactor     .10000E-03    14.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.5686        8.3344        .68465E-03   -1.5122    
  11  Prefactor     .62372        5.1919        .25831E-02   -1.5550    
  12  Prefactor     .10001E-03    58.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7009        4.5106        .18920E-03   -1.5323    
  14  Prefactor     .10000E-03    5.8629        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0238        7.6273        .23336E-03   -1.5360    
  16  Prefactor     2.4823        122.55        .26077E-03   -1.5393    
  17  Prefactor     20.784        14.689        .87859E-04   -1.4796    
  18  Prefactor     .10000E-03    44.707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    37.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6437        13.815        .84546E-03   -1.5233    
  21  Normalizat    1.2424        .23348        .25991E-03   -.85301    
  22  Prefactor     .89089        .16608        .22705E-03   -.96460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73286e-08
Minuit parameter uncertainties:
  1  1.60671e-06
  2  7.34182e-06
  3  0.000413321
  4  90.6793
  5  4.14026e-06
  6  0.000239694
  7  4.25343
  8  1.08708
  9  2.95408e-06
  10  8.33548
  11  3.59917
  12  0.00133415
  13  4.51102
  14  5.08435e-07
  15  7.62975
  16  34.9579
  17  14.6912
  18  0.000629684
  19  0.000462817
  20  13.8231
  21  0.233675
  22  0.166178
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.237e-01  3.599e+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.909e-01  1.662e-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.242e+00  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/193684/likelihoodResults_453686401_453945601_4FGL_J2207.5-5346_daily_bin827.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) = 6841.28101702
delta logL = 0.0308984928415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6841.28059668
delta logL = 0.0313188326982

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64096       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9268       1.0000          .0000       10.000    
     3 'Normalizat'    1.2359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89318       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=   6841.281     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      257 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65670        3.1491        .21149E-03    .13660E-03
   2  Index         2.9157        2.0085        .74888E-02    .40181E-04
   3  Normalizat    1.2356        .21726        .26053E-03   -.13624E-03
   4  Prefactor     .89333        .16232        .22677E-03   -.14759E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.656701
  Index      = 2.91566
  Normalizat = 1.2356
  Prefactor  = 0.893333
 **********
 **   18 **HESSE 
 **********

 FCN=   6841.281     FROM HESSE     STATUS=OK            23 CALLS      280 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65670        2.7226        .84594E-05   -1.5546    
   2  Index         2.9157        1.8764        .29955E-03   -.43000    
   3  Normalizat    1.2356        .21754        .10421E-04   -.85510    
   4  Prefactor     .89333        .16248        .90707E-05   -.96374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40387e-10
Minuit parameter uncertainties:
  1  2.67426
  2  1.93422
  3  0.217703
  4  0.162572
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193684': 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) = 6841.28057399
delta logL = 0.0313415227174

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.567e-01  2.674e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.916e+00  1.934e+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.933e-01  1.626e-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.236e+00  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/193684/cmap_HighResolution_453686401_453945601_4FGL_J2207.5-5346_daily_bin827.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.84e-03', job_status='DONE', photon_flux_upper_limit='8.83e-08', time_completed='2021-09-28 05:50:31.548614', job_id='193684', GAL2='0.89', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1632833431.55', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.13e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='827' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:50:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 193684: <4FGL_J2207.5-5346_daily_bin827> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin827 331.892 -53.7719 453686401 453945601 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 :                                   668.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            913 sec.

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

