/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 112 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 = 7436
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0733.8+0455_daily_bin204
RA = 113.472, Dec = 4.9282
tmin = 292204801, tmax = 292464001
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='488263', job_status='RUN', time_executed='2021-08-27 14:53:03.992534', time_epoch_executed='1630101183.99' WHERE source_name='4FGL J0733.8+0455' and cadence='daily' and bin_id='204'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/488263

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/488263/ft1_4FGL_J0733.8+0455_daily_bin204.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/488263/ft2_4FGL_J0733.8+0455_daily_bin204.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/488263/ft1_4FGL_J0733.8+0455_daily_bin204.fits outfile=/scratch/kocevski/488263/ft1_filteredMKT_4FGL_J0733.8+0455_daily_bin204.fits ra=113.472 dec=4.9282 rad=12.0 tmin=292204801.0 tmax=292464001.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 10.45
user 9.17
sys 1.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/488263/ft1_filtered_4FGL_J0733.8+0455_daily_bin204.fits" evtable="EVENTS" scfile=/scratch/kocevski/488263/ft2_4FGL_J0733.8+0455_daily_bin204.fits sctable="SC_DATA" outfile=/scratch/kocevski/488263/ltcube_292204801_292464001_4FGL_J0733.8+0455_daily_bin204.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/488263/ft2_4FGL_J0733.8+0455_daily_bin204.fits
.....................!
real 12.52
user 10.95
sys 1.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/488263/ft1_filtered_4FGL_J0733.8+0455_daily_bin204.fits evtable="EVENTS" scfile=/scratch/kocevski/488263/ft2_4FGL_J0733.8+0455_daily_bin204.fits sctable="SC_DATA" expcube=/scratch/kocevski/488263/ltcube_292204801_292464001_4FGL_J0733.8+0455_daily_bin204.fits outfile=/scratch/kocevski/488263/expmap_292204801_292464001_4FGL_J0733.8+0455_daily_bin204.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/488263/ltcube_292204801_292464001_4FGL_J0733.8+0455_daily_bin204.fits
.....................!
real 192.50
user 185.87
sys 5.74

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/488263/ft1_filtered_4FGL_J0733.8+0455_daily_bin204.fits scfile=/scratch/kocevski/488263/ft2_4FGL_J0733.8+0455_daily_bin204.fits outfile=/scratch/kocevski/488263/cmap_292204801_292464001_4FGL_J0733.8+0455_daily_bin204.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 1.44
user 0.37
sys 1.05

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/488263/ft1_filtered_4FGL_J0733.8+0455_daily_bin204.fits scfile=/scratch/kocevski/488263/ft2_4FGL_J0733.8+0455_daily_bin204.fits outfile=/scratch/kocevski/488263/cmap_HighResolution_292204801_292464001_4FGL_J0733.8+0455_daily_bin204.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 1.56
user 0.37
sys 1.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10726E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10500E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10100E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10150E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.9088       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .38696E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.7365       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10472E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.9153       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0497       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.128       1.0000         .10000E-03   10000.    
    13 'norm      '    .10149E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.632       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .60504E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .34409E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .13341E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.4635       1.0000         .10000E-03   10000.    
    21 'Prefactor '    37.532       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .58097       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98320       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=   6479.605     FROM MIGRAD    STATUS=CONVERGED    902 CALLS     2932 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.703        .18142E-02** at limit **
   2  Prefactor     .10000E-03    27.838        .18142E-02** at limit **
   3  norm          .10000E-03    3.3636        .14373E-02** at limit **
   4  norm          .10000E-03    1.1313        .82640E-03** at limit **
   5  norm          5.9092        1.8360        .57855E-04    .19454E-04
   6  Prefactor     .10033E-03    54.161        .17561    ** at limit **
   7  Prefactor     .10018E-03    38.299        .43369E-02** at limit **
   8  Prefactor     5.7340        12.142        .16770E-03   -.15321E-04
   9  Prefactor     .10000E-03    21.624        .18142E-02** at limit **
  10  norm          9.9164        3.2438        .77270E-04   -.40887E-03
  11  Prefactor     2.0356        131.76        .28875E-03    .11024E-05
  12  Prefactor     12.127        4.7443        .10153E-03   -.23515E-04
  13  norm          .10000E-03    5.7644        .18142E-02** at limit **
  14  Prefactor     12.627        11.427        .11271E-03    .49790E-04
  15  Prefactor     .10000E-03    51.646        .18142E-02** at limit **
  16  Prefactor     .10000E-03    11.793        .18142E-02** at limit **
  17  Prefactor     .10006E-03    233.34        .42119E-03** at limit **
  18  norm          .10002E-03    38.102        .41929E-02** at limit **
  19  norm          .10000E-03    31.506        .18142E-02** at limit **
  20  norm          3.4654        3.3513        .14039E-03    .20690E-03
  21  Prefactor     37.556        43.917        .65420E-04    .12363E-03
  22  Normalizat    .58093        .23464        .49005E-03    .15729E-04
  23  Prefactor     .98313        .79213E-01    .14358E-03   -.24498E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.90925
  Prefactor  = 0.000100332
  Prefactor  = 0.00010018
  Prefactor  = 5.73402
  Prefactor  = 0.0001
  norm       = 9.91644
  Prefactor  = 2.03561
  Prefactor  = 12.1268
  norm       = 0.0001
  Prefactor  = 12.6271
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100059
  norm       = 0.000100015
  norm       = 0.0001
  norm       = 3.46544
  Prefactor  = 37.5565
  Normalizat = 0.580931
  Prefactor  = 0.98313
 **********
 **   18 **HESSE 
 **********

 FCN=   6479.605     FROM HESSE     STATUS=OK           356 CALLS     3288 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.704        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.839        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.3641        .28747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.1314        .16528E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.9092        1.8359        .23142E-05   -1.5222    
   6  Prefactor     .10033E-03    54.553        .17462       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10018E-03    38.740        .86738E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.7340        12.141        .67080E-05   -1.5229    
   9  Prefactor     .10000E-03    21.625        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.9164        3.2435        .30908E-05   -1.5078    
  11  Prefactor     2.0356        131.75        .11550E-04   -1.5423    
  12  Prefactor     12.127        4.7441        .40611E-05   -1.5011    
  13  norm          .10000E-03    5.7644        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.627        11.427        .22541E-04   -1.4997    
  15  Prefactor     .10000E-03    51.647        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.797        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10006E-03    233.35        .84238E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10002E-03    38.542        .83858E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    31.516        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.4654        3.3511        .56158E-05   -1.5336    
  21  Prefactor     37.556        43.914        .13084E-04   -1.4482    
  22  Normalizat    .58093        .23453        .19602E-04   -1.0880    
  23  Prefactor     .98313        .79208E-01    .28716E-04   -.93294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55122e-09
Minuit parameter uncertainties:
  1  2.25572e-05
  2  8.65632e-05
  3  1.58437e-05
  4  1.6329e-05
  5  1.8359
  6  0.00852427
  7  0.0052919
  8  12.1466
  9  6.2001e-05
  10  3.24357
  11  32.8276
  12  4.74424
  13  5.87375e-06
  14  11.429
  15  3.70749e-05
  16  7.02283e-05
  17  0.00748016
  18  0.00152827
  19  8.40235e-05
  20  3.35132
  21  43.9519
  22  0.234936
  23  0.0792171
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  9.831e-01  7.922e-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:  5.809e-01  2.349e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.472 4.928
Photon Flux Upper Limit: 9.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/488263/likelihoodResults_292204801_292464001_4FGL_J0733.8+0455_daily_bin204.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6479.60486677
delta logL = -0.000220333179641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6479.6046464
delta logL = 3.82970029023e-08

Fit tolerance = 1e-08

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

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

 FCN=   6479.605     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      218 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1491.4        .90712E-02** at limit **
   2  Index         2.4784        5.1091        .50000       -.89826E-05
   3  Normalizat    .58093        .59021E-01    .11047        .56001E-04
   4  Prefactor     .98313        .22222E-01    .32490E-01    .19165E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.47845
  Normalizat = 0.58093
  Prefactor  = 0.98313
 **********
 **   18 **HESSE 
 **********

 FCN=   6479.605     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      251 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6881.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4784        6.0476        .50000       -.52858    
   3  Normalizat    .58093        .12943        .49006E-03   -1.0880    
   4  Prefactor     .98313        .48986E-01    .14358E-03   -.93294    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.80649e-10
Minuit parameter uncertainties:
  1  0.00427111
  2  60.4581
  3  0.129498
  4  0.0489884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/488263': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6479.60464635
delta logL = 8.2987753558e-08

Extracting fit parameters...

4FGL J0733.8+0455
   Spectrum: PowerLaw
215    Prefactor:  1.000e-04  4.271e-03  1.000e-04  1.000e+04 ( 1.000e-13)
216        Index:  2.478e+00  6.046e+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:  9.831e-01  4.899e-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:  5.809e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.472 4.928

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/488263/cmap_HighResolution_292204801_292464001_4FGL_J0733.8+0455_daily_bin204.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.39e-03', job_status='DONE', photon_flux_upper_limit='9.54e-08', time_completed='2021-08-27 15:05:42.335111', job_id='488263', GAL2='0.98', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1630101942.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='8.30e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='204' AND source_name='4FGL J0733.8+0455' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 15:05:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 488263: <4FGL_J0733.8+0455_daily_bin204> in cluster <slac> Done

Job <4FGL_J0733.8+0455_daily_bin204> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 27 14:50:33 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 14:50:46 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:50:46 2021
Terminated at Fri Aug 27 15:05:42 2021
Results reported at Fri Aug 27 15:05:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.8+0455_daily_bin204 113.472 4.9282 292204801 292464001 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 :                                   770.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             296.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            909 sec.

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

