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


Performing analysis on: 4FGL_J0303.4-2407_daily_bin1410
RA = 45.8625, Dec = -24.1225
tmin = 604800001, tmax = 605059201
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='93398', job_status='RUN', time_executed='2021-08-17 11:45:41.011288', time_epoch_executed='1629225941.01' WHERE source_name='4FGL J0303.4-2407' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93398

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93398/ft1_4FGL_J0303.4-2407_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93398/ft2_4FGL_J0303.4-2407_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93398/ft1_4FGL_J0303.4-2407_daily_bin1410.fits outfile=/scratch/kocevski/93398/ft1_filteredMKT_4FGL_J0303.4-2407_daily_bin1410.fits ra=45.8625 dec=-24.1225 rad=12.0 tmin=604800001.0 tmax=605059201.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.73
user 4.86
sys 0.80

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/93398/ft2_4FGL_J0303.4-2407_daily_bin1410.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/93398/ft1_filteredMKT_4FGL_J0303.4-2407_daily_bin1410.fits evtable="EVENTS" outfile="/scratch/kocevski/93398/ft1_filtered_4FGL_J0303.4-2407_daily_bin1410.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.15
user 0.35
sys 0.75

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93398/ft1_filtered_4FGL_J0303.4-2407_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/93398/ft2_4FGL_J0303.4-2407_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/93398/ltcube_604800001_605059201_4FGL_J0303.4-2407_daily_bin1410.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/93398/ft2_4FGL_J0303.4-2407_daily_bin1410.fits
.....................!
real 14.69
user 13.58
sys 0.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93398/ft1_filtered_4FGL_J0303.4-2407_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/93398/ft2_4FGL_J0303.4-2407_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/93398/ltcube_604800001_605059201_4FGL_J0303.4-2407_daily_bin1410.fits outfile=/scratch/kocevski/93398/expmap_604800001_605059201_4FGL_J0303.4-2407_daily_bin1410.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/93398/ltcube_604800001_605059201_4FGL_J0303.4-2407_daily_bin1410.fits
.....................!
real 192.72
user 186.34
sys 5.78

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/93398/ft1_filtered_4FGL_J0303.4-2407_daily_bin1410.fits scfile=/scratch/kocevski/93398/ft2_4FGL_J0303.4-2407_daily_bin1410.fits outfile=/scratch/kocevski/93398/cmap_604800001_605059201_4FGL_J0303.4-2407_daily_bin1410.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.21
user 0.37
sys 0.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93398/ft1_filtered_4FGL_J0303.4-2407_daily_bin1410.fits scfile=/scratch/kocevski/93398/ft2_4FGL_J0303.4-2407_daily_bin1410.fits outfile=/scratch/kocevski/93398/cmap_HighResolution_604800001_605059201_4FGL_J0303.4-2407_daily_bin1410.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.36
user 0.39
sys 0.73

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/93398/ft1_filtered_4FGL_J0303.4-2407_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/93398/ft2_4FGL_J0303.4-2407_daily_bin1410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93398/Model_4FGL_J0303.4-2407_daily_bin1410.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/93398/ft1_filtered_4FGL_J0303.4-2407_daily_bin1410.fits.....................!
real 117.84
user 108.25
sys 1.95

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71540E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    86.260       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.942       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .20978E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    107.75       1.0000         .10000E-03   10000.    
     6 'Prefactor '    58.256       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4705       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16900E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.5434       1.0000         .10000E-03   10000.    
    10 'Prefactor '    39.851       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.104       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.9577       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.279       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11325E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10670E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.552       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10357E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    87.140       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    63.464       1.0000         .10000E-03   10000.    
    25 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0631       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .70987       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=   4835.581     FROM MIGRAD    STATUS=CONVERGED    663 CALLS     3408 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16419        11.497        .38183E-05   -.78424E-03
   2  norm          86.254        86.927       -.58886E-05   -.18180E-03
   3  Prefactor     27.921        15.543        .19148E-07   -.42117E-03
   4  Prefactor     .10005E-03    619.83       -.24524E-04** at limit **
   5  Prefactor     107.76        78.333        .70281E-06   -.79473E-05
   6  Prefactor     58.259        57.214        .11233E-05   -.63484E-04
   7  Prefactor     3.4715        4.8230        .42536E-06    .76148E-04
   8  Prefactor     .10000E-03    101.91        .17403E-06** at limit **
   9  norm          3.5444        3.0497        .28722E-06   -.47254E-04
  10  Prefactor     39.867        24.997        .49582E-06   -.34363E-04
  11  Prefactor     25.335        135.60        .49706E-06    .40583E-06
  12  Prefactor     .10000E-03    7.8840       -.69311E-07** at limit **
  13  norm          2.9583        3.2290        .14902E-06    .13555E-04
  14  Prefactor     17.276        16.889        .34515E-06    .26136E-04
  15  Prefactor     .10000E-03    268.52        .18954E-06** at limit **
  16  Prefactor     .10000E-03    5.6497       -.10091E-05** at limit **
  17  Prefactor     15.570        33.794        .28943E-05    .50307E-04
  18  Prefactor     .10000E-03    92.700       -.67193E-06** at limit **
  19  Prefactor     .10000E-03    61.763       -.12250E-06** at limit **
  20  Prefactor     87.134        81.414        .28810E-06    .10308E-04
  21  Prefactor     .10000E-03    1.1877       -.17991E-06** at limit **
  22  Prefactor     .10000E-03    2.0918       -.71491E-07** at limit **
  23  Prefactor     .10000E-03    1.9556       -.98667E-07** at limit **
  24  norm          63.467        5.0265        .79423E-07    .46782E-05
  25  norm          .10000E-03    1.4211       -.32274E-06** at limit **
  26  Normalizat    1.0623        .25734       -.44745E-05   -.34798E-03
  27  Prefactor     .71029        .22566        .10428E-05   -.31001E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.164185
  norm       = 86.2543
  Prefactor  = 27.9209
  Prefactor  = 0.000100054
  Prefactor  = 107.764
  Prefactor  = 58.2591
  Prefactor  = 3.47153
  Prefactor  = 0.0001
  norm       = 3.54437
  Prefactor  = 39.8668
  Prefactor  = 25.3347
  Prefactor  = 0.0001
  norm       = 2.95834
  Prefactor  = 17.2761
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 15.5701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 87.134
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 63.4666
  norm       = 0.0001
  Normalizat = 1.06227
  Prefactor  = 0.710286
 **********
 **   18 **HESSE 
 **********

 FCN=   4835.581     FROM HESSE     STATUS=OK           484 CALLS     3892 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16419        73.312        .35533E-02   -1.5627    
   2  norm          86.254        87.398        .21628E-03   -1.3848    
   3  Prefactor     27.921        15.577        .75790E-04   -1.4651    
   4  Prefactor     .10005E-03    614.85        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     107.76        78.371        .19373E-03   -1.3628    
   6  Prefactor     58.259        57.334        .52562E-04   -1.4180    
   7  Prefactor     3.4715        4.8148        .17383E-03   -1.5335    
   8  Prefactor     .10000E-03    102.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5444        3.0474        .10677E-03   -1.5331    
  10  Prefactor     39.867        25.009        .63495E-04   -1.4444    
  11  Prefactor     25.335        135.25        .79950E-04   -1.4701    
  12  Prefactor     .10000E-03    7.8894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9583        3.2264        .12666E-03   -1.5364    
  14  Prefactor     17.276        16.884        .96351E-04   -1.4876    
  15  Prefactor     .10000E-03    268.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.7677        .16132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.570        33.915        .10156E-03   -1.4919    
  18  Prefactor     .10000E-03    92.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    61.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     87.134        81.758        .43039E-04   -1.3838    
  21  Prefactor     .10000E-03    1.1921        .73971E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.0951        .98204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    1.9611        .94950E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          63.467        5.0362        .42233E-04   -1.4113    
  25  norm          .10000E-03    1.4843        .16142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0623        .29524        .31089E-03   -.90972    
  27  Prefactor     .71029        .26248        .35008E-03   -1.0313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54866e-08
Minuit parameter uncertainties:
  1  6.94523
  2  87.5284
  3  15.5788
  4  0.0116228
  5  78.4461
  6  57.3881
  7  4.81538
  8  0.000272156
  9  3.04756
  10  25.0151
  11  117.49
  12  2.34408e-06
  13  3.22661
  14  16.8889
  15  0.000899624
  16  6.98525e-05
  17  33.957
  18  9.42239e-05
  19  1.84907e-05
  20  81.8634
  21  3.30717e-06
  22  8.56893e-07
  23  1.37613e-06
  24  5.03619
  25  3.8901e-06
  26  0.295699
  27  0.262943
Done.

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

Extracting fit parameters...

4FGL J0303.4-2407
   Spectrum: LogParabola
245         norm:  2.958e+00  3.227e+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.103e-01  2.629e-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.062e+00  2.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.12
Ra Dec: 45.862 -24.122
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 2.24e-08
Energy Flux (Fixed Index): 1.88e-05 +/- 2.05e-05

TS (Fixed Index): 2.12
Ra Dec: 45.862 -24.122
Photon Flux Upper Limit: 8.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/93398/likelihoodResults_604800001_605059201_4FGL_J0303.4-2407_daily_bin1410.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): 0
logL (Free Index) = 4835.57850721
delta logL = 0.00283138636132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4835.5783363
delta logL = 0.0030022986457

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0080       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9207       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71138       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=   4835.578     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      239 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0081        3.2581        .12632E-03   -.17268E-02
   2  alpha         1.9209        .91238        .19952E-01   -.99265E-04
   3  Normalizat    1.0599        .27316        .31120E-03    .84424E-04
   4  Prefactor     .71137        .25564        .34984E-03    .72110E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.00812
  alpha      = 1.92086
  Normalizat = 1.0599
  Prefactor  = 0.711371
 **********
 **   18 **HESSE 
 **********

 FCN=   4835.578     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0081        3.2730        .25264E-04   -1.5361    
   2  alpha         1.9209        .91631        .79807E-03   -.23378    
   3  Normalizat    1.0599        .27333        .12448E-04   -.91050    
   4  Prefactor     .71137        .25581        .13994E-04   -1.0308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91698e-09
Minuit parameter uncertainties:
  1  3.27316
  2  0.939508
  3  0.273695
  4  0.256239
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93398': 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) = 4835.57833627
delta logL = 0.00300232463087

Extracting fit parameters...

4FGL J0303.4-2407
   Spectrum: LogParabola
245         norm:  3.008e+00  3.273e+00  1.000e-04  1.000e+04 ( 1.000e-12)
246        alpha:  1.921e+00  9.395e-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.114e-01  2.562e-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.060e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.12
Ra Dec: 45.862 -24.122
Photon Index (Free Index): 1.92 +/- 0.94
Photon Flux (Free Index): 2.26e-08 +/- 3.70e-08
Energy Flux (Free Index): 1.73e-05 +/- 2.54e-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/93398/cmap_HighResolution_604800001_605059201_4FGL_J0303.4-2407_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.15e-05', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='1.73e-05', photon_flux_error='2.24e-08', dlogl='3.00e-03', energy_flux='1.88e-05', photon_flux2='2.26e-08', job_status='DONE', time_completed='2021-08-17 11:58:18.055889', photon_index_error2='0.94', photon_index2='1.92', ts='2.12', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='8.90e-08', energy_flux_error2='2.54e-05', EG='1.06', time_epoch_completed='1629226698.06', return_code='0', job_id='93398', GAL2='0.71', EG2='1.06', return_code2='0', energy_flux_error='2.05e-05', photon_flux_error2='3.70e-08', ts2='2.12', photon_index='1.85' WHERE bin_id='1410' AND source_name='4FGL J0303.4-2407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 11:58:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 93398: <4FGL_J0303.4-2407_daily_bin1410> in cluster <slac> Done

Job <4FGL_J0303.4-2407_daily_bin1410> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 17 11:42:01 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 11:44:54 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:44:54 2021
Terminated at Tue Aug 17 11:58:18 2021
Results reported at Tue Aug 17 11:58:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0303.4-2407_daily_bin1410 45.8625 -24.1225 604800001 605059201 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 :                                   750.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            977 sec.

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

