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


Performing analysis on: 4FGL_J0733.8+0455_daily_bin615
RA = 113.472, Dec = 4.9282
tmin = 398736001, tmax = 398995201
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='491239', job_status='RUN', time_executed='2021-08-27 15:05:38.390803', time_epoch_executed='1630101938.39' WHERE source_name='4FGL J0733.8+0455' and cadence='daily' and bin_id='615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/491239

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/491239/ft1_4FGL_J0733.8+0455_daily_bin615.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/491239/ft2_4FGL_J0733.8+0455_daily_bin615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/491239/ft1_4FGL_J0733.8+0455_daily_bin615.fits outfile=/scratch/kocevski/491239/ft1_filteredMKT_4FGL_J0733.8+0455_daily_bin615.fits ra=113.472 dec=4.9282 rad=12.0 tmin=398736001.0 tmax=398995201.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 4.98
user 4.44
sys 0.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/491239/ft2_4FGL_J0733.8+0455_daily_bin615.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/491239/ft1_filteredMKT_4FGL_J0733.8+0455_daily_bin615.fits evtable="EVENTS" outfile="/scratch/kocevski/491239/ft1_filtered_4FGL_J0733.8+0455_daily_bin615.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.26
sys 0.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/491239/ft1_filtered_4FGL_J0733.8+0455_daily_bin615.fits" evtable="EVENTS" scfile=/scratch/kocevski/491239/ft2_4FGL_J0733.8+0455_daily_bin615.fits sctable="SC_DATA" outfile=/scratch/kocevski/491239/ltcube_398736001_398995201_4FGL_J0733.8+0455_daily_bin615.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/491239/ft2_4FGL_J0733.8+0455_daily_bin615.fits
.....................!
real 9.30
user 8.66
sys 0.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/491239/ft1_filtered_4FGL_J0733.8+0455_daily_bin615.fits evtable="EVENTS" scfile=/scratch/kocevski/491239/ft2_4FGL_J0733.8+0455_daily_bin615.fits sctable="SC_DATA" expcube=/scratch/kocevski/491239/ltcube_398736001_398995201_4FGL_J0733.8+0455_daily_bin615.fits outfile=/scratch/kocevski/491239/expmap_398736001_398995201_4FGL_J0733.8+0455_daily_bin615.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/491239/ltcube_398736001_398995201_4FGL_J0733.8+0455_daily_bin615.fits
.....................!
real 145.99
user 141.04
sys 4.66

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/491239/ft1_filtered_4FGL_J0733.8+0455_daily_bin615.fits scfile=/scratch/kocevski/491239/ft2_4FGL_J0733.8+0455_daily_bin615.fits outfile=/scratch/kocevski/491239/cmap_398736001_398995201_4FGL_J0733.8+0455_daily_bin615.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.75
user 0.29
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/491239/ft1_filtered_4FGL_J0733.8+0455_daily_bin615.fits scfile=/scratch/kocevski/491239/ft2_4FGL_J0733.8+0455_daily_bin615.fits outfile=/scratch/kocevski/491239/cmap_HighResolution_398736001_398995201_4FGL_J0733.8+0455_daily_bin615.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.74
user 0.29
sys 0.44

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5659       1.0000         .10000E-03   10000.    
     3 'norm      '    14.545       1.0000         .10000E-03   10000.    
     4 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10360E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.873       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    82.262       1.0000         .10000E-03   10000.    
    10 'norm      '    1.2084       1.0000         .10000E-03   10000.    
    11 'Prefactor '    61.787       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .56476       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.429       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15322E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.8634       1.0000         .10000E-03   10000.    
    19 'norm      '    50.667       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.804       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .78604       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0020       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=   8269.994     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2588 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.236        .17932E-07** at limit **
   2  Prefactor     3.3864        165.98       -.90205E-05   -.44518E-05
   3  norm          14.542        6.5649       -.79106E-07   -.76419E-04
   4  norm          .10000E-03    .92273       -.64261E-07** at limit **
   5  norm          .10000E-03    .43429       -.10769E-06** at limit **
   6  Prefactor     .10000E-03    19.986       -.21269E-06** at limit **
   7  Prefactor     13.870        10.453        .29041E-07   -.67439E-04
   8  Prefactor     .10000E-03    9.2439       -.44348E-07** at limit **
   9  Prefactor     82.247        47.595        .98689E-06    .15784E-04
  10  norm          1.2113        2.0597       -.85257E-06   -.13245E-02
  11  Prefactor     61.778        42.158       -.97807E-06    .50045E-04
  12  Prefactor     .56393        2.4770       -.21345E-05   -.40599E-03
  13  norm          .10000E-03    5.2980        .23937E-07** at limit **
  14  Prefactor     .10000E-03    3.3417       -.32976E-09** at limit **
  15  Prefactor     .10000E-03    49.323        .93394E-07** at limit **
  16  Prefactor     23.430        15.956       -.77317E-06    .31127E-03
  17  Prefactor     .10000E-03    38.928        .46755E-06** at limit **
  18  norm          1.8705        24.298       -.99725E-05   -.83556E-04
  19  norm          50.660        32.813       -.68906E-05    .44015E-03
  20  norm          .10000E-03    .88829        .42526E-07** at limit **
  21  Prefactor     20.834        45.002       -.71210E-05    .16116E-03
  22  Normalizat    .78563        .22517        .85258E-05    .22397E-03
  23  Prefactor     1.0022        .74205E-01   -.76473E-06    .67973E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.38644
  norm       = 14.5422
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.8697
  Prefactor  = 0.0001
  Prefactor  = 82.2473
  norm       = 1.21131
  Prefactor  = 61.7783
  Prefactor  = 0.563932
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4305
  Prefactor  = 0.000100002
  norm       = 1.87051
  norm       = 50.6602
  norm       = 0.0001
  Prefactor  = 20.834
  Normalizat = 0.785633
  Prefactor  = 1.00217
 **********
 **   18 **HESSE 
 **********

 FCN=   8269.994     FROM HESSE     STATUS=OK           364 CALLS     2952 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3864        167.54        .21402E-03   -1.5340    
   3  norm          14.542        6.5853        .10502E-03   -1.4945    
   4  norm          .10000E-03    .94074        .85204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .77083        .11664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.870        10.441        .10754E-03   -1.4963    
   8  Prefactor     .10000E-03    9.3035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     82.247        47.541        .44286E-04   -1.3892    
  10  norm          1.2113        2.0820        .16169E-03   -1.5488    
  11  Prefactor     61.778        42.112        .51047E-04   -1.4134    
  12  Prefactor     .56393        4.9836        .26405E-02   -1.5558    
  13  norm          .10000E-03    5.2999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.3435        .16234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    49.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.430        15.654        .82755E-04   -1.4739    
  17  Prefactor     .10000E-03    39.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.8705        25.035        .30522E-03   -1.5434    
  19  norm          50.660        32.343        .56340E-04   -1.4283    
  20  norm          .10000E-03    .88889        .83703E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.834        44.978        .87814E-04   -1.4795    
  22  Normalizat    .78563        .23409        .45717E-03   -1.0060    
  23  Prefactor     1.0022        .77654E-01    .15244E-03   -.92657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74655e-09
Minuit parameter uncertainties:
  1  4.70227e-06
  2  47.7802
  3  6.58566
  4  6.535e-06
  5  9.42602e-06
  6  6.67812e-06
  7  10.4423
  8  1.95817e-05
  9  47.5632
  10  2.08209
  11  42.1321
  12  3.35295
  13  2.33463e-07
  14  1.8549e-06
  15  7.61973e-07
  16  15.6569
  17  0.000563744
  18  13.6928
  19  32.3541
  20  3.39317e-06
  21  45.0512
  22  0.234392
  23  0.077663
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.002e+00  7.766e-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:  7.856e-01  2.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.93
Ra Dec: 113.472 4.928
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 6.33e-08
Energy Flux (Fixed Index): 3.42e-05 +/- 1.98e-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) = 8269.98578238
delta logL = 0.00809067344926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8269.98138657
delta logL = 0.0124864857062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    87.236       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3518       1.0000          .0000       10.000    
     3 'Normalizat'    .79199       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0010       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=   8269.981     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      285 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     87.240        59.514        .43015E-04   -.33830E-05
   2  Index         2.3518        .54504        .76777E-02    .39331E-03
   3  Normalizat    .79167        .20360        .45556E-03   -.34438E-05
   4  Prefactor     1.0011        .74066E-01    .15251E-03   -.96164E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 87.24
  Index      = 2.35184
  Normalizat = 0.791666
  Prefactor  = 1.00111
 **********
 **   18 **HESSE 
 **********

 FCN=   8269.981     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     87.240        57.919        .86030E-05   -1.3837    
   2  Index         2.3518        .52988        .15355E-02   -.55817    
   3  Normalizat    .79167        .20353        .18223E-04   -1.0038    
   4  Prefactor     1.0011        .74053E-01    .61002E-05   -.92693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66169e-12
Minuit parameter uncertainties:
  1  57.9566
  2  0.531265
  3  0.203725
  4  0.0740602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/491239': 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) = 8269.9813852
delta logL = 0.0124878522292

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.001e+00  7.406e-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:  7.917e-01  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.92
Ra Dec: 113.472 4.928
Photon Index (Free Index): 2.35 +/- 0.53
Photon Flux (Free Index): 1.03e-07 +/- 7.36e-08
Energy Flux (Free Index): 3.60e-05 +/- 2.41e-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/491239/cmap_HighResolution_398736001_398995201_4FGL_J0733.8+0455_daily_bin615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='3.60e-05', photon_flux_error='6.33e-08', dlogl='1.25e-02', energy_flux='3.42e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-08-27 15:14:59.919632', photon_index_error2='0.53', photon_index2='2.35', ts='4.93', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.41e-05', EG='0.79', time_epoch_completed='1630102499.92', return_code='0', job_id='491239', GAL2='1.00', EG2='0.79', return_code2='0', energy_flux_error='1.98e-05', photon_flux_error2='7.36e-08', ts2='4.92', photon_index='2.44' WHERE bin_id='615' AND source_name='4FGL J0733.8+0455' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 15:14:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0026>
Subject: Job 491239: <4FGL_J0733.8+0455_daily_bin615> in cluster <slac> Done

Job <4FGL_J0733.8+0455_daily_bin615> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Aug 27 15:00:40 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 15:03:31 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:03:31 2021
Terminated at Fri Aug 27 15:15:00 2021
Results reported at Fri Aug 27 15:15:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.8+0455_daily_bin615 113.472 4.9282 398736001 398995201 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 :                                   563.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            860 sec.

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

