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


Performing analysis on: 4FGL_J0733.8+0455_daily_bin860
RA = 113.472, Dec = 4.9282
tmin = 462240001, tmax = 462499201
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='493959', job_status='RUN', time_executed='2021-08-27 15:10:47.225371', time_epoch_executed='1630102247.23' WHERE source_name='4FGL J0733.8+0455' and cadence='daily' and bin_id='860'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/493959

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/493959/ft1_4FGL_J0733.8+0455_daily_bin860.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/493959/ft2_4FGL_J0733.8+0455_daily_bin860.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/493959/ft1_4FGL_J0733.8+0455_daily_bin860.fits outfile=/scratch/kocevski/493959/ft1_filteredMKT_4FGL_J0733.8+0455_daily_bin860.fits ra=113.472 dec=4.9282 rad=12.0 tmin=462240001.0 tmax=462499201.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.42
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/493959/ft2_4FGL_J0733.8+0455_daily_bin860.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/493959/ft2_4FGL_J0733.8+0455_daily_bin860.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/493959/ft1_filteredMKT_4FGL_J0733.8+0455_daily_bin860.fits evtable="EVENTS" outfile="/scratch/kocevski/493959/ft1_filtered_4FGL_J0733.8+0455_daily_bin860.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/493959/ft1_filtered_4FGL_J0733.8+0455_daily_bin860.fits" evtable="EVENTS" scfile=/scratch/kocevski/493959/ft2_4FGL_J0733.8+0455_daily_bin860.fits sctable="SC_DATA" outfile=/scratch/kocevski/493959/ltcube_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.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/493959/ft2_4FGL_J0733.8+0455_daily_bin860.fits
.....................!
real 12.28
user 11.91
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/493959/ft1_filtered_4FGL_J0733.8+0455_daily_bin860.fits evtable="EVENTS" scfile=/scratch/kocevski/493959/ft2_4FGL_J0733.8+0455_daily_bin860.fits sctable="SC_DATA" expcube=/scratch/kocevski/493959/ltcube_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.fits outfile=/scratch/kocevski/493959/expmap_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.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/493959/ltcube_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.fits
.....................!
real 190.69
user 185.08
sys 4.59

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 Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 159 point sources and 2 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 J0733.8+0455 @ 113.472 4.9282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/493959/ft1_filtered_4FGL_J0733.8+0455_daily_bin860.fits scfile=/scratch/kocevski/493959/ft2_4FGL_J0733.8+0455_daily_bin860.fits outfile=/scratch/kocevski/493959/cmap_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.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=113.472 yref=4.9282 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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/493959/ft1_filtered_4FGL_J0733.8+0455_daily_bin860.fits scfile=/scratch/kocevski/493959/ft2_4FGL_J0733.8+0455_daily_bin860.fits outfile=/scratch/kocevski/493959/cmap_HighResolution_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.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=113.472 yref=4.9282 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/493959/ft1_filtered_4FGL_J0733.8+0455_daily_bin860.fits evtable="EVENTS" scfile=/scratch/kocevski/493959/ft2_4FGL_J0733.8+0455_daily_bin860.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/493959/Model_4FGL_J0733.8+0455_daily_bin860.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 Monoceros
adding source Rosette
Working on...
/scratch/kocevski/493959/ft1_filtered_4FGL_J0733.8+0455_daily_bin860.fits....................!
real 143.39
user 141.74
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/493959/ft1_filtered_4FGL_J0733.8+0455_daily_bin860.fits', '/scratch/kocevski/493959/ft2_4FGL_J0733.8+0455_daily_bin860.fits', expMap='/scratch/kocevski/493959/expmap_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.fits', expCube='/scratch/kocevski/493959/ltcube_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/493959/Model_4FGL_J0733.8+0455_daily_bin860.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0733.8+0455'

4FGL J0733.8+0455
   Spectrum: PowerLaw
215    Prefactor:  9.575e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
216        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
217        Scale:  8.635e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/493959/ft1_filtered_4FGL_J0733.8+0455_daily_bin860.fits
Spacecraft file(s): /scratch/kocevski/493959/ft2_4FGL_J0733.8+0455_daily_bin860.fits
Exposure map: /scratch/kocevski/493959/expmap_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.fits
Exposure cube: /scratch/kocevski/493959/ltcube_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/493959/Model_4FGL_J0733.8+0455_daily_bin860.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) = 9578.87380103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10341E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    51.853       1.0000         .10000E-03   10000.    
     3 'norm      '    9.7149       1.0000         .10000E-03   10000.    
     4 'norm      '    .15378       1.0000         .10000E-03   10000.    
     5 'norm      '    .33238       1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.584       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.524       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16965E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.027       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34727E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .21210E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.155       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .22257E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5151       1.0000         .10000E-03   10000.    
    17 'Prefactor '    82.424       1.0000         .10000E-03   10000.    
    18 'norm      '    6.4993       1.0000         .10000E-03   10000.    
    19 'norm      '    .41327E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.7003       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .16666E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94055       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0276       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9578.874     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     3217 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.5040       -.23672E-06** at limit **
   2  Prefactor     51.806        42.775       -.77660E-05   -.70172E-04
   3  norm          9.7147        5.7163       -.27994E-06   -.23442E-03
   4  norm          .15596        .83541        .12653E-05   -.12824E-02
   5  norm          .33143        .94642       -.10488E-05   -.12517E-02
   6  Prefactor     40.518        50.278       -.32727E-04   -.13928E-03
   7  Prefactor     .10000E-03    6.7570       -.20496E-06** at limit **
   8  Prefactor     14.533        12.884        .23803E-06   -.20599E-04
   9  Prefactor     .10000E-03    15.587        .14850E-06** at limit **
  10  norm          10.030        2.7360        .20085E-06   -.58636E-03
  11  Prefactor     .10000E-03    9.9876        .52906E-05** at limit **
  12  Prefactor     .10000E-03    1.7985       -.13832E-06** at limit **
  13  norm          .10000E-03    6.5181       -.36973E-07** at limit **
  14  Prefactor     18.169        12.270       -.79738E-07    .39413E-04
  15  Prefactor     .10000E-03    48.886        .84632E-05** at limit **
  16  Prefactor     5.5152        6.5489       -.39507E-06   -.76253E-04
  17  Prefactor     82.549        37.509       -.59277E-05    .34774E-04
  18  norm          6.5068        9.4054       -.54956E-05   -.92162E-04
  19  norm          .10000E-03    10.288       -.49921E-06** at limit **
  20  norm          4.6968        3.7068        .19977E-06    .34076E-04
  21  Prefactor     .10000E-03    46.100       -.99188E-05** at limit **
  22  Normalizat    .94017        .20147        .50270E-05   -.90960E-04
  23  Prefactor     1.0276        .69159E-01    .26531E-06   -.22750E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 51.8063
  norm       = 9.71466
  norm       = 0.155955
  norm       = 0.331431
  Prefactor  = 40.5179
  Prefactor  = 0.0001
  Prefactor  = 14.5331
  Prefactor  = 0.0001
  norm       = 10.0304
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.1692
  Prefactor  = 0.0001
  Prefactor  = 5.51518
  Prefactor  = 82.5493
  norm       = 6.50676
  norm       = 0.0001
  norm       = 4.69684
  Prefactor  = 0.0001
  Normalizat = 0.940168
  Prefactor  = 1.02765
 **********
 **   18 **HESSE 
 **********

 FCN=   9578.874     FROM HESSE     STATUS=OK           370 CALLS     3587 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.5096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     51.806        42.786        .55696E-04   -1.4267    
   3  norm          9.7147        5.7348        .12857E-03   -1.5084    
   4  norm          .15596        4.6914        .16451E-02   -1.5629    
   5  norm          .33143        1.1901        .15078E-02   -1.5593    
   6  Prefactor     40.518        50.393        .62922E-04   -1.4434    
   7  Prefactor     .10000E-03    6.8313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.533        12.883        .10510E-03   -1.4945    
   9  Prefactor     .10000E-03    15.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.030        2.7354        .79679E-04   -1.5074    
  11  Prefactor     .10000E-03    9.9854        .21327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.8545        .25592E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.5213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.169        12.298        .93999E-04   -1.4855    
  15  Prefactor     .10000E-03    48.871        .20130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.5152        6.5438        .17109E-03   -1.5238    
  17  Prefactor     82.549        37.547        .44242E-04   -1.3888    
  18  norm          6.5068        9.4130        .15742E-03   -1.5198    
  19  norm          .10000E-03    10.313        .21249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.6968        3.7060        .16171E-03   -1.5274    
  21  Prefactor     .10000E-03    46.507        .20386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .94017        .20968        .43957E-03   -.95063    
  23  Prefactor     1.0276        .73467E-01    .15588E-03   -.91813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70477e-09
Minuit parameter uncertainties:
  1  3.06819e-06
  2  42.8116
  3  5.73517
  4  1.71032
  5  1.19019
  6  50.4459
  7  3.44054e-05
  8  12.8852
  9  1.96815e-05
  10  2.73548
  11  5.53775e-06
  12  1.62802e-05
  13  7.15562e-06
  14  12.2999
  15  3.1725e-05
  16  6.54464
  17  37.5581
  18  9.41512
  19  5.87028e-05
  20  3.70615
  21  3.4241e-06
  22  0.209861
  23  0.0734738
Done.

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

Extracting fit parameters...

4FGL J0733.8+0455
   Spectrum: PowerLaw
215    Prefactor:  1.000e-04  1.968e-05  1.000e-04  1.000e+04 ( 1.000e-13)
216        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
217        Scale:  8.635e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.028e+00  7.347e-02  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  9.402e-01  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.472 4.928
Photon Flux Upper Limit: 8.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/493959/likelihoodResults_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9578.8739145
delta logL = -0.000305314793877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9578.87360945
delta logL = -2.60220986092e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4274       1.0000          .0000       10.000    
     3 'Normalizat'    .94015       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0276       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+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=   9578.874     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      251 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10092E-03    376.25        .18142E-02** at limit **
   2  Index         2.3575        8.4313        .50000        .39567E-05
   3  Normalizat    .94017        .29701E-01    .43957E-03   -.37295E-04
   4  Prefactor     1.0276        .11053E-01    .15588E-03   -.10137E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010092
  Index      = 2.3575
  Normalizat = 0.940168
  Prefactor  = 1.02765
 **********
 **   18 **HESSE 
 **********

 FCN=   9578.874     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10092E-03    1438.0        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3575        7.9900        .50000       -.55683    
   3  Normalizat    .94017        .64958E-01    .17583E-04   -.95063    
   4  Prefactor     1.0276        .24172E-01    .62354E-05   -.91813    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72822e-08
Minuit parameter uncertainties:
  1  0.0745945
  2  2421.51
  3  0.0649637
  4  0.0241723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/493959': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9578.87360913
delta logL = 5.82422217121e-08

Extracting fit parameters...

4FGL J0733.8+0455
   Spectrum: PowerLaw
215    Prefactor:  1.009e-04  7.459e-02  1.000e-04  1.000e+04 ( 1.000e-13)
216        Index:  2.357e+00  2.422e+03  0.000e+00  1.000e+01 (-1.000e+00)
217        Scale:  8.635e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.028e+00  2.417e-02  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  9.402e-01  6.496e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.472 4.928

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/493959/cmap_HighResolution_462240001_462499201_4FGL_J0733.8+0455_daily_bin860.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-03', job_status='DONE', photon_flux_upper_limit='8.12e-08', time_completed='2021-08-27 15:26:42.129278', job_id='493959', GAL2='1.03', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630103202.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='5.82e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='860' AND source_name='4FGL J0733.8+0455' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 15:26:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 493959: <4FGL_J0733.8+0455_daily_bin860> in cluster <slac> Done

Job <4FGL_J0733.8+0455_daily_bin860> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 27 15:10:23 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 15:10:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 15:10:37 2021
Terminated at Fri Aug 27 15:26:42 2021
Results reported at Fri Aug 27 15:26:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.8+0455_daily_bin860 113.472 4.9282 462240001 462499201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0733.8+0455 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   951.30 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             379.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   965 sec.
    Turnaround time :                            979 sec.

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

