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


Performing analysis on: 4FGL_J0207.5-2402_daily_bin786
RA = 31.8989, Dec = -24.0484
tmin = 443059201, tmax = 443318401
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='133842', job_status='RUN', time_executed='2021-08-15 08:20:10.187349', time_epoch_executed='1629040810.19' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='786'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/133842

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/133842/ft1_4FGL_J0207.5-2402_daily_bin786.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/133842/ft2_4FGL_J0207.5-2402_daily_bin786.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/133842/ft1_4FGL_J0207.5-2402_daily_bin786.fits outfile=/scratch/kocevski/133842/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin786.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=443059201.0 tmax=443318401.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 5.16
user 3.58
sys 1.55

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/133842/ft2_4FGL_J0207.5-2402_daily_bin786.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/133842/ft2_4FGL_J0207.5-2402_daily_bin786.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/133842/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin786.fits evtable="EVENTS" outfile="/scratch/kocevski/133842/ft1_filtered_4FGL_J0207.5-2402_daily_bin786.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 1.87
user 0.34
sys 1.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/133842/ft1_filtered_4FGL_J0207.5-2402_daily_bin786.fits" evtable="EVENTS" scfile=/scratch/kocevski/133842/ft2_4FGL_J0207.5-2402_daily_bin786.fits sctable="SC_DATA" outfile=/scratch/kocevski/133842/ltcube_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.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/133842/ft2_4FGL_J0207.5-2402_daily_bin786.fits
.....................!
real 14.62
user 12.72
sys 1.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/133842/ft1_filtered_4FGL_J0207.5-2402_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/133842/ft2_4FGL_J0207.5-2402_daily_bin786.fits sctable="SC_DATA" expcube=/scratch/kocevski/133842/ltcube_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.fits outfile=/scratch/kocevski/133842/expmap_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.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/133842/ltcube_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.fits
.....................!
real 192.83
user 186.05
sys 6.35

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 174 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0207.5-2402 @ 31.8989 -24.0484

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/133842/ft1_filtered_4FGL_J0207.5-2402_daily_bin786.fits scfile=/scratch/kocevski/133842/ft2_4FGL_J0207.5-2402_daily_bin786.fits outfile=/scratch/kocevski/133842/cmap_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.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=31.8989 yref=-24.0484 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 1.84
user 0.39
sys 1.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/133842/ft1_filtered_4FGL_J0207.5-2402_daily_bin786.fits scfile=/scratch/kocevski/133842/ft2_4FGL_J0207.5-2402_daily_bin786.fits outfile=/scratch/kocevski/133842/cmap_HighResolution_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.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=31.8989 yref=-24.0484 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 1.87
user 0.39
sys 1.44

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/133842/ft1_filtered_4FGL_J0207.5-2402_daily_bin786.fits evtable="EVENTS" scfile=/scratch/kocevski/133842/ft2_4FGL_J0207.5-2402_daily_bin786.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/133842/Model_4FGL_J0207.5-2402_daily_bin786.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/133842/ft1_filtered_4FGL_J0207.5-2402_daily_bin786.fits.....................!
real 107.22
user 103.92
sys 2.94

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/133842/ft1_filtered_4FGL_J0207.5-2402_daily_bin786.fits', '/scratch/kocevski/133842/ft2_4FGL_J0207.5-2402_daily_bin786.fits', expMap='/scratch/kocevski/133842/expmap_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.fits', expCube='/scratch/kocevski/133842/ltcube_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/133842/Model_4FGL_J0207.5-2402_daily_bin786.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0207.5-2402'

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  2.138e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.340e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/133842/ft1_filtered_4FGL_J0207.5-2402_daily_bin786.fits
Spacecraft file(s): /scratch/kocevski/133842/ft2_4FGL_J0207.5-2402_daily_bin786.fits
Exposure map: /scratch/kocevski/133842/expmap_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.fits
Exposure cube: /scratch/kocevski/133842/ltcube_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/133842/Model_4FGL_J0207.5-2402_daily_bin786.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) = 5274.75232211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.945       1.0000         .10000E-03   10000.    
     2 'norm      '    5.2421       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1449       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10652E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.3912       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.967       1.0000         .10000E-03   10000.    
    10 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.1474       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .60297E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .40120       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3958       1.0000         .10000E-03   10000.    
    16 'Prefactor '    86.429       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.7592       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.3660       1.0000         .10000E-03   10000.    
    21 'norm      '    1.9241       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0002       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .70505       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5274.748     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2589 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.950        18.011        .28816E-05    .17870E-04
   2  norm          5.2407        3.7093       -.70377E-06    .19881E-03
   3  norm          1.1448        1.6224       -.18124E-06   -.60002E-03
   4  Prefactor     .10000E-03    5.3545        .12411E-08** at limit **
   5  Prefactor     .10000E-03    3.1398       -.32264E-06** at limit **
   6  norm          1.3913        1.2921       -.14581E-06   -.53095E-03
   7  norm          .10000E-03    .55934       -.13264E-07** at limit **
   8  norm          .10000E-03    .65402       -.18073E-07** at limit **
   9  Prefactor     18.968        23.326        .28775E-06   -.53331E-05
  10  norm          .10000E-03    1.4703        .19324E-06** at limit **
  11  Prefactor     7.1452        9.2509       -.24156E-06   -.16269E-03
  12  Prefactor     .10000E-03    2.8109        .51546E-06** at limit **
  13  Prefactor     .39103        6.2649       -.29005E-06   -.15278E-03
  14  norm          .10000E-03    18.904       -.48395E-07** at limit **
  15  Prefactor     5.3949        5.9002        .89206E-07   -.38608E-03
  16  Prefactor     86.420        46.362       -.74615E-05   -.32921E-04
  17  Prefactor     .10000E-03    12.101        .60435E-07** at limit **
  18  Prefactor     .10000E-03    29.605       -.10350E-07** at limit **
  19  Prefactor     5.7592        3.5481       -.47733E-07   -.98408E-05
  20  Prefactor     9.3661        19.452       -.18939E-06   -.16710E-04
  21  norm          1.9241        2.1663       -.13141E-06   -.55432E-03
  22  Normalizat    1.0000        .15461        .67096E-06   -.13524E-03
  23  Prefactor     .70514        .16924        .31774E-06   -.43627E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.95
  norm       = 5.2407
  norm       = 1.14476
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.39128
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 18.9678
  norm       = 0.0001
  Prefactor  = 7.14517
  Prefactor  = 0.000100004
  Prefactor  = 0.391031
  norm       = 0.0001
  Prefactor  = 5.39488
  Prefactor  = 86.4199
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.75922
  Prefactor  = 9.36611
  norm       = 1.92413
  Normalizat = 1.00005
  Prefactor  = 0.705143
 **********
 **   18 **HESSE 
 **********

 FCN=   5274.748     FROM HESSE     STATUS=OK           378 CALLS     2967 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.950        18.209        .10030E-03   -1.4909    
   2  norm          5.2407        3.7280        .86620E-04   -1.5250    
   3  norm          1.1448        1.5905        .10728E-03   -1.5494    
   4  Prefactor     .10000E-03    5.3685        .16407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.2877        .23995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.3913        1.2780        .76074E-04   -1.5472    
   7  norm          .10000E-03    .57039        .53000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .65885        .57336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.968        23.325        .91965E-04   -1.4837    
  10  norm          .10000E-03    2.9939        .16742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.1452        9.1764        .15004E-03   -1.5173    
  12  Prefactor     .10000E-03    37.516        .22655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .39103        19.766        .34150E-02   -1.5583    
  14  norm          .10000E-03    18.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.3949        5.8733        .17300E-03   -1.5243    
  16  Prefactor     86.420        45.502        .43214E-04   -1.3846    
  17  Prefactor     .10000E-03    12.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    29.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.7592        3.5491        .10418E-03   -1.5228    
  20  Prefactor     9.3661        19.443        .13095E-03   -1.5096    
  21  norm          1.9241        2.1596        .10821E-03   -1.5431    
  22  Normalizat    1.0000        .17692        .19730E-03   -.93029    
  23  Prefactor     .70514        .19667        .26670E-03   -1.0333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5564e-08
Minuit parameter uncertainties:
  1  18.215
  2  3.72816
  3  1.5906
  4  1.54919e-06
  5  7.54621e-05
  6  1.27801
  7  1.13689e-06
  8  1.04825e-06
  9  23.3363
  10  3.16073e-05
  11  9.17816
  12  0.000763344
  13  5.56149
  14  6.34598e-05
  15  5.87396
  16  45.5208
  17  3.25777e-06
  18  1.78193e-05
  19  3.54918
  20  19.4558
  21  2.15968
  22  0.177023
  23  0.196861
Done.

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

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  7.145e+00  9.178e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.340e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  7.051e-01  1.969e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  1.000e+00  1.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.92
Ra Dec: 31.899 -24.048
Photon Flux Upper Limit: 7.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/133842/likelihoodResults_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.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) = 5274.27927012
delta logL = 0.468465317236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5274.25676453
delta logL = 0.490970902064

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4232       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2254       1.0000          .0000       10.000    
     3 'Normalizat'    .96052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73300       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5274.257     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      245 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4222        46.725        .65730E-02    .41562E-03
   2  Index         3.2270        3.3212        .10366        .14477E-03
   3  Normalizat    .96078        .50969E-01    .45670E-01   -.96906E-05
   4  Prefactor     .73270        .54760E-01    .42839E-01    .21062E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.42222
  Index      = 3.22701
  Normalizat = 0.960778
  Prefactor  = 0.732697
 **********
 **   18 **HESSE 
 **********

 FCN=   5274.257     FROM HESSE     STATUS=OK            33 CALLS      278 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4222        23.564        .91197E-04   -1.5397    
   2  Index         3.2270        2.9591        .52534E-02   -.36248    
   3  Normalizat    .96078        .18711        .20075E-03   -.94356    
   4  Prefactor     .73270        .20845        .26205E-03   -1.0226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32732e-10
Minuit parameter uncertainties:
  1  15.1174
  2  3.20406
  3  0.187242
  4  0.208671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/133842': 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) = 5274.25675601
delta logL = 0.49097942021

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  2.422e+00  1.512e+01  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  3.227e+00  3.204e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  1.340e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  7.327e-01  2.087e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  9.608e-01  1.872e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.95
Ra Dec: 31.899 -24.048
Photon Index (Free Index): 3.23 +/- 3.20
Photon Flux (Free Index): 4.73e-08 +/- 5.23e-08
Energy Flux (Free Index): 8.57e-06 +/- 8.41e-06

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/133842/cmap_HighResolution_443059201_443318401_4FGL_J0207.5-2402_daily_bin786.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', comment='SUCCESS', energy_flux2='8.57e-06', dlogl='4.91e-01', photon_flux2='4.73e-08', job_status='DONE', time_completed='2021-08-15 08:31:44.687314', photon_index_error2='3.20', photon_index2='3.23', ts='0.92', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='7.43e-08', energy_flux_error2='8.41e-06', EG='1.00', time_epoch_completed='1629041504.69', return_code='0', job_id='133842', GAL2='0.73', EG2='0.96', return_code2='0', photon_flux_error2='5.23e-08', ts2='1.95', photon_index='2.19' WHERE bin_id='786' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:31:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0119>
Subject: Job 133842: <4FGL_J0207.5-2402_daily_bin786> in cluster <slac> Done

Job <4FGL_J0207.5-2402_daily_bin786> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 08:15:58 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:19:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 08:19:39 2021
Terminated at Sun Aug 15 08:31:45 2021
Results reported at Sun Aug 15 08:31:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin786 31.8989 -24.0484 443059201 443318401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0207.5-2402 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   710.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             382.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            947 sec.

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

