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


Performing analysis on: 4FGL_J0207.5-2402_daily_bin1213
RA = 31.8989, Dec = -24.0484
tmin = 553737601, tmax = 553996801
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='136717', job_status='RUN', time_executed='2021-08-15 08:27:55.320564', time_epoch_executed='1629041275.32' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='1213'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/136717

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/136717/ft1_4FGL_J0207.5-2402_daily_bin1213.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/136717/ft2_4FGL_J0207.5-2402_daily_bin1213.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/136717/ft1_4FGL_J0207.5-2402_daily_bin1213.fits outfile=/scratch/kocevski/136717/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1213.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=553737601.0 tmax=553996801.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.23
user 2.32
sys 3.78

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/136717/ft2_4FGL_J0207.5-2402_daily_bin1213.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/136717/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1213.fits evtable="EVENTS" outfile="/scratch/kocevski/136717/ft1_filtered_4FGL_J0207.5-2402_daily_bin1213.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 4.66
user 0.35
sys 4.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/136717/ft1_filtered_4FGL_J0207.5-2402_daily_bin1213.fits" evtable="EVENTS" scfile=/scratch/kocevski/136717/ft2_4FGL_J0207.5-2402_daily_bin1213.fits sctable="SC_DATA" outfile=/scratch/kocevski/136717/ltcube_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.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/136717/ft2_4FGL_J0207.5-2402_daily_bin1213.fits
.....................!
real 19.02
user 14.05
sys 4.90

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/136717/ft1_filtered_4FGL_J0207.5-2402_daily_bin1213.fits evtable="EVENTS" scfile=/scratch/kocevski/136717/ft2_4FGL_J0207.5-2402_daily_bin1213.fits sctable="SC_DATA" expcube=/scratch/kocevski/136717/ltcube_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.fits outfile=/scratch/kocevski/136717/expmap_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.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/136717/ltcube_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.fits
.....................!
real 198.92
user 187.87
sys 10.58

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/136717/ft1_filtered_4FGL_J0207.5-2402_daily_bin1213.fits scfile=/scratch/kocevski/136717/ft2_4FGL_J0207.5-2402_daily_bin1213.fits outfile=/scratch/kocevski/136717/cmap_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.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 4.47
user 0.38
sys 4.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/136717/ft1_filtered_4FGL_J0207.5-2402_daily_bin1213.fits scfile=/scratch/kocevski/136717/ft2_4FGL_J0207.5-2402_daily_bin1213.fits outfile=/scratch/kocevski/136717/cmap_HighResolution_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.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 4.53
user 0.38
sys 4.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/136717/ft1_filtered_4FGL_J0207.5-2402_daily_bin1213.fits evtable="EVENTS" scfile=/scratch/kocevski/136717/ft2_4FGL_J0207.5-2402_daily_bin1213.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/136717/Model_4FGL_J0207.5-2402_daily_bin1213.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/136717/ft1_filtered_4FGL_J0207.5-2402_daily_bin1213.fits.....................!
real 99.27
user 92.88
sys 5.97

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/136717/ft1_filtered_4FGL_J0207.5-2402_daily_bin1213.fits', '/scratch/kocevski/136717/ft2_4FGL_J0207.5-2402_daily_bin1213.fits', expMap='/scratch/kocevski/136717/expmap_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.fits', expCube='/scratch/kocevski/136717/ltcube_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/136717/Model_4FGL_J0207.5-2402_daily_bin1213.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/136717/ft1_filtered_4FGL_J0207.5-2402_daily_bin1213.fits
Spacecraft file(s): /scratch/kocevski/136717/ft2_4FGL_J0207.5-2402_daily_bin1213.fits
Exposure map: /scratch/kocevski/136717/expmap_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.fits
Exposure cube: /scratch/kocevski/136717/ltcube_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/136717/Model_4FGL_J0207.5-2402_daily_bin1213.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) = 4732.71061997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.700       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1491       1.0000         .10000E-03   10000.    
     3 'norm      '    .59155       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .84139E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.1303       1.0000         .10000E-03   10000.    
     7 'norm      '    .39980E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.3843       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1850       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3975       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.0079       1.0000         .10000E-03   10000.    
    14 'norm      '    .14843E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2404       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1581       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.2629       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.182       1.0000         .10000E-03   10000.    
    21 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2401       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .57336       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=   4732.671     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2606 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.699        23.213        .38401E-06    .23565E-03
   2  norm          2.1531        4.4390        .42416E-06    .57582E-03
   3  norm          .59556        2.5069        .83390E-06    .20195E-03
   4  Prefactor     .10000E-03    31.311       -.14705E-05** at limit **
   5  Prefactor     .10002E-03    2.9004       -.71774E-06** at limit **
   6  norm          3.1303        1.4259        .56187E-07    .19362E-03
   7  norm          .10000E-03    1.0978        .45892E-07** at limit **
   8  norm          .10000E-03    2.5145       -.51672E-06** at limit **
   9  Prefactor     9.3779        28.062        .53335E-06    .38941E-05
  10  norm          1.1850        1.2564       -.21977E-07   -.27710E-04
  11  Prefactor     6.3957        7.5979        .14575E-06    .11864E-04
  12  Prefactor     .10000E-03    1.7609       -.10927E-06** at limit **
  13  Prefactor     4.9995        7.9023        .75491E-06    .13557E-03
  14  norm          .10000E-03    44.912       -.10205E-05** at limit **
  15  Prefactor     3.2401        5.5301        .92441E-06    .10857E-03
  16  Prefactor     5.1500        54.623        .57101E-07    .51819E-05
  17  Prefactor     .10000E-03    25.381       -.15013E-06** at limit **
  18  Prefactor     .10000E-03    21.529        .22784E-05** at limit **
  19  Prefactor     5.2619        5.0472        .36452E-07    .43731E-04
  20  Prefactor     17.271        42.946        .22624E-05    .54418E-04
  21  norm          .10000E-03    .96550        .47023E-06** at limit **
  22  Normalizat    1.2404        .20076       -.45380E-05    .30741E-03
  23  Prefactor     .57309        .21825        .70673E-05    .79320E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6985
  norm       = 2.15307
  norm       = 0.595563
  Prefactor  = 0.000100001
  Prefactor  = 0.00010002
  norm       = 3.13033
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 9.37795
  norm       = 1.18496
  Prefactor  = 6.39566
  Prefactor  = 0.0001
  Prefactor  = 4.99955
  norm       = 0.0001
  Prefactor  = 3.2401
  Prefactor  = 5.14998
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.26189
  Prefactor  = 17.2714
  norm       = 0.0001
  Normalizat = 1.24037
  Prefactor  = 0.57309
 **********
 **   18 **HESSE 
 **********

 FCN=   4732.671     FROM HESSE     STATUS=OK           376 CALLS     2982 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.699        23.207        .11240E-03   -1.4995    
   2  norm          2.1531        4.4443        .12817E-03   -1.5414    
   3  norm          .59556        2.5548        .20949E-03   -1.5554    
   4  Prefactor     .10000E-03    31.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    17.744        .20869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.1303        1.4254        .53592E-04   -1.5354    
   7  norm          .10000E-03    9.2011        .13736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.5968        .21249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.3779        28.045        .13082E-03   -1.5095    
  10  norm          1.1850        1.2516        .76601E-04   -1.5490    
  11  Prefactor     6.3957        7.5918        .15868E-03   -1.5202    
  12  Prefactor     .10000E-03    1.7778        .89142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.9995        7.9062        .17970E-03   -1.5261    
  14  norm          .10000E-03    45.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.2401        5.5070        .20108E-03   -1.5348    
  16  Prefactor     5.1500        54.345        .17701E-03   -1.5254    
  17  Prefactor     .10000E-03    25.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.2619        5.0439        .14495E-03   -1.5249    
  20  Prefactor     17.271        42.950        .96624E-04   -1.4877    
  21  norm          .10000E-03    1.0055        .13194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2404        .20215        .19281E-03   -.85364    
  23  Prefactor     .57309        .22113        .30461E-03   -1.0873    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69626e-09
Minuit parameter uncertainties:
  1  23.2239
  2  4.44502
  3  2.46698
  4  0.000281118
  5  0.00119665
  6  1.42542
  7  0.00029486
  8  3.66298e-06
  9  28.0846
  10  1.25166
  11  7.59295
  12  2.40327e-06
  13  7.90782
  14  0.000139031
  15  5.50787
  16  33.4976
  17  5.75735e-05
  18  0.000203033
  19  5.0443
  20  43.0267
  21  5.48733e-06
  22  0.202278
  23  0.221464
Done.

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

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  6.396e+00  7.593e+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:  5.731e-01  2.215e-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.240e+00  2.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.51
Ra Dec: 31.899 -24.048
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.58e-08 +/- 1.87e-08
Energy Flux (Fixed Index): 7.24e-06 +/- 8.59e-06

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

Saving results to:
/scratch/kocevski/136717/likelihoodResults_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.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) = 4732.66544971
delta logL = 0.00563595874337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4732.66283793
delta logL = 0.00824774248576

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7732       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3062       1.0000          .0000       10.000    
     3 'Normalizat'    1.2383       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57442       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=   4732.663     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      239 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7726        9.1098        .16716E-03    .84416E-03
   2  Index         2.3063        .97174        .92107E-02    .15078E-03
   3  Normalizat    1.2383        .19326        .19295E-03   -.18160E-03
   4  Prefactor     .57446        .21453        .30426E-03   -.13081E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77255
  Index      = 2.30625
  Normalizat = 1.2383
  Prefactor  = 0.574456
 **********
 **   18 **HESSE 
 **********

 FCN=   4732.663     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7726        8.5788        .66863E-05   -1.5227    
   2  Index         2.3063        .91597        .36843E-03   -.56895    
   3  Normalizat    1.2383        .19330        .38590E-04   -.85427    
   4  Prefactor     .57446        .21462        .12171E-04   -1.0867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.78091e-10
Minuit parameter uncertainties:
  1  8.58062
  2  0.923346
  3  0.193412
  4  0.214929
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/136717': 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) = 4732.66283791
delta logL = 0.00824776365607

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  5.773e+00  8.581e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.306e+00  9.233e-01  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:  5.745e-01  2.149e-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.238e+00  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.52
Ra Dec: 31.899 -24.048
Photon Index (Free Index): 2.31 +/- 0.92
Photon Flux (Free Index): 1.76e-08 +/- 2.46e-08
Energy Flux (Free Index): 6.59e-06 +/- 8.86e-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/136717/cmap_HighResolution_553737601_553996801_4FGL_J0207.5-2402_daily_bin1213.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.41e-03', comment='SUCCESS', photon_flux='1.58e-08', energy_flux2='6.59e-06', photon_flux_error='1.87e-08', dlogl='8.25e-03', energy_flux='7.24e-06', photon_flux2='1.76e-08', job_status='DONE', time_completed='2021-08-15 08:39:58.706895', photon_index_error2='0.92', photon_index2='2.31', ts='1.51', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', photon_flux_upper_limit='7.11e-08', energy_flux_error2='8.86e-06', EG='1.24', time_epoch_completed='1629041998.71', return_code='0', job_id='136717', GAL2='0.57', EG2='1.24', return_code2='0', energy_flux_error='8.59e-06', photon_flux_error2='2.46e-08', ts2='1.52', photon_index='2.19' WHERE bin_id='1213' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:39:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0144>
Subject: Job 136717: <4FGL_J0207.5-2402_daily_bin1213> in cluster <slac> Done

Job <4FGL_J0207.5-2402_daily_bin1213> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 15 08:25:27 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:25:58 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:25:58 2021
Terminated at Sun Aug 15 08:40:00 2021
Results reported at Sun Aug 15 08:40:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin1213 31.8989 -24.0484 553737601 553996801 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 :                                   744.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             252.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            873 sec.

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

