/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 118 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.6+3649_daily_bin961
RA = 113.42, Dec = 36.8225
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='481227', job_status='RUN', time_executed='2021-08-27 14:29:34.304866', time_epoch_executed='1630099774.3' WHERE source_name='4FGL J0733.6+3649' and cadence='daily' and bin_id='961'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/481227

Creating custom pfile directory:
/scratch/kocevski/481227/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/481227/ft1_4FGL_J0733.6+3649_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/481227/ft2_4FGL_J0733.6+3649_daily_bin961.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/481227/ft1_4FGL_J0733.6+3649_daily_bin961.fits outfile=/scratch/kocevski/481227/ft1_filteredMKT_4FGL_J0733.6+3649_daily_bin961.fits ra=113.42 dec=36.8225 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 11.44
user 6.85
sys 4.54

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/481227/ft2_4FGL_J0733.6+3649_daily_bin961.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/481227/ft2_4FGL_J0733.6+3649_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/481227/ft1_filteredMKT_4FGL_J0733.6+3649_daily_bin961.fits evtable="EVENTS" outfile="/scratch/kocevski/481227/ft1_filtered_4FGL_J0733.6+3649_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 4.79
user 0.34
sys 4.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/481227/ft1_filtered_4FGL_J0733.6+3649_daily_bin961.fits" evtable="EVENTS" scfile=/scratch/kocevski/481227/ft2_4FGL_J0733.6+3649_daily_bin961.fits sctable="SC_DATA" outfile=/scratch/kocevski/481227/ltcube_488419201_488678401_4FGL_J0733.6+3649_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/481227/ft2_4FGL_J0733.6+3649_daily_bin961.fits
.....................!
real 16.48
user 11.33
sys 5.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/481227/ft1_filtered_4FGL_J0733.6+3649_daily_bin961.fits evtable="EVENTS" scfile=/scratch/kocevski/481227/ft2_4FGL_J0733.6+3649_daily_bin961.fits sctable="SC_DATA" expcube=/scratch/kocevski/481227/ltcube_488419201_488678401_4FGL_J0733.6+3649_daily_bin961.fits outfile=/scratch/kocevski/481227/expmap_488419201_488678401_4FGL_J0733.6+3649_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/481227/ltcube_488419201_488678401_4FGL_J0733.6+3649_daily_bin961.fits
.....................!
real 194.46
user 184.04
sys 10.03

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 IC 443 in ROI with RadialGaussian spatial model.
Added 188 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0733.6+3649 @ 113.42 36.8225

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/481227/ft1_filtered_4FGL_J0733.6+3649_daily_bin961.fits scfile=/scratch/kocevski/481227/ft2_4FGL_J0733.6+3649_daily_bin961.fits outfile=/scratch/kocevski/481227/cmap_488419201_488678401_4FGL_J0733.6+3649_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.42 yref=36.8225 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 4.75
user 0.37
sys 4.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/481227/ft1_filtered_4FGL_J0733.6+3649_daily_bin961.fits scfile=/scratch/kocevski/481227/ft2_4FGL_J0733.6+3649_daily_bin961.fits outfile=/scratch/kocevski/481227/cmap_HighResolution_488419201_488678401_4FGL_J0733.6+3649_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.42 yref=36.8225 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 4.81
user 0.39
sys 4.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/481227/ft1_filtered_4FGL_J0733.6+3649_daily_bin961.fits evtable="EVENTS" scfile=/scratch/kocevski/481227/ft2_4FGL_J0733.6+3649_daily_bin961.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/481227/Model_4FGL_J0733.6+3649_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 IC 443
Working on...
/scratch/kocevski/481227/ft1_filtered_4FGL_J0733.6+3649_daily_bin961.fits.....................!
real 61.75
user 54.87
sys 6.72

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/481227/ft1_filtered_4FGL_J0733.6+3649_daily_bin961.fits', '/scratch/kocevski/481227/ft2_4FGL_J0733.6+3649_daily_bin961.fits', expMap='/scratch/kocevski/481227/expmap_488419201_488678401_4FGL_J0733.6+3649_daily_bin961.fits', expCube='/scratch/kocevski/481227/ltcube_488419201_488678401_4FGL_J0733.6+3649_daily_bin961.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/481227/Model_4FGL_J0733.6+3649_daily_bin961.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0733.6+3649'

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  1.615e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.374e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.233e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/481227/ft1_filtered_4FGL_J0733.6+3649_daily_bin961.fits
Spacecraft file(s): /scratch/kocevski/481227/ft2_4FGL_J0733.6+3649_daily_bin961.fits
Exposure map: /scratch/kocevski/481227/expmap_488419201_488678401_4FGL_J0733.6+3649_daily_bin961.fits
Exposure cube: /scratch/kocevski/481227/ltcube_488419201_488678401_4FGL_J0733.6+3649_daily_bin961.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/481227/Model_4FGL_J0733.6+3649_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) = 5065.46569139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12777       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.364       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.421       1.0000         .10000E-03   10000.    
     4 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .74450       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.762       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.605       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10486E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10342E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    11.363       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13920E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    94.746       1.0000         .10000E-03   10000.    
    17 'norm      '    .10378E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .46199       1.0000         .10000E-03   10000.    
    19 'Prefactor '    28.016       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .60135E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63156       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2131       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5065.463     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2450 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11529        3.0707        .12400E-06   -.24508E-03
   2  Prefactor     17.406        32.409        .16769E-06   -.79945E-04
   3  Prefactor     12.425        8.8532        .40700E-07   -.52155E-04
   4  norm          .10000E-03    5.8366       -.25532E-07** at limit **
   5  norm          .74473        .65759       -.23820E-07   -.82898E-04
   6  Prefactor     .10000E-03    8.5651        .18971E-06** at limit **
   7  Prefactor     15.760        13.773       -.22240E-06   -.62692E-04
   8  norm          .10000E-03    2.5956        .55615E-07** at limit **
   9  Prefactor     15.602        36.263       -.52796E-06    .36042E-05
  10  Prefactor     .10000E-03    16.158        .14485E-06** at limit **
  11  Prefactor     .10000E-03    45.059        .14735E-06** at limit **
  12  norm          11.364        14.078       -.35016E-06   -.15108E-04
  13  Prefactor     .10000E-03    3.6522        .25505E-07** at limit **
  14  Prefactor     .10000E-03    16.936        .90027E-08** at limit **
  15  Prefactor     .10013E-03    3.1301       -.20661E-06** at limit **
  16  Prefactor     94.790        64.919       -.19327E-06    .16401E-03
  17  norm          .10000E-03    .28432       -.28635E-06** at limit **
  18  Prefactor     .28331        35.094       -.44379E-05    .35782E-03
  19  Prefactor     27.989        17.533        .25133E-05    .71831E-03
  20  Prefactor     .10001E-03    2.6425       -.16355E-05** at limit **
  21  Normalizat    .63186        .24013        .23874E-05    .35978E-03
  22  Prefactor     1.2129        .14420       -.31763E-06    .54020E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.115289
  Prefactor  = 17.4059
  Prefactor  = 12.4247
  norm       = 0.0001
  norm       = 0.744726
  Prefactor  = 0.0001
  Prefactor  = 15.7605
  norm       = 0.0001
  Prefactor  = 15.6022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.3636
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100126
  Prefactor  = 94.7904
  norm       = 0.0001
  Prefactor  = 0.283313
  Prefactor  = 27.9888
  Prefactor  = 0.000100006
  Normalizat = 0.63186
  Prefactor  = 1.21289
 **********
 **   18 **HESSE 
 **********

 FCN=   5065.463     FROM HESSE     STATUS=OK           362 CALLS     2812 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11529        54.695        .23345E-02   -1.5640    
   2  Prefactor     17.406        32.456        .96115E-04   -1.4873    
   3  Prefactor     12.425        8.8441        .11366E-03   -1.5003    
   4  norm          .10000E-03    5.8925        .16787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .74473        .64636        .52469E-04   -1.5535    
   6  Prefactor     .10000E-03    8.8065        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.760        13.760        .10088E-03   -1.4914    
   8  norm          .10000E-03    2.6047        .11188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.602        36.265        .10139E-03   -1.4918    
  10  Prefactor     .10000E-03    16.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    45.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.364        14.055        .11885E-03   -1.5034    
  13  Prefactor     .10000E-03    3.6597        .13282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10013E-03    6.3074        .41709E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     94.790        64.759        .20645E-03   -1.3758    
  17  norm          .10000E-03    .54891        .72302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .28331        36.398        .11653       -1.5602    
  19  Prefactor     27.989        18.474        .75689E-04   -1.4649    
  20  Prefactor     .10001E-03    9.4268        .19849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .63186        .26502        .36919E-03   -1.0665    
  22  Prefactor     1.2129        .16020        .17252E-03   -.85935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49888e-09
Minuit parameter uncertainties:
  1  5.0247
  2  32.4888
  3  8.84498
  4  6.95264e-06
  5  0.646362
  6  2.57042e-05
  7  13.7626
  8  2.46376e-06
  9  36.3166
  10  2.88975e-05
  11  1.01405e-05
  12  14.0595
  13  4.80784e-06
  14  1.36067e-05
  15  0.00178219
  16  64.8077
  17  5.46754e-06
  18  6.42534
  19  18.4782
  20  0.000487345
  21  0.265554
  22  0.160267
Done.

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

Extracting fit parameters...

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  1.576e+01  1.376e+01  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.374e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.233e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.213e+00  1.603e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  6.319e-01  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.99
Ra Dec: 113.420 36.822
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.47e-08 +/- 3.90e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.32e-05

TS (Fixed Index): 1.99
Ra Dec: 113.420 36.822
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/481227/likelihoodResults_488419201_488678401_4FGL_J0733.6+3649_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): 0
logL (Free Index) = 5065.36988116
delta logL = 0.093079242617

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5065.36440364
delta logL = 0.0985567562475

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.377       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0907       1.0000          .0000       10.000    
     3 'Normalizat'    .64151       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2075       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5065.364     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      266 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.421        568.57        .20711E-02    .20170E-03
   2  Index         2.0922        6.0267        .17736        .59746E-04
   3  Normalizat    .64144        .94759E-01    .82766E-01    .26556E-04
   4  Prefactor     1.2074        .55953E-01    .34456E-01   -.36969E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.4212
  Index      = 2.09224
  Normalizat = 0.641439
  Prefactor  = 1.20735
 **********
 **   18 **HESSE 
 **********

 FCN=   5065.364     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.421        25.507        .41423E-03   -1.4740    
   2  Index         2.0922        .59945        .62457E-02   -.62063    
   3  Normalizat    .64144        .24892        .36654E-03   -1.0625    
   4  Prefactor     1.2074        .15746        .17282E-03   -.86105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45629e-12
Minuit parameter uncertainties:
  1  25.5192
  2  0.601638
  3  0.249353
  4  0.157518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/481227': 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) = 5065.36438989
delta logL = 0.0985705133207

Extracting fit parameters...

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  2.342e+01  2.552e+01  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.092e+00  6.016e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  1.233e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.207e+00  1.575e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  6.414e-01  2.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.17
Ra Dec: 113.420 36.822
Photon Index (Free Index): 2.09 +/- 0.60
Photon Flux (Free Index): 4.11e-08 +/- 3.65e-08
Energy Flux (Free Index): 2.29e-05 +/- 3.07e-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/481227/cmap_HighResolution_488419201_488678401_4FGL_J0733.6+3649_daily_bin961.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.47e-08', energy_flux2='2.29e-05', photon_flux_error='3.90e-08', dlogl='9.86e-02', energy_flux='1.52e-05', photon_flux2='4.11e-08', job_status='DONE', time_completed='2021-08-27 14:41:19.444895', photon_index_error2='0.60', photon_index2='2.09', ts='1.99', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='3.07e-05', EG='0.63', time_epoch_completed='1630100479.44', return_code='0', job_id='481227', GAL2='1.21', EG2='0.64', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='3.65e-08', ts2='2.17', photon_index='2.37' WHERE bin_id='961' AND source_name='4FGL J0733.6+3649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 14:41:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 481227: <4FGL_J0733.6+3649_daily_bin961> in cluster <slac> Done

Job <4FGL_J0733.6+3649_daily_bin961> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 27 14:25:29 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 14:26:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 14:26:14 2021
Terminated at Fri Aug 27 14:41:20 2021
Results reported at Fri Aug 27 14:41:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.6+3649_daily_bin961 113.42 36.8225 488419201 488678401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0733.6+3649 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   769.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            951 sec.

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

