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


Performing analysis on: 4FGL_J0303.4-2407_daily_bin1493
RA = 45.8625, Dec = -24.1225
tmin = 626313601, tmax = 626572801
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='93539', job_status='RUN', time_executed='2021-08-17 11:46:45.751592', time_epoch_executed='1629226005.75' WHERE source_name='4FGL J0303.4-2407' and cadence='daily' and bin_id='1493'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93539

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93539/ft1_4FGL_J0303.4-2407_daily_bin1493.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93539/ft2_4FGL_J0303.4-2407_daily_bin1493.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93539/ft1_4FGL_J0303.4-2407_daily_bin1493.fits outfile=/scratch/kocevski/93539/ft1_filteredMKT_4FGL_J0303.4-2407_daily_bin1493.fits ra=45.8625 dec=-24.1225 rad=12.0 tmin=626313601.0 tmax=626572801.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.31
user 4.20
sys 0.89

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93539/ft1_filtered_4FGL_J0303.4-2407_daily_bin1493.fits" evtable="EVENTS" scfile=/scratch/kocevski/93539/ft2_4FGL_J0303.4-2407_daily_bin1493.fits sctable="SC_DATA" outfile=/scratch/kocevski/93539/ltcube_626313601_626572801_4FGL_J0303.4-2407_daily_bin1493.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/93539/ft2_4FGL_J0303.4-2407_daily_bin1493.fits
.....................!
real 14.52
user 12.65
sys 1.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93539/ft1_filtered_4FGL_J0303.4-2407_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/93539/ft2_4FGL_J0303.4-2407_daily_bin1493.fits sctable="SC_DATA" expcube=/scratch/kocevski/93539/ltcube_626313601_626572801_4FGL_J0303.4-2407_daily_bin1493.fits outfile=/scratch/kocevski/93539/expmap_626313601_626572801_4FGL_J0303.4-2407_daily_bin1493.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/93539/ltcube_626313601_626572801_4FGL_J0303.4-2407_daily_bin1493.fits
.....................!
real 191.38
user 185.75
sys 4.98

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/93539/ft1_filtered_4FGL_J0303.4-2407_daily_bin1493.fits scfile=/scratch/kocevski/93539/ft2_4FGL_J0303.4-2407_daily_bin1493.fits outfile=/scratch/kocevski/93539/cmap_626313601_626572801_4FGL_J0303.4-2407_daily_bin1493.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 2.46
user 0.38
sys 0.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93539/ft1_filtered_4FGL_J0303.4-2407_daily_bin1493.fits scfile=/scratch/kocevski/93539/ft2_4FGL_J0303.4-2407_daily_bin1493.fits outfile=/scratch/kocevski/93539/cmap_HighResolution_626313601_626572801_4FGL_J0303.4-2407_daily_bin1493.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.35
user 0.37
sys 0.84

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/93539/ft1_filtered_4FGL_J0303.4-2407_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/93539/ft2_4FGL_J0303.4-2407_daily_bin1493.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93539/Model_4FGL_J0303.4-2407_daily_bin1493.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/93539/ft1_filtered_4FGL_J0303.4-2407_daily_bin1493.fits.....................!
real 117.33
user 104.45
sys 2.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.449       1.0000         .10000E-03   10000.    
     2 'norm      '    .10356E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.3318       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.769       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10866E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.472       1.0000         .10000E-03   10000.    
     9 'norm      '    6.8481       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.6441       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.756       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.230       1.0000         .10000E-03   10000.    
    13 'norm      '    4.8317       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10850E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.668       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.7091       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    12.492       1.0000         .10000E-03   10000.    
    25 'norm      '    2.5214       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1785       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .57836       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=   4874.520     FROM MIGRAD    STATUS=CONVERGED    656 CALLS     3285 TOTAL
                     EDM=   .83E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.456        7.0037        .85733E-07   -.44991E-05
   2  norm          .10000E-03    21.322       -.96731E-06** at limit **
   3  Prefactor     8.3373        8.7176        .56102E-07    .82827E-06
   4  Prefactor     .10000E-03    15.648        .39214E-06** at limit **
   5  Prefactor     30.780        35.321       -.42611E-06    .67856E-05
   6  Prefactor     .10000E-03    28.145        .65925E-06** at limit **
   7  Prefactor     .10000E-03    2.6722       -.19418E-06** at limit **
   8  Prefactor     23.503        48.449       -.21523E-05    .78000E-05
   9  norm          6.8501        3.4358        .12334E-06    .42297E-04
  10  Prefactor     1.6412        44.596        .91281E-05    .13790E-04
  11  Prefactor     13.876        153.84       -.18284E-04    .58514E-05
  12  Prefactor     12.232        16.115        .30450E-06    .61836E-05
  13  norm          4.8320        3.2486        .19617E-08    .11123E-04
  14  Prefactor     .10000E-03    8.7738        .56013E-06** at limit **
  15  Prefactor     .10000E-03    76.787        .33901E-06** at limit **
  16  Prefactor     .10000E-03    1.6503       -.32678E-07** at limit **
  17  Prefactor     .10000E-03    13.341       -.27263E-06** at limit **
  18  Prefactor     12.701        44.944       -.30128E-05    .84424E-05
  19  Prefactor     .10000E-03    50.234       -.12963E-05** at limit **
  20  Prefactor     .10000E-03    35.045        .68953E-06** at limit **
  21  Prefactor     2.7103        4.3961       -.36956E-08   -.16129E-05
  22  Prefactor     .10000E-03    2.1194       -.94939E-07** at limit **
  23  Prefactor     .10000E-03    1.5440       -.26825E-07** at limit **
  24  norm          12.493        2.1358        .22538E-07    .75605E-04
  25  norm          2.5211        2.8162       -.14623E-07    .22283E-04
  26  Normalizat    1.1777        .19904       -.61422E-06    .31025E-04
  27  Prefactor     .57897        .18220        .16685E-05    .12753E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4556
  norm       = 0.0001
  Prefactor  = 8.33725
  Prefactor  = 0.0001
  Prefactor  = 30.7804
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.5026
  norm       = 6.85013
  Prefactor  = 1.64121
  Prefactor  = 13.8763
  Prefactor  = 12.2321
  norm       = 4.83201
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.7009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.71028
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.4929
  norm       = 2.52105
  Normalizat = 1.17767
  Prefactor  = 0.578972
 **********
 **   18 **HESSE 
 **********

 FCN=   4874.520     FROM HESSE     STATUS=OK           488 CALLS     3773 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.456        7.0123        .11353E-03   -1.5002    
   2  norm          .10000E-03    21.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.3373        8.7355        .13889E-03   -1.5130    
   4  Prefactor     .10000E-03    15.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.780        35.351        .72232E-04   -1.4598    
   6  Prefactor     .10000E-03    28.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.7222        .11143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.503        48.707        .82679E-04   -1.4738    
   9  norm          6.8501        3.4449        .84191E-04   -1.5184    
  10  Prefactor     1.6412        45.203        .16472E-02   -1.5452    
  11  Prefactor     13.876        153.95        .10800E-03   -1.4963    
  12  Prefactor     12.232        16.106        .11455E-03   -1.5008    
  13  norm          4.8320        3.2493        .99535E-04   -1.5268    
  14  Prefactor     .10000E-03    8.7895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    76.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.6575        .87589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.701        44.991        .11254E-03   -1.4995    
  19  Prefactor     .10000E-03    50.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    35.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.7103        4.3103        .14592E-03   -1.5379    
  22  Prefactor     .10000E-03    2.1309        .99219E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    1.5483        .84686E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.493        2.1389        .40523E-04   -1.5001    
  25  norm          2.5211        2.7570        .98204E-04   -1.5390    
  26  Normalizat    1.1777        .23403        .22684E-03   -.87296    
  27  Prefactor     .57897        .21084        .30450E-03   -1.0848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73065e-11
Minuit parameter uncertainties:
  1  7.01278
  2  1.10978e-05
  3  8.7368
  4  1.2481e-05
  5  35.3752
  6  3.48927e-06
  7  5.74977e-06
  8  48.7899
  9  3.44501
  10  17.2404
  11  92.7416
  12  16.1121
  13  3.24943
  14  3.9013e-05
  15  1.78534e-05
  16  1.60922e-06
  17  5.53333e-06
  18  45.1113
  19  6.32026e-05
  20  4.40343e-05
  21  4.31075
  22  1.34588e-06
  23  7.47499e-07
  24  2.13891
  25  2.75715
  26  0.234241
  27  0.211132
Done.

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

Extracting fit parameters...

4FGL J0303.4-2407
   Spectrum: LogParabola
245         norm:  4.832e+00  3.249e+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:  5.790e-01  2.111e-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.178e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.79
Ra Dec: 45.862 -24.122
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 3.35e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 3.07e-05 +/- 2.06e-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) = 4874.1154374
delta logL = 0.404282500716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4874.03612899
delta logL = 0.483590904207

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5156       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3638       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57562       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=   4874.036     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      216 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5060        2.5593        .53903E-02   -.27399E-03
   2  alpha         1.3627        .35911        .25622       -.19804E-04
   3  Normalizat    1.1908        .18270        .51079E-01   -.23651E-04
   4  Prefactor     .57558        .17839        .69018E-01    .84878E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.50602
  alpha      = 1.36271
  Normalizat = 1.19084
  Prefactor  = 0.575581
 **********
 **   18 **HESSE 
 **********

 FCN=   4874.036     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5060        3.1507        .89583E-04   -1.5333    
   2  alpha         1.3627        .46966        .10626E-01   -.47228    
   3  Normalizat    1.1908        .21100        .22582E-03   -.86886    
   4  Prefactor     .57558        .20569        .30549E-03   -1.0862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.15492e-12
Minuit parameter uncertainties:
  1  3.15088
  2  0.473214
  3  0.211149
  4  0.205956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93539': 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) = 4874.03612358
delta logL = 0.48359631732

Extracting fit parameters...

4FGL J0303.4-2407
   Spectrum: LogParabola
245         norm:  3.506e+00  3.151e+00  1.000e-04  1.000e+04 ( 1.000e-12)
246        alpha:  1.363e+00  4.732e-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:  5.756e-01  2.060e-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.191e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.74
Ra Dec: 45.862 -24.122
Photon Index (Free Index): 1.36 +/- 0.47
Photon Flux (Free Index): 1.74e-08 +/- 1.67e-08
Energy Flux (Free Index): 6.66e-05 +/- 7.18e-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/93539/cmap_HighResolution_626313601_626572801_4FGL_J0303.4-2407_daily_bin1493.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.35e-08', energy_flux2='6.66e-05', photon_flux_error='2.25e-08', dlogl='4.84e-01', energy_flux='3.07e-05', photon_flux2='1.74e-08', job_status='DONE', time_completed='2021-08-17 11:57:52.175349', photon_index_error2='0.47', photon_index2='1.36', ts='16.79', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', energy_flux_error2='7.18e-05', EG='1.18', time_epoch_completed='1629226672.18', return_code='0', job_id='93539', GAL2='0.58', EG2='1.19', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='1.67e-08', ts2='17.74', photon_index='1.85' WHERE bin_id='1493' AND source_name='4FGL J0303.4-2407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 11:57:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 93539: <4FGL_J0303.4-2407_daily_bin1493> in cluster <slac> Done

Job <4FGL_J0303.4-2407_daily_bin1493> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 17 11:42:11 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 11:46:15 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:15 2021
Terminated at Tue Aug 17 11:57:53 2021
Results reported at Tue Aug 17 11:57:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0303.4-2407_daily_bin1493 45.8625 -24.1225 626313601 626572801 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 :                                   657.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             335.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            942 sec.

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

