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


Performing analysis on: 4FGL_J0303.4-2407_daily_bin1495
RA = 45.8625, Dec = -24.1225
tmin = 626832001, tmax = 627091201
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='93543', job_status='RUN', time_executed='2021-08-17 11:46:53.494796', time_epoch_executed='1629226013.49' WHERE source_name='4FGL J0303.4-2407' and cadence='daily' and bin_id='1495'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93543

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93543/ft1_4FGL_J0303.4-2407_daily_bin1495.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93543/ft1_4FGL_J0303.4-2407_daily_bin1495.fits outfile=/scratch/kocevski/93543/ft1_filteredMKT_4FGL_J0303.4-2407_daily_bin1495.fits ra=45.8625 dec=-24.1225 rad=12.0 tmin=626832001.0 tmax=627091201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.72
user 2.76
sys 0.84

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.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/93543/ft1_filteredMKT_4FGL_J0303.4-2407_daily_bin1495.fits evtable="EVENTS" outfile="/scratch/kocevski/93543/ft1_filtered_4FGL_J0303.4-2407_daily_bin1495.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.39
user 0.36
sys 0.78

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93543/ft1_filtered_4FGL_J0303.4-2407_daily_bin1495.fits" evtable="EVENTS" scfile=/scratch/kocevski/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.fits sctable="SC_DATA" outfile=/scratch/kocevski/93543/ltcube_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.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/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.fits
.....................!
real 14.55
user 13.30
sys 1.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93543/ft1_filtered_4FGL_J0303.4-2407_daily_bin1495.fits evtable="EVENTS" scfile=/scratch/kocevski/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.fits sctable="SC_DATA" expcube=/scratch/kocevski/93543/ltcube_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.fits outfile=/scratch/kocevski/93543/expmap_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.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/93543/ltcube_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.fits
.....................!
real 194.27
user 187.31
sys 5.40

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 Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 161 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 J0303.4-2407 @ 45.8625 -24.1225

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/93543/ft1_filtered_4FGL_J0303.4-2407_daily_bin1495.fits scfile=/scratch/kocevski/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.fits outfile=/scratch/kocevski/93543/cmap_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.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=45.8625 yref=-24.1225 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.71
user 0.39
sys 0.77

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93543/ft1_filtered_4FGL_J0303.4-2407_daily_bin1495.fits scfile=/scratch/kocevski/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.fits outfile=/scratch/kocevski/93543/cmap_HighResolution_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.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=45.8625 yref=-24.1225 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 2.13
user 0.38
sys 0.78

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/93543/ft1_filtered_4FGL_J0303.4-2407_daily_bin1495.fits evtable="EVENTS" scfile=/scratch/kocevski/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93543/Model_4FGL_J0303.4-2407_daily_bin1495.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/93543/ft1_filtered_4FGL_J0303.4-2407_daily_bin1495.fits.....................!
real 111.60
user 99.78
sys 1.95

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/93543/ft1_filtered_4FGL_J0303.4-2407_daily_bin1495.fits', '/scratch/kocevski/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.fits', expMap='/scratch/kocevski/93543/expmap_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.fits', expCube='/scratch/kocevski/93543/ltcube_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/93543/Model_4FGL_J0303.4-2407_daily_bin1495.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0303.4-2407'

4FGL J0303.4-2407
   Spectrum: LogParabola
245         norm:  5.310e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
246        alpha:  1.849e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
247         beta:  3.126e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
248           Eb:  9.451e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/93543/ft1_filtered_4FGL_J0303.4-2407_daily_bin1495.fits
Spacecraft file(s): /scratch/kocevski/93543/ft2_4FGL_J0303.4-2407_daily_bin1495.fits
Exposure map: /scratch/kocevski/93543/expmap_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.fits
Exposure cube: /scratch/kocevski/93543/ltcube_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/93543/Model_4FGL_J0303.4-2407_daily_bin1495.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) = 4856.21276891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6289       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3854       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.674       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.5901       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.3428       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0586       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.6382       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .92525E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12870E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    94.311       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2371       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .42282E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.7438       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.9261       1.0000         .10000E-03   10000.    
    24 'norm      '    14.070       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2179       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .99635       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4856.195     FROM MIGRAD    STATUS=CONVERGED    676 CALLS     3327 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6271        9.0143        .34647E-06    .80525E-05
   2  norm          .90806        2175.7       -.59476E-05    .15583E-05
   3  Prefactor     12.669        11.145        .11837E-06    .93921E-06
   4  Prefactor     9.5344        118.80       -.12979E-04    .18222E-05
   5  Prefactor     .10000E-03    17.377       -.52045E-07** at limit **
   6  Prefactor     .10000E-03    16.487       -.11114E-06** at limit **
   7  Prefactor     .10000E-03    1.9055       -.13733E-07** at limit **
   8  Prefactor     .10000E-03    16.593       -.64982E-07** at limit **
   9  norm          3.3428        2.8346        .62772E-07    .17917E-04
  10  Prefactor     2.0581        120.44        .10587E-05    .10378E-05
  11  Prefactor     .10000E-03    53.293       -.22702E-06** at limit **
  12  Prefactor     .10000E-03    5.8405       -.52112E-07** at limit **
  13  norm          3.6380        3.2224        .73373E-08    .26312E-05
  14  Prefactor     .10000E-03    11.017        .33778E-07** at limit **
  15  Prefactor     .10000E-03    529.09       -.83168E-05** at limit **
  16  Prefactor     .10000E-03    2.9875       -.42458E-07** at limit **
  17  Prefactor     .10000E-03    56.900       -.35874E-07** at limit **
  18  Prefactor     94.346        65.177        .21293E-06   -.42051E-05
  19  Prefactor     .10000E-03    17.341        .27762E-08** at limit **
  20  Prefactor     4.3694        179.09        .19879E-05   -.39200E-05
  21  Prefactor     .45138E-01    1.4827       -.18913E-06    .24292E-03
  22  Prefactor     3.7431        6.1041        .10990E-06    .13304E-04
  23  Prefactor     2.9276        4.9407        .69593E-07    .22667E-04
  24  norm          14.069        2.4200        .21294E-08    .12094E-04
  25  norm          .10000E-03    .60905        .23069E-07** at limit **
  26  Normalizat    1.2183        .22236       -.88129E-06    .35656E-04
  27  Prefactor     .99611        .21829        .10858E-05   -.17818E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.6271
  norm       = 0.908062
  Prefactor  = 12.6688
  Prefactor  = 9.53443
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.34283
  Prefactor  = 2.05806
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.63799
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 94.3465
  Prefactor  = 0.0001
  Prefactor  = 4.36942
  Prefactor  = 0.0451375
  Prefactor  = 3.7431
  Prefactor  = 2.92758
  norm       = 14.0691
  norm       = 0.0001
  Normalizat = 1.21827
  Prefactor  = 0.996113
 **********
 **   18 **HESSE 
 **********

 FCN=   4856.195     FROM HESSE     STATUS=OK           494 CALLS     3821 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6271        9.1171        .93535E-03   -1.5278    
   2  norm          .90806        6277.0        .36950E-02   -1.5517    
   3  Prefactor     12.669        11.174        .11252E-03   -1.4996    
   4  Prefactor     9.5344        128.26        .12940E-03   -1.5090    
   5  Prefactor     .10000E-03    17.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.470        .18668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.3428        2.8389        .51423E-03   -1.5342    
  10  Prefactor     2.0581        123.17        .14402E-02   -1.5421    
  11  Prefactor     .10000E-03    53.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.8464        .16448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.6380        3.2233        .11387E-03   -1.5326    
  14  Prefactor     .10000E-03    11.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    527.91        .20813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.9910        .11763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    57.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     94.346        65.343        .41385E-04   -1.3762    
  19  Prefactor     .10000E-03    17.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.3694        181.69        .19575E-03   -1.5290    
  21  Prefactor     .45138E-01    15.822        .16237E-02   -1.5666    
  22  Prefactor     3.7431        6.0716        .19192E-03   -1.5321    
  23  Prefactor     2.9276        5.0186        .91121E-03   -1.5366    
  24  norm          14.069        2.4204        .42471E-04   -1.4958    
  25  norm          .10000E-03    .61264        .53095E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2183        .26173        .26285E-03   -.86040    
  27  Prefactor     .99611        .25633        .29404E-03   -.92859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.903e-10
Minuit parameter uncertainties:
  1  9.11981
  2  102.801
  3  11.1756
  4  70.1236
  5  7.56527e-07
  6  3.88134e-06
  7  5.27549e-06
  8  1.26018e-06
  9  2.83901
  10  31.911
  11  3.25216e-05
  12  1.59134e-07
  13  3.22341
  14  8.81381e-07
  15  0.00268886
  16  1.06788e-06
  17  6.59304e-05
  18  65.3933
  19  2.16594e-06
  20  56.5355
  21  1.68874
  22  6.0726
  23  5.01927
  24  2.4204
  25  1.09047e-07
  26  0.262017
  27  0.256645
Done.

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

Extracting fit parameters...

4FGL J0303.4-2407
   Spectrum: LogParabola
245         norm:  3.638e+00  3.223e+00  1.000e-04  1.000e+04 ( 1.000e-12)
246        alpha:  1.849e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
247         beta:  3.126e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
248           Eb:  9.451e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  9.961e-01  2.566e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.218e+00  2.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.79
Ra Dec: 45.862 -24.122
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 2.52e-08 +/- 2.24e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 2.05e-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) = 4856.19478012
delta logL = 0.000425440530307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4856.19476842
delta logL = 0.000437142568444

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6284       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8317       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2187       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4856.195     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      205 TOTAL
                     EDM=   .51E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6187        8.4137        .53024E-02   -.80837E-05
   2  alpha         1.8294        1.2831        .39744        .19520E-06
   3  Normalizat    1.2188        .21081        .59425E-01    .13945E-04
   4  Prefactor     .99600        .21465        .66486E-01    .12376E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.61867
  alpha      = 1.82944
  Normalizat = 1.21878
  Prefactor  = 0.995995
 **********
 **   18 **HESSE 
 **********

 FCN=   4856.195     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6187        3.2621        .11403E-03   -1.5327    
   2  alpha         1.8294        .62899        .14397E-01   -.27155    
   3  Normalizat    1.2188        .24242        .26281E-03   -.86025    
   4  Prefactor     .99600        .24853        .29406E-03   -.92863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26092e-12
Minuit parameter uncertainties:
  1  3.26231
  2  0.636365
  3  0.242644
  4  0.248818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93543': 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) = 4856.19475937
delta logL = 0.000446186812951

Extracting fit parameters...

4FGL J0303.4-2407
   Spectrum: LogParabola
245         norm:  3.619e+00  3.262e+00  1.000e-04  1.000e+04 ( 1.000e-12)
246        alpha:  1.829e+00  6.364e-01  0.000e+00  5.000e+00 ( 1.000e+00)
247         beta:  3.126e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
248           Eb:  9.451e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  9.960e-01  2.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.219e+00  2.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.79
Ra Dec: 45.862 -24.122
Photon Index (Free Index): 1.83 +/- 0.64
Photon Flux (Free Index): 2.46e-08 +/- 2.99e-08
Energy Flux (Free Index): 2.37e-05 +/- 2.86e-05

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/93543/cmap_HighResolution_626832001_627091201_4FGL_J0303.4-2407_daily_bin1495.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.52e-08', energy_flux2='2.37e-05', photon_flux_error='2.24e-08', dlogl='4.46e-04', energy_flux='2.31e-05', photon_flux2='2.46e-08', job_status='DONE', time_completed='2021-08-17 11:57:43.881308', photon_index_error2='0.64', photon_index2='1.83', ts='4.79', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.86e-05', EG='1.22', time_epoch_completed='1629226663.88', return_code='0', job_id='93543', GAL2='1.00', EG2='1.22', return_code2='0', energy_flux_error='2.05e-05', photon_flux_error2='2.99e-08', ts2='4.79', photon_index='1.85' WHERE bin_id='1495' AND source_name='4FGL J0303.4-2407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 11:57:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 93543: <4FGL_J0303.4-2407_daily_bin1495> in cluster <slac> Done

Job <4FGL_J0303.4-2407_daily_bin1495> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 17 11:42:12 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 11:46:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 17 11:46:22 2021
Terminated at Tue Aug 17 11:57:44 2021
Results reported at Tue Aug 17 11:57:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0303.4-2407_daily_bin1495 45.8625 -24.1225 626832001 627091201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0303.4-2407 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   642.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             348.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            932 sec.

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

