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


Performing analysis on: 4FGL_J0733.6+3649_daily_bin1598
RA = 113.42, Dec = 36.8225
tmin = 653529601, tmax = 653788801
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='722631', job_status='RUN', time_executed='2021-09-20 00:15:44.739312', time_epoch_executed='1632122144.74' WHERE source_name='4FGL J0733.6+3649' and cadence='daily' and bin_id='1598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/722631

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/722631/ft1_4FGL_J0733.6+3649_daily_bin1598.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/722631/ft2_4FGL_J0733.6+3649_daily_bin1598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/722631/ft1_4FGL_J0733.6+3649_daily_bin1598.fits outfile=/scratch/kocevski/722631/ft1_filteredMKT_4FGL_J0733.6+3649_daily_bin1598.fits ra=113.42 dec=36.8225 rad=12.0 tmin=653529601.0 tmax=653788801.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 5.07
user 4.82
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/722631/ft2_4FGL_J0733.6+3649_daily_bin1598.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/722631/ft1_filteredMKT_4FGL_J0733.6+3649_daily_bin1598.fits evtable="EVENTS" outfile="/scratch/kocevski/722631/ft1_filtered_4FGL_J0733.6+3649_daily_bin1598.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/722631/ft1_filtered_4FGL_J0733.6+3649_daily_bin1598.fits" evtable="EVENTS" scfile=/scratch/kocevski/722631/ft2_4FGL_J0733.6+3649_daily_bin1598.fits sctable="SC_DATA" outfile=/scratch/kocevski/722631/ltcube_653529601_653788801_4FGL_J0733.6+3649_daily_bin1598.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/722631/ft2_4FGL_J0733.6+3649_daily_bin1598.fits
.....................!
real 11.19
user 10.83
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/722631/ft1_filtered_4FGL_J0733.6+3649_daily_bin1598.fits evtable="EVENTS" scfile=/scratch/kocevski/722631/ft2_4FGL_J0733.6+3649_daily_bin1598.fits sctable="SC_DATA" expcube=/scratch/kocevski/722631/ltcube_653529601_653788801_4FGL_J0733.6+3649_daily_bin1598.fits outfile=/scratch/kocevski/722631/expmap_653529601_653788801_4FGL_J0733.6+3649_daily_bin1598.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/722631/ltcube_653529601_653788801_4FGL_J0733.6+3649_daily_bin1598.fits
.....................!
real 189.79
user 185.10
sys 4.34

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/722631/ft1_filtered_4FGL_J0733.6+3649_daily_bin1598.fits scfile=/scratch/kocevski/722631/ft2_4FGL_J0733.6+3649_daily_bin1598.fits outfile=/scratch/kocevski/722631/cmap_653529601_653788801_4FGL_J0733.6+3649_daily_bin1598.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/722631/ft1_filtered_4FGL_J0733.6+3649_daily_bin1598.fits scfile=/scratch/kocevski/722631/ft2_4FGL_J0733.6+3649_daily_bin1598.fits outfile=/scratch/kocevski/722631/cmap_HighResolution_653529601_653788801_4FGL_J0733.6+3649_daily_bin1598.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3048       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4025       1.0000         .10000E-03   10000.    
     4 'norm      '    4.4138       1.0000         .10000E-03   10000.    
     5 'norm      '    .13960       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4039       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.077       1.0000         .10000E-03   10000.    
     8 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2508       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .88938       1.0000         .10000E-03   10000.    
    12 'norm      '    .10357E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.741       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10425E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.3318       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.063       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10278E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9496       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2710       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90440       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=   7589.358     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2460 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3051        3.3187       -.22758E-06   -.31445E-04
   2  Prefactor     .10000E-03    6.5504        .11865E-08** at limit **
   3  Prefactor     2.4029        3.0672        .13553E-05   -.26159E-02
   4  norm          4.4141        5.2026       -.77412E-06   -.89234E-04
   5  norm          .13967        .40321       -.55440E-07   -.12261E-03
   6  Prefactor     4.4074        6.2589       -.82638E-06   -.17336E-04
   7  Prefactor     12.080        11.447       -.42160E-05   -.15596E-03
   8  norm          .10000E-03    2.5604        .17200E-07** at limit **
   9  Prefactor     .98815        40.934       -.20930E-05    .77967E-04
  10  Prefactor     .10000E-03    14.157       -.27507E-06** at limit **
  11  Prefactor     1.4816        37.522        .11241E-06    .13643E-04
  12  norm          .10000E-03    17.924        .27506E-06** at limit **
  13  Prefactor     .10000E-03    5.0732        .18787E-06** at limit **
  14  Prefactor     16.748        36.652       -.12698E-04   -.71340E-04
  15  Prefactor     .10000E-03    2.7627        .63516E-07** at limit **
  16  Prefactor     .10000E-03    13.583       -.37898E-06** at limit **
  17  norm          1.3319        .66548        .34202E-07    .16012E-03
  18  Prefactor     17.067        26.720       -.11900E-04   -.12391E-03
  19  Prefactor     .10000E-03    13.374        .71388E-06** at limit **
  20  Prefactor     2.9492        2.8588       -.12719E-06   -.11260E-03
  21  Normalizat    1.2708        .18845        .26837E-05    .22214E-04
  22  Prefactor     .90446        .10558       -.98164E-07    .28877E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.30514
  Prefactor  = 0.0001
  Prefactor  = 2.40289
  norm       = 4.41411
  norm       = 0.139666
  Prefactor  = 4.40741
  Prefactor  = 12.0799
  norm       = 0.0001
  Prefactor  = 0.988151
  Prefactor  = 0.0001
  Prefactor  = 1.48157
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.7483
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.33191
  Prefactor  = 17.0668
  Prefactor  = 0.0001
  Prefactor  = 2.94916
  Normalizat = 1.27081
  Prefactor  = 0.904459
 **********
 **   18 **HESSE 
 **********

 FCN=   7589.358     FROM HESSE     STATUS=OK           354 CALLS     2814 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3051        3.3234        .13500E-03   -1.5293    
   2  Prefactor     .10000E-03    6.5566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.4029        6.6365        .13208E-02   -1.5398    
   4  norm          4.4141        5.2195        .19169E-03   -1.5288    
   5  norm          .13967        .53743        .89259E-03   -1.5633    
   6  Prefactor     4.4074        6.2582        .19191E-03   -1.5288    
   7  Prefactor     12.080        11.481        .11527E-03   -1.5013    
   8  norm          .10000E-03    2.5919        .13560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .98815        693.96        .87245E-02   -1.5509    
  10  Prefactor     .10000E-03    14.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4816        481.78        .85041E-02   -1.5465    
  12  norm          .10000E-03    18.404        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.0974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.748        36.746        .97888E-04   -1.4889    
  15  Prefactor     .10000E-03    6.3627        .27669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3319        .65164        .47899E-04   -1.5477    
  18  Prefactor     17.067        26.846        .96959E-04   -1.4881    
  19  Prefactor     .10000E-03    13.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.9492        2.8477        .13900E-03   -1.5364    
  21  Normalizat    1.2708        .21840        .27961E-03   -.84442    
  22  Prefactor     .90446        .12242        .19305E-03   -.95985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92643e-08
Minuit parameter uncertainties:
  1  3.3235
  2  4.21283e-06
  3  6.63849
  4  5.22007
  5  0.537452
  6  6.2591
  7  11.4827
  8  1.30313e-06
  9  52.9988
  10  3.262e-05
  11  53.8748
  12  2.22545e-05
  13  5.01719e-05
  14  36.7961
  15  1.06114e-05
  16  1.64279e-06
  17  0.651646
  18  26.865
  19  4.22644e-07
  20  2.84782
  21  0.218557
  22  0.122456
Done.

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

Extracting fit parameters...

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  1.208e+01  1.148e+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:  9.045e-01  1.225e-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:  1.271e+00  2.186e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 113.420 36.822
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 3.43e-08 +/- 3.25e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 1.11e-05

TS (Fixed Index): 1.69
Ra Dec: 113.420 36.822
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/722631/likelihoodResults_653529601_653788801_4FGL_J0733.6+3649_daily_bin1598.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) = 7589.3584069
delta logL = 8.87027345016e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7589.35833471
delta logL = 0.000160885789228

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.905       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3893       1.0000          .0000       10.000    
     3 'Normalizat'    1.2701       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90466       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7589.358     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      259 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.901        16.581        .11610E-03    .82051E-03
   2  Index         2.3887        .88482        .91471E-02    .20821E-03
   3  Normalizat    1.2702        .20694        .13983E-02   -.56237E-03
   4  Prefactor     .90467        .12184        .19303E-03   -.10008E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9014
  Index      = 2.3887
  Normalizat = 1.27024
  Prefactor  = 0.904672
 **********
 **   18 **HESSE 
 **********

 FCN=   7589.358     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.901        15.122        .23221E-04   -1.5018    
   2  Index         2.3887        .80709        .36588E-03   -.54950    
   3  Normalizat    1.2702        .20695        .55933E-04   -.84459    
   4  Prefactor     .90467        .12194        .38606E-04   -.95978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5912e-09
Minuit parameter uncertainties:
  1  15.127
  2  0.811992
  3  0.207083
  4  0.121976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/722631': 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) = 7589.35833321
delta logL = 0.000162388490935

Extracting fit parameters...

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  1.190e+01  1.513e+01  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.389e+00  8.120e-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:  9.047e-01  1.220e-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:  1.270e+00  2.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.68
Ra Dec: 113.420 36.822
Photon Index (Free Index): 2.39 +/- 0.81
Photon Flux (Free Index): 3.46e-08 +/- 3.89e-08
Energy Flux (Free Index): 1.15e-05 +/- 1.23e-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/722631/cmap_HighResolution_653529601_653788801_4FGL_J0733.6+3649_daily_bin1598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.36e-03', comment='SUCCESS', photon_flux='3.43e-08', energy_flux2='1.15e-05', photon_flux_error='3.25e-08', dlogl='1.62e-04', energy_flux='1.16e-05', photon_flux2='3.46e-08', job_status='DONE', time_completed='2021-09-20 00:28:56.044551', photon_index_error2='0.81', photon_index2='2.39', ts='1.69', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='1.23e-05', EG='1.27', time_epoch_completed='1632122936.04', return_code='0', job_id='722631', GAL2='0.90', EG2='1.27', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='3.89e-08', ts2='1.68', photon_index='2.37' WHERE bin_id='1598' AND source_name='4FGL J0733.6+3649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 20 00:28:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 722631: <4FGL_J0733.6+3649_daily_bin1598> in cluster <slac> Done

Job <4FGL_J0733.6+3649_daily_bin1598> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep 20 00:15:26 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 20 00:15:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 20 00:15:28 2021
Terminated at Mon Sep 20 00:28:56 2021
Results reported at Mon Sep 20 00:28:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.6+3649_daily_bin1598 113.42 36.8225 653529601 653788801 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 :                                   793.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             369.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

