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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin851
RA = 331.892, Dec = -53.7719
tmin = 459907201, tmax = 460166401
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='193720', job_status='RUN', time_executed='2021-09-28 05:37:42.780156', time_epoch_executed='1632832662.78' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='851'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193720

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193720/ft1_4FGL_J2207.5-5346_daily_bin851.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193720/ft2_4FGL_J2207.5-5346_daily_bin851.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193720/ft1_4FGL_J2207.5-5346_daily_bin851.fits outfile=/scratch/kocevski/193720/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin851.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=459907201.0 tmax=460166401.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.39
user 3.15
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193720/ft2_4FGL_J2207.5-5346_daily_bin851.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/193720/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin851.fits evtable="EVENTS" outfile="/scratch/kocevski/193720/ft1_filtered_4FGL_J2207.5-5346_daily_bin851.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193720/ft1_filtered_4FGL_J2207.5-5346_daily_bin851.fits" evtable="EVENTS" scfile=/scratch/kocevski/193720/ft2_4FGL_J2207.5-5346_daily_bin851.fits sctable="SC_DATA" outfile=/scratch/kocevski/193720/ltcube_459907201_460166401_4FGL_J2207.5-5346_daily_bin851.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/193720/ft2_4FGL_J2207.5-5346_daily_bin851.fits
.....................!
real 11.78
user 11.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193720/ft1_filtered_4FGL_J2207.5-5346_daily_bin851.fits evtable="EVENTS" scfile=/scratch/kocevski/193720/ft2_4FGL_J2207.5-5346_daily_bin851.fits sctable="SC_DATA" expcube=/scratch/kocevski/193720/ltcube_459907201_460166401_4FGL_J2207.5-5346_daily_bin851.fits outfile=/scratch/kocevski/193720/expmap_459907201_460166401_4FGL_J2207.5-5346_daily_bin851.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/193720/ltcube_459907201_460166401_4FGL_J2207.5-5346_daily_bin851.fits
.....................!
real 190.69
user 185.25
sys 5.12

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/193720/ft1_filtered_4FGL_J2207.5-5346_daily_bin851.fits scfile=/scratch/kocevski/193720/ft2_4FGL_J2207.5-5346_daily_bin851.fits outfile=/scratch/kocevski/193720/cmap_459907201_460166401_4FGL_J2207.5-5346_daily_bin851.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193720/ft1_filtered_4FGL_J2207.5-5346_daily_bin851.fits evtable="EVENTS" scfile=/scratch/kocevski/193720/ft2_4FGL_J2207.5-5346_daily_bin851.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193720/Model_4FGL_J2207.5-5346_daily_bin851.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/193720/ft1_filtered_4FGL_J2207.5-5346_daily_bin851.fits.....................!
real 46.24
user 44.96
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.280       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.115       1.0000         .10000E-03   10000.    
     4 'Prefactor '    131.15       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.626       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7012       1.0000         .10000E-03   10000.    
     8 'norm      '    .85954       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.978       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10586E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .80722       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3579       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    106.87       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .76875       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0465       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=   5746.869     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2358 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6871        .10467E-06** at limit **
   2  Prefactor     27.282        28.101        .42307E-06   -.21020E-05
   3  Prefactor     28.077        41.736       -.52827E-05   -.27037E-03
   4  Prefactor     131.08        110.16       -.52666E-05   -.18926E-03
   5  Prefactor     .10000E-03    5.4400        .52197E-08** at limit **
   6  Prefactor     27.605        35.309       -.32555E-05   -.21742E-03
   7  Prefactor     5.7002        5.2562        .33724E-05   -.79127E-03
   8  norm          .85906        .66934        .48126E-09    .20748E-03
   9  Prefactor     .10000E-03    9.5623       -.14306E-06** at limit **
  10  Prefactor     16.976        8.7627       -.30394E-06   -.58434E-04
  11  Prefactor     .10000E-03    3.4283        .38355E-07** at limit **
  12  Prefactor     .10000E-03    61.426        .65711E-06** at limit **
  13  norm          .80839        8.4014        .34879E-05   -.14535E-03
  14  Prefactor     3.3574        4.1008        .17039E-06   -.48380E-04
  15  Prefactor     .10000E-03    5.1803        .31569E-06** at limit **
  16  Prefactor     .10000E-03    9.3689        .32852E-06** at limit **
  17  Prefactor     .10000E-03    7.1417        .13754E-06** at limit **
  18  Prefactor     106.87        91.063       -.13905E-06   -.38561E-05
  19  Prefactor     .10000E-03    20.261        .97265E-07** at limit **
  20  Prefactor     .10000E-03    5.6800        .17097E-06** at limit **
  21  Normalizat    .76889        .18528       -.45695E-06   -.57449E-04
  22  Prefactor     1.0465        .14460        .47806E-07   -.10295E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 27.2822
  Prefactor  = 28.0768
  Prefactor  = 131.077
  Prefactor  = 0.0001
  Prefactor  = 27.6047
  Prefactor  = 5.70023
  norm       = 0.859062
  Prefactor  = 0.0001
  Prefactor  = 16.9763
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.808388
  Prefactor  = 3.35739
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 106.866
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.768888
  Prefactor  = 1.04646
 **********
 **   18 **HESSE 
 **********

 FCN=   5746.869     FROM HESSE     STATUS=OK           338 CALLS     2696 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4828        .18774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.282        27.839        .76701E-04   -1.4663    
   3  Prefactor     28.077        42.729        .75557E-04   -1.4648    
   4  Prefactor     131.08        112.90        .17580E-03   -1.3413    
   5  Prefactor     .10000E-03    5.4832        .17263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.605        35.538        .76220E-04   -1.4657    
   7  Prefactor     5.7002        5.3572        .80042E-03   -1.5230    
   8  norm          .85906        .65789        .52845E-04   -1.5523    
   9  Prefactor     .10000E-03    9.5678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.976        8.7742        .97201E-04   -1.4884    
  11  Prefactor     .10000E-03    3.5686        .27374E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    61.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .80839        8.5170        .42847E-03   -1.5528    
  14  Prefactor     3.3574        4.1026        .16168E-03   -1.5341    
  15  Prefactor     .10000E-03    5.4000        .33664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.3818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.1974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     106.87        91.079        .38902E-04   -1.3637    
  19  Prefactor     .10000E-03    20.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.6879        .17645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .76889        .21366        .28559E-03   -1.0123    
  22  Prefactor     1.0465        .16715        .19802E-03   -.91196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30376e-09
Minuit parameter uncertainties:
  1  6.46993e-05
  2  27.8522
  3  42.7759
  4  113.089
  5  2.63836e-05
  6  35.5651
  7  5.35763
  8  0.657892
  9  2.18434e-05
  10  8.77483
  11  3.42503e-06
  12  0.000117199
  13  5.24852
  14  4.10289
  15  1.50009e-05
  16  1.42625e-05
  17  1.18888e-05
  18  91.1983
  19  1.33864e-05
  20  2.6629e-06
  21  0.213895
  22  0.167231
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  3.425e-06  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.046e+00  1.672e-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:  7.689e-01  2.139e-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.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193720/likelihoodResults_459907201_460166401_4FGL_J2207.5-5346_daily_bin851.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): 102
logL (Free Index) = 5746.86984232
delta logL = -0.00133776103758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5746.86850477
delta logL = -2.14907231566e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4442       1.0000          .0000       10.000    
     3 'Normalizat'    .76883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0466       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5746.869     FROM MIGRAD    STATUS=FAILED        90 CALLS      247 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10090E-03    163.12        .27430E-02** at limit **
   2  Index         2.5278        6.1397        .50000       -.14135E-04
   3  Normalizat    .76889        .32117E-01    .28558E-03    .13849E-03
   4  Prefactor     1.0465        .25791E-01    .19802E-03    .20502E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5746.869     FROM SIMPLEX   STATUS=PROGRESS     138 CALLS      385 TOTAL
                     EDM=   .50E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10033E-03    163.12        .24419E-03** at limit **
   2  Index         2.5276        6.1397        .89635E-04   -.14135E-04
   3  Normalizat    .76889        .32117E-01    .14017E-05    .13849E-03
   4  Prefactor     1.0465        .25791E-01    .86598E-06    .20502E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5746.869     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      430 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    467.30        .54859E-03** at limit **
   2  Index         2.7102        6.3278        .50000        .28194E-08
   3  Normalizat    .76889        .64704E-01    .11423E-04    .23487E-04
   4  Prefactor     1.0465        .50157E-01    .39604E-04    .30084E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.7102
  Normalizat = 0.768887
  Prefactor  = 1.04646
 **********
 **   18 **HESSE 
 **********

 FCN=   5746.869     FROM HESSE     STATUS=OK            25 CALLS      455 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7481        .10972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7102        8.2785        .20000E-01   -.47570    
   3  Normalizat    .76889        .20430        .22847E-05   -1.0123    
   4  Prefactor     1.0465        .16416        .79209E-05   -.91196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68637e-12
Minuit parameter uncertainties:
  1  2.23193e-06
  2  244.692
  3  0.204506
  4  0.164243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193720': 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) = 5746.86850389
delta logL = 6.65913830744e-07

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  2.232e-06  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.710e+00  2.447e+02  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.046e+00  1.642e-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:  7.689e-01  2.045e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/193720/cmap_HighResolution_459907201_460166401_4FGL_J2207.5-5346_daily_bin851.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.75e-03', job_status='DONE', photon_flux_upper_limit='7.42e-08', time_completed='2021-09-28 05:48:02.180031', job_id='193720', GAL2='1.05', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1632833282.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='6.66e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='851' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:48:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 193720: <4FGL_J2207.5-5346_daily_bin851> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin851 331.892 -53.7719 459907201 460166401 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 :                                   618.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            761 sec.

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

