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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1319
RA = 331.892, Dec = -53.7719
tmin = 581212801, tmax = 581472001
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='195502', job_status='RUN', time_executed='2021-09-28 05:42:01.818555', time_epoch_executed='1632832921.82' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1319'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195502

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195502/ft1_4FGL_J2207.5-5346_daily_bin1319.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195502/ft2_4FGL_J2207.5-5346_daily_bin1319.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195502/ft1_4FGL_J2207.5-5346_daily_bin1319.fits outfile=/scratch/kocevski/195502/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1319.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=581212801.0 tmax=581472001.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 2.96
user 2.76
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195502/ft2_4FGL_J2207.5-5346_daily_bin1319.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/195502/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1319.fits evtable="EVENTS" outfile="/scratch/kocevski/195502/ft1_filtered_4FGL_J2207.5-5346_daily_bin1319.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195502/ft1_filtered_4FGL_J2207.5-5346_daily_bin1319.fits" evtable="EVENTS" scfile=/scratch/kocevski/195502/ft2_4FGL_J2207.5-5346_daily_bin1319.fits sctable="SC_DATA" outfile=/scratch/kocevski/195502/ltcube_581212801_581472001_4FGL_J2207.5-5346_daily_bin1319.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/195502/ft2_4FGL_J2207.5-5346_daily_bin1319.fits
.....................!
real 12.50
user 12.16
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195502/ft1_filtered_4FGL_J2207.5-5346_daily_bin1319.fits evtable="EVENTS" scfile=/scratch/kocevski/195502/ft2_4FGL_J2207.5-5346_daily_bin1319.fits sctable="SC_DATA" expcube=/scratch/kocevski/195502/ltcube_581212801_581472001_4FGL_J2207.5-5346_daily_bin1319.fits outfile=/scratch/kocevski/195502/expmap_581212801_581472001_4FGL_J2207.5-5346_daily_bin1319.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/195502/ltcube_581212801_581472001_4FGL_J2207.5-5346_daily_bin1319.fits
.....................!
real 191.21
user 186.86
sys 4.03

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/195502/ft1_filtered_4FGL_J2207.5-5346_daily_bin1319.fits scfile=/scratch/kocevski/195502/ft2_4FGL_J2207.5-5346_daily_bin1319.fits outfile=/scratch/kocevski/195502/cmap_581212801_581472001_4FGL_J2207.5-5346_daily_bin1319.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195502/ft1_filtered_4FGL_J2207.5-5346_daily_bin1319.fits scfile=/scratch/kocevski/195502/ft2_4FGL_J2207.5-5346_daily_bin1319.fits outfile=/scratch/kocevski/195502/cmap_HighResolution_581212801_581472001_4FGL_J2207.5-5346_daily_bin1319.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.58
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9165       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.860       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10428E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.060       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2119       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18627E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2427       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    41.467       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7309       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4133       1.0000         .10000E-03   10000.    
    12 'Prefactor '    116.79       1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3705       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6447       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11173E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3246       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.728       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1384       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99684       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=   9402.352     FROM MIGRAD    STATUS=CONVERGED    848 CALLS     2759 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9187        2.9604        .12336E-03   -.29860E-04
   2  Prefactor     17.850        22.924        .94773E-04   -.20873E-04
   3  Prefactor     .10000E-03    12.628        .18142E-02** at limit **
   4  Prefactor     12.108        84.861        .11535E-03   -.33509E-05
   5  Prefactor     5.2162        7.8007        .17608E-03   -.60692E-05
   6  Prefactor     .10115E-03    10.773        .10384    ** at limit **
   7  Prefactor     6.2410        3.9145        .14463E-03   -.12687E-03
   8  norm          .10000E-03    .21824        .77826E-03** at limit **
   9  Prefactor     41.419        27.121        .62251E-04   -.54788E-05
  10  Prefactor     1.7276        17.406        .15954E-02    .53799E-03
  11  Prefactor     1.4103        2.1387        .17015E-03   -.65240E-03
  12  Prefactor     116.54        136.12        .18616E-03   -.20153E-04
  13  norm          .10000E-03    2.8184        .15837E-02** at limit **
  14  Prefactor     8.3715        3.7715        .12085E-03   -.59644E-04
  15  Prefactor     6.6388        4.9388        .77836E-03    .46736E-03
  16  Prefactor     .10000E-03    10.922        .18142E-02** at limit **
  17  Prefactor     .10000E-03    3.2897        .17123E-02** at limit **
  18  Prefactor     .10000E-03    16.155        .18142E-02** at limit **
  19  Prefactor     2.3361        44.717        .26901E-03   -.12171E-04
  20  Prefactor     17.728        13.585        .95124E-04   -.27010E-04
  21  Normalizat    1.1385        .19691        .27200E-03    .72226E-04
  22  Prefactor     .99656        .14817        .22625E-03   -.35143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.91866
  Prefactor  = 17.85
  Prefactor  = 0.0001
  Prefactor  = 12.1083
  Prefactor  = 5.21617
  Prefactor  = 0.000101145
  Prefactor  = 6.24096
  norm       = 0.0001
  Prefactor  = 41.4186
  Prefactor  = 1.72755
  Prefactor  = 1.41032
  Prefactor  = 116.541
  norm       = 0.0001
  Prefactor  = 8.37149
  Prefactor  = 6.63883
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.33615
  Prefactor  = 17.7284
  Normalizat = 1.1385
  Prefactor  = 0.99656
 **********
 **   18 **HESSE 
 **********

 FCN=   9402.352     FROM HESSE     STATUS=OK           332 CALLS     3091 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9187        2.9602        .49343E-05   -1.5264    
   2  Prefactor     17.850        22.918        .37909E-05   -1.4863    
   3  Prefactor     .10000E-03    12.628        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.108        84.962        .46141E-05   -1.5012    
   5  Prefactor     5.2162        7.8001        .70432E-05   -1.5251    
   6  Prefactor     .10115E-03    10.815        .10347       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.2410        3.9136        .57852E-05   -1.5208    
   8  norm          .10000E-03    .21838        .15565E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     41.419        27.091        .24900E-05   -1.4420    
  10  Prefactor     1.7276        16.665        .31909E-03   -1.5445    
  11  Prefactor     1.4103        2.1384        .68059E-05   -1.5470    
  12  Prefactor     116.54        133.51        .74462E-05   -1.3545    
  13  norm          .10000E-03    2.8191        .31674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.3715        3.7715        .48338E-05   -1.5129    
  15  Prefactor     6.6388        4.9376        .31134E-04   -1.5193    
  16  Prefactor     .10000E-03    10.923        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.2903        .34246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.155        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.3361        44.708        .10761E-04   -1.5402    
  20  Prefactor     17.728        13.585        .38050E-05   -1.4866    
  21  Normalizat    1.1385        .19696        .10880E-04   -.88525    
  22  Prefactor     .99656        .14828        .45251E-04   -.92844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23589e-09
Minuit parameter uncertainties:
  1  2.96031
  2  22.9292
  3  4.33656e-06
  4  64.2783
  5  7.80159
  6  0.00703971
  7  3.91377
  8  3.80932e-06
  9  27.0987
  10  10.735
  11  2.13853
  12  133.862
  13  2.50902e-05
  14  3.77161
  15  4.93795
  16  0.000132313
  17  1.86897e-05
  18  9.19793e-06
  19  20.4568
  20  13.5877
  21  0.197091
  22  0.148345
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.410e+00  2.139e+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:  9.966e-01  1.483e-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.138e+00  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/195502/likelihoodResults_581212801_581472001_4FGL_J2207.5-5346_daily_bin1319.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) = 9402.34906912
delta logL = 0.00272148276781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9402.34857972
delta logL = 0.00321088332021

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4812       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3517       1.0000          .0000       10.000    
     3 'Normalizat'    1.1395       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99606       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9402.349     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      257 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4812        2.4468        .86998E-03   -.10956E-02
   2  Index         2.3518        1.0566        .16365E-01    .28288E-04
   3  Normalizat    1.1395        .18458        .27189E-03    .60212E-06
   4  Prefactor     .99604        .14513        .22631E-03   -.10047E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.48125
  Index      = 2.35177
  Normalizat = 1.1395
  Prefactor  = 0.996042
 **********
 **   18 **HESSE 
 **********

 FCN=   9402.349     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4812        2.3518        .34799E-04   -1.5465    
   2  Index         2.3518        1.0170        .65459E-03   -.55818    
   3  Normalizat    1.1395        .18470        .54378E-04   -.88494    
   4  Prefactor     .99604        .14523        .90522E-05   -.92862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.86794e-10
Minuit parameter uncertainties:
  1  2.35194
  2  1.027
  3  0.184807
  4  0.145286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195502': 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) = 9402.3485797
delta logL = 0.00321089966747

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.481e+00  2.352e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.352e+00  1.027e+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:  9.960e-01  1.453e-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.139e+00  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.60
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/195502/cmap_HighResolution_581212801_581472001_4FGL_J2207.5-5346_daily_bin1319.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.96e-03', job_status='DONE', photon_flux_upper_limit='6.41e-08', time_completed='2021-09-28 05:56:21.214138', job_id='195502', GAL2='1.00', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632833781.21', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.21e-03', ts2='0.61', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1319' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:56:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 195502: <4FGL_J2207.5-5346_daily_bin1319> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1319 331.892 -53.7719 581212801 581472001 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 :                                   854.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            935 sec.

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

