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


Performing analysis on: 4FGL_J0303.4-2407_daily_bin300
RA = 45.8625, Dec = -24.1225
tmin = 317088001, tmax = 317347201
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='84479', job_status='RUN', time_executed='2021-08-17 11:15:35.228158', time_epoch_executed='1629224135.23' WHERE source_name='4FGL J0303.4-2407' and cadence='daily' and bin_id='300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/84479

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/84479/ft1_4FGL_J0303.4-2407_daily_bin300.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/84479/ft2_4FGL_J0303.4-2407_daily_bin300.fits


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

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

Done.
real 5.04
user 3.63
sys 1.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/84479/ft2_4FGL_J0303.4-2407_daily_bin300.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/84479/ft1_filteredMKT_4FGL_J0303.4-2407_daily_bin300.fits evtable="EVENTS" outfile="/scratch/kocevski/84479/ft1_filtered_4FGL_J0303.4-2407_daily_bin300.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.53
user 0.33
sys 1.07

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/84479/ft1_filtered_4FGL_J0303.4-2407_daily_bin300.fits" evtable="EVENTS" scfile=/scratch/kocevski/84479/ft2_4FGL_J0303.4-2407_daily_bin300.fits sctable="SC_DATA" outfile=/scratch/kocevski/84479/ltcube_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.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/84479/ft2_4FGL_J0303.4-2407_daily_bin300.fits
.....................!
real 14.10
user 12.39
sys 1.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/84479/ft1_filtered_4FGL_J0303.4-2407_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/84479/ft2_4FGL_J0303.4-2407_daily_bin300.fits sctable="SC_DATA" expcube=/scratch/kocevski/84479/ltcube_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.fits outfile=/scratch/kocevski/84479/expmap_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.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/84479/ltcube_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.fits
.....................!
real 195.07
user 185.84
sys 6.81

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/84479/ft1_filtered_4FGL_J0303.4-2407_daily_bin300.fits scfile=/scratch/kocevski/84479/ft2_4FGL_J0303.4-2407_daily_bin300.fits outfile=/scratch/kocevski/84479/cmap_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.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.56
user 0.37
sys 1.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/84479/ft1_filtered_4FGL_J0303.4-2407_daily_bin300.fits scfile=/scratch/kocevski/84479/ft2_4FGL_J0303.4-2407_daily_bin300.fits outfile=/scratch/kocevski/84479/cmap_HighResolution_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.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 1.49
user 0.38
sys 1.05

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/84479/ft1_filtered_4FGL_J0303.4-2407_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/84479/ft2_4FGL_J0303.4-2407_daily_bin300.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/84479/Model_4FGL_J0303.4-2407_daily_bin300.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/84479/ft1_filtered_4FGL_J0303.4-2407_daily_bin300.fits.....................!
real 126.79
user 121.96
sys 2.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/84479/ft1_filtered_4FGL_J0303.4-2407_daily_bin300.fits', '/scratch/kocevski/84479/ft2_4FGL_J0303.4-2407_daily_bin300.fits', expMap='/scratch/kocevski/84479/expmap_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.fits', expCube='/scratch/kocevski/84479/ltcube_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/84479/Model_4FGL_J0303.4-2407_daily_bin300.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/84479/ft1_filtered_4FGL_J0303.4-2407_daily_bin300.fits
Spacecraft file(s): /scratch/kocevski/84479/ft2_4FGL_J0303.4-2407_daily_bin300.fits
Exposure map: /scratch/kocevski/84479/expmap_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.fits
Exposure cube: /scratch/kocevski/84479/ltcube_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/84479/Model_4FGL_J0303.4-2407_daily_bin300.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) = 5908.59178221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    17.888       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.772       1.0000         .10000E-03   10000.    
     4 'Prefactor '    64.906       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .98775       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.7852       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .45829E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.6941       1.0000         .10000E-03   10000.    
    13 'norm      '    4.2331       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10955E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.3474       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11498E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.414       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .23342E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.0183       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.3922       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .86527       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .78346       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5908.588     FROM MIGRAD    STATUS=CONVERGED   1186 CALLS     3860 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5816        .94218E-03** at limit **
   2  norm          17.925        63.339        .94697E-04    .29893E-04
   3  Prefactor     10.770        5.8901        .12207E-03   -.64819E-04
   4  Prefactor     64.837        54.481        .49813E-04    .11544E-03
   5  Prefactor     .10000E-03    18.549        .18142E-02** at limit **
   6  Prefactor     .10000E-03    15.930        .18142E-02** at limit **
   7  Prefactor     .98401        2.9897        .22665E-03   -.18459E-04
   8  Prefactor     .10000E-03    10.855        .18142E-02** at limit **
   9  norm          5.7848        2.0772        .63131E-04   -.22528E-03
  10  Prefactor     .10000E-03    4.8363        .16466E-02** at limit **
  11  Prefactor     .10002E-03    63.006        .16945    ** at limit **
  12  Prefactor     5.6935        8.0836        .84166E-03   -.28487E-03
  13  norm          4.2327        2.5672        .92602E-04   -.61139E-04
  14  Prefactor     .10000E-03    8.3005        .18142E-02** at limit **
  15  Prefactor     .10000E-03    54.819        .18142E-02** at limit **
  16  Prefactor     1.3467        3.0206        .19350E-03   -.32138E-04
  17  Prefactor     .10000E-03    8.3577        .18142E-02** at limit **
  18  Prefactor     .10000E-03    25.498        .18142E-02** at limit **
  19  Prefactor     18.407        23.561        .93335E-04    .85264E-06
  20  Prefactor     .10000E-03    102.51        .18142E-02** at limit **
  21  Prefactor     1.0182        1.0862        .80133E-04    .18443E-05
  22  Prefactor     .10000E-03    2.5193        .23277E-03** at limit **
  23  Prefactor     .10000E-03    .83646        .68426E-03** at limit **
  24  norm          .10000E-03    .21247        .18142E-03** at limit **
  25  norm          1.3923        .97513        .61702E-04   -.16620E-03
  26  Normalizat    .86524        .15981        .21149E-03   -.45671E-03
  27  Prefactor     .78378        .16236        .23007E-03   -.11627E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 17.9252
  Prefactor  = 10.7705
  Prefactor  = 64.8366
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.984009
  Prefactor  = 0.0001
  norm       = 5.78478
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 5.69351
  norm       = 4.23266
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.34675
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.4068
  Prefactor  = 0.000100001
  Prefactor  = 1.01818
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.39228
  Normalizat = 0.865241
  Prefactor  = 0.783777
 **********
 **   18 **HESSE 
 **********

 FCN=   5908.588     FROM HESSE     STATUS=OK           470 CALLS     4330 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5817        .18844E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          17.925        63.254        .37879E-05   -1.4861    
   3  Prefactor     10.770        5.8901        .48829E-05   -1.5051    
   4  Prefactor     64.837        54.465        .99626E-05   -1.4096    
   5  Prefactor     .10000E-03    18.550        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.932        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .98401        2.9895        .90659E-05   -1.5510    
   8  Prefactor     .10000E-03    10.855        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.7848        2.0772        .25253E-05   -1.5227    
  10  Prefactor     .10000E-03    4.8371        .32932E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    68.112        .16107       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.6935        8.0825        .33666E-04   -1.5231    
  13  norm          4.2327        2.5672        .37041E-05   -1.5296    
  14  Prefactor     .10000E-03    8.3034        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    54.819        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.3467        3.0202        .77400E-05   -1.5476    
  17  Prefactor     .10000E-03    8.3592        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    25.503        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.407        23.562        .37334E-05   -1.4850    
  20  Prefactor     .10000E-03    102.59        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.0182        1.0861        .32053E-05   -1.5506    
  22  Prefactor     .10000E-03    2.5193        .46553E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    .83649        .13685E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .21248        .36285E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.3923        .97512        .24681E-05   -1.5472    
  26  Normalizat    .86524        .15992        .42298E-04   -.97692    
  27  Prefactor     .78378        .16248        .92029E-05   -1.0033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18104e-10
Minuit parameter uncertainties:
  1  8.99015e-06
  2  63.4922
  3  5.89046
  4  54.507
  5  1.29069e-05
  6  2.34276e-05
  7  2.98992
  8  5.98009e-06
  9  2.07721
  10  9.44675e-06
  11  0.00219775
  12  8.08403
  13  2.56723
  14  1.40967e-05
  15  1.93364e-05
  16  3.02056
  17  2.10704e-05
  18  5.18324e-05
  19  23.5742
  20  0.000744871
  21  1.08616
  22  1.1055e-05
  23  1.54769e-06
  24  1.26819e-07
  25  0.975132
  26  0.16001
  27  0.162579
Done.

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

Extracting fit parameters...

4FGL J0303.4-2407
   Spectrum: LogParabola
245         norm:  4.233e+00  2.567e+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:  7.838e-01  1.626e-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:  8.652e-01  1.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.09
Ra Dec: 45.862 -24.122
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 2.94e-08 +/- 1.78e-08
Energy Flux (Fixed Index): 2.69e-05 +/- 1.63e-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) = 5908.53874094
delta logL = 0.0491511449973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5908.53729303
delta logL = 0.0505990594338

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3275       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0283       1.0000          .0000       5.0000    
     3 'Normalizat'    .85645       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78839       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5908.537     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      230 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3274        2.5027        .89069E-04    .16499E-02
   2  alpha         2.0281        .56282        .14063E-01    .92357E-04
   3  Normalizat    .85645        .15617        .21241E-03   -.33957E-03
   4  Prefactor     .78837        .16056        .22942E-03   -.32056E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.32743
  alpha      = 2.02813
  Normalizat = 0.856453
  Prefactor  = 0.788367
 **********
 **   18 **HESSE 
 **********

 FCN=   5908.537     FROM HESSE     STATUS=OK            23 CALLS      253 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3274        2.4965        .17814E-04   -1.5292    
   2  alpha         2.0281        .56094        .56250E-03   -.18989    
   3  Normalizat    .85645        .15620        .42481E-04   -.98008    
   4  Prefactor     .78837        .16063        .45883E-04   -1.0016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00885e-09
Minuit parameter uncertainties:
  1  2.49661
  2  0.56594
  3  0.156281
  4  0.160726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/84479': 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) = 5908.53729295
delta logL = 0.0505991377859

Extracting fit parameters...

4FGL J0303.4-2407
   Spectrum: LogParabola
245         norm:  4.327e+00  2.497e+00  1.000e-04  1.000e+04 ( 1.000e-12)
246        alpha:  2.028e+00  5.659e-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:  7.884e-01  1.607e-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:  8.565e-01  1.563e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.19
Ra Dec: 45.862 -24.122
Photon Index (Free Index): 2.03 +/- 0.57
Photon Flux (Free Index): 3.70e-08 +/- 3.30e-08
Energy Flux (Free Index): 2.23e-05 +/- 1.71e-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/84479/cmap_HighResolution_317088001_317347201_4FGL_J0303.4-2407_daily_bin300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.94e-08', energy_flux2='2.23e-05', photon_flux_error='1.78e-08', dlogl='5.06e-02', energy_flux='2.69e-05', photon_flux2='3.70e-08', job_status='DONE', time_completed='2021-08-17 11:28:17.663697', photon_index_error2='0.57', photon_index2='2.03', ts='9.09', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='1.71e-05', EG='0.87', time_epoch_completed='1629224897.66', return_code='0', job_id='84479', GAL2='0.79', EG2='0.86', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='3.30e-08', ts2='9.19', photon_index='1.85' WHERE bin_id='300' AND source_name='4FGL J0303.4-2407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 11:28:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 84479: <4FGL_J0303.4-2407_daily_bin300> in cluster <slac> Done

Job <4FGL_J0303.4-2407_daily_bin300> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 17 11:13:03 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 11:14:35 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:14:35 2021
Terminated at Tue Aug 17 11:28:18 2021
Results reported at Tue Aug 17 11:28:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0303.4-2407_daily_bin300 45.8625 -24.1225 317088001 317347201 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 :                                   765.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            915 sec.

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

