/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 29 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_bin1457
RA = 31.8989, Dec = -24.0484
tmin = 616982401, tmax = 617241601
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='137078', job_status='RUN', time_executed='2021-08-15 08:28:46.795828', time_epoch_executed='1629041326.8' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='1457'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/137078

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/137078/ft1_4FGL_J0207.5-2402_daily_bin1457.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/137078/ft2_4FGL_J0207.5-2402_daily_bin1457.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/137078/ft1_4FGL_J0207.5-2402_daily_bin1457.fits outfile=/scratch/kocevski/137078/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1457.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=616982401.0 tmax=617241601.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.01
user 2.81
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/137078/ft2_4FGL_J0207.5-2402_daily_bin1457.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/137078/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1457.fits evtable="EVENTS" outfile="/scratch/kocevski/137078/ft1_filtered_4FGL_J0207.5-2402_daily_bin1457.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/137078/ft1_filtered_4FGL_J0207.5-2402_daily_bin1457.fits" evtable="EVENTS" scfile=/scratch/kocevski/137078/ft2_4FGL_J0207.5-2402_daily_bin1457.fits sctable="SC_DATA" outfile=/scratch/kocevski/137078/ltcube_616982401_617241601_4FGL_J0207.5-2402_daily_bin1457.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/137078/ft2_4FGL_J0207.5-2402_daily_bin1457.fits
.....................!
real 14.05
user 13.67
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/137078/ft1_filtered_4FGL_J0207.5-2402_daily_bin1457.fits evtable="EVENTS" scfile=/scratch/kocevski/137078/ft2_4FGL_J0207.5-2402_daily_bin1457.fits sctable="SC_DATA" expcube=/scratch/kocevski/137078/ltcube_616982401_617241601_4FGL_J0207.5-2402_daily_bin1457.fits outfile=/scratch/kocevski/137078/expmap_616982401_617241601_4FGL_J0207.5-2402_daily_bin1457.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/137078/ltcube_616982401_617241601_4FGL_J0207.5-2402_daily_bin1457.fits
.....................!
real 192.24
user 187.75
sys 4.05

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/137078/ft1_filtered_4FGL_J0207.5-2402_daily_bin1457.fits scfile=/scratch/kocevski/137078/ft2_4FGL_J0207.5-2402_daily_bin1457.fits outfile=/scratch/kocevski/137078/cmap_616982401_617241601_4FGL_J0207.5-2402_daily_bin1457.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 0.56
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/137078/ft1_filtered_4FGL_J0207.5-2402_daily_bin1457.fits scfile=/scratch/kocevski/137078/ft2_4FGL_J0207.5-2402_daily_bin1457.fits outfile=/scratch/kocevski/137078/cmap_HighResolution_616982401_617241601_4FGL_J0207.5-2402_daily_bin1457.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 0.59
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/137078/ft1_filtered_4FGL_J0207.5-2402_daily_bin1457.fits evtable="EVENTS" scfile=/scratch/kocevski/137078/ft2_4FGL_J0207.5-2402_daily_bin1457.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/137078/Model_4FGL_J0207.5-2402_daily_bin1457.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/137078/ft1_filtered_4FGL_J0207.5-2402_daily_bin1457.fits.....................!
real 117.86
user 116.34
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7159       1.0000         .10000E-03   10000.    
     3 'norm      '    .19551       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.654       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .56732       1.0000         .10000E-03   10000.    
     6 'norm      '    .64466       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10255E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .11937E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8515       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.1902       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.908       1.0000         .10000E-03   10000.    
    14 'norm      '    .11395E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.816       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2195       1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.561       1.0000         .10000E-03   10000.    
    21 'norm      '    3.5138       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98260       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0329       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=   5829.791     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2657 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.535       -.43008E-06** at limit **
   2  norm          1.7174        2.2031       -.47304E-06   -.56268E-03
   3  norm          .19524        2.1489        .23283E-05   -.13864E-03
   4  Prefactor     10.666        14.701       -.19092E-05   -.25147E-03
   5  Prefactor     .56837        5.4461        .36232E-05   -.11745E-03
   6  norm          .64452        .74377        .32195E-07   -.21005E-03
   7  norm          .10000E-03    1.3901        .57691E-06** at limit **
   8  norm          .10000E-03    1.5743        .50330E-06** at limit **
   9  Prefactor     .10000E-03    17.169        .14449E-06** at limit **
  10  norm          .10000E-03    1.0256        .37627E-06** at limit **
  11  Prefactor     4.8508        7.6913        .22043E-06   -.47473E-04
  12  Prefactor     7.1911        5.7952        .38473E-07   -.74839E-04
  13  Prefactor     12.900        9.8741       -.30406E-06   -.32358E-04
  14  norm          .10000E-03    57.502        .68398E-07** at limit **
  15  Prefactor     .10000E-03    6.3505       -.69619E-07** at limit **
  16  Prefactor     27.800        41.109       -.21643E-06   -.30049E-04
  17  Prefactor     .10000E-03    95.580        .18645E-05** at limit **
  18  Prefactor     .10000E-03    8.1881       -.71068E-06** at limit **
  19  Prefactor     1.2195        3.4025        .10752E-05    .16731E-04
  20  Prefactor     23.436        41.605       -.83087E-06   -.14569E-03
  21  norm          3.5144        1.7890        .83903E-08   -.87312E-05
  22  Normalizat    .98223        .17419        .17079E-05   -.68728E-03
  23  Prefactor     1.0335        .19669       -.36463E-05   -.26107E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.71741
  norm       = 0.195239
  Prefactor  = 10.6659
  Prefactor  = 0.568372
  norm       = 0.644518
  norm       = 0.000100001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 4.85079
  Prefactor  = 7.19111
  Prefactor  = 12.9003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.7998
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 1.21946
  Prefactor  = 23.4363
  norm       = 3.5144
  Normalizat = 0.982226
  Prefactor  = 1.03353
 **********
 **   18 **HESSE 
 **********

 FCN=   5829.791     FROM HESSE     STATUS=OK           376 CALLS     3033 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.797        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7174        2.1337        .11727E-03   -1.5446    
   3  norm          .19524        2.1723        .21342E-03   -1.5620    
   4  Prefactor     10.666        14.722        .12275E-03   -1.5055    
   5  Prefactor     .56837        5.4140        .32173E-03   -1.5557    
   6  norm          .64452        .71422        .68789E-03   -1.5547    
   7  norm          .10000E-03    2.2828        .16840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.7240        .18344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.9125        .14853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.8508        7.6764        .18263E-03   -1.5267    
  12  Prefactor     7.1911        5.8096        .14959E-03   -1.5172    
  13  Prefactor     12.900        9.8289        .11149E-03   -1.4989    
  14  norm          .10000E-03    57.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.5800        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     27.800        41.072        .75960E-04   -1.4653    
  17  Prefactor     .10000E-03    96.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.1894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.2195        3.3644        .22645E-03   -1.5487    
  20  Prefactor     23.436        41.727        .82523E-04   -1.4739    
  21  norm          3.5144        1.7863        .70198E-04   -1.5333    
  22  Normalizat    .98223        .19840        .22310E-03   -.93628    
  23  Prefactor     1.0335        .22270        .25611E-03   -.91620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97659e-09
Minuit parameter uncertainties:
  1  7.17045e-05
  2  2.13382
  3  1.30221
  4  14.727
  5  3.50847
  6  0.714233
  7  9.89423e-05
  8  0.00013185
  9  3.73286e-06
  10  8.99962e-05
  11  7.67795
  12  5.81003
  13  9.83017
  14  0.000104601
  15  2.05875e-05
  16  41.1137
  17  0.000880675
  18  7.33445e-06
  19  3.36494
  20  41.7793
  21  1.7863
  22  0.198552
  23  0.222902
Done.

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

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  4.851e+00  7.678e+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:  1.034e+00  2.229e-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.822e-01  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/137078/likelihoodResults_616982401_617241601_4FGL_J0207.5-2402_daily_bin1457.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) = 5829.72151761
delta logL = 0.0699760864045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5829.71855711
delta logL = 0.0729365893412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7695       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8630       1.0000          .0000       10.000    
     3 'Normalizat'    .98672       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0290       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=   5829.719     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      289 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7698        10.234        .15421E-03   -.13196E-04
   2  Index         1.8630        .78659        .10504E-01    .69853E-04
   3  Normalizat    .98672        .18646        .22263E-03   -.19368E-03
   4  Prefactor     1.0290        .22017        .25658E-03   -.33215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.76983
  Index      = 1.86298
  Normalizat = 0.986723
  Prefactor  = 1.02897
 **********
 **   18 **HESSE 
 **********

 FCN=   5829.719     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7698        10.114        .61686E-05   -1.5188    
   2  Index         1.8630        .77765        .21008E-02   -.67822    
   3  Normalizat    .98672        .18660        .44527E-04   -.93477    
   4  Prefactor     1.0290        .22034        .51316E-04   -.91770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13807e-10
Minuit parameter uncertainties:
  1  10.1168
  2  0.782917
  3  0.18672
  4  0.220538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/137078': 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) = 5829.71855711
delta logL = 0.0729365901043

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  6.770e+00  1.012e+01  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  1.863e+00  7.829e-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:  1.029e+00  2.205e-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.867e-01  1.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
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/137078/cmap_HighResolution_616982401_617241601_4FGL_J0207.5-2402_daily_bin1457.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.82e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2021-08-15 08:40:49.105066', job_id='137078', GAL2='1.03', fit_tolerance='1e-08', EG2='0.99', EG='0.98', time_epoch_completed='1629042049.11', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='7.29e-02', ts2='0.72', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1457' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:40:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 137078: <4FGL_J0207.5-2402_daily_bin1457> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin1457 31.8989 -24.0484 616982401 617241601 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 :                                   716.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            897 sec.

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

