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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1052
RA = 331.892, Dec = -53.7719
tmin = 512006401, tmax = 512265601
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='194050', job_status='RUN', time_executed='2021-09-28 05:39:40.041496', time_epoch_executed='1632832780.04' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1052'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194050

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194050/ft1_4FGL_J2207.5-5346_daily_bin1052.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194050/ft2_4FGL_J2207.5-5346_daily_bin1052.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194050/ft1_4FGL_J2207.5-5346_daily_bin1052.fits outfile=/scratch/kocevski/194050/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1052.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=512006401.0 tmax=512265601.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.63
user 3.37
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194050/ft2_4FGL_J2207.5-5346_daily_bin1052.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/194050/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1052.fits evtable="EVENTS" outfile="/scratch/kocevski/194050/ft1_filtered_4FGL_J2207.5-5346_daily_bin1052.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.48
user 0.35
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194050/ft1_filtered_4FGL_J2207.5-5346_daily_bin1052.fits" evtable="EVENTS" scfile=/scratch/kocevski/194050/ft2_4FGL_J2207.5-5346_daily_bin1052.fits sctable="SC_DATA" outfile=/scratch/kocevski/194050/ltcube_512006401_512265601_4FGL_J2207.5-5346_daily_bin1052.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/194050/ft2_4FGL_J2207.5-5346_daily_bin1052.fits
.....................!
real 11.74
user 11.42
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194050/ft1_filtered_4FGL_J2207.5-5346_daily_bin1052.fits evtable="EVENTS" scfile=/scratch/kocevski/194050/ft2_4FGL_J2207.5-5346_daily_bin1052.fits sctable="SC_DATA" expcube=/scratch/kocevski/194050/ltcube_512006401_512265601_4FGL_J2207.5-5346_daily_bin1052.fits outfile=/scratch/kocevski/194050/expmap_512006401_512265601_4FGL_J2207.5-5346_daily_bin1052.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/194050/ltcube_512006401_512265601_4FGL_J2207.5-5346_daily_bin1052.fits
.....................!
real 191.11
user 185.47
sys 5.32

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/194050/ft1_filtered_4FGL_J2207.5-5346_daily_bin1052.fits scfile=/scratch/kocevski/194050/ft2_4FGL_J2207.5-5346_daily_bin1052.fits outfile=/scratch/kocevski/194050/cmap_512006401_512265601_4FGL_J2207.5-5346_daily_bin1052.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194050/ft1_filtered_4FGL_J2207.5-5346_daily_bin1052.fits scfile=/scratch/kocevski/194050/ft2_4FGL_J2207.5-5346_daily_bin1052.fits outfile=/scratch/kocevski/194050/cmap_HighResolution_512006401_512265601_4FGL_J2207.5-5346_daily_bin1052.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93468       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.450       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.806       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2425       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4912       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11094E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .30718E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.529       1.0000         .10000E-03   10000.    
    13 'norm      '    .75546E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8567       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .93999E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.687       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12129E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0207       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0268       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=   8163.966     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2403 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .93428        1.4861        .12966E-06    .24766E-03
   2  Prefactor     .10000E-03    7.5842       -.34848E-06** at limit **
   3  Prefactor     43.447        39.972       -.91953E-07   -.21009E-04
   4  Prefactor     .10000E-03    33.383       -.38865E-06** at limit **
   5  Prefactor     .10000E-03    5.1255        .93167E-08** at limit **
   6  Prefactor     10.803        23.751        .37611E-06    .68415E-05
   7  Prefactor     5.2404        4.6924        .48412E-06    .12795E-03
   8  norm          2.4912        .95317        .33631E-07   -.62257E-04
   9  Prefactor     .10000E-03    76.814        .14204E-05** at limit **
  10  Prefactor     .10000E-03    1.7396        .15812E-07** at limit **
  11  Prefactor     .10000E-03    1.4934       -.11363E-06** at limit **
  12  Prefactor     21.535        50.166        .11649E-05    .48391E-04
  13  norm          .10000E-03    3.3962        .64942E-06** at limit **
  14  Prefactor     5.8568        3.4224        .12864E-05   -.13669E-02
  15  Prefactor     .10001E-03    2.1020       -.39195E-06** at limit **
  16  Prefactor     .10000E-03    6.7632        .14623E-06** at limit **
  17  Prefactor     17.677        8.7851        .13416E-05    .12689E-02
  18  Prefactor     .10001E-03    175.29       -.12501E-05** at limit **
  19  Prefactor     .10000E-03    7.9420        .35830E-06** at limit **
  20  Prefactor     .10000E-03    4.1669        .20893E-07** at limit **
  21  Normalizat    1.0206        .17261       -.15520E-05    .14161E-03
  22  Prefactor     1.0269        .13176        .30984E-06   -.17185E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.934283
  Prefactor  = 0.0001
  Prefactor  = 43.4475
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8027
  Prefactor  = 5.24041
  norm       = 2.49117
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 21.5352
  norm       = 0.000100003
  Prefactor  = 5.85675
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 17.6774
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02058
  Prefactor  = 1.0269
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.966     FROM HESSE     STATUS=OK           344 CALLS     2747 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .93428        1.2054        .13527E-02   -1.5515    
   2  Prefactor     .10000E-03    7.6297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     43.447        39.978        .60819E-04   -1.4389    
   4  Prefactor     .10000E-03    33.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.1950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.803        23.709        .12188E-03   -1.5050    
   7  Prefactor     5.2404        4.6827        .17349E-03   -1.5250    
   8  norm          2.4912        .95124        .52612E-04   -1.5392    
   9  Prefactor     .10000E-03    78.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.7423        .11635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.513        .20903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.535        50.177        .86324E-04   -1.4780    
  13  norm          .10000E-03    8.8162        .32029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.8568        3.5686        .63800E-03   -1.5224    
  15  Prefactor     .10001E-03    18.360        .24802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.7698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.677        9.4971        .95234E-04   -1.4867    
  18  Prefactor     .10001E-03    177.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.9556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.1722        .18013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0206        .19409        .26765E-03   -.92344    
  22  Prefactor     1.0269        .15237        .21184E-03   -.91838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64811e-09
Minuit parameter uncertainties:
  1  1.20545
  2  4.05697e-05
  3  40.0027
  4  9.67204e-05
  5  3.77758e-06
  6  23.7293
  7  4.68307
  8  0.951243
  9  0.00058443
  10  9.5257e-07
  11  0.000372529
  12  50.2755
  13  0.000310014
  14  3.5687
  15  0.000992259
  16  2.05949e-05
  17  9.49791
  18  0.00232167
  19  4.69677e-05
  20  2.03908e-06
  21  0.194223
  22  0.15243
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  3.725e-04  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:  1.027e+00  1.524e-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.021e+00  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/194050/likelihoodResults_512006401_512265601_4FGL_J2207.5-5346_daily_bin1052.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) = 8163.9664641
delta logL = -0.000413561401729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8163.96605107
delta logL = -5.28645614395e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15166E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5265       1.0000          .0000       10.000    
     3 'Normalizat'    1.0208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0268       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=   8163.920     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      286 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74510E-01    6.2366        .15311E-01   -.16869E-02
   2  Index         4.3141        3.2721        .37286       -.23534E-04
   3  Normalizat    1.0035        .38731E-01    .43236E-01   -.35743E-03
   4  Prefactor     1.0344        .28190E-01    .41523E-01   -.83890E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0745099
  Index      = 4.31412
  Normalizat = 1.0035
  Prefactor  = 1.03441
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.920     FROM HESSE     STATUS=OK            31 CALLS      317 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74510E-01    .67585        .56686E-03   -1.5763    
   2  Index         4.3141        3.0904        .81833E-02   -.13761    
   3  Normalizat    1.0035        .19655        .26971E-03   -.92913    
   4  Prefactor     1.0344        .15241        .21117E-03   -.91591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.5558e-10
Minuit parameter uncertainties:
  1  0.448516
  2  3.33732
  3  0.196688
  4  0.152477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194050': 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) = 8163.92031098
delta logL = 0.0457395625863

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  7.451e-02  4.485e-01  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  4.314e+00  3.337e+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:  1.034e+00  1.525e-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.004e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.892 -53.772

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/194050/cmap_HighResolution_512006401_512265601_4FGL_J2207.5-5346_daily_bin1052.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.75e-03', job_status='DONE', photon_flux_upper_limit='7.43e-08', time_completed='2021-09-28 05:52:03.838732', job_id='194050', GAL2='1.03', fit_tolerance='1e-08', EG2='1.00', EG='1.02', time_epoch_completed='1632833523.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='4.57e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1052' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:52:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 194050: <4FGL_J2207.5-5346_daily_bin1052> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1052> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:35:42 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:35:44 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:44 2021
Terminated at Tue Sep 28 05:52:04 2021
Results reported at Tue Sep 28 05:52:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1052 331.892 -53.7719 512006401 512265601 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 :                                   741.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             244.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            982 sec.

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

