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


Performing analysis on: 4FGL_J0733.6+3649_daily_bin577
RA = 113.42, Dec = 36.8225
tmin = 388886401, tmax = 389145601
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='477125', job_status='RUN', time_executed='2021-08-27 14:15:02.592034', time_epoch_executed='1630098902.59' WHERE source_name='4FGL J0733.6+3649' and cadence='daily' and bin_id='577'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/477125

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/477125/ft1_4FGL_J0733.6+3649_daily_bin577.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/477125/ft2_4FGL_J0733.6+3649_daily_bin577.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/477125/ft1_4FGL_J0733.6+3649_daily_bin577.fits outfile=/scratch/kocevski/477125/ft1_filteredMKT_4FGL_J0733.6+3649_daily_bin577.fits ra=113.42 dec=36.8225 rad=12.0 tmin=388886401.0 tmax=389145601.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.79
user 3.27
sys 0.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/477125/ft2_4FGL_J0733.6+3649_daily_bin577.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/477125/ft1_filteredMKT_4FGL_J0733.6+3649_daily_bin577.fits evtable="EVENTS" outfile="/scratch/kocevski/477125/ft1_filtered_4FGL_J0733.6+3649_daily_bin577.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.79
user 0.33
sys 0.44

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/477125/ft1_filtered_4FGL_J0733.6+3649_daily_bin577.fits" evtable="EVENTS" scfile=/scratch/kocevski/477125/ft2_4FGL_J0733.6+3649_daily_bin577.fits sctable="SC_DATA" outfile=/scratch/kocevski/477125/ltcube_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.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/477125/ft2_4FGL_J0733.6+3649_daily_bin577.fits
.....................!
real 12.05
user 11.39
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/477125/ft1_filtered_4FGL_J0733.6+3649_daily_bin577.fits evtable="EVENTS" scfile=/scratch/kocevski/477125/ft2_4FGL_J0733.6+3649_daily_bin577.fits sctable="SC_DATA" expcube=/scratch/kocevski/477125/ltcube_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.fits outfile=/scratch/kocevski/477125/expmap_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.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/477125/ltcube_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.fits
.....................!
real 190.43
user 185.14
sys 4.91

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/477125/ft1_filtered_4FGL_J0733.6+3649_daily_bin577.fits scfile=/scratch/kocevski/477125/ft2_4FGL_J0733.6+3649_daily_bin577.fits outfile=/scratch/kocevski/477125/cmap_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.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 0.89
user 0.38
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/477125/ft1_filtered_4FGL_J0733.6+3649_daily_bin577.fits scfile=/scratch/kocevski/477125/ft2_4FGL_J0733.6+3649_daily_bin577.fits outfile=/scratch/kocevski/477125/cmap_HighResolution_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.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 0.87
user 0.41
sys 0.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/477125/ft1_filtered_4FGL_J0733.6+3649_daily_bin577.fits evtable="EVENTS" scfile=/scratch/kocevski/477125/ft2_4FGL_J0733.6+3649_daily_bin577.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/477125/Model_4FGL_J0733.6+3649_daily_bin577.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/477125/ft1_filtered_4FGL_J0733.6+3649_daily_bin577.fits.....................!
real 81.76
user 79.11
sys 1.55

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/477125/ft1_filtered_4FGL_J0733.6+3649_daily_bin577.fits', '/scratch/kocevski/477125/ft2_4FGL_J0733.6+3649_daily_bin577.fits', expMap='/scratch/kocevski/477125/expmap_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.fits', expCube='/scratch/kocevski/477125/ltcube_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/477125/Model_4FGL_J0733.6+3649_daily_bin577.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/477125/ft1_filtered_4FGL_J0733.6+3649_daily_bin577.fits
Spacecraft file(s): /scratch/kocevski/477125/ft2_4FGL_J0733.6+3649_daily_bin577.fits
Exposure map: /scratch/kocevski/477125/expmap_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.fits
Exposure cube: /scratch/kocevski/477125/ltcube_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/477125/Model_4FGL_J0733.6+3649_daily_bin577.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) = 8192.20154216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9592       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    24.364       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7146       1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.275       1.0000         .10000E-03   10000.    
     8 'norm      '    7.4127       1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.564       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11842E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.6629       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.2407       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .85010       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0228       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=   8192.171     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     2343 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9592        2.6876        .40530E-07    .18882E-03
   2  Prefactor     .10000E-03    16.898       -.61811E-05** at limit **
   3  Prefactor     .10000E-03    1.8776       -.12776E-07** at limit **
   4  norm          24.365        8.9402       -.95506E-08   -.53726E-05
   5  norm          .10000E-03    .23460        .20640E-08** at limit **
   6  Prefactor     2.7158        5.8424       -.93147E-06   -.60287E-03
   7  Prefactor     29.276        13.119       -.50323E-07   -.61126E-05
   8  norm          7.4130        5.3382       -.89655E-07   -.31577E-03
   9  Prefactor     38.564        37.337       -.15859E-06   -.23801E-04
  10  Prefactor     .10000E-03    7.7980        .40837E-05** at limit **
  11  Prefactor     .10000E-03    26.972        .72747E-05** at limit **
  12  norm          .10000E-03    2.7878       -.58053E-07** at limit **
  13  Prefactor     .10000E-03    5.3320       -.73704E-06** at limit **
  14  Prefactor     .10000E-03    28.896       -.93226E-05** at limit **
  15  Prefactor     .10000E-03    4.7423        .22797E-06** at limit **
  16  Prefactor     .10000E-03    8.1322       -.36980E-05** at limit **
  17  norm          1.6627        .66219        .32829E-07   -.44851E-04
  18  Prefactor     .10000E-03    18.278        .73243E-05** at limit **
  19  Prefactor     5.2354        12.329       -.55595E-06   -.10690E-03
  20  Prefactor     .10000E-03    1.0257       -.24917E-07** at limit **
  21  Normalizat    .84998        .17110        .13437E-06   -.23633E-04
  22  Prefactor     1.0228        .10036        .11207E-06    .21995E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.95925
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.3645
  norm       = 0.0001
  Prefactor  = 2.7158
  Prefactor  = 29.2761
  norm       = 7.41304
  Prefactor  = 38.5636
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.66269
  Prefactor  = 0.0001
  Prefactor  = 5.23544
  Prefactor  = 0.0001
  Normalizat = 0.849977
  Prefactor  = 1.02283
 **********
 **   18 **HESSE 
 **********

 FCN=   8192.171     FROM HESSE     STATUS=OK           340 CALLS     2683 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9592        2.6916        .11901E-03   -1.5310    
   2  Prefactor     .10000E-03    16.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.8830        .12109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.365        8.9391        .81153E-04   -1.4720    
   5  norm          .10000E-03    .42939        .85162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.7158        5.9546        .24720E-03   -1.5378    
   7  Prefactor     29.276        13.139        .74048E-04   -1.4625    
   8  norm          7.4130        5.3426        .14731E-03   -1.5163    
   9  Prefactor     38.564        37.346        .64543E-04   -1.4465    
  10  Prefactor     .10000E-03    7.7804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    26.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.7937        .14758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.4043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    28.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.9147        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.1064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.6627        .65823        .42945E-04   -1.5450    
  18  Prefactor     .10000E-03    18.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.2354        12.312        .17559E-03   -1.5250    
  20  Prefactor     .10000E-03    1.0323        .89285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .84998        .19384        .31542E-03   -.98241    
  22  Prefactor     1.0228        .11402        .17923E-03   -.91972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.34987e-10
Minuit parameter uncertainties:
  1  2.6917
  2  4.89564e-06
  3  3.69463e-07
  4  8.93962
  5  5.99362e-07
  6  5.95589
  7  13.1408
  8  5.34296
  9  37.3687
  10  3.37346e-06
  11  2.05327e-06
  12  1.46869e-07
  13  1.91955e-06
  14  4.94544e-06
  15  3.39298e-07
  16  1.6064e-07
  17  0.658228
  18  1.85936e-05
  19  12.3183
  20  8.98517e-07
  21  0.193994
  22  0.114045
Done.

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

Extracting fit parameters...

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  2.928e+01  1.314e+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.023e+00  1.140e-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:  8.500e-01  1.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.56
Ra Dec: 113.420 36.822
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.30e-08 +/- 3.72e-08
Energy Flux (Fixed Index): 2.82e-05 +/- 1.26e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8191.73802393
delta logL = 0.433068154506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8191.73782243
delta logL = 0.433269654472

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.539       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0398       1.0000          .0000       10.000    
     3 'Normalizat'    .87252       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0154       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=   8191.738     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      271 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.476        363.52        .15936E-02   -.16972E-04
   2  Index         2.0379        3.0442        .15892        .84797E-04
   3  Normalizat    .87274        .12366        .70447E-01   -.27292E-04
   4  Prefactor     1.0154        .51838E-01    .42631E-01   -.92766E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.4762
  Index      = 2.03794
  Normalizat = 0.872741
  Prefactor  = 1.01544
 **********
 **   18 **HESSE 
 **********

 FCN=   8191.738     FROM HESSE     STATUS=OK            31 CALLS      302 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.476        20.319        .63744E-04   -1.4451    
   2  Index         2.0379        .35728        .57385E-02   -.63405    
   3  Normalizat    .87274        .18392        .31170E-03   -.97425    
   4  Prefactor     1.0154        .11304        .17981E-03   -.92216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11763e-09
Minuit parameter uncertainties:
  1  20.3224
  2  0.357746
  3  0.184047
  4  0.113062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/477125': 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) = 8191.73779437
delta logL = 0.433297718509

Extracting fit parameters...

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  3.948e+01  2.032e+01  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.038e+00  3.577e-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.015e+00  1.131e-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:  8.727e-01  1.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.36
Ra Dec: 113.420 36.822
Photon Index (Free Index): 2.04 +/- 0.36
Photon Flux (Free Index): 6.36e-08 +/- 3.78e-08
Energy Flux (Free Index): 4.01e-05 +/- 2.72e-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/477125/cmap_HighResolution_388886401_389145601_4FGL_J0733.6+3649_daily_bin577.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.30e-08', energy_flux2='4.01e-05', photon_flux_error='3.72e-08', dlogl='4.33e-01', energy_flux='2.82e-05', photon_flux2='6.36e-08', job_status='DONE', time_completed='2021-08-27 14:26:53.767748', photon_index_error2='0.36', photon_index2='2.04', ts='14.56', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.72e-05', EG='0.85', time_epoch_completed='1630099613.77', return_code='0', job_id='477125', GAL2='1.02', EG2='0.87', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='3.78e-08', ts2='15.36', photon_index='2.37' WHERE bin_id='577' AND source_name='4FGL J0733.6+3649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 14:26:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 477125: <4FGL_J0733.6+3649_daily_bin577> in cluster <slac> Done

Job <4FGL_J0733.6+3649_daily_bin577> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 27 14:10:40 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 14:11:49 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:11:49 2021
Terminated at Fri Aug 27 14:26:54 2021
Results reported at Fri Aug 27 14:26:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.6+3649_daily_bin577 113.42 36.8225 388886401 389145601 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 :                                   713.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             250.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            974 sec.

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

