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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1082
RA = 331.892, Dec = -53.7719
tmin = 519782401, tmax = 520041601
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='194094', job_status='RUN', time_executed='2021-09-28 05:39:36.440038', time_epoch_executed='1632832776.44' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1082'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194094

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194094/ft1_4FGL_J2207.5-5346_daily_bin1082.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194094/ft2_4FGL_J2207.5-5346_daily_bin1082.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194094/ft1_4FGL_J2207.5-5346_daily_bin1082.fits outfile=/scratch/kocevski/194094/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1082.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=519782401.0 tmax=520041601.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.49
user 3.24
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194094/ft2_4FGL_J2207.5-5346_daily_bin1082.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/194094/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1082.fits evtable="EVENTS" outfile="/scratch/kocevski/194094/ft1_filtered_4FGL_J2207.5-5346_daily_bin1082.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.74
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194094/ft1_filtered_4FGL_J2207.5-5346_daily_bin1082.fits" evtable="EVENTS" scfile=/scratch/kocevski/194094/ft2_4FGL_J2207.5-5346_daily_bin1082.fits sctable="SC_DATA" outfile=/scratch/kocevski/194094/ltcube_519782401_520041601_4FGL_J2207.5-5346_daily_bin1082.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/194094/ft2_4FGL_J2207.5-5346_daily_bin1082.fits
.....................!
real 11.95
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194094/ft1_filtered_4FGL_J2207.5-5346_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/194094/ft2_4FGL_J2207.5-5346_daily_bin1082.fits sctable="SC_DATA" expcube=/scratch/kocevski/194094/ltcube_519782401_520041601_4FGL_J2207.5-5346_daily_bin1082.fits outfile=/scratch/kocevski/194094/expmap_519782401_520041601_4FGL_J2207.5-5346_daily_bin1082.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/194094/ltcube_519782401_520041601_4FGL_J2207.5-5346_daily_bin1082.fits
.....................!
real 191.45
user 186.25
sys 4.84

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/194094/ft1_filtered_4FGL_J2207.5-5346_daily_bin1082.fits scfile=/scratch/kocevski/194094/ft2_4FGL_J2207.5-5346_daily_bin1082.fits outfile=/scratch/kocevski/194094/cmap_519782401_520041601_4FGL_J2207.5-5346_daily_bin1082.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194094/ft1_filtered_4FGL_J2207.5-5346_daily_bin1082.fits scfile=/scratch/kocevski/194094/ft2_4FGL_J2207.5-5346_daily_bin1082.fits outfile=/scratch/kocevski/194094/cmap_HighResolution_519782401_520041601_4FGL_J2207.5-5346_daily_bin1082.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=331.892 yref=-53.7719 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194094/ft1_filtered_4FGL_J2207.5-5346_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/194094/ft2_4FGL_J2207.5-5346_daily_bin1082.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194094/Model_4FGL_J2207.5-5346_daily_bin1082.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/194094/ft1_filtered_4FGL_J2207.5-5346_daily_bin1082.fits.....................!
real 46.76
user 45.41
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64354       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .42860       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .27934E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    64.498       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.683       1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.683       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0679       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0411       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11162E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3203       1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.652       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.808       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.153       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 '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .38967       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1549       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=   6150.999     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2384 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64434        2.4457        .46561E-06   -.77706E-04
   2  Prefactor     .27561        16.908        .20709E-05   -.27400E-03
   3  Prefactor     .10000E-03    129.96        .59191E-06** at limit **
   4  Prefactor     64.501        60.042        .25914E-06   -.83256E-05
   5  Prefactor     10.682        7.0835        .69892E-07   -.28530E-04
   6  Prefactor     32.675        23.670       -.37335E-06   -.74710E-04
   7  Prefactor     3.0649        4.8544        .49096E-06   -.28005E-04
   8  norm          1.0410        .74050        .74834E-07    .93856E-05
   9  Prefactor     .10000E-03    72.360       -.16890E-05** at limit **
  10  Prefactor     .10000E-03    3.6206       -.92867E-06** at limit **
  11  Prefactor     2.3207        3.2597        .40463E-06    .48300E-04
  12  Prefactor     43.585        71.010        .15570E-06   -.38795E-04
  13  norm          .10000E-03    2.7690       -.54104E-07** at limit **
  14  Prefactor     .10000E-03    2.4255        .17854E-06** at limit **
  15  Prefactor     29.810        7.9183        .14184E-06    .18850E-05
  16  Prefactor     .10000E-03    23.413       -.12890E-06** at limit **
  17  Prefactor     18.156        10.628        .18634E-06   -.12667E-05
  18  Prefactor     .10000E-03    28.771        .20997E-07** at limit **
  19  Prefactor     .10000E-03    10.604        .39399E-07** at limit **
  20  Prefactor     .10000E-03    3.9289        .51291E-07** at limit **
  21  Normalizat    .38940        .18109       -.10509E-05   -.17805E-03
  22  Prefactor     1.1551        .14561       -.10313E-05   -.34307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.644335
  Prefactor  = 0.275614
  Prefactor  = 0.0001
  Prefactor  = 64.5005
  Prefactor  = 10.6825
  Prefactor  = 32.6746
  Prefactor  = 3.0649
  norm       = 1.04095
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.32067
  Prefactor  = 43.5849
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.8098
  Prefactor  = 0.0001
  Prefactor  = 18.1564
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.389396
  Prefactor  = 1.15514
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.999     FROM HESSE     STATUS=OK           348 CALLS     2732 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64434        2.4681        .22559E-03   -1.5547    
   2  Prefactor     .27561        8.5898        .16745       -1.5603    
   3  Prefactor     .10000E-03    134.29        .42839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     64.501        60.019        .49970E-04   -1.4100    
   5  Prefactor     10.682        7.0737        .12258E-03   -1.5054    
   6  Prefactor     32.675        23.662        .70091E-04   -1.4564    
   7  Prefactor     3.0649        4.8437        .20226E-03   -1.5358    
   8  norm          1.0410        .74259        .54791E-04   -1.5504    
   9  Prefactor     .10000E-03    72.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.5868        .14452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3207        3.2492        .15953E-03   -1.5403    
  12  Prefactor     43.585        70.595        .60679E-04   -1.4387    
  13  norm          .10000E-03    2.7757        .12744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.5141        .23893E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.810        7.9223        .73384E-04   -1.4615    
  16  Prefactor     .10000E-03    23.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.156        10.619        .94003E-04   -1.4856    
  18  Prefactor     .10000E-03    28.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.9352        .15184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .38940        .19415        .36134E-03   -1.1785    
  22  Prefactor     1.1551        .15627        .17812E-03   -.87723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03164e-10
Minuit parameter uncertainties:
  1  2.46853
  2  3.07724
  3  0.000390901
  4  60.0751
  5  7.07424
  6  23.6689
  7  4.84428
  8  0.742596
  9  5.86433e-05
  10  7.77657e-06
  11  3.24945
  12  70.731
  13  4.40188e-07
  14  1.03447e-05
  15  7.92262
  16  1.23777e-05
  17  10.6198
  18  4.68438e-06
  19  4.01251e-06
  20  3.21692e-06
  21  0.194486
  22  0.156336
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.321e+00  3.249e+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.155e+00  1.563e-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:  3.894e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/194094/likelihoodResults_519782401_520041601_4FGL_J2207.5-5346_daily_bin1082.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) = 6150.9867573
delta logL = 0.0119756541071

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6150.98370295
delta logL = 0.0150300000469

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0784       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6110       1.0000          .0000       10.000    
     3 'Normalizat'    .38605       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1566       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=   6150.984     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      202 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0801        82.676        .71616E-02    .67582E-03
   2  Index         2.6113        6.2330        .23163        .72009E-04
   3  Normalizat    .38563        .45911E-01    .81967E-01    .29583E-03
   4  Prefactor     1.1570        .36093E-01    .35748E-01   -.18929E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.08012
  Index      = 2.61129
  Normalizat = 0.385629
  Prefactor  = 1.15696
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.984     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0801        3.5622        .14594E-03   -1.5420    
   2  Index         2.6113        1.1013        .10521E-01   -.49808    
   3  Normalizat    .38563        .18631        .36305E-03   -1.1805    
   4  Prefactor     1.1570        .15257        .17800E-03   -.87666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02348e-09
Minuit parameter uncertainties:
  1  3.56257
  2  1.11315
  3  0.186612
  4  0.152628
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194094': 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) = 6150.98369958
delta logL = 0.0150333684169

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  2.080e+00  3.563e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.611e+00  1.113e+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.157e+00  1.526e-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:  3.856e-01  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.65
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/194094/cmap_HighResolution_519782401_520041601_4FGL_J2207.5-5346_daily_bin1082.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='8.98e-08', time_completed='2021-09-28 05:50:00.961319', job_id='194094', GAL2='1.16', fit_tolerance='1e-08', EG2='0.39', EG='0.39', time_epoch_completed='1632833400.96', return_code2='0', ts='0.65', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.50e-02', ts2='0.69', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1082' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:50:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 194094: <4FGL_J2207.5-5346_daily_bin1082> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1082 331.892 -53.7719 519782401 520041601 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 :                                   621.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             226.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            855 sec.

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

