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


Performing analysis on: 4FGL_J0207.5-2402_daily_bin1394
RA = 31.8989, Dec = -24.0484
tmin = 600652801, tmax = 600912001
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='136982', job_status='RUN', time_executed='2021-08-15 08:29:37.575261', time_epoch_executed='1629041377.58' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='1394'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/136982

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/136982/ft1_4FGL_J0207.5-2402_daily_bin1394.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/136982/ft2_4FGL_J0207.5-2402_daily_bin1394.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/136982/ft1_4FGL_J0207.5-2402_daily_bin1394.fits outfile=/scratch/kocevski/136982/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1394.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=600652801.0 tmax=600912001.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.56
user 2.81
sys 0.73

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/136982/ft2_4FGL_J0207.5-2402_daily_bin1394.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/136982/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1394.fits evtable="EVENTS" outfile="/scratch/kocevski/136982/ft1_filtered_4FGL_J0207.5-2402_daily_bin1394.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.15
user 0.30
sys 0.75

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/136982/ft1_filtered_4FGL_J0207.5-2402_daily_bin1394.fits" evtable="EVENTS" scfile=/scratch/kocevski/136982/ft2_4FGL_J0207.5-2402_daily_bin1394.fits sctable="SC_DATA" outfile=/scratch/kocevski/136982/ltcube_600652801_600912001_4FGL_J0207.5-2402_daily_bin1394.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/136982/ft2_4FGL_J0207.5-2402_daily_bin1394.fits
.....................!
real 13.10
user 12.14
sys 0.90

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/136982/ft1_filtered_4FGL_J0207.5-2402_daily_bin1394.fits evtable="EVENTS" scfile=/scratch/kocevski/136982/ft2_4FGL_J0207.5-2402_daily_bin1394.fits sctable="SC_DATA" expcube=/scratch/kocevski/136982/ltcube_600652801_600912001_4FGL_J0207.5-2402_daily_bin1394.fits outfile=/scratch/kocevski/136982/expmap_600652801_600912001_4FGL_J0207.5-2402_daily_bin1394.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/136982/ltcube_600652801_600912001_4FGL_J0207.5-2402_daily_bin1394.fits
.....................!
real 156.47
user 151.63
sys 4.50

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/136982/ft1_filtered_4FGL_J0207.5-2402_daily_bin1394.fits scfile=/scratch/kocevski/136982/ft2_4FGL_J0207.5-2402_daily_bin1394.fits outfile=/scratch/kocevski/136982/cmap_600652801_600912001_4FGL_J0207.5-2402_daily_bin1394.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.00
user 0.33
sys 0.65

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/136982/ft1_filtered_4FGL_J0207.5-2402_daily_bin1394.fits scfile=/scratch/kocevski/136982/ft2_4FGL_J0207.5-2402_daily_bin1394.fits outfile=/scratch/kocevski/136982/cmap_HighResolution_600652801_600912001_4FGL_J0207.5-2402_daily_bin1394.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.01
user 0.34
sys 0.67

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/136982/ft1_filtered_4FGL_J0207.5-2402_daily_bin1394.fits evtable="EVENTS" scfile=/scratch/kocevski/136982/ft2_4FGL_J0207.5-2402_daily_bin1394.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/136982/Model_4FGL_J0207.5-2402_daily_bin1394.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/136982/ft1_filtered_4FGL_J0207.5-2402_daily_bin1394.fits......................!
real 60.20
user 58.27
sys 1.73

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.2976       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .63462E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.5502       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10190E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.9368       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.759       1.0000         .10000E-03   10000.    
    14 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11892E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.745       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.855       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3568       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.991       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0615       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .67992       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=   3437.963     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2582 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.117       -.52336E-05** at limit **
   2  norm          4.2946        4.0916       -.48601E-06    .20722E-03
   3  norm          .10000E-03    1.1276        .20334E-07** at limit **
   4  Prefactor     .10000E-03    8.3822       -.60173E-06** at limit **
   5  Prefactor     .10000E-03    6.3153        .21945E-06** at limit **
   6  norm          .10000E-03    1.1572       -.25737E-06** at limit **
   7  norm          .10126E-03    1.4951       -.60707E-06** at limit **
   8  norm          3.5487        4.3752       -.87872E-06    .12035E-03
   9  Prefactor     .10000E-03    28.972       -.91327E-05** at limit **
  10  norm          .10000E-03    1.5802       -.24412E-06** at limit **
  11  Prefactor     .10000E-03    9.5663        .68550E-06** at limit **
  12  Prefactor     9.9367        8.6354       -.25650E-06   -.31373E-03
  13  Prefactor     12.760        10.944       -.30479E-06   -.45358E-04
  14  norm          .10000E-03    33.819        .89092E-05** at limit **
  15  Prefactor     .10011E-03    7.2526        .12886E-05** at limit **
  16  Prefactor     18.744        50.256       -.32799E-05   -.95756E-05
  17  Prefactor     .10000E-03    36.736        .87140E-05** at limit **
  18  Prefactor     40.847        45.294       -.92322E-05   -.96485E-04
  19  Prefactor     3.3569        4.4742        .35441E-06   -.12288E-03
  20  Prefactor     11.978        41.152       -.26505E-04   -.11888E-04
  21  norm          .10000E-03    1.2131        .77960E-07** at limit **
  22  Normalizat    1.0616        .21190        .41028E-05   -.39462E-04
  23  Prefactor     .67980        .21891       -.66992E-06    .16111E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.2946
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000101261
  norm       = 3.54873
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.93671
  Prefactor  = 12.7597
  norm       = 0.0001
  Prefactor  = 0.000100115
  Prefactor  = 18.7438
  Prefactor  = 0.0001
  Prefactor  = 40.8468
  Prefactor  = 3.3569
  Prefactor  = 11.9778
  norm       = 0.0001
  Normalizat = 1.06158
  Prefactor  = 0.6798
 **********
 **   18 **HESSE 
 **********

 FCN=   3437.963     FROM HESSE     STATUS=OK           374 CALLS     2956 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.2946        4.0313        .10938E-03   -1.5293    
   3  norm          .10000E-03    1.1348        .60799E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.3899        .16580E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.4304        .28592E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.8365        .12185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10126E-03    69.428        .13285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.5487        4.3052        .12440E-03   -1.5331    
   9  Prefactor     .10000E-03    28.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.8373        .14212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.6273        .17706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.9367        8.4473        .12712E-03   -1.5077    
  13  Prefactor     12.760        10.921        .11214E-03   -1.4993    
  14  norm          .10000E-03    33.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10011E-03    55.674        .28222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.744        50.275        .92507E-04   -1.4842    
  17  Prefactor     .10000E-03    36.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.847        44.533        .62713E-04   -1.4429    
  19  Prefactor     3.3569        4.4614        .13801E-03   -1.5342    
  20  Prefactor     11.978        40.884        .11568E-03   -1.5016    
  21  norm          .10000E-03    1.2481        .12605E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0616        .24912        .20345E-03   -.90995    
  23  Prefactor     .67980        .26075        .27297E-03   -1.0432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93374e-08
Minuit parameter uncertainties:
  1  0.00014312
  2  4.03156
  3  1.3621e-06
  4  2.58029e-06
  5  1.39201e-05
  6  2.92872e-05
  7  0.0187371
  8  4.30553
  9  1.4628e-05
  10  5.15173e-05
  11  1.65176e-05
  12  8.44833
  13  10.9229
  14  5.13593e-06
  15  0.00505786
  16  50.3889
  17  1.88488e-06
  18  44.5696
  19  4.46181
  20  40.9798
  21  6.30966e-06
  22  0.249391
  23  0.26122
Done.

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

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.652e-05  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:  6.798e-01  2.612e-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.062e+00  2.494e-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.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/136982/likelihoodResults_600652801_600912001_4FGL_J0207.5-2402_daily_bin1394.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) = 3437.96379272
delta logL = -0.000494711084684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3437.96329929
delta logL = -1.28230158225e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11375E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1851       1.0000          .0000       10.000    
     3 'Normalizat'    1.0614       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68007       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=   3437.963     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      201 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.574        .90712E-02** at limit **
   2  Index         2.1808        5.7311        .50000        .36148E-05
   3  Normalizat    1.0616        .60158E-02    .39853E-01    .13037E-03
   4  Prefactor     .67980        .66267E-02    .61706E-01    .97405E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.18084
  Normalizat = 1.06159
  Prefactor  = 0.679795
 **********
 **   18 **HESSE 
 **********

 FCN=   3437.963     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      232 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    101.30        .17720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1808        8.0798        .50000       -.59902    
   3  Normalizat    1.0616        .15966E-01    .20345E-03   -.90995    
   4  Prefactor     .67980        .17565E-01    .27297E-03   -1.0432    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.31788e-08
Minuit parameter uncertainties:
  1  0.000152819
  2  357.75
  3  0.0159662
  4  0.0175648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/136982': 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) = 3437.963298
delta logL = 7.99172994448e-09

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.528e-04  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.181e+00  3.578e+02  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:  6.798e-01  1.756e-02  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.062e+00  1.597e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 31.899 -24.048

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/136982/cmap_HighResolution_600652801_600912001_4FGL_J0207.5-2402_daily_bin1394.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2021-08-15 08:37:18.049059', job_id='136982', GAL2='0.68', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1629041838.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='7.99e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1394' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:37:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 136982: <4FGL_J0207.5-2402_daily_bin1394> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin1394 31.8989 -24.0484 600652801 600912001 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 :                                   460.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   578 sec.
    Turnaround time :                            693 sec.

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

