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


Performing analysis on: 4FGL_J0207.5-2402_daily_bin1112
RA = 31.8989, Dec = -24.0484
tmin = 527558401, tmax = 527817601
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='135493', job_status='RUN', time_executed='2021-08-15 08:25:56.682430', time_epoch_executed='1629041156.68' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='1112'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135493

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135493/ft1_4FGL_J0207.5-2402_daily_bin1112.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135493/ft2_4FGL_J0207.5-2402_daily_bin1112.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135493/ft1_4FGL_J0207.5-2402_daily_bin1112.fits outfile=/scratch/kocevski/135493/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1112.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=527558401.0 tmax=527817601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.11
user 3.35
sys 1.67

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135493/ft1_filtered_4FGL_J0207.5-2402_daily_bin1112.fits" evtable="EVENTS" scfile=/scratch/kocevski/135493/ft2_4FGL_J0207.5-2402_daily_bin1112.fits sctable="SC_DATA" outfile=/scratch/kocevski/135493/ltcube_527558401_527817601_4FGL_J0207.5-2402_daily_bin1112.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/135493/ft2_4FGL_J0207.5-2402_daily_bin1112.fits
.....................!
real 15.93
user 13.62
sys 2.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135493/ft1_filtered_4FGL_J0207.5-2402_daily_bin1112.fits evtable="EVENTS" scfile=/scratch/kocevski/135493/ft2_4FGL_J0207.5-2402_daily_bin1112.fits sctable="SC_DATA" expcube=/scratch/kocevski/135493/ltcube_527558401_527817601_4FGL_J0207.5-2402_daily_bin1112.fits outfile=/scratch/kocevski/135493/expmap_527558401_527817601_4FGL_J0207.5-2402_daily_bin1112.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/135493/ltcube_527558401_527817601_4FGL_J0207.5-2402_daily_bin1112.fits
.....................!
real 195.66
user 185.94
sys 7.47

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/135493/ft1_filtered_4FGL_J0207.5-2402_daily_bin1112.fits scfile=/scratch/kocevski/135493/ft2_4FGL_J0207.5-2402_daily_bin1112.fits outfile=/scratch/kocevski/135493/cmap_527558401_527817601_4FGL_J0207.5-2402_daily_bin1112.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 2.03
user 0.37
sys 1.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135493/ft1_filtered_4FGL_J0207.5-2402_daily_bin1112.fits scfile=/scratch/kocevski/135493/ft2_4FGL_J0207.5-2402_daily_bin1112.fits outfile=/scratch/kocevski/135493/cmap_HighResolution_527558401_527817601_4FGL_J0207.5-2402_daily_bin1112.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 2.00
user 0.39
sys 1.59

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/135493/ft1_filtered_4FGL_J0207.5-2402_daily_bin1112.fits evtable="EVENTS" scfile=/scratch/kocevski/135493/ft2_4FGL_J0207.5-2402_daily_bin1112.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135493/Model_4FGL_J0207.5-2402_daily_bin1112.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/135493/ft1_filtered_4FGL_J0207.5-2402_daily_bin1112.fits.....................!
real 82.56
user 78.71
sys 3.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7719       1.0000         .10000E-03   10000.    
     3 'norm      '    2.9257       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.1512       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0363       1.0000         .10000E-03   10000.    
     6 'norm      '    8.4378       1.0000         .10000E-03   10000.    
     7 'norm      '    .88789       1.0000         .10000E-03   10000.    
     8 'norm      '    .63426       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.127       1.0000         .10000E-03   10000.    
    10 'norm      '    5.4552       1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.327       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.7140       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.039       1.0000         .10000E-03   10000.    
    14 'norm      '    .10196E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6577       1.0000         .10000E-03   10000.    
    20 'Prefactor '    222.55       1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69461       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79775       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=   3849.540     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2669 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.316        .14183E-05** at limit **
   2  norm          1.7722        2.7164        .23016E-06   -.25159E-03
   3  norm          2.9257        2.4216        .99521E-07    .53200E-04
   4  Prefactor     8.1518        15.446       -.21850E-05   -.78899E-03
   5  Prefactor     1.0348        6.0233       -.14482E-05   -.75315E-03
   6  norm          8.4388        2.7118        .11007E-06   -.21830E-04
   7  norm          .88823        2.7942        .91735E-06   -.37079E-03
   8  norm          .63552        3.5642        .50130E-06   -.69063E-03
   9  Prefactor     29.085        55.218       -.53747E-04   -.78529E-05
  10  norm          5.4558        3.2455       -.57020E-06   -.13636E-03
  11  Prefactor     42.334        21.120        .42385E-05    .18187E-05
  12  Prefactor     3.7147        5.1902       -.76991E-06   -.14319E-03
  13  Prefactor     17.035        13.703       -.11014E-05   -.22204E-04
  14  norm          .10000E-03    83.202        .53744E-06** at limit **
  15  Prefactor     .10000E-03    2.5474       -.82189E-07** at limit **
  16  Prefactor     .10000E-03    59.545        .62796E-06** at limit **
  17  Prefactor     .10000E-03    21.023       -.17712E-05** at limit **
  18  Prefactor     .10000E-03    13.098       -.13081E-06** at limit **
  19  Prefactor     2.6577        3.2658        .24897E-05   -.33907E-04
  20  Prefactor     222.57        72.779        .92877E-05   -.89717E-05
  21  norm          .10000E-03    1.5232       -.19683E-06** at limit **
  22  Normalizat    .69426        .21106       -.22106E-05    .40760E-04
  23  Prefactor     .79814        .21270        .31783E-05   -.10397E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.77221
  norm       = 2.92573
  Prefactor  = 8.15175
  Prefactor  = 1.03481
  norm       = 8.43884
  norm       = 0.88823
  norm       = 0.635516
  Prefactor  = 29.0852
  norm       = 5.45585
  Prefactor  = 42.3345
  Prefactor  = 3.71474
  Prefactor  = 17.0352
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.65768
  Prefactor  = 222.571
  norm       = 0.0001
  Normalizat = 0.694263
  Prefactor  = 0.798142
 **********
 **   18 **HESSE 
 **********

 FCN=   3849.540     FROM HESSE     STATUS=OK           378 CALLS     3047 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7722        2.6296        .11530E-03   -1.5442    
   3  norm          2.9257        2.4234        .84048E-04   -1.5366    
   4  Prefactor     8.1518        15.437        .70214E-03   -1.5137    
   5  Prefactor     1.0348        5.7180        .26989E-03   -1.5505    
   6  norm          8.4388        2.7230        .54667E-04   -1.5127    
   7  norm          .88823        2.7090        .16316E-03   -1.5519    
   8  norm          .63552        3.4532        .21384E-03   -1.5549    
   9  Prefactor     29.085        54.807        .74236E-04   -1.4629    
  10  norm          5.4558        3.2492        .79261E-04   -1.5241    
  11  Prefactor     42.334        21.125        .61617E-04   -1.4406    
  12  Prefactor     3.7147        5.1748        .15832E-03   -1.5322    
  13  Prefactor     17.035        13.680        .97029E-04   -1.4882    
  14  norm          .10000E-03    83.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.5533        .96692E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    59.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6577        3.2564        .12047E-03   -1.5382    
  20  Prefactor     222.57        72.905        .13558E-03   -1.2713    
  21  norm          .10000E-03    1.5828        .14929E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .69426        .24422        .24874E-03   -1.0412    
  23  Prefactor     .79814        .24726        .25508E-03   -.99797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78173e-09
Minuit parameter uncertainties:
  1  6.19607e-06
  2  2.62976
  3  2.42346
  4  15.4447
  5  4.86549
  6  2.72307
  7  2.70932
  8  2.96286
  9  54.9018
  10  3.24935
  11  21.1291
  12  5.17539
  13  13.6827
  14  0.000282376
  15  1.00143e-05
  16  6.12471e-05
  17  4.49547e-05
  18  6.44457e-05
  19  3.25664
  20  72.9345
  21  1.95095e-05
  22  0.244606
  23  0.2476
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  7.981e-01  2.476e-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:  6.943e-01  2.446e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.03
Ra Dec: 31.899 -24.048
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.05e-07 +/- 5.22e-08
Energy Flux (Fixed Index): 4.79e-05 +/- 2.39e-05

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) = 3848.05307114
delta logL = 1.48666336153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3848.04989342
delta logL = 1.48984108128

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.086       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9447       1.0000          .0000       10.000    
     3 'Normalizat'    .61286       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86018       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=   3848.050     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      302 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.082        17.933        .94700E-04    .81327E-03
   2  Index         2.9445        .57270        .25370E-02    .29346E-03
   3  Normalizat    .61276        .22964        .26322E-03   -.66364E-04
   4  Prefactor     .86041        .24755        .24640E-03   -.18581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0823
  Index      = 2.9445
  Normalizat = 0.61276
  Prefactor  = 0.860406
 **********
 **   18 **HESSE 
 **********

 FCN=   3848.050     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.082        15.511        .37880E-05   -1.4906    
   2  Index         2.9445        .49532        .10148E-03   -.42366    
   3  Normalizat    .61276        .22937        .10529E-04   -1.0744    
   4  Prefactor     .86041        .24715        .49280E-04   -.97539    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94807e-10
Minuit parameter uncertainties:
  1  15.5152
  2  0.496298
  3  0.229728
  4  0.247471
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135493': 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) = 3848.0498917
delta logL = 1.48984280059

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  1.608e+01  1.552e+01  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.945e+00  4.963e-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:  8.604e-01  2.475e-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:  6.128e-01  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.23
Ra Dec: 31.899 -24.048
Photon Index (Free Index): 2.94 +/- 0.50
Photon Flux (Free Index): 1.73e-07 +/- 7.60e-08
Energy Flux (Free Index): 3.55e-05 +/- 1.50e-05

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/135493/cmap_HighResolution_527558401_527817601_4FGL_J0207.5-2402_daily_bin1112.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.05e-07', energy_flux2='3.55e-05', photon_flux_error='5.22e-08', dlogl='1.49e+00', energy_flux='4.79e-05', photon_flux2='1.73e-07', job_status='DONE', time_completed='2021-08-15 08:35:27.868195', photon_index_error2='0.50', photon_index2='2.94', ts='8.03', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='0.69', time_epoch_completed='1629041727.87', return_code='0', job_id='135493', GAL2='0.86', EG2='0.61', return_code2='0', energy_flux_error='2.39e-05', photon_flux_error2='7.60e-08', ts2='11.23', photon_index='2.19' WHERE bin_id='1112' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:35:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 135493: <4FGL_J0207.5-2402_daily_bin1112> in cluster <slac> Done

Job <4FGL_J0207.5-2402_daily_bin1112> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 15 08:20:47 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:24:01 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:24:01 2021
Terminated at Sun Aug 15 08:35:28 2021
Results reported at Sun Aug 15 08:35:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin1112 31.8989 -24.0484 527558401 527817601 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 :                                   582.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            881 sec.

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

