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


Performing analysis on: 4FGL_J0726.4-4727_daily_bin1164
RA = 111.613, Dec = -47.4589
tmin = 541036801, tmax = 541296001
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='343861', job_status='RUN', time_executed='2021-08-27 06:50:31.867784', time_epoch_executed='1630072231.87' WHERE source_name='4FGL J0726.4-4727' and cadence='daily' and bin_id='1164'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/343861

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/343861/ft1_4FGL_J0726.4-4727_daily_bin1164.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/343861/ft1_4FGL_J0726.4-4727_daily_bin1164.fits outfile=/scratch/kocevski/343861/ft1_filteredMKT_4FGL_J0726.4-4727_daily_bin1164.fits ra=111.613 dec=-47.4589 rad=12.0 tmin=541036801.0 tmax=541296001.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 2.72
user 2.52
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.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/343861/ft1_filteredMKT_4FGL_J0726.4-4727_daily_bin1164.fits evtable="EVENTS" outfile="/scratch/kocevski/343861/ft1_filtered_4FGL_J0726.4-4727_daily_bin1164.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.41
user 0.25
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/343861/ft1_filtered_4FGL_J0726.4-4727_daily_bin1164.fits" evtable="EVENTS" scfile=/scratch/kocevski/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.fits sctable="SC_DATA" outfile=/scratch/kocevski/343861/ltcube_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.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/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.fits
.....................!
real 9.09
user 8.81
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/343861/ft1_filtered_4FGL_J0726.4-4727_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.fits sctable="SC_DATA" expcube=/scratch/kocevski/343861/ltcube_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.fits outfile=/scratch/kocevski/343861/expmap_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.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/343861/ltcube_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.fits
.....................!
real 141.37
user 137.17
sys 3.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 223 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 J0726.4-4727 @ 111.613 -47.4589

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/343861/ft1_filtered_4FGL_J0726.4-4727_daily_bin1164.fits scfile=/scratch/kocevski/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.fits outfile=/scratch/kocevski/343861/cmap_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.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=111.613 yref=-47.4589 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.45
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/343861/ft1_filtered_4FGL_J0726.4-4727_daily_bin1164.fits scfile=/scratch/kocevski/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.fits outfile=/scratch/kocevski/343861/cmap_HighResolution_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.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=111.613 yref=-47.4589 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.64
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/343861/ft1_filtered_4FGL_J0726.4-4727_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/343861/Model_4FGL_J0726.4-4727_daily_bin1164.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/343861/ft1_filtered_4FGL_J0726.4-4727_daily_bin1164.fits.....................!
real 286.04
user 284.58
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/343861/ft1_filtered_4FGL_J0726.4-4727_daily_bin1164.fits', '/scratch/kocevski/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.fits', expMap='/scratch/kocevski/343861/expmap_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.fits', expCube='/scratch/kocevski/343861/ltcube_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/343861/Model_4FGL_J0726.4-4727_daily_bin1164.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0726.4-4727'

4FGL J0726.4-4727
   Spectrum: LogParabola
357         norm:  3.639e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
358        alpha:  2.389e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
359         beta:  1.249e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
360           Eb:  7.221e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/343861/ft1_filtered_4FGL_J0726.4-4727_daily_bin1164.fits
Spacecraft file(s): /scratch/kocevski/343861/ft2_4FGL_J0726.4-4727_daily_bin1164.fits
Exposure map: /scratch/kocevski/343861/expmap_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.fits
Exposure cube: /scratch/kocevski/343861/ltcube_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/343861/Model_4FGL_J0726.4-4727_daily_bin1164.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) = 26157.2896747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10991E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.1299       1.0000         .10000E-03   10000.    
     8 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.867       1.0000         .10000E-03   10000.    
    10 'norm      '    4.4268       1.0000         .10000E-03   10000.    
    11 'norm      '    .23505E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3030       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.1992       1.0000         .10000E-03   10000.    
    19 'norm      '    2.3054       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .93040       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0396       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26157.26     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2420 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.725       -.12375E-04** at limit **
   2  Prefactor     .10000E-03    5.6618        .29620E-06** at limit **
   3  Prefactor     .10000E-03    10.230       -.61986E-06** at limit **
   4  Prefactor     .10000E-03    69.315       -.19278E-04** at limit **
   5  Prefactor     .10000E-03    34.402        .16926E-04** at limit **
   6  Prefactor     .10000E-03    2.1312       -.25873E-07** at limit **
   7  norm          6.1318        6.2099       -.11458E-05   -.16569E-03
   8  norm          .10000E-03    10.326        .15837E-05** at limit **
   9  Prefactor     14.820        35.988       -.11112E-04   -.73385E-05
  10  norm          4.3364        6.4977       -.57218E-06   -.37819E-03
  11  norm          .31543        4.6945       -.25010E-06   -.58622E-03
  12  Prefactor     4.3035        5.4375       -.68638E-06   -.26652E-03
  13  Prefactor     .10000E-03    120.60        .11098E-03** at limit **
  14  Prefactor     .10000E-03    42.554        .41035E-05** at limit **
  15  norm          .10000E-03    1.5389        .19827E-07** at limit **
  16  Prefactor     .10000E-03    4.7692        .12264E-06** at limit **
  17  Prefactor     .10000E-03    5.1424       -.40041E-06** at limit **
  18  Prefactor     6.1896        4.9763        .25575E-06   -.23153E-03
  19  norm          2.3050        3.9037       -.73117E-06   -.96917E-03
  20  Prefactor     .10000E-03    67.399       -.25491E-04** at limit **
  21  Normalizat    .93049        .18230        .10600E-05   -.20403E-03
  22  Prefactor     1.0395        .43067E-01    .68173E-07   -.21101E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 6.13177
  norm       = 0.0001
  Prefactor  = 14.8195
  norm       = 4.33639
  norm       = 0.315429
  Prefactor  = 4.3035
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.18958
  norm       = 2.30501
  Prefactor  = 0.0001
  Normalizat = 0.930491
  Prefactor  = 1.03955
 **********
 **   18 **HESSE 
 **********

 FCN=   26157.26     FROM HESSE     STATUS=OK           346 CALLS     2766 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.6903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    69.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    35.167        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.1671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.1318        6.2119        .16215E-03   -1.5213    
   8  norm          .10000E-03    10.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.820        36.001        .10388E-03   -1.4938    
  10  norm          4.3364        6.4912        .19140E-03   -1.5291    
  11  norm          .31543        5.1963        .11160       -1.5596    
  12  Prefactor     4.3035        5.4297        .19421E-03   -1.5293    
  13  Prefactor     .10000E-03    120.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    43.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.5549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.8429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.1477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.1896        4.9686        .16123E-03   -1.5210    
  19  norm          2.3050        3.8946        .27025E-03   -1.5404    
  20  Prefactor     .10000E-03    67.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .93049        .18666        .70411E-03   -.95397    
  22  Prefactor     1.0395        .44785E-01    .16253E-03   -.91423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20429e-09
Minuit parameter uncertainties:
  1  4.72004e-06
  2  8.86219e-06
  3  2.10756e-06
  4  3.54396e-05
  5  0.00032866
  6  1.32046e-06
  7  6.21253
  8  3.21915e-06
  9  36.0542
  10  6.49222
  11  2.56038
  12  5.43033
  13  3.66861e-05
  14  5.79374e-05
  15  2.28451e-09
  16  3.25196e-07
  17  3.32404e-06
  18  4.96889
  19  3.89504
  20  3.87368e-06
  21  0.186788
  22  0.0447866
Done.

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

Extracting fit parameters...

4FGL J0726.4-4727
   Spectrum: LogParabola
357         norm:  4.336e+00  6.492e+00  1.000e-04  1.000e+04 ( 1.000e-12)
358        alpha:  2.389e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
359         beta:  1.249e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
360           Eb:  7.221e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
743    Prefactor:  1.040e+00  4.479e-02  0.000e+00  1.000e+01 ( 1.000e+00)
744        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
745        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
742   Normalization:  9.305e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.64
Ra Dec: 111.613 -47.459
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.52e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/343861/likelihoodResults_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.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) = 26157.0367872
delta logL = 0.221690133862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 26157.0344721
delta logL = 0.22400523847

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   26157.03     FROM MIGRAD    STATUS=FAILED        97 CALLS      288 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4432        122.72        .12392E-02   -.72870E-03
   2  alpha         3.3080        3.0805        .36478E-01    .72085E-03
   3  Normalizat    .90355        .18755        .71323E-03   -.17087E-03
   4  Prefactor     1.0422        .40895E-01    .16232E-03   -.89341E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   26157.03     FROM SIMPLEX   STATUS=UNCHANGED     93 CALLS      381 TOTAL
                     EDM=   .69E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4432        122.72        .15057E-03   -.72870E-03
   2  alpha         3.3080        3.0805        .20421E-02    .72085E-03
   3  Normalizat    .90355        .18755        .10505E-03   -.17087E-03
   4  Prefactor     1.0422        .40895E-01    .16724E-04   -.89341E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26157.03     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      412 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4430        7.4730        .49567E-04   -.10697E-02
   2  alpha         3.3080        1.9217        .72957E-02   -.41999E-04
   3  Normalizat    .90355        .18989        .28529E-04   -.16609E-03
   4  Prefactor     1.0422        .44981E-01    .32464E-04   -.90686E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44304
  alpha      = 3.30802
  Normalizat = 0.903547
  Prefactor  = 1.04218
 **********
 **   18 **HESSE 
 **********

 FCN=   26157.03     FROM HESSE     STATUS=OK            23 CALLS      435 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4430        5.9908        .19827E-05   -1.5395    
   2  alpha         3.3080        1.6283        .29183E-03    .32912    
   3  Normalizat    .90355        .18894        .57058E-05   -.96336    
   4  Prefactor     1.0422        .44833E-01    .64928E-05   -.91336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51875e-10
Minuit parameter uncertainties:
  1  5.99223
  2  1.79593
  3  0.18908
  4  0.0448347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/343861': 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) = 26157.0344606
delta logL = 0.224016777534

Extracting fit parameters...

4FGL J0726.4-4727
   Spectrum: LogParabola
357         norm:  2.443e+00  5.992e+00  1.000e-04  1.000e+04 ( 1.000e-12)
358        alpha:  3.308e+00  1.796e+00  0.000e+00  5.000e+00 ( 1.000e+00)
359         beta:  1.249e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
360           Eb:  7.221e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
743    Prefactor:  1.042e+00  4.483e-02  0.000e+00  1.000e+01 ( 1.000e+00)
744        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
745        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
742   Normalization:  9.035e-01  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 111.613 -47.459
Photon Index (Free Index): 3.31 +/- 1.80
Photon Flux (Free Index): 5.37e-08 +/- 6.12e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.08e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/343861/cmap_HighResolution_541036801_541296001_4FGL_J0726.4-4727_daily_bin1164.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.52e-05', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='2.24e-01', photon_flux2='5.37e-08', job_status='DONE', time_completed='2021-08-27 07:26:31.695306', photon_index_error2='1.80', photon_index2='3.31', ts='0.64', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='1.08e-05', EG='0.93', time_epoch_completed='1630074391.7', return_code='0', job_id='343861', GAL2='1.04', EG2='0.90', return_code2='0', photon_flux_error2='6.12e-08', ts2='1.16', photon_index='2.39' WHERE bin_id='1164' AND source_name='4FGL J0726.4-4727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 07:26:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 343861: <4FGL_J0726.4-4727_daily_bin1164> in cluster <slac> Done

Job <4FGL_J0726.4-4727_daily_bin1164> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 27 06:50:20 2021
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 06:50:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 06:50:22 2021
Terminated at Fri Aug 27 07:26:32 2021
Results reported at Fri Aug 27 07:26:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0726.4-4727_daily_bin1164 111.613 -47.4589 541036801 541296001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0726.4-4727 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2151.45 sec.
    Max Memory :                                 645 MB
    Average Memory :                             392.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2934 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   2170 sec.
    Turnaround time :                            2172 sec.

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

