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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1384
RA = 331.892, Dec = -53.7719
tmin = 598060801, tmax = 598320001
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='195610', job_status='RUN', time_executed='2021-09-28 05:42:16.739231', time_epoch_executed='1632832936.74' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1384'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195610

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195610/ft1_4FGL_J2207.5-5346_daily_bin1384.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195610/ft2_4FGL_J2207.5-5346_daily_bin1384.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195610/ft1_4FGL_J2207.5-5346_daily_bin1384.fits outfile=/scratch/kocevski/195610/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1384.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=598060801.0 tmax=598320001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.91
user 4.64
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195610/ft1_filtered_4FGL_J2207.5-5346_daily_bin1384.fits" evtable="EVENTS" scfile=/scratch/kocevski/195610/ft2_4FGL_J2207.5-5346_daily_bin1384.fits sctable="SC_DATA" outfile=/scratch/kocevski/195610/ltcube_598060801_598320001_4FGL_J2207.5-5346_daily_bin1384.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/195610/ft2_4FGL_J2207.5-5346_daily_bin1384.fits
.....................!
real 11.62
user 11.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195610/ft1_filtered_4FGL_J2207.5-5346_daily_bin1384.fits evtable="EVENTS" scfile=/scratch/kocevski/195610/ft2_4FGL_J2207.5-5346_daily_bin1384.fits sctable="SC_DATA" expcube=/scratch/kocevski/195610/ltcube_598060801_598320001_4FGL_J2207.5-5346_daily_bin1384.fits outfile=/scratch/kocevski/195610/expmap_598060801_598320001_4FGL_J2207.5-5346_daily_bin1384.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/195610/ltcube_598060801_598320001_4FGL_J2207.5-5346_daily_bin1384.fits
.....................!
real 190.44
user 185.19
sys 4.87

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/195610/ft1_filtered_4FGL_J2207.5-5346_daily_bin1384.fits scfile=/scratch/kocevski/195610/ft2_4FGL_J2207.5-5346_daily_bin1384.fits outfile=/scratch/kocevski/195610/cmap_598060801_598320001_4FGL_J2207.5-5346_daily_bin1384.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195610/ft1_filtered_4FGL_J2207.5-5346_daily_bin1384.fits scfile=/scratch/kocevski/195610/ft2_4FGL_J2207.5-5346_daily_bin1384.fits outfile=/scratch/kocevski/195610/cmap_HighResolution_598060801_598320001_4FGL_J2207.5-5346_daily_bin1384.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/195610/ft1_filtered_4FGL_J2207.5-5346_daily_bin1384.fits evtable="EVENTS" scfile=/scratch/kocevski/195610/ft2_4FGL_J2207.5-5346_daily_bin1384.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195610/Model_4FGL_J2207.5-5346_daily_bin1384.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/195610/ft1_filtered_4FGL_J2207.5-5346_daily_bin1384.fits.....................!
real 56.84
user 55.52
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7219       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .31224E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3435       1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.423       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9531       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.0937       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5782       1.0000         .10000E-03   10000.    
     8 'norm      '    .90901E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21310E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9492       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16322E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10513E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5967       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0516       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82638       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=   7714.411     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2443 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7209        2.9727       -.12519E-06   -.12460E-03
   2  Prefactor     .10090E-03    13.132        .11527E-05** at limit **
   3  Prefactor     5.3421        20.458       -.32612E-05   -.33130E-03
   4  Prefactor     41.422        48.630       -.55885E-06    .84289E-04
   5  Prefactor     2.9528        4.2563       -.25563E-06   -.26351E-03
   6  Prefactor     9.0882        18.803       -.15122E-05   -.36783E-03
   7  Prefactor     3.5785        3.4300       -.91063E-07   -.27832E-03
   8  norm          .91948E-01    .38937       -.22236E-06   -.92833E-03
   9  Prefactor     .10000E-03    10.115       -.28474E-06** at limit **
  10  Prefactor     .10000E-03    3.9735       -.14355E-06** at limit **
  11  Prefactor     4.9490        3.1808       -.23577E-07    .13534E-03
  12  Prefactor     .10004E-03    257.70       -.43614E-05** at limit **
  13  norm          .10000E-03    2.8107       -.21892E-06** at limit **
  14  Prefactor     .10000E-03    .88720        .39563E-07** at limit **
  15  Prefactor     .10013E-03    2.1266       -.38878E-07** at limit **
  16  Prefactor     .10000E-03    39.318       -.48720E-07** at limit **
  17  Prefactor     1.5952        8.6307       -.39441E-05    .39204E-03
  18  Prefactor     .10000E-03    19.526       -.16621E-06** at limit **
  19  Prefactor     .10000E-03    12.104        .13138E-06** at limit **
  20  Prefactor     .10000E-03    8.0891       -.16239E-06** at limit **
  21  Normalizat    1.0518        .15153        .62726E-06    .81751E-04
  22  Prefactor     .82632        .11801        .14200E-06    .90776E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.72091
  Prefactor  = 0.000100897
  Prefactor  = 5.34206
  Prefactor  = 41.4221
  Prefactor  = 2.95275
  Prefactor  = 9.08825
  Prefactor  = 3.57853
  norm       = 0.0919482
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 4.94904
  Prefactor  = 0.000100042
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010013
  Prefactor  = 0.000100004
  Prefactor  = 1.59524
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05181
  Prefactor  = 0.826315
 **********
 **   18 **HESSE 
 **********

 FCN=   7714.411     FROM HESSE     STATUS=OK           358 CALLS     2801 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7209        2.9347        .10312E-03   -1.5230    
   2  Prefactor     .10090E-03    117.50        .59818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.3421        25.695        .86928E-03   -1.5246    
   4  Prefactor     41.422        48.587        .62283E-04   -1.4420    
   5  Prefactor     2.9528        4.2839        .21205E-03   -1.5364    
   6  Prefactor     9.0882        20.027        .66454E-03   -1.5105    
   7  Prefactor     3.5785        3.4261        .15177E-03   -1.5330    
   8  norm          .91948E-01    .87766        .10821E-02   -1.5647    
   9  Prefactor     .10000E-03    10.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.145        .33294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.9490        3.1729        .11959E-03   -1.5263    
  12  Prefactor     .10004E-03    257.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.8160        .14366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .89450        .80748E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10013E-03    5.3814        .39959E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    39.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5952        9.2420        .33562E-03   -1.5455    
  18  Prefactor     .10000E-03    19.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.1756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0518        .17399        .23520E-03   -.91314    
  22  Prefactor     .82632        .13683        .20911E-03   -.98765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81414e-09
Minuit parameter uncertainties:
  1  2.93475
  2  0.0205712
  3  23.4482
  4  48.6337
  5  4.28435
  6  20.0421
  7  3.42626
  8  0.567853
  9  7.938e-05
  10  0.000363306
  11  3.17297
  12  0.00657633
  13  3.64067e-05
  14  4.9824e-06
  15  0.00167543
  16  0.00074749
  17  7.68096
  18  9.48068e-05
  19  3.87261e-05
  20  3.66763e-05
  21  0.174089
  22  0.136891
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  4.949e+00  3.173e+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.263e-01  1.369e-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.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.99
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 4.54e-08 +/- 2.91e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 9.11e-06

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) = 7714.38877101
delta logL = 0.022261420303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7714.3814222
delta logL = 0.029610230813

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5610       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5928       1.0000          .0000       10.000    
     3 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83009       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=   7714.381     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5605        60.126        .47123E-02    .39007E-03
   2  Index         2.5929        6.2825        .15074        .11486E-03
   3  Normalizat    1.0436        .81730E-01    .41007E-01    .39484E-05
   4  Prefactor     .83007        .48611E-01    .44108E-01    .12384E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.56045
  Index      = 2.5929
  Normalizat = 1.04361
  Prefactor  = 0.830074
 **********
 **   18 **HESSE 
 **********

 FCN=   7714.381     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5605        3.5734        .10956E-03   -1.5281    
   2  Index         2.5929        .68624        .82252E-02   -.50227    
   3  Normalizat    1.0436        .17197        .23599E-03   -.91583    
   4  Prefactor     .83007        .13472        .20868E-03   -.98629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10592e-09
Minuit parameter uncertainties:
  1  3.57352
  2  0.689078
  3  0.172066
  4  0.134778
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195610': 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) = 7714.38142217
delta logL = 0.0296102617558

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  4.560e+00  3.574e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.593e+00  6.891e-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.301e-01  1.348e-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.044e+00  1.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.05
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.59 +/- 0.69
Photon Flux (Free Index): 5.17e-08 +/- 3.96e-08
Energy Flux (Free Index): 1.36e-05 +/- 8.75e-06

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/195610/cmap_HighResolution_598060801_598320001_4FGL_J2207.5-5346_daily_bin1384.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.54e-08', energy_flux2='1.36e-05', photon_flux_error='2.91e-08', dlogl='2.96e-02', energy_flux='1.42e-05', photon_flux2='5.17e-08', job_status='DONE', time_completed='2021-09-28 05:53:09.235543', photon_index_error2='0.69', photon_index2='2.59', ts='5.99', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='8.75e-06', EG='1.05', time_epoch_completed='1632833589.24', return_code='0', job_id='195610', GAL2='0.83', EG2='1.04', return_code2='0', energy_flux_error='9.11e-06', photon_flux_error2='3.96e-08', ts2='6.05', photon_index='2.44' WHERE bin_id='1384' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:53:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 195610: <4FGL_J2207.5-5346_daily_bin1384> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1384 331.892 -53.7719 598060801 598320001 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 :                                   639.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            735 sec.

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

