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


Performing analysis on: 4FGL_J0733.8+0455_daily_bin961
RA = 113.472, Dec = 4.9282
tmin = 488419201, tmax = 488678401
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='494110', job_status='RUN', time_executed='2021-08-27 15:15:30.698369', time_epoch_executed='1630102530.7' WHERE source_name='4FGL J0733.8+0455' and cadence='daily' and bin_id='961'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/494110

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/494110/ft1_4FGL_J0733.8+0455_daily_bin961.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/494110/ft2_4FGL_J0733.8+0455_daily_bin961.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/494110/ft1_4FGL_J0733.8+0455_daily_bin961.fits outfile=/scratch/kocevski/494110/ft1_filteredMKT_4FGL_J0733.8+0455_daily_bin961.fits ra=113.472 dec=4.9282 rad=12.0 tmin=488419201.0 tmax=488678401.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 7.44
user 6.84
sys 0.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/494110/ft2_4FGL_J0733.8+0455_daily_bin961.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/494110/ft1_filteredMKT_4FGL_J0733.8+0455_daily_bin961.fits evtable="EVENTS" outfile="/scratch/kocevski/494110/ft1_filtered_4FGL_J0733.8+0455_daily_bin961.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.73
user 0.32
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/494110/ft1_filtered_4FGL_J0733.8+0455_daily_bin961.fits" evtable="EVENTS" scfile=/scratch/kocevski/494110/ft2_4FGL_J0733.8+0455_daily_bin961.fits sctable="SC_DATA" outfile=/scratch/kocevski/494110/ltcube_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.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/494110/ft2_4FGL_J0733.8+0455_daily_bin961.fits
.....................!
real 11.94
user 11.32
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/494110/ft1_filtered_4FGL_J0733.8+0455_daily_bin961.fits evtable="EVENTS" scfile=/scratch/kocevski/494110/ft2_4FGL_J0733.8+0455_daily_bin961.fits sctable="SC_DATA" expcube=/scratch/kocevski/494110/ltcube_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.fits outfile=/scratch/kocevski/494110/expmap_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.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/494110/ltcube_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.fits
.....................!
real 192.01
user 185.54
sys 5.15

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/494110/ft1_filtered_4FGL_J0733.8+0455_daily_bin961.fits scfile=/scratch/kocevski/494110/ft2_4FGL_J0733.8+0455_daily_bin961.fits outfile=/scratch/kocevski/494110/cmap_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.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.74
user 0.38
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/494110/ft1_filtered_4FGL_J0733.8+0455_daily_bin961.fits scfile=/scratch/kocevski/494110/ft2_4FGL_J0733.8+0455_daily_bin961.fits outfile=/scratch/kocevski/494110/cmap_HighResolution_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.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.76
user 0.39
sys 0.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/494110/ft1_filtered_4FGL_J0733.8+0455_daily_bin961.fits evtable="EVENTS" scfile=/scratch/kocevski/494110/ft2_4FGL_J0733.8+0455_daily_bin961.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/494110/Model_4FGL_J0733.8+0455_daily_bin961.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/494110/ft1_filtered_4FGL_J0733.8+0455_daily_bin961.fits.....................!
real 84.52
user 82.61
sys 1.66

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/494110/ft1_filtered_4FGL_J0733.8+0455_daily_bin961.fits', '/scratch/kocevski/494110/ft2_4FGL_J0733.8+0455_daily_bin961.fits', expMap='/scratch/kocevski/494110/expmap_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.fits', expCube='/scratch/kocevski/494110/ltcube_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/494110/Model_4FGL_J0733.8+0455_daily_bin961.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/494110/ft1_filtered_4FGL_J0733.8+0455_daily_bin961.fits
Spacecraft file(s): /scratch/kocevski/494110/ft2_4FGL_J0733.8+0455_daily_bin961.fits
Exposure map: /scratch/kocevski/494110/expmap_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.fits
Exposure cube: /scratch/kocevski/494110/ltcube_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/494110/Model_4FGL_J0733.8+0455_daily_bin961.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) = 5399.18336006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .38400E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2721       1.0000         .10000E-03   10000.    
     4 'norm      '    2.4803       1.0000         .10000E-03   10000.    
     5 'norm      '    5.8908       1.0000         .10000E-03   10000.    
     6 'Prefactor '    96.022       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3999       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2067       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.2196       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.864       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12213E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.4022       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.9829       1.0000         .10000E-03   10000.    
    19 'norm      '    45.982       1.0000         .10000E-03   10000.    
    20 'norm      '    14.062       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .47265       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99438       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=   5399.165     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2562 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    20.956        .10540E-04** at limit **
   2  Prefactor     .10000E-03    196.27       -.23516E-04** at limit **
   3  norm          1.2724        4.9556       -.20836E-05   -.92015E-03
   4  norm          2.4753        3.0111       -.68857E-06   -.52206E-03
   5  norm          5.8899        2.3761       -.22113E-06    .65059E-04
   6  Prefactor     96.024        80.824        .21282E-05    .20743E-05
   7  Prefactor     5.3986        8.1694       -.41324E-06   -.77016E-04
   8  Prefactor     3.2031        21.391        .19853E-05   -.73234E-04
   9  Prefactor     .10000E-03    15.477       -.19264E-05** at limit **
  10  norm          4.2180        2.8393        .25244E-07   -.18423E-03
  11  Prefactor     34.834        51.469       -.33248E-04   -.87568E-05
  12  Prefactor     .10000E-03    4.0440       -.11934E-05** at limit **
  13  norm          .10000E-03    28.496       -.14247E-04** at limit **
  14  Prefactor     .10000E-03    33.512        .23720E-04** at limit **
  15  Prefactor     .10000E-03    123.28       -.41846E-05** at limit **
  16  Prefactor     6.4004        9.4683        .47366E-06   -.32823E-04
  17  Prefactor     .10000E-03    15.688       -.37938E-06** at limit **
  18  norm          5.9790        12.092        .42593E-06   -.61521E-04
  19  norm          45.963        34.045       -.89613E-05    .28529E-04
  20  norm          14.060        7.0965        .37634E-05    .19091E-04
  21  Prefactor     .10000E-03    27.945       -.15943E-04** at limit **
  22  Normalizat    .47342        .27320        .72182E-05    .88376E-04
  23  Prefactor     .99418        .89208E-01    .17738E-06    .64916E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.27236
  norm       = 2.47531
  norm       = 5.88992
  Prefactor  = 96.0244
  Prefactor  = 5.39861
  Prefactor  = 3.2031
  Prefactor  = 0.0001
  norm       = 4.21803
  Prefactor  = 34.8339
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 6.40041
  Prefactor  = 0.0001
  norm       = 5.97895
  norm       = 45.9633
  norm       = 14.0595
  Prefactor  = 0.0001
  Normalizat = 0.473423
  Prefactor  = 0.994183
 **********
 **   18 **HESSE 
 **********

 FCN=   5399.165     FROM HESSE     STATUS=OK           372 CALLS     2934 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    21.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    197.60        .21282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2724        4.9662        .31062E-03   -1.5482    
   4  norm          2.4753        2.9835        .12719E-03   -1.5393    
   5  norm          5.8899        2.3661        .67526E-04   -1.5223    
   6  Prefactor     96.024        80.663        .41018E-04   -1.3745    
   7  Prefactor     5.3986        8.1573        .17293E-03   -1.5243    
   8  Prefactor     3.2031        21.352        .22625E-03   -1.5350    
   9  Prefactor     .10000E-03    15.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.2180        2.8203        .95450E-04   -1.5297    
  11  Prefactor     34.834        51.392        .67870E-04   -1.4527    
  12  Prefactor     .10000E-03    7.4897        .27173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    28.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    34.018        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    123.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.4004        9.4520        .15863E-03   -1.5202    
  17  Prefactor     .10000E-03    15.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.9790        12.045        .16416E-03   -1.5219    
  19  norm          45.963        33.951        .59128E-04   -1.4351    
  20  norm          14.060        7.0728        .10681E-03   -1.4958    
  21  Prefactor     .10000E-03    27.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .47342        .25417        .55652E-03   -1.1366    
  23  Prefactor     .99418        .88705E-01    .14300E-03   -.92924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28121e-09
Minuit parameter uncertainties:
  1  2.57039e-05
  2  0.000189113
  3  4.96779
  4  2.98365
  5  2.36611
  6  80.7557
  7  8.15902
  8  16.5482
  9  9.37058e-06
  10  2.82035
  11  51.4575
  12  0.00025124
  13  0.000124263
  14  0.000394662
  15  8.14396e-05
  16  9.45419
  17  4.06197e-05
  18  12.0498
  19  33.9656
  20  7.07324
  21  6.75245e-05
  22  0.254794
  23  0.0887183
Done.

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

Extracting fit parameters...

4FGL J0733.8+0455
   Spectrum: PowerLaw
215    Prefactor:  1.000e-04  9.371e-06  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:  9.942e-01  8.872e-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:  4.734e-01  2.548e-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: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/494110/likelihoodResults_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.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) = 5399.16508356
delta logL = -0.000307696451273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5399.16477697
delta logL = -1.10699966172e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11544E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4134       1.0000          .0000       10.000    
     3 'Normalizat'    .47316       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99423       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=   5399.165     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      270 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    73.305        .18142E-01** at limit **
   2  Index         1.8579        5.3494        .50000        .36498E-06
   3  Normalizat    .47342        .13501E-01    .55652E-03   -.35137E-05
   4  Prefactor     .99418        .49646E-02    .14300E-03   -.11448E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.85794
  Normalizat = 0.473421
  Prefactor  = 0.994183
 **********
 **   18 **HESSE 
 **********

 FCN=   5399.165     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    403.64        .33130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8579        8.4947        .50000       -.67951    
   3  Normalizat    .47342        .32372E-01    .22261E-04   -1.1366    
   4  Prefactor     .99418        .11905E-01    .57200E-05   -.92924    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.38107e-09
Minuit parameter uncertainties:
  1  0.000255709
  2  1039.38
  3  0.0323733
  4  0.0119047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/494110': 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) = 5399.16477498
delta logL = 8.84344444785e-07

Extracting fit parameters...

4FGL J0733.8+0455
   Spectrum: PowerLaw
215    Prefactor:  1.000e-04  2.557e-04  1.000e-04  1.000e+04 ( 1.000e-13)
216        Index:  1.858e+00  1.039e+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:  9.942e-01  1.190e-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:  4.734e-01  3.237e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/494110/cmap_HighResolution_488419201_488678401_4FGL_J0733.8+0455_daily_bin961.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.10e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-08-27 15:26:17.370231', job_id='494110', GAL2='0.99', fit_tolerance='1e-08', EG2='0.47', EG='0.47', time_epoch_completed='1630103177.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='8.84e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='961' AND source_name='4FGL J0733.8+0455' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 15:26:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 494110: <4FGL_J0733.8+0455_daily_bin961> in cluster <slac> Done

Job <4FGL_J0733.8+0455_daily_bin961> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 27 15:10:34 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 15:12:41 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:12:41 2021
Terminated at Fri Aug 27 15:26:18 2021
Results reported at Fri Aug 27 15:26:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.8+0455_daily_bin961 113.472 4.9282 488419201 488678401 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 :                                   645.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            944 sec.

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

