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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1462
RA = 331.892, Dec = -53.7719
tmin = 618278401, tmax = 618537601
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='196698', job_status='RUN', time_executed='2021-09-28 05:46:43.184136', time_epoch_executed='1632833203.18' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1462'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196698

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196698/ft1_4FGL_J2207.5-5346_daily_bin1462.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196698/ft2_4FGL_J2207.5-5346_daily_bin1462.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196698/ft1_4FGL_J2207.5-5346_daily_bin1462.fits outfile=/scratch/kocevski/196698/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1462.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=618278401.0 tmax=618537601.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.76
user 3.54
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196698/ft1_filtered_4FGL_J2207.5-5346_daily_bin1462.fits" evtable="EVENTS" scfile=/scratch/kocevski/196698/ft2_4FGL_J2207.5-5346_daily_bin1462.fits sctable="SC_DATA" outfile=/scratch/kocevski/196698/ltcube_618278401_618537601_4FGL_J2207.5-5346_daily_bin1462.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/196698/ft2_4FGL_J2207.5-5346_daily_bin1462.fits
.....................!
real 11.94
user 11.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196698/ft1_filtered_4FGL_J2207.5-5346_daily_bin1462.fits evtable="EVENTS" scfile=/scratch/kocevski/196698/ft2_4FGL_J2207.5-5346_daily_bin1462.fits sctable="SC_DATA" expcube=/scratch/kocevski/196698/ltcube_618278401_618537601_4FGL_J2207.5-5346_daily_bin1462.fits outfile=/scratch/kocevski/196698/expmap_618278401_618537601_4FGL_J2207.5-5346_daily_bin1462.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/196698/ltcube_618278401_618537601_4FGL_J2207.5-5346_daily_bin1462.fits
.....................!
real 189.97
user 185.45
sys 4.17

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/196698/ft1_filtered_4FGL_J2207.5-5346_daily_bin1462.fits scfile=/scratch/kocevski/196698/ft2_4FGL_J2207.5-5346_daily_bin1462.fits outfile=/scratch/kocevski/196698/cmap_618278401_618537601_4FGL_J2207.5-5346_daily_bin1462.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=331.892 yref=-53.7719 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196698/ft1_filtered_4FGL_J2207.5-5346_daily_bin1462.fits scfile=/scratch/kocevski/196698/ft2_4FGL_J2207.5-5346_daily_bin1462.fits outfile=/scratch/kocevski/196698/cmap_HighResolution_618278401_618537601_4FGL_J2207.5-5346_daily_bin1462.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.480       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5324       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.362       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.033       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .60373       1.0000         .10000E-03   10000.    
     9 'Prefactor '    98.721       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4752       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2641       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.684       1.0000         .10000E-03   10000.    
    13 'norm      '    .33205E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2002       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1192       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.659       1.0000         .10000E-03   10000.    
    18 'Prefactor '    126.19       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .60721       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2162       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=   6175.038     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2715 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.481        4.3453        .22971E-07   -.13434E-04
   2  Prefactor     3.5328        16.508        .62167E-06   -.26019E-05
   3  Prefactor     .10000E-03    16.704       -.39711E-07** at limit **
   4  Prefactor     20.291        59.274        .69492E-07   -.12346E-04
   5  Prefactor     16.034        9.6247        .51720E-07   -.38358E-05
   6  Prefactor     .10000E-03    21.053       -.21089E-06** at limit **
   7  Prefactor     .10000E-03    3.0280       -.42447E-06** at limit **
   8  norm          .60375        .60577       -.45256E-07    .63136E-05
   9  Prefactor     98.692        48.991       -.17229E-05   -.43524E-04
  10  Prefactor     3.4442        10.117        .69722E-05   -.12973E-04
  11  Prefactor     1.2634        2.9884        .80796E-06   -.72247E-04
  12  Prefactor     28.968        163.08       -.31774E-04   -.59563E-05
  13  norm          .10001E-03    6.2396        .77915E-06** at limit **
  14  Prefactor     8.1985        5.9442        .15683E-06   -.16300E-04
  15  Prefactor     4.1187        3.9834        .37318E-07   -.32537E-04
  16  Prefactor     .10000E-03    61.464        .20203E-05** at limit **
  17  Prefactor     11.653        13.041       -.23344E-08   -.71915E-04
  18  Prefactor     126.23        99.845        .84617E-07   -.29311E-05
  19  Prefactor     .10000E-03    38.728        .11794E-06** at limit **
  20  Prefactor     .10000E-03    6.6660        .28764E-07** at limit **
  21  Normalizat    .60721        .20170       -.72405E-06   -.61430E-04
  22  Prefactor     1.2162        .15889       -.19677E-06   -.10090E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.4811
  Prefactor  = 3.53284
  Prefactor  = 0.0001
  Prefactor  = 20.2915
  Prefactor  = 16.034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.603745
  Prefactor  = 98.6921
  Prefactor  = 3.44422
  Prefactor  = 1.26338
  Prefactor  = 28.9678
  norm       = 0.000100012
  Prefactor  = 8.19853
  Prefactor  = 4.11868
  Prefactor  = 0.0001
  Prefactor  = 11.6528
  Prefactor  = 126.226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.60721
  Prefactor  = 1.21622
 **********
 **   18 **HESSE 
 **********

 FCN=   6175.038     FROM HESSE     STATUS=OK           348 CALLS     3063 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.481        4.3519        .82457E-04   -1.4921    
   2  Prefactor     3.5328        16.455        .21508E-03   -1.5332    
   3  Prefactor     .10000E-03    16.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.291        59.249        .88762E-04   -1.4807    
   5  Prefactor     16.034        9.6232        .10003E-03   -1.4907    
   6  Prefactor     .10000E-03    21.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.1136        .26670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .60375        .58054        .59272E-03   -1.5553    
   9  Prefactor     98.692        48.856        .20230E-03   -1.3718    
  10  Prefactor     3.4442        10.124        .21692E-03   -1.5337    
  11  Prefactor     1.2634        2.9516        .19955E-03   -1.5483    
  12  Prefactor     28.968        163.11        .74805E-04   -1.4631    
  13  norm          .10001E-03    31.617        .37835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.1985        5.9462        .14000E-03   -1.5135    
  15  Prefactor     4.1187        3.9858        .14905E-03   -1.5302    
  16  Prefactor     .10000E-03    62.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.653        12.999        .11732E-03   -1.5025    
  18  Prefactor     126.23        99.766        .17917E-03   -1.3456    
  19  Prefactor     .10000E-03    38.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.6815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .60721        .22586        .34053E-03   -1.0768    
  22  Prefactor     1.2162        .17986        .19866E-03   -.85834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.90181e-10
Minuit parameter uncertainties:
  1  4.35201
  2  15.2555
  3  3.11154e-06
  4  59.4219
  5  9.62417
  6  1.45533e-05
  7  6.55875e-06
  8  0.580545
  9  48.8759
  10  10.1285
  11  2.9519
  12  138.055
  13  0.00124306
  14  5.94662
  15  3.98609
  16  4.21408e-05
  17  13.0018
  18  99.8994
  19  2.48911e-06
  20  2.01365e-06
  21  0.226208
  22  0.179955
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.263e+00  2.952e+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:  1.216e+00  1.800e-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:  6.072e-01  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/196698/likelihoodResults_618278401_618537601_4FGL_J2207.5-5346_daily_bin1462.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) = 6174.67872678
delta logL = 0.358933292632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6174.67749012
delta logL = 0.360169952037

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1584       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8070       1.0000          .0000       10.000    
     3 'Normalizat'    .61649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2052       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=   6174.677     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      288 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1580        3.9213        .16853E-03   -.45871E-05
   2  Index         1.8070        .57565        .93849E-02   -.64838E-04
   3  Normalizat    .61650        .21528        .33803E-03    .90807E-05
   4  Prefactor     1.2052        .17425        .19933E-03   -.43346E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15797
  Index      = 1.80695
  Normalizat = 0.616498
  Prefactor  = 1.20523
 **********
 **   18 **HESSE 
 **********

 FCN=   6174.677     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1580        3.9232        .67413E-05   -1.5353    
   2  Index         1.8070        .57606        .18770E-02   -.69269    
   3  Normalizat    .61650        .21544        .13521E-04   -1.0729    
   4  Prefactor     1.2052        .17437        .79732E-05   -.86170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08819e-12
Minuit parameter uncertainties:
  1  3.92352
  2  0.578233
  3  0.215729
  4  0.174458
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196698': 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) = 6174.67749008
delta logL = 0.360169993805

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  3.158e+00  3.924e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.807e+00  5.782e-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:  1.205e+00  1.745e-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:  6.165e-01  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/196698/cmap_HighResolution_618278401_618537601_4FGL_J2207.5-5346_daily_bin1462.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-03', job_status='DONE', photon_flux_upper_limit='8.22e-08', time_completed='2021-09-28 05:57:47.833194', job_id='196698', GAL2='1.21', fit_tolerance='1e-08', EG2='0.62', EG='0.61', time_epoch_completed='1632833867.83', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='3.60e-01', ts2='0.95', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1462' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:57:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 196698: <4FGL_J2207.5-5346_daily_bin1462> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1462> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:14 2021
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:16 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:45:16 2021
Terminated at Tue Sep 28 05:57:48 2021
Results reported at Tue Sep 28 05:57:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1462 331.892 -53.7719 618278401 618537601 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 :                                   656.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            754 sec.

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

