/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 5 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 = 7381
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2207.5-5346_daily_bin255
RA = 331.892, Dec = -53.7719
tmin = 305424001, tmax = 305683201
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='189946', job_status='RUN', time_executed='2021-09-28 05:21:11.037967', time_epoch_executed='1632831671.04' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/189946

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/189946/ft1_4FGL_J2207.5-5346_daily_bin255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/189946/ft2_4FGL_J2207.5-5346_daily_bin255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/189946/ft1_4FGL_J2207.5-5346_daily_bin255.fits outfile=/scratch/kocevski/189946/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin255.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=305424001.0 tmax=305683201.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.46
user 3.26
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/189946/ft1_filtered_4FGL_J2207.5-5346_daily_bin255.fits" evtable="EVENTS" scfile=/scratch/kocevski/189946/ft2_4FGL_J2207.5-5346_daily_bin255.fits sctable="SC_DATA" outfile=/scratch/kocevski/189946/ltcube_305424001_305683201_4FGL_J2207.5-5346_daily_bin255.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/189946/ft2_4FGL_J2207.5-5346_daily_bin255.fits
.....................!
real 12.45
user 12.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/189946/ft1_filtered_4FGL_J2207.5-5346_daily_bin255.fits evtable="EVENTS" scfile=/scratch/kocevski/189946/ft2_4FGL_J2207.5-5346_daily_bin255.fits sctable="SC_DATA" expcube=/scratch/kocevski/189946/ltcube_305424001_305683201_4FGL_J2207.5-5346_daily_bin255.fits outfile=/scratch/kocevski/189946/expmap_305424001_305683201_4FGL_J2207.5-5346_daily_bin255.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/189946/ltcube_305424001_305683201_4FGL_J2207.5-5346_daily_bin255.fits
.....................!
real 190.59
user 185.66
sys 4.52

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/189946/ft1_filtered_4FGL_J2207.5-5346_daily_bin255.fits scfile=/scratch/kocevski/189946/ft2_4FGL_J2207.5-5346_daily_bin255.fits outfile=/scratch/kocevski/189946/cmap_305424001_305683201_4FGL_J2207.5-5346_daily_bin255.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/189946/ft1_filtered_4FGL_J2207.5-5346_daily_bin255.fits scfile=/scratch/kocevski/189946/ft2_4FGL_J2207.5-5346_daily_bin255.fits outfile=/scratch/kocevski/189946/cmap_HighResolution_305424001_305683201_4FGL_J2207.5-5346_daily_bin255.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/189946/ft1_filtered_4FGL_J2207.5-5346_daily_bin255.fits evtable="EVENTS" scfile=/scratch/kocevski/189946/ft2_4FGL_J2207.5-5346_daily_bin255.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/189946/Model_4FGL_J2207.5-5346_daily_bin255.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/189946/ft1_filtered_4FGL_J2207.5-5346_daily_bin255.fits.....................!
real 57.45
user 56.06
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84148       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.221       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.093       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .92525E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .28060E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.1625       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8623       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.9850       1.0000         .10000E-03   10000.    
    20 'Prefactor '    40.107       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2307       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82188       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=   8140.125     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2072 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .84160        1.6948       -.52741E-06   -.16191E-02
   2  Prefactor     .10000E-03    4.6303       -.88138E-06** at limit **
   3  Prefactor     .10000E-03    12.030        .95077E-05** at limit **
   4  Prefactor     .10000E-03    36.394       -.19176E-04** at limit **
   5  Prefactor     27.219        8.4311       -.15235E-06   -.43365E-05
   6  Prefactor     26.091        17.660       -.85121E-06    .55163E-05
   7  Prefactor     .10000E-03    2.8140        .12137E-07** at limit **
   8  norm          .91144E-01    .38946       -.28232E-06   -.13083E-03
   9  Prefactor     .10000E-03    7.0937       -.15429E-05** at limit **
  10  Prefactor     .10000E-03    3.7700        .18283E-06** at limit **
  11  Prefactor     .10000E-03    1.1129       -.35150E-07** at limit **
  12  Prefactor     .10000E-03    28.368        .11087E-04** at limit **
  13  norm          3.1631        4.5590       -.25940E-06   -.31249E-03
  14  Prefactor     .10000E-03    1.8931       -.21028E-07** at limit **
  15  Prefactor     4.8612        4.6798       -.20861E-06   -.24778E-03
  16  Prefactor     .10000E-03    14.647       -.14381E-04** at limit **
  17  Prefactor     .10000E-03    5.0031        .11766E-05** at limit **
  18  Prefactor     .10000E-03    27.020        .10954E-04** at limit **
  19  Prefactor     7.9832        25.294       -.27082E-05    .52336E-06
  20  Prefactor     40.100        19.986       -.32122E-05    .32447E-04
  21  Normalizat    1.2310        .15631        .11590E-05    .20379E-03
  22  Prefactor     .82171        .11851        .81517E-08    .28387E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.841601
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.2187
  Prefactor  = 26.0909
  Prefactor  = 0.0001
  norm       = 0.0911443
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 3.16308
  Prefactor  = 0.0001
  Prefactor  = 4.86118
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.9832
  Prefactor  = 40.0998
  Normalizat = 1.231
  Prefactor  = 0.821715
 **********
 **   18 **HESSE 
 **********

 FCN=   8140.125     FROM HESSE     STATUS=OK           346 CALLS     2418 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .84160        1.6194        .16197E-02   -1.5524    
   2  Prefactor     .10000E-03    4.6484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    36.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.219        8.4313        .76785E-04   -1.4664    
   6  Prefactor     26.091        17.667        .78423E-04   -1.4686    
   7  Prefactor     .10000E-03    2.8825        .29525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .91144E-01    1.7822        .10722E-02   -1.5648    
   9  Prefactor     .10000E-03    7.0968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.8126        .17100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    26.749        .18344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    28.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.1631        4.5514        .22551E-03   -1.5352    
  14  Prefactor     .10000E-03    1.9392        .24226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.8612        4.6958        .18204E-03   -1.5267    
  16  Prefactor     .10000E-03    14.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.0757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.9832        25.286        .14189E-03   -1.5143    
  20  Prefactor     40.100        20.050        .63293E-04   -1.4441    
  21  Normalizat    1.2310        .18131        .24347E-03   -.85650    
  22  Prefactor     .82171        .13773        .22437E-03   -.98933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94455e-08
Minuit parameter uncertainties:
  1  1.61953
  2  8.08052e-08
  3  2.02347e-06
  4  8.27002e-07
  5  8.43171
  6  17.6706
  7  6.0379e-06
  8  0.805653
  9  2.72319e-06
  10  7.10722e-06
  11  0.000526587
  12  1.10094e-05
  13  4.55193
  14  3.54034e-06
  15  4.69619
  16  4.44514e-05
  17  3.04552e-06
  18  5.83312e-06
  19  25.3199
  20  20.053
  21  0.181404
  22  0.137788
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.000e-04  5.266e-04  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  8.217e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.231e+00  1.814e-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: 5.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/189946/likelihoodResults_305424001_305683201_4FGL_J2207.5-5346_daily_bin255.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) = 8140.12538437
delta logL = -0.000179054417458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8140.10014484
delta logL = 0.0250604729936

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61497       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9295       1.0000          .0000       10.000    
     3 'Normalizat'    1.2313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81926       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8140.100     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      454 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61497        3.3866        .31470E-03   -.16401E-04
   2  Index         1.9295        1.3160        .14981E-01    .47654E-04
   3  Normalizat    1.2313        .17441        .24345E-03   -.52022E-04
   4  Prefactor     .81925        .13528        .22467E-03   -.12736E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.614975
  Index      = 1.92949
  Normalizat = 1.23129
  Prefactor  = 0.819254
 **********
 **   18 **HESSE 
 **********

 FCN=   8140.100     FROM HESSE     STATUS=OK            23 CALLS      477 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61497        3.3414        .12588E-04   -1.5551    
   2  Index         1.9295        1.3086        .59925E-03   -.66125    
   3  Normalizat    1.2313        .17456        .97379E-05   -.85641    
   4  Prefactor     .81925        .13537        .89870E-05   -.99022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86049e-10
Minuit parameter uncertainties:
  1  2.867
  2  1.33382
  3  0.174643
  4  0.135428
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/189946': 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) = 8140.10014484
delta logL = 0.0250604745133

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.150e-01  2.867e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.929e+00  1.334e+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:  8.193e-01  1.354e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.231e+00  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.63e-08', time_completed='2021-09-28 05:33:24.990078', job_id='189946', GAL2='0.82', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1632832404.99', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.51e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='255' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:33:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 189946: <4FGL_J2207.5-5346_daily_bin255> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin255> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:20:54 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:20:55 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:20:55 2021
Terminated at Tue Sep 28 05:33:25 2021
Results reported at Tue Sep 28 05:33:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin255 331.892 -53.7719 305424001 305683201 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 :                                   726.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             364.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            751 sec.

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

