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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1631
RA = 331.892, Dec = -53.7719
tmin = 662083201, tmax = 662342401
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='561380', job_status='RUN', time_executed='2021-12-28 00:36:41.137776', time_epoch_executed='1640680601.14' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1631'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/561380

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/561380/ft1_4FGL_J2207.5-5346_daily_bin1631.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/561380/ft2_4FGL_J2207.5-5346_daily_bin1631.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/561380/ft1_4FGL_J2207.5-5346_daily_bin1631.fits outfile=/scratch/kocevski/561380/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1631.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=662083201.0 tmax=662342401.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.93
user 3.69
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/561380/ft1_filtered_4FGL_J2207.5-5346_daily_bin1631.fits" evtable="EVENTS" scfile=/scratch/kocevski/561380/ft2_4FGL_J2207.5-5346_daily_bin1631.fits sctable="SC_DATA" outfile=/scratch/kocevski/561380/ltcube_662083201_662342401_4FGL_J2207.5-5346_daily_bin1631.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/561380/ft2_4FGL_J2207.5-5346_daily_bin1631.fits
.....................!
real 12.59
user 12.24
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/561380/ft1_filtered_4FGL_J2207.5-5346_daily_bin1631.fits evtable="EVENTS" scfile=/scratch/kocevski/561380/ft2_4FGL_J2207.5-5346_daily_bin1631.fits sctable="SC_DATA" expcube=/scratch/kocevski/561380/ltcube_662083201_662342401_4FGL_J2207.5-5346_daily_bin1631.fits outfile=/scratch/kocevski/561380/expmap_662083201_662342401_4FGL_J2207.5-5346_daily_bin1631.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/561380/ltcube_662083201_662342401_4FGL_J2207.5-5346_daily_bin1631.fits
.....................!
real 191.08
user 185.91
sys 4.80

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/561380/ft1_filtered_4FGL_J2207.5-5346_daily_bin1631.fits scfile=/scratch/kocevski/561380/ft2_4FGL_J2207.5-5346_daily_bin1631.fits outfile=/scratch/kocevski/561380/cmap_662083201_662342401_4FGL_J2207.5-5346_daily_bin1631.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.58
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/561380/ft1_filtered_4FGL_J2207.5-5346_daily_bin1631.fits scfile=/scratch/kocevski/561380/ft2_4FGL_J2207.5-5346_daily_bin1631.fits outfile=/scratch/kocevski/561380/cmap_HighResolution_662083201_662342401_4FGL_J2207.5-5346_daily_bin1631.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.57
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9652       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.640       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    316.60       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7546       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.250       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10383E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.6016       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11650E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2004       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.961       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6349       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6614       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.126       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    26.412       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97015       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92738       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=   4706.154     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2436 TOTAL
                     EDM=   .87E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9648        3.1670        .30014E-07   -.69644E-05
   2  Prefactor     20.634        25.868       -.46363E-07   -.14539E-05
   3  Prefactor     .10000E-03    24.879        .53275E-07** at limit **
   4  Prefactor     316.61        174.10        .14175E-06   -.21823E-05
   5  Prefactor     3.7543        8.6332        .23354E-05   -.39567E-05
   6  Prefactor     14.231        44.690        .26151E-05   -.40256E-06
   7  Prefactor     .10000E-03    2.8970       -.49343E-08** at limit **
   8  norm          .10000E-03    .51617        .68539E-07** at limit **
   9  Prefactor     4.5616        43.614       -.28045E-05   -.36493E-05
  10  Prefactor     .10000E-03    5.7769       -.46183E-06** at limit **
  11  Prefactor     1.2018        3.0307       -.36699E-07   -.42035E-04
  12  Prefactor     11.896        89.754        .11928E-04    .55992E-06
  13  norm          .10000E-03    2.2662       -.37434E-08** at limit **
  14  Prefactor     .10000E-03    3.0517        .47298E-08** at limit **
  15  Prefactor     3.6355        5.3444        .96847E-07   -.82969E-05
  16  Prefactor     .10000E-03    13.491        .75894E-07** at limit **
  17  Prefactor     4.6611        9.2185        .89279E-06   -.27283E-04
  18  Prefactor     13.082        113.60        .77263E-05   -.18858E-06
  19  Prefactor     .10000E-03    21.755       -.11702E-06** at limit **
  20  Prefactor     26.409        17.536        .39779E-07   -.25893E-05
  21  Normalizat    .97022        .20063       -.91659E-06    .13281E-04
  22  Prefactor     .92741        .16074       -.12054E-06   -.38847E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.96484
  Prefactor  = 20.6342
  Prefactor  = 0.0001
  Prefactor  = 316.608
  Prefactor  = 3.75429
  Prefactor  = 14.2313
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.56164
  Prefactor  = 0.0001
  Prefactor  = 1.20182
  Prefactor  = 11.8962
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.63553
  Prefactor  = 0.0001
  Prefactor  = 4.66109
  Prefactor  = 13.0818
  Prefactor  = 0.0001
  Prefactor  = 26.4085
  Normalizat = 0.970223
  Prefactor  = 0.92741
 **********
 **   18 **HESSE 
 **********

 FCN=   4706.154     FROM HESSE     STATUS=OK           350 CALLS     2786 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9648        3.1585        .12193E-03   -1.5364    
   2  Prefactor     20.634        25.870        .88162E-04   -1.4799    
   3  Prefactor     .10000E-03    24.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     316.61        173.53        .11422E-03   -1.2130    
   5  Prefactor     3.7543        8.6322        .10418E-02   -1.5320    
   6  Prefactor     14.231        44.699        .10610E-03   -1.4953    
   7  Prefactor     .10000E-03    2.9565        .11398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .72164        .95405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5616        43.547        .18764E-03   -1.5281    
  10  Prefactor     .10000E-03    5.8425        .16104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2018        2.9723        .18226E-03   -1.5489    
  12  Prefactor     11.896        89.956        .11583E-03   -1.5018    
  13  norm          .10000E-03    2.2673        .10086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.1876        .23372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.6355        5.3500        .18046E-03   -1.5327    
  16  Prefactor     .10000E-03    13.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.6611        9.2181        .93201E-03   -1.5276    
  18  Prefactor     13.082        113.50        .11056E-03   -1.4984    
  19  Prefactor     .10000E-03    21.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     26.409        17.587        .77950E-04   -1.4680    
  21  Normalizat    .97022        .23089        .24928E-03   -.94035    
  22  Prefactor     .92741        .18634        .21259E-03   -.95190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16505e-10
Minuit parameter uncertainties:
  1  3.15866
  2  25.8838
  3  6.17419e-06
  4  173.819
  5  8.63504
  6  44.8039
  7  3.19451e-06
  8  1.61315e-06
  9  28.2152
  10  3.44965e-05
  11  2.97271
  12  65.5635
  13  4.68693e-07
  14  4.63446e-06
  15  5.35066
  16  1.17517e-05
  17  9.22093
  18  77.2624
  19  4.77002e-06
  20  17.5905
  21  0.231129
  22  0.186466
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.202e+00  2.973e+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.274e-01  1.865e-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:  9.702e-01  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/561380/likelihoodResults_662083201_662342401_4FGL_J2207.5-5346_daily_bin1631.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) = 4706.13720581
delta logL = 0.0167727620383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4706.13343431
delta logL = 0.0205442601882

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4866       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1513       1.0000          .0000       10.000    
     3 'Normalizat'    .97250       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92593       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=   4706.133     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      274 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4915        3.5488        .18959E-03   -.32986E-03
   2  Index         2.1539        1.2910        .15381E-01   -.36407E-04
   3  Normalizat    .97249        .21734        .24901E-03   -.16162E-03
   4  Prefactor     .92587        .18256        .21274E-03   -.71449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4915
  Index      = 2.15392
  Normalizat = 0.972494
  Prefactor  = 0.925875
 **********
 **   18 **HESSE 
 **********

 FCN=   4706.133     FROM HESSE     STATUS=OK            23 CALLS      297 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4915        3.4962        .75838E-05   -1.5464    
   2  Index         2.1539        1.2732        .61524E-03   -.60555    
   3  Normalizat    .97249        .21749        .99605E-05   -.93958    
   4  Prefactor     .92587        .18268        .85096E-05   -.95243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4183e-10
Minuit parameter uncertainties:
  1  3.49664
  2  1.29451
  3  0.217684
  4  0.182802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/561380': 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) = 4706.13343063
delta logL = 0.0205479422148

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.491e+00  3.497e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.154e+00  1.295e+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.259e-01  1.828e-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:  9.725e-01  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/561380/cmap_HighResolution_662083201_662342401_4FGL_J2207.5-5346_daily_bin1631.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.24e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2021-12-28 00:46:09.202754', job_id='561380', GAL2='0.93', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1640681169.2', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.05e-02', ts2='0.25', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1631' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 28 00:46:09 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 561380: <4FGL_J2207.5-5346_daily_bin1631> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1631> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 28 00:35:22 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 28 00:35:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 28 00:35:25 2021
Terminated at Tue Dec 28 00:46:09 2021
Results reported at Tue Dec 28 00:46:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1631 331.892 -53.7719 662083201 662342401 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 :                                   570.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   644 sec.
    Turnaround time :                            647 sec.

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

