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


Performing analysis on: 4FGL_J0207.5-2402_daily_bin1536
RA = 31.8989, Dec = -24.0484
tmin = 637459201, tmax = 637718401
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='138116', job_status='RUN', time_executed='2021-08-15 08:32:03.801086', time_epoch_executed='1629041523.8' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='1536'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/138116

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/138116/ft1_4FGL_J0207.5-2402_daily_bin1536.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/138116/ft2_4FGL_J0207.5-2402_daily_bin1536.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/138116/ft1_4FGL_J0207.5-2402_daily_bin1536.fits outfile=/scratch/kocevski/138116/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1536.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=637459201.0 tmax=637718401.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 6.13
user 5.22
sys 0.78

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/138116/ft2_4FGL_J0207.5-2402_daily_bin1536.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/138116/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1536.fits evtable="EVENTS" outfile="/scratch/kocevski/138116/ft1_filtered_4FGL_J0207.5-2402_daily_bin1536.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.03
user 0.32
sys 0.69

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/138116/ft1_filtered_4FGL_J0207.5-2402_daily_bin1536.fits" evtable="EVENTS" scfile=/scratch/kocevski/138116/ft2_4FGL_J0207.5-2402_daily_bin1536.fits sctable="SC_DATA" outfile=/scratch/kocevski/138116/ltcube_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.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/138116/ft2_4FGL_J0207.5-2402_daily_bin1536.fits
.....................!
real 13.29
user 12.21
sys 0.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/138116/ft1_filtered_4FGL_J0207.5-2402_daily_bin1536.fits evtable="EVENTS" scfile=/scratch/kocevski/138116/ft2_4FGL_J0207.5-2402_daily_bin1536.fits sctable="SC_DATA" expcube=/scratch/kocevski/138116/ltcube_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.fits outfile=/scratch/kocevski/138116/expmap_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.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/138116/ltcube_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.fits
.....................!
real 192.15
user 185.23
sys 6.13

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/138116/ft1_filtered_4FGL_J0207.5-2402_daily_bin1536.fits scfile=/scratch/kocevski/138116/ft2_4FGL_J0207.5-2402_daily_bin1536.fits outfile=/scratch/kocevski/138116/cmap_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.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.07
user 0.36
sys 0.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/138116/ft1_filtered_4FGL_J0207.5-2402_daily_bin1536.fits scfile=/scratch/kocevski/138116/ft2_4FGL_J0207.5-2402_daily_bin1536.fits outfile=/scratch/kocevski/138116/cmap_HighResolution_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.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.07
user 0.36
sys 0.69

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/138116/ft1_filtered_4FGL_J0207.5-2402_daily_bin1536.fits evtable="EVENTS" scfile=/scratch/kocevski/138116/ft2_4FGL_J0207.5-2402_daily_bin1536.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/138116/Model_4FGL_J0207.5-2402_daily_bin1536.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/138116/ft1_filtered_4FGL_J0207.5-2402_daily_bin1536.fits.....................!
real 80.64
user 78.36
sys 1.92

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/138116/ft1_filtered_4FGL_J0207.5-2402_daily_bin1536.fits', '/scratch/kocevski/138116/ft2_4FGL_J0207.5-2402_daily_bin1536.fits', expMap='/scratch/kocevski/138116/expmap_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.fits', expCube='/scratch/kocevski/138116/ltcube_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/138116/Model_4FGL_J0207.5-2402_daily_bin1536.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/138116/ft1_filtered_4FGL_J0207.5-2402_daily_bin1536.fits
Spacecraft file(s): /scratch/kocevski/138116/ft2_4FGL_J0207.5-2402_daily_bin1536.fits
Exposure map: /scratch/kocevski/138116/expmap_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.fits
Exposure cube: /scratch/kocevski/138116/ltcube_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/138116/Model_4FGL_J0207.5-2402_daily_bin1536.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3909.14309744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.388       1.0000         .10000E-03   10000.    
     2 'norm      '    1.2728       1.0000         .10000E-03   10000.    
     3 'norm      '    4.0596       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2396       1.0000         .10000E-03   10000.    
     6 'norm      '    .42575       1.0000         .10000E-03   10000.    
     7 'norm      '    1.1533       1.0000         .10000E-03   10000.    
     8 'norm      '    .16399E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10823E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.0950       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.3087       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.1908       1.0000         .10000E-03   10000.    
    14 'norm      '    24.758       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.047       1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.001       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1821       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    132.82       1.0000         .10000E-03   10000.    
    21 'norm      '    1.4218       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .70797       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0549       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=   3909.122     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2653 TOTAL
                     EDM=   .81E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.405        34.166       -.13809E-05   -.43288E-04
   2  norm          1.2742        4.6328        .87034E-06   -.60273E-05
   3  norm          4.0603        2.7260       -.12376E-07   -.12080E-04
   4  Prefactor     .10000E-03    8.4314        .11709E-06** at limit **
   5  Prefactor     3.2386        8.0342        .15930E-05   -.57790E-05
   6  norm          .42621        1.3136        .14200E-06    .23339E-04
   7  norm          1.1535        2.4250        .31036E-06    .19220E-04
   8  norm          .10000E-03    1.9786       -.17809E-06** at limit **
   9  Prefactor     .10000E-03    36.197       -.46455E-07** at limit **
  10  norm          8.0951        3.7757       -.40552E-07   -.60295E-04
  11  Prefactor     .10000E-03    12.388       -.80310E-07** at limit **
  12  Prefactor     6.3078        9.2698        .72301E-07   -.95043E-05
  13  Prefactor     9.1441        31.195        .64081E-05   -.45843E-04
  14  norm          25.029        234.12       -.21206E-04   -.10585E-04
  15  Prefactor     18.032        10.380       -.14093E-07   -.32643E-04
  16  Prefactor     25.029        34.508       -.39666E-06   -.61745E-05
  17  Prefactor     .10000E-03    21.188       -.68919E-07** at limit **
  18  Prefactor     1.3257        202.77        .31473E-05    .18730E-05
  19  Prefactor     .10000E-03    1.0167       -.11102E-07** at limit **
  20  Prefactor     132.86        62.827       -.91790E-06   -.13322E-04
  21  norm          1.4219        2.1894        .63661E-07    .50312E-05
  22  Normalizat    .70765        .22140       -.14749E-06   -.17149E-04
  23  Prefactor     1.0552        .22731        .56726E-07   -.22588E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.4048
  norm       = 1.27416
  norm       = 4.06034
  Prefactor  = 0.0001
  Prefactor  = 3.23861
  norm       = 0.426207
  norm       = 1.15353
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.0951
  Prefactor  = 0.0001
  Prefactor  = 6.30775
  Prefactor  = 9.14408
  norm       = 25.0287
  Prefactor  = 18.0324
  Prefactor  = 25.0292
  Prefactor  = 0.0001
  Prefactor  = 1.32566
  Prefactor  = 0.0001
  Prefactor  = 132.864
  norm       = 1.4219
  Normalizat = 0.707654
  Prefactor  = 1.05516
 **********
 **   18 **HESSE 
 **********

 FCN=   3909.122     FROM HESSE     STATUS=OK           382 CALLS     3035 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.405        33.276        .62310E-04   -1.4420    
   2  norm          1.2742        4.4332        .19252E-03   -1.5482    
   3  norm          4.0603        2.7296        .82335E-04   -1.5305    
   4  Prefactor     .10000E-03    8.4376        .17729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2386        8.0544        .11252E-02   -1.5348    
   6  norm          .42621        1.1979        .12022E-02   -1.5577    
   7  norm          1.1535        2.3562        .13073E-03   -1.5493    
   8  norm          .10000E-03    13.931        .16507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    36.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0951        3.7721        .77183E-04   -1.5139    
  11  Prefactor     .10000E-03    12.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.3078        9.2513        .15981E-03   -1.5206    
  13  Prefactor     9.1441        31.165        .13220E-03   -1.5103    
  14  norm          25.029        232.04        .80506E-04   -1.4707    
  15  Prefactor     18.032        10.229        .94279E-04   -1.4858    
  16  Prefactor     25.029        34.493        .80115E-04   -1.4707    
  17  Prefactor     .10000E-03    21.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.3257        198.60        .42023E-03   -1.5478    
  19  Prefactor     .10000E-03    1.0173        .61567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     132.86        62.435        .17471E-03   -1.3397    
  21  norm          1.4219        2.1586        .10885E-03   -1.5469    
  22  Normalizat    .70765        .24857        .25938E-03   -1.0359    
  23  Prefactor     1.0552        .26011        .24664E-03   -.90913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94266e-10
Minuit parameter uncertainties:
  1  33.291
  2  4.43438
  3  2.72968
  4  8.02482e-06
  5  8.05712
  6  1.19797
  7  2.35644
  8  0.000119342
  9  6.67455e-06
  10  3.77222
  11  1.83013e-06
  12  9.25335
  13  31.2204
  14  153.207
  15  10.2296
  16  34.5208
  17  7.10685e-07
  18  32.5607
  19  2.79963e-08
  20  62.4664
  21  2.1587
  22  0.248965
  23  0.260425
Done.

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

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.830e-06  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:  1.055e+00  2.604e-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:  7.077e-01  2.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/138116/likelihoodResults_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.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) = 3909.12196585
delta logL = -0.000381626027774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3909.12158377
delta logL = 4.55816007161e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2429       1.0000          .0000       10.000    
     3 'Normalizat'    .70766       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0551       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3908.115     FROM MIGRAD    STATUS=CONVERGED    271 CALLS      426 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37942E-01    1.0706        .18142E-02    .86058E-03
   2  Index         5.3522        3.5058        .89414E-01    .37604E-04
   3  Normalizat    .58964        .14752        .25937E-02    .49762E-04
   4  Prefactor     1.1419        .14071        .24664E-02    .43125E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0379418
  Index      = 5.35219
  Normalizat = 0.589635
  Prefactor  = 1.1419
 **********
 **   18 **HESSE 
 **********

 FCN=   3908.115     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      457 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37942E-01    1.1432        .92334E-05   -1.5747    
   2  Index         5.3522        4.0286        .34405E-02    .70496E-01
   3  Normalizat    .58964        .20979        .10375E-03   -1.0843    
   4  Prefactor     1.1419        .23510        .98657E-04   -.88138    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42747e-10
Minuit parameter uncertainties:
  1  0.415999
  2  4.6898
  3  0.210078
  4  0.235315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/138116': 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): 102
logL (Free Index) = 3908.11534565
delta logL = 1.00623856988

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  3.794e-02  4.160e-01  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  5.352e+00  4.690e+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:  1.142e+00  2.353e-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:  5.896e-01  2.101e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.24
Ra Dec: 31.899 -24.048
Photon Index (Free Index): 5.35 +/- 4.69
Photon Flux (Free Index): 9.48e-08 +/- 2.07e-06
Energy Flux (Free Index): 1.23e-05 +/- 2.65e-04

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/138116/cmap_HighResolution_637459201_637718401_4FGL_J0207.5-2402_daily_bin1536.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.95e-03', comment='SUCCESS', energy_flux2='1.23e-05', dlogl='1.01e+00', photon_flux2='9.48e-08', job_status='DONE', time_completed='2021-08-15 08:43:36.961374', photon_index_error2='4.69', photon_index2='5.35', ts='-0.00', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='7.81e-08', energy_flux_error2='2.65e-04', EG='0.71', time_epoch_completed='1629042216.96', return_code='0', job_id='138116', GAL2='1.14', EG2='0.59', return_code2='102', photon_flux_error2='2.07e-06', ts2='2.24', photon_index='2.19' WHERE bin_id='1536' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:43:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 138116: <4FGL_J0207.5-2402_daily_bin1536> in cluster <slac> Done

Job <4FGL_J0207.5-2402_daily_bin1536> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Aug 15 08:30:32 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:30:50 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:30:50 2021
Terminated at Sun Aug 15 08:43:37 2021
Results reported at Sun Aug 15 08:43:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin1536 31.8989 -24.0484 637459201 637718401 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 :                                   610.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            785 sec.

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

