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


Performing analysis on: 4FGL_J0533.8-3749_daily_bin1123
RA = 83.4749, Dec = -37.8309
tmin = 530409601, tmax = 530668801
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='573219', job_status='RUN', time_executed='2021-08-23 07:16:43.480629', time_epoch_executed='1629728203.48' WHERE source_name='4FGL J0533.8-3749' and cadence='daily' and bin_id='1123'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/573219

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/573219/ft1_4FGL_J0533.8-3749_daily_bin1123.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/573219/ft1_4FGL_J0533.8-3749_daily_bin1123.fits outfile=/scratch/kocevski/573219/ft1_filteredMKT_4FGL_J0533.8-3749_daily_bin1123.fits ra=83.4749 dec=-37.8309 rad=12.0 tmin=530409601.0 tmax=530668801.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 6.92
user 3.38
sys 0.70

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.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/573219/ft1_filteredMKT_4FGL_J0533.8-3749_daily_bin1123.fits evtable="EVENTS" outfile="/scratch/kocevski/573219/ft1_filtered_4FGL_J0533.8-3749_daily_bin1123.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.96
user 0.33
sys 0.62

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/573219/ft1_filtered_4FGL_J0533.8-3749_daily_bin1123.fits" evtable="EVENTS" scfile=/scratch/kocevski/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.fits sctable="SC_DATA" outfile=/scratch/kocevski/573219/ltcube_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.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/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.fits
.....................!
real 12.61
user 11.67
sys 0.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/573219/ft1_filtered_4FGL_J0533.8-3749_daily_bin1123.fits evtable="EVENTS" scfile=/scratch/kocevski/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.fits sctable="SC_DATA" expcube=/scratch/kocevski/573219/ltcube_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.fits outfile=/scratch/kocevski/573219/expmap_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.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/573219/ltcube_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.fits
.....................!
real 191.81
user 185.98
sys 5.36

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
Added 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J0533.8-3749 @ 83.4749 -37.8309

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/573219/ft1_filtered_4FGL_J0533.8-3749_daily_bin1123.fits scfile=/scratch/kocevski/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.fits outfile=/scratch/kocevski/573219/cmap_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.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=83.4749 yref=-37.8309 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.02
user 0.36
sys 0.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/573219/ft1_filtered_4FGL_J0533.8-3749_daily_bin1123.fits scfile=/scratch/kocevski/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.fits outfile=/scratch/kocevski/573219/cmap_HighResolution_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.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=83.4749 yref=-37.8309 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.02
user 0.36
sys 0.64

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/573219/ft1_filtered_4FGL_J0533.8-3749_daily_bin1123.fits evtable="EVENTS" scfile=/scratch/kocevski/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/573219/Model_4FGL_J0533.8-3749_daily_bin1123.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
Working on...
/scratch/kocevski/573219/ft1_filtered_4FGL_J0533.8-3749_daily_bin1123.fits.....................!
real 68.44
user 66.36
sys 1.85

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/573219/ft1_filtered_4FGL_J0533.8-3749_daily_bin1123.fits', '/scratch/kocevski/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.fits', expMap='/scratch/kocevski/573219/expmap_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.fits', expCube='/scratch/kocevski/573219/ltcube_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/573219/Model_4FGL_J0533.8-3749_daily_bin1123.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0533.8-3749'

4FGL J0533.8-3749
   Spectrum: PowerLaw
274    Prefactor:  1.799e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  1.207e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/573219/ft1_filtered_4FGL_J0533.8-3749_daily_bin1123.fits
Spacecraft file(s): /scratch/kocevski/573219/ft2_4FGL_J0533.8-3749_daily_bin1123.fits
Exposure map: /scratch/kocevski/573219/expmap_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.fits
Exposure cube: /scratch/kocevski/573219/ltcube_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/573219/Model_4FGL_J0533.8-3749_daily_bin1123.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) = 6148.82986344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.587       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3512       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0518       1.0000         .10000E-03   10000.    
     5 'norm      '    .22012       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10457E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1197       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.9256       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.2827       1.0000         .10000E-03   10000.    
    14 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5684       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    12.702       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .74032       1.0000         .10000E-03   10000.    
    21 'norm      '    1.3198       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10446E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    16.379       1.0000         .10000E-03   10000.    
    27 'norm      '    76.956       1.0000         .10000E-03   10000.    
    28 'Prefactor '    27.256       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.9845       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.4707       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .89146       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6148.824     FROM MIGRAD    STATUS=CONVERGED    823 CALLS     4168 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.588        13.842       -.15612E-06   -.14198E-04
   2  norm          1.3513        1.1909        .12472E-07    .65780E-04
   3  Prefactor     .10000E-03    1.2935        .91541E-07** at limit **
   4  Prefactor     3.1789        56.290        .29824E-05    .64660E-04
   5  norm          .17646        37.959       -.37473E-05    .13894E-03
   6  Prefactor     .10000E-03    87.658        .15981E-05** at limit **
   7  Prefactor     .10000E-03    3.9414        .90888E-07** at limit **
   8  Prefactor     .10000E-03    19.602        .13871E-06** at limit **
   9  Prefactor     3.1204        3.2519       -.18653E-06   -.36628E-03
  10  Prefactor     .10000E-03    1.9988        .51705E-07** at limit **
  11  norm          4.9257        2.5458       -.51371E-07   -.15752E-03
  12  Prefactor     .10000E-03    60.916        .23513E-06** at limit **
  13  norm          3.2825        4.2501       -.49705E-06   -.13344E-02
  14  norm          .10000E-03    5.3637        .20580E-05** at limit **
  15  Prefactor     6.5688        7.0139       -.48376E-06   -.21848E-03
  16  Prefactor     .10000E-03    6.3103        .27591E-06** at limit **
  17  Prefactor     .10000E-03    5.6055       -.32491E-07** at limit **
  18  norm          12.703        6.5336       -.15890E-07   -.16274E-04
  19  Prefactor     .10000E-03    30.545        .41956E-06** at limit **
  20  norm          .74030        .77620        .20327E-07   -.15255E-03
  21  norm          1.3197        2.4061       -.46798E-06   -.35757E-03
  22  norm          .10000E-03    5.1009        .38911E-07** at limit **
  23  Prefactor     .10000E-03    40.142       -.95169E-06** at limit **
  24  Prefactor     .10000E-03    8.3386       -.17733E-08** at limit **
  25  Prefactor     .10000E-03    113.37       -.86099E-07** at limit **
  26  Prefactor     16.384        16.247       -.24554E-07   -.16717E-04
  27  norm          76.970        44.549        .79888E-06    .37521E-04
  28  Prefactor     27.238        36.929       -.37921E-06    .86070E-06
  29  Prefactor     1.9826        7.9209       -.17672E-05   -.17630E-03
  30  Normalizat    1.4706        .24222        .49199E-06   -.21327E-03
  31  Prefactor     .89152        .18066       -.30639E-06   -.22064E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.5878
  norm       = 1.35133
  Prefactor  = 0.0001
  Prefactor  = 3.17893
  norm       = 0.176465
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.12043
  Prefactor  = 0.0001
  norm       = 4.92567
  Prefactor  = 0.0001
  norm       = 3.28251
  norm       = 0.000100004
  Prefactor  = 6.56878
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.7028
  Prefactor  = 0.0001
  norm       = 0.740296
  norm       = 1.31966
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.3839
  norm       = 76.9695
  Prefactor  = 27.2384
  Prefactor  = 1.98265
  Normalizat = 1.47062
  Prefactor  = 0.89152
 **********
 **   18 **HESSE 
 **********

 FCN=   6148.824     FROM HESSE     STATUS=OK           624 CALLS     4792 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.588        13.833        .90499E-04   -1.4823    
   2  norm          1.3513        1.2060        .77608E-04   -1.5475    
   3  Prefactor     .10000E-03    1.3107        .87033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1789        68.626        .23224E-03   -1.5351    
   5  norm          .17646        48.343        .31446E-02   -1.5624    
   6  Prefactor     .10000E-03    87.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9928        .15199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1204        3.2397        .13330E-03   -1.5355    
  10  Prefactor     .10000E-03    2.0156        .10818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.9257        2.5424        .86061E-04   -1.5264    
  12  Prefactor     .10000E-03    61.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.2825        4.1421        .17225E-03   -1.5346    
  14  norm          .10000E-03    6.5966        .26252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.5688        7.0221        .15658E-03   -1.5195    
  16  Prefactor     .10000E-03    6.3109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.6060        .18121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.703        6.5433        .11239E-03   -1.4995    
  19  Prefactor     .10000E-03    30.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .74030        .76528        .67943E-04   -1.5536    
  21  norm          1.3197        2.3933        .15547E-03   -1.5478    
  22  norm          .10000E-03    5.1047        .17297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    40.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    8.3453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    114.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     16.384        16.248        .98964E-04   -1.4898    
  27  norm          76.970        44.571        .45775E-04   -1.3951    
  28  Prefactor     27.238        36.920        .76735E-04   -1.4664    
  29  Prefactor     1.9826        8.0128        .29418E-03   -1.5426    
  30  Normalizat    1.4706        .28424        .28151E-03   -.78607    
  31  Prefactor     .89152        .21113        .27038E-03   -.96438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33152e-09
Minuit parameter uncertainties:
  1  13.8356
  2  1.20599
  3  2.04987e-06
  4  29.5785
  5  5.84461
  6  0.000124785
  7  3.87633e-06
  8  1.20887e-07
  9  3.2399
  10  4.04041e-06
  11  2.54245
  12  8.75599e-05
  13  4.14249
  14  0.000324438
  15  7.02294
  16  2.00422e-07
  17  4.81487e-06
  18  6.54371
  19  5.05054e-08
  20  0.765292
  21  2.39352
  22  1.02313e-06
  23  6.57773e-05
  24  3.51969e-06
  25  5.54554e-05
  26  16.252
  27  44.5901
  28  36.9514
  29  7.97324
  30  0.284551
  31  0.211328
Done.

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

Extracting fit parameters...

4FGL J0533.8-3749
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  2.004e-07  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  1.207e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.915e-01  2.113e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.471e+00  2.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 83.475 -37.831
Photon Flux Upper Limit: 7.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/573219/likelihoodResults_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.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) = 6148.82503874
delta logL = -0.000750977758798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6148.8242878
delta logL = -3.92383299186e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3277       1.0000          .0000       10.000    
     3 'Normalizat'    1.4707       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+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=   6148.824     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10133E-03    92.941        .18142E-02** at limit **
   2  Index         2.2584        5.8791        .50000        .15127E-04
   3  Normalizat    1.4706        .22105E-01    .28151E-03   -.32711E-05
   4  Prefactor     .89152        .17146E-01    .27038E-03   -.31956E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101334
  Index      = 2.25839
  Normalizat = 1.47062
  Prefactor  = 0.891521
 **********
 **   18 **HESSE 
 **********

 FCN=   6148.824     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10133E-03    387.18        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2584        6.1327        .50000       -.58036    
   3  Normalizat    1.4706        .47936E-01    .11261E-04   -.78607    
   4  Prefactor     .89152        .37179E-01    .10815E-04   -.96438    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.48561e-08
Minuit parameter uncertainties:
  1  0.0457599
  2  982.379
  3  0.047937
  4  0.0371797
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/573219': 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) = 6148.82428753
delta logL = 2.34186700254e-07

Extracting fit parameters...

4FGL J0533.8-3749
   Spectrum: PowerLaw
274    Prefactor:  1.013e-04  4.576e-02  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.258e+00  9.824e+02  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  1.207e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  8.915e-01  3.718e-02  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  1.471e+00  4.794e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 83.475 -37.831

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/573219/cmap_HighResolution_530409601_530668801_4FGL_J0533.8-3749_daily_bin1123.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2021-08-23 07:32:19.005341', job_id='573219', GAL2='0.89', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1629729139.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.34e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1123' AND source_name='4FGL J0533.8-3749' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 23 07:32:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 573219: <4FGL_J0533.8-3749_daily_bin1123> in cluster <slac> Done

Job <4FGL_J0533.8-3749_daily_bin1123> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 23 07:15:52 2021
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 23 07:15:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 23 07:15:54 2021
Terminated at Mon Aug 23 07:32:19 2021
Results reported at Mon Aug 23 07:32:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0533.8-3749_daily_bin1123 83.4749 -37.8309 530409601 530668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0533.8-3749 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   934.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            987 sec.

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

