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


Performing analysis on: 4FGL_J0430.2-0356_daily_bin1513
RA = 67.5693, Dec = -3.9458
tmin = 631497601, tmax = 631756801
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='498942', job_status='RUN', time_executed='2021-08-20 18:07:13.634206', time_epoch_executed='1629508033.63' WHERE source_name='4FGL J0430.2-0356' and cadence='daily' and bin_id='1513'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/498942

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/498942/ft1_4FGL_J0430.2-0356_daily_bin1513.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/498942/ft1_4FGL_J0430.2-0356_daily_bin1513.fits outfile=/scratch/kocevski/498942/ft1_filteredMKT_4FGL_J0430.2-0356_daily_bin1513.fits ra=67.5693 dec=-3.9458 rad=12.0 tmin=631497601.0 tmax=631756801.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.95
user 2.36
sys 3.51

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.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/498942/ft1_filteredMKT_4FGL_J0430.2-0356_daily_bin1513.fits evtable="EVENTS" outfile="/scratch/kocevski/498942/ft1_filtered_4FGL_J0430.2-0356_daily_bin1513.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 3.92
user 0.35
sys 3.52

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/498942/ft1_filtered_4FGL_J0430.2-0356_daily_bin1513.fits" evtable="EVENTS" scfile=/scratch/kocevski/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.fits sctable="SC_DATA" outfile=/scratch/kocevski/498942/ltcube_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.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/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.fits
.....................!
real 18.60
user 14.09
sys 4.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/498942/ft1_filtered_4FGL_J0430.2-0356_daily_bin1513.fits evtable="EVENTS" scfile=/scratch/kocevski/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.fits sctable="SC_DATA" expcube=/scratch/kocevski/498942/ltcube_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.fits outfile=/scratch/kocevski/498942/expmap_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.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/498942/ltcube_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.fits
.....................!
real 196.39
user 187.22
sys 8.72

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 150 point sources and 0 extended sources

Setting source of interest to:
4FGL J0430.2-0356 @ 67.5693 -3.9458

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/498942/ft1_filtered_4FGL_J0430.2-0356_daily_bin1513.fits scfile=/scratch/kocevski/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.fits outfile=/scratch/kocevski/498942/cmap_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.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=67.5693 yref=-3.9458 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 3.87
user 0.37
sys 3.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/498942/ft1_filtered_4FGL_J0430.2-0356_daily_bin1513.fits scfile=/scratch/kocevski/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.fits outfile=/scratch/kocevski/498942/cmap_HighResolution_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.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=67.5693 yref=-3.9458 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 3.87
user 0.40
sys 3.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/498942/ft1_filtered_4FGL_J0430.2-0356_daily_bin1513.fits evtable="EVENTS" scfile=/scratch/kocevski/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/498942/Model_4FGL_J0430.2-0356_daily_bin1513.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/498942/ft1_filtered_4FGL_J0430.2-0356_daily_bin1513.fits.....................!
real 65.76
user 59.89
sys 5.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/498942/ft1_filtered_4FGL_J0430.2-0356_daily_bin1513.fits', '/scratch/kocevski/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.fits', expMap='/scratch/kocevski/498942/expmap_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.fits', expCube='/scratch/kocevski/498942/ltcube_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/498942/Model_4FGL_J0430.2-0356_daily_bin1513.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0430.2-0356'

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  1.034e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
223        Index:  2.690e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  5.385e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/498942/ft1_filtered_4FGL_J0430.2-0356_daily_bin1513.fits
Spacecraft file(s): /scratch/kocevski/498942/ft2_4FGL_J0430.2-0356_daily_bin1513.fits
Exposure map: /scratch/kocevski/498942/expmap_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.fits
Exposure cube: /scratch/kocevski/498942/ltcube_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/498942/Model_4FGL_J0430.2-0356_daily_bin1513.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) = 3776.89512537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.886       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3767       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    75.235       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2874       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9517       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13937E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    2.7934       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .36178E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.9805       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3862       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11179E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .91511       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92529       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+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=   3776.876     FROM MIGRAD    STATUS=CONVERGED    744 CALLS     2401 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.883        11.484        .12143E-03    .34032E-04
   2  norm          .10000E-03    10.125        .18142E-02** at limit **
   3  Prefactor     .10000E-03    24.844        .18142E-02** at limit **
   4  norm          1.3761        3.7444        .19279E-03    .32212E-03
   5  norm          .10000E-03    4.1325        .12193E-02** at limit **
   6  norm          75.216        48.647        .46291E-04   -.34923E-04
   7  norm          2.2876        1.6784        .63821E-04    .49147E-03
   8  Prefactor     4.9518        3.2261        .81507E-04    .22938E-03
   9  Prefactor     .10000E-03    20.512        .18142E-02** at limit **
  10  Prefactor     .10000E-03    21.562        .18142E-02** at limit **
  11  Prefactor     .10000E-03    25.731        .58856E-01** at limit **
  12  norm          2.7930        3.5264        .12545E-03    .21704E-04
  13  Prefactor     .10000E-03    82.248        .52664E-02** at limit **
  14  norm          1.9803        2.7837        .11795E-03    .21263E-03
  15  Prefactor     .10000E-03    6.7768        .15618E-02** at limit **
  16  norm          2.3854        4.5777        .17186E-03    .24899E-03
  17  Prefactor     .10000E-03    51.209        .18142E-02** at limit **
  18  norm          .10000E-03    142.71        .18142E-02** at limit **
  19  Normalizat    .91548        .32056        .35247E-03    .37243E-03
  20  Prefactor     .92516        .14831        .17092E-03    .14103E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8826
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.37615
  norm       = 0.0001
  norm       = 75.2162
  norm       = 2.28757
  Prefactor  = 4.95175
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.79301
  Prefactor  = 0.0001
  norm       = 1.98034
  Prefactor  = 0.0001
  norm       = 2.3854
  Prefactor  = 0.000100001
  norm       = 0.0001
  Normalizat = 0.915484
  Prefactor  = 0.925157
 **********
 **   18 **HESSE 
 **********

 FCN=   3776.876     FROM HESSE     STATUS=OK           281 CALLS     2682 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.883        11.482        .48572E-05   -1.5048    
   2  norm          .10000E-03    10.125        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.845        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3761        3.7442        .77116E-05   -1.5473    
   5  norm          .10000E-03    4.1326        .24386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          75.216        48.646        .92583E-05   -1.3971    
   7  norm          2.2876        1.6779        .25529E-05   -1.5405    
   8  Prefactor     4.9518        3.2260        .32603E-05   -1.5263    
   9  Prefactor     .10000E-03    20.513        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.562        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.658        .71640E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.7930        3.5263        .50180E-05   -1.5374    
  13  Prefactor     .10000E-03    83.238        .10533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9803        2.7835        .47179E-05   -1.5427    
  15  Prefactor     .10000E-03    6.7770        .31236E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3854        4.5767        .68744E-05   -1.5399    
  17  Prefactor     .10000E-03    51.213        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    142.72        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .91548        .32024        .70493E-04   -.95918    
  20  Prefactor     .92516        .14834        .34183E-04   -.95268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39142e-09
Minuit parameter uncertainties:
  1  11.4845
  2  1.41246e-05
  3  0.000201698
  4  3.74484
  5  5.20922e-06
  6  48.6721
  7  1.67796
  8  3.22613
  9  0.00023069
  10  6.44788e-05
  11  1.45011e-06
  12  3.52661
  13  0.000232771
  14  2.78372
  15  1.2718e-05
  16  4.57742
  17  0.000396304
  18  8.65515e-05
  19  0.320914
  20  0.148402
Done.

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

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  1.450e-06  1.000e-04  1.000e+04 ( 1.000e-12)
223        Index:  2.690e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  5.385e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.252e-01  1.484e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  9.155e-01  3.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 67.569 -3.946
Photon Flux Upper Limit: 1.92e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.51e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/498942/likelihoodResults_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3776.87598034
delta logL = -8.68802499099e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3776.87598032
delta logL = -8.67611288413e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96366E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6901       1.0000          .0000       10.000    
     3 'Normalizat'    .91546       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92516       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3776.843     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      277 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7317        191.30        .90712E-02    .55556E-03
   2  Index         3.4698        6.6945        .40979        .20157E-04
   3  Normalizat    .89056        .43714E-01    .80622E-01    .58220E-04
   4  Prefactor     .93107        .21422E-01    .45325E-01    .41099E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.73167
  Index      = 3.46976
  Normalizat = 0.890557
  Prefactor  = 0.931072
 **********
 **   18 **HESSE 
 **********

 FCN=   3776.843     FROM HESSE     STATUS=OK            31 CALLS      308 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7317        12.743        .29726E-03   -1.5445    
   2  Index         3.4698        2.6334        .11565E-01   -.31104    
   3  Normalizat    .89056        .30375        .35691E-03   -.96793    
   4  Prefactor     .93107        .14355        .17042E-03   -.95064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76138e-11
Minuit parameter uncertainties:
  1  9.39745
  2  2.79049
  3  0.304331
  4  0.143613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/498942': 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) = 3776.84321028
delta logL = 0.0327613682043

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  1.732e+00  9.397e+00  1.000e-04  1.000e+04 ( 1.000e-12)
223        Index:  3.470e+00  2.790e+00  0.000e+00  1.000e+01 (-1.000e+00)
224        Scale:  5.385e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.311e-01  1.436e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  8.906e-01  3.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 67.569 -3.946

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/498942/cmap_HighResolution_631497601_631756801_4FGL_J0430.2-0356_daily_bin1513.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-02', job_status='DONE', photon_flux_upper_limit='1.92e-07', time_completed='2021-08-20 18:16:17.827074', job_id='498942', GAL2='0.93', fit_tolerance='1e-08', EG2='0.89', EG='0.92', time_epoch_completed='1629508577.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.28e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.69' WHERE bin_id='1513' AND source_name='4FGL J0430.2-0356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 18:16:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 498942: <4FGL_J0430.2-0356_daily_bin1513> in cluster <slac> Done

Job <4FGL_J0430.2-0356_daily_bin1513> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 20 18:06:00 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 18:06:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 18:06:01 2021
Terminated at Fri Aug 20 18:16:18 2021
Results reported at Fri Aug 20 18:16:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0430.2-0356_daily_bin1513 67.5693 -3.9458 631497601 631756801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0430.2-0356 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   593.52 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             300.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   617 sec.
    Turnaround time :                            618 sec.

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

