/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 151 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 = 7474
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0701.5-4634_daily_bin438
RA = 105.391, Dec = -46.5729
tmin = 352857601, tmax = 353116801
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='45311', job_status='RUN', time_executed='2021-08-26 14:48:29.383841', time_epoch_executed='1630014509.38' WHERE source_name='4FGL J0701.5-4634' and cadence='daily' and bin_id='438'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45311

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45311/ft1_4FGL_J0701.5-4634_daily_bin438.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45311/ft2_4FGL_J0701.5-4634_daily_bin438.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45311/ft1_4FGL_J0701.5-4634_daily_bin438.fits outfile=/scratch/kocevski/45311/ft1_filteredMKT_4FGL_J0701.5-4634_daily_bin438.fits ra=105.391 dec=-46.5729 rad=12.0 tmin=352857601.0 tmax=353116801.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.68
user 3.17
sys 0.47

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/45311/ft2_4FGL_J0701.5-4634_daily_bin438.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/45311/ft2_4FGL_J0701.5-4634_daily_bin438.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/45311/ft1_filteredMKT_4FGL_J0701.5-4634_daily_bin438.fits evtable="EVENTS" outfile="/scratch/kocevski/45311/ft1_filtered_4FGL_J0701.5-4634_daily_bin438.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.80
user 0.34
sys 0.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45311/ft1_filtered_4FGL_J0701.5-4634_daily_bin438.fits" evtable="EVENTS" scfile=/scratch/kocevski/45311/ft2_4FGL_J0701.5-4634_daily_bin438.fits sctable="SC_DATA" outfile=/scratch/kocevski/45311/ltcube_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.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/45311/ft2_4FGL_J0701.5-4634_daily_bin438.fits
.....................!
real 12.42
user 11.73
sys 0.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45311/ft1_filtered_4FGL_J0701.5-4634_daily_bin438.fits evtable="EVENTS" scfile=/scratch/kocevski/45311/ft2_4FGL_J0701.5-4634_daily_bin438.fits sctable="SC_DATA" expcube=/scratch/kocevski/45311/ltcube_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.fits outfile=/scratch/kocevski/45311/expmap_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.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/45311/ltcube_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.fits
.....................!
real 192.81
user 187.54
sys 4.88

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 233 point sources and 3 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 J0701.5-4634 @ 105.391 -46.5729

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/45311/ft1_filtered_4FGL_J0701.5-4634_daily_bin438.fits scfile=/scratch/kocevski/45311/ft2_4FGL_J0701.5-4634_daily_bin438.fits outfile=/scratch/kocevski/45311/cmap_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.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=105.391 yref=-46.5729 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.77
user 0.39
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45311/ft1_filtered_4FGL_J0701.5-4634_daily_bin438.fits scfile=/scratch/kocevski/45311/ft2_4FGL_J0701.5-4634_daily_bin438.fits outfile=/scratch/kocevski/45311/cmap_HighResolution_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.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=105.391 yref=-46.5729 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.81
user 0.39
sys 0.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/45311/ft1_filtered_4FGL_J0701.5-4634_daily_bin438.fits evtable="EVENTS" scfile=/scratch/kocevski/45311/ft2_4FGL_J0701.5-4634_daily_bin438.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/45311/Model_4FGL_J0701.5-4634_daily_bin438.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 GAL_V02
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/45311/ft1_filtered_4FGL_J0701.5-4634_daily_bin438.fits.....................!
real 56.41
user 54.66
sys 1.60

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/45311/ft1_filtered_4FGL_J0701.5-4634_daily_bin438.fits', '/scratch/kocevski/45311/ft2_4FGL_J0701.5-4634_daily_bin438.fits', expMap='/scratch/kocevski/45311/expmap_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.fits', expCube='/scratch/kocevski/45311/ltcube_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/45311/Model_4FGL_J0701.5-4634_daily_bin438.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0701.5-4634'

4FGL J0701.5-4634
   Spectrum: LogParabola
356         norm:  5.915e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
357        alpha:  2.317e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
358         beta:  1.632e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
359           Eb:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/45311/ft1_filtered_4FGL_J0701.5-4634_daily_bin438.fits
Spacecraft file(s): /scratch/kocevski/45311/ft2_4FGL_J0701.5-4634_daily_bin438.fits
Exposure map: /scratch/kocevski/45311/expmap_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.fits
Exposure cube: /scratch/kocevski/45311/ltcube_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/45311/Model_4FGL_J0701.5-4634_daily_bin438.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) = 3529.09903264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10056       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6394       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.592       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.256       1.0000         .10000E-03   10000.    
     8 'Prefactor '    115.17       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4765       1.0000         .10000E-03   10000.    
    11 'norm      '    47.076       1.0000         .10000E-03   10000.    
    12 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    34.637       1.0000         .10000E-03   10000.    
    15 'norm      '    .27845E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.065       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    718.82       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10364E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.809       1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.975       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .73739       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97314       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3529.044     FROM MIGRAD    STATUS=CONVERGED    622 CALLS     3533 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    18.898       -.33100E-05** at limit **
   2  Prefactor     .10018E-03    28.174        .99887E-06** at limit **
   3  Prefactor     .10000E-03    21.083        .62828E-05** at limit **
   4  Prefactor     2.6344        28.707        .35756E-05   -.10075E-03
   5  Prefactor     .10000E-03    144.72        .77883E-05** at limit **
   6  Prefactor     11.603        13.456        .41036E-06   -.13823E-03
   7  Prefactor     21.264        55.072        .11664E-05   -.60350E-05
   8  Prefactor     115.46        268.98        .25359E-03   -.87027E-05
   9  Prefactor     .10000E-03    16.378       -.19872E-06** at limit **
  10  Prefactor     3.4747        8.5230        .52572E-05   -.20882E-03
  11  norm          47.083        19.621        .69856E-05    .16086E-04
  12  norm          .10000E-03    24.030       -.66684E-05** at limit **
  13  Prefactor     .10000E-03    31.912        .26599E-05** at limit **
  14  Prefactor     34.637        48.226        .97550E-06    .18051E-04
  15  norm          .10000E-03    8.9825       -.61241E-07** at limit **
  16  norm          11.072        17.169        .95570E-05    .36278E-04
  17  Prefactor     .10000E-03    14.306        .62730E-06** at limit **
  18  Prefactor     718.35        488.55       -.18268E-03   -.10631E-04
  19  Prefactor     .10000E-03    22.121        .15127E-05** at limit **
  20  norm          .10001E-03    3.7034        .19856E-05** at limit **
  21  Prefactor     17.810        17.144        .49772E-05    .71179E-05
  22  Prefactor     18.955        55.782       -.95519E-05    .42068E-04
  23  Prefactor     .10000E-03    5.5351        .39098E-07** at limit **
  24  norm          .10000E-03    2.8173        .13630E-06** at limit **
  25  Normalizat    .73744        .38847       -.41985E-04    .51484E-04
  26  Prefactor     .97319        .11982        .60577E-05   -.48375E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100183
  Prefactor  = 0.0001
  Prefactor  = 2.63438
  Prefactor  = 0.0001
  Prefactor  = 11.6029
  Prefactor  = 21.2639
  Prefactor  = 115.458
  Prefactor  = 0.000100001
  Prefactor  = 3.47473
  norm       = 47.0831
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.6375
  norm       = 0.000100003
  norm       = 11.0724
  Prefactor  = 0.000100001
  Prefactor  = 718.346
  Prefactor  = 0.0001
  norm       = 0.00010001
  Prefactor  = 17.8096
  Prefactor  = 18.9552
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.73744
  Prefactor  = 0.973188
 **********
 **   18 **HESSE 
 **********

 FCN=   3529.044     FROM HESSE     STATUS=OK           460 CALLS     3993 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    18.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10018E-03    29.886        .91367E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6344        28.643        .25097E-03   -1.5383    
   5  Prefactor     .10000E-03    144.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.603        13.465        .11767E-03   -1.5027    
   7  Prefactor     21.264        55.019        .86876E-04   -1.4785    
   8  Prefactor     115.46        268.62        .18745E-03   -1.3555    
   9  Prefactor     .10000E-03    16.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.4747        8.5038        .21687E-03   -1.5335    
  11  norm          47.083        19.612        .58440E-04   -1.4335    
  12  norm          .10000E-03    24.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     34.637        48.234        .68091E-04   -1.4530    
  15  norm          .10000E-03    28.198        .34216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.072        17.059        .12044E-03   -1.5042    
  17  Prefactor     .10000E-03    14.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     718.35        488.91        .77431E-04   -1.0281    
  19  Prefactor     .10000E-03    22.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10001E-03    3.7364        .11163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.810        17.125        .94908E-04   -1.4864    
  22  Prefactor     18.955        55.996        .91946E-04   -1.4837    
  23  Prefactor     .10000E-03    5.5795        .13649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    2.8194        .97383E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .73744        .40512        .49133E-03   -1.0243    
  26  Prefactor     .97319        .12684        .14550E-03   -.93629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.16373e-09
Minuit parameter uncertainties:
  1  3.4776e-05
  2  0.004678
  3  5.45782e-05
  4  17.3835
  5  0.000472163
  6  13.4683
  7  55.1509
  8  271.533
  9  0.000287942
  10  8.50678
  11  19.6149
  12  4.26627e-05
  13  7.27329e-05
  14  48.2886
  15  0.000536114
  16  17.0666
  17  0.00024182
  18  491.883
  19  8.84057e-06
  20  0.000381061
  21  17.1297
  22  56.1521
  23  1.00868e-05
  24  2.38685e-05
  25  0.406778
  26  0.126875
Done.

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

Extracting fit parameters...

4FGL J0701.5-4634
   Spectrum: LogParabola
356         norm:  4.708e+01  1.961e+01  1.000e-04  1.000e+04 ( 1.000e-12)
357        alpha:  2.317e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
358         beta:  1.632e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
359           Eb:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
774    Prefactor:  9.732e-01  1.269e-01  0.000e+00  1.000e+01 ( 1.000e+00)
775        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
776        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
773   Normalization:  7.374e-01  4.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.58
Ra Dec: 105.391 -46.573
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 2.04e-07 +/- 8.49e-08
Energy Flux (Fixed Index): 6.96e-05 +/- 2.90e-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) = 3527.97489714
delta logL = 1.06893872618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3527.92767423
delta logL = 1.11616163841

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    52.991       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6964       1.0000          .0000       5.0000    
     3 'Normalizat'    .80453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96246       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3527.928     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      225 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          53.034        23.956        .13774E-02    .18364E-05
   2  alpha         1.6968        .39078        .22055       -.23603E-04
   3  Normalizat    .80425        .33918        .10666        .46674E-04
   4  Prefactor     .96258        .11363        .33103E-01   -.66290E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 53.0335
  alpha      = 1.6968
  Normalizat = 0.804248
  Prefactor  = 0.962576
 **********
 **   18 **HESSE 
 **********

 FCN=   3527.928     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          53.034        24.165        .55098E-04   -1.4250    
   2  alpha         1.6968        .40861        .93780E-02   -.32708    
   3  Normalizat    .80425        .35692        .47290E-03   -.99911    
   4  Prefactor     .96258        .11993        .14628E-03   -.93988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63289e-11
Minuit parameter uncertainties:
  1  24.1697
  2  0.410666
  3  0.35797
  4  0.119959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45311': 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) = 3527.927672
delta logL = 1.11616386385

Extracting fit parameters...

4FGL J0701.5-4634
   Spectrum: LogParabola
356         norm:  5.303e+01  2.417e+01  1.000e-04  1.000e+04 ( 1.000e-12)
357        alpha:  1.697e+00  4.107e-01  0.000e+00  5.000e+00 ( 1.000e+00)
358         beta:  1.632e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
359           Eb:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
774    Prefactor:  9.626e-01  1.200e-01  0.000e+00  1.000e+01 ( 1.000e+00)
775        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
776        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
773   Normalization:  8.042e-01  3.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.70
Ra Dec: 105.391 -46.573
Photon Index (Free Index): 1.70 +/- 0.41
Photon Flux (Free Index): 1.38e-07 +/- 7.64e-08
Energy Flux (Free Index): 1.04e-04 +/- 5.92e-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/45311/cmap_HighResolution_352857601_353116801_4FGL_J0701.5-4634_daily_bin438.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.04e-07', energy_flux2='1.04e-04', photon_flux_error='8.49e-08', dlogl='1.12e+00', energy_flux='6.96e-05', photon_flux2='1.38e-07', job_status='DONE', time_completed='2021-08-26 14:59:13.651282', photon_index_error2='0.41', photon_index2='1.70', ts='25.58', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='5.92e-05', EG='0.74', time_epoch_completed='1630015153.65', return_code='0', job_id='45311', GAL2='0.96', EG2='0.80', return_code2='0', energy_flux_error='2.90e-05', photon_flux_error2='7.64e-08', ts2='27.70', photon_index='2.32' WHERE bin_id='438' AND source_name='4FGL J0701.5-4634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 14:59:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0185>
Subject: Job 45311: <4FGL_J0701.5-4634_daily_bin438> in cluster <slac> Done

Job <4FGL_J0701.5-4634_daily_bin438> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 26 14:45:42 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 14:45:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 14:45:44 2021
Terminated at Thu Aug 26 14:59:14 2021
Results reported at Thu Aug 26 14:59:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0701.5-4634_daily_bin438 105.391 -46.5729 352857601 353116801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0701.5-4634 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   648.40 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             252.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            812 sec.

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

