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


Performing analysis on: 4FGL_J0430.2-0356_daily_bin900
RA = 67.5693, Dec = -3.9458
tmin = 472608001, tmax = 472867201
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='496995', job_status='RUN', time_executed='2021-08-20 18:03:02.354953', time_epoch_executed='1629507782.35' WHERE source_name='4FGL J0430.2-0356' and cadence='daily' and bin_id='900'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/496995

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/496995/ft1_4FGL_J0430.2-0356_daily_bin900.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/496995/ft2_4FGL_J0430.2-0356_daily_bin900.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/496995/ft1_4FGL_J0430.2-0356_daily_bin900.fits outfile=/scratch/kocevski/496995/ft1_filteredMKT_4FGL_J0430.2-0356_daily_bin900.fits ra=67.5693 dec=-3.9458 rad=12.0 tmin=472608001.0 tmax=472867201.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 12.54
user 3.28
sys 9.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/496995/ft2_4FGL_J0430.2-0356_daily_bin900.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/496995/ft1_filteredMKT_4FGL_J0430.2-0356_daily_bin900.fits evtable="EVENTS" outfile="/scratch/kocevski/496995/ft1_filtered_4FGL_J0430.2-0356_daily_bin900.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 9.44
user 0.34
sys 9.06

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/496995/ft1_filtered_4FGL_J0430.2-0356_daily_bin900.fits" evtable="EVENTS" scfile=/scratch/kocevski/496995/ft2_4FGL_J0430.2-0356_daily_bin900.fits sctable="SC_DATA" outfile=/scratch/kocevski/496995/ltcube_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.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/496995/ft2_4FGL_J0430.2-0356_daily_bin900.fits
.....................!
real 22.44
user 11.94
sys 10.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/496995/ft1_filtered_4FGL_J0430.2-0356_daily_bin900.fits evtable="EVENTS" scfile=/scratch/kocevski/496995/ft2_4FGL_J0430.2-0356_daily_bin900.fits sctable="SC_DATA" expcube=/scratch/kocevski/496995/ltcube_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.fits outfile=/scratch/kocevski/496995/expmap_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.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/496995/ltcube_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.fits
.....................!
real 206.24
user 189.35
sys 16.52

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/496995/ft1_filtered_4FGL_J0430.2-0356_daily_bin900.fits scfile=/scratch/kocevski/496995/ft2_4FGL_J0430.2-0356_daily_bin900.fits outfile=/scratch/kocevski/496995/cmap_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.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 9.34
user 0.37
sys 8.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/496995/ft1_filtered_4FGL_J0430.2-0356_daily_bin900.fits scfile=/scratch/kocevski/496995/ft2_4FGL_J0430.2-0356_daily_bin900.fits outfile=/scratch/kocevski/496995/cmap_HighResolution_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.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 9.67
user 0.39
sys 9.25

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/496995/ft1_filtered_4FGL_J0430.2-0356_daily_bin900.fits evtable="EVENTS" scfile=/scratch/kocevski/496995/ft2_4FGL_J0430.2-0356_daily_bin900.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/496995/Model_4FGL_J0430.2-0356_daily_bin900.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/496995/ft1_filtered_4FGL_J0430.2-0356_daily_bin900.fits.....................!
real 113.00
user 99.92
sys 12.82

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/496995/ft1_filtered_4FGL_J0430.2-0356_daily_bin900.fits', '/scratch/kocevski/496995/ft2_4FGL_J0430.2-0356_daily_bin900.fits', expMap='/scratch/kocevski/496995/expmap_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.fits', expCube='/scratch/kocevski/496995/ltcube_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/496995/Model_4FGL_J0430.2-0356_daily_bin900.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/496995/ft1_filtered_4FGL_J0430.2-0356_daily_bin900.fits
Spacecraft file(s): /scratch/kocevski/496995/ft2_4FGL_J0430.2-0356_daily_bin900.fits
Exposure map: /scratch/kocevski/496995/expmap_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.fits
Exposure cube: /scratch/kocevski/496995/ltcube_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/496995/Model_4FGL_J0430.2-0356_daily_bin900.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) = 7136.91018553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9372       1.0000         .10000E-03   10000.    
     2 'norm      '    .10758E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.105       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.2058       1.0000         .10000E-03   10000.    
     6 'norm      '    .23904E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .65503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .36421       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.6050       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5596       1.0000         .10000E-03   10000.    
    12 'norm      '    1.9985       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8734       1.0000         .10000E-03   10000.    
    14 'norm      '    7.3925       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10303E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0376       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94843       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.

 FCN=   7136.909     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     2692 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9419        7.4610        .62612E-06   -.24415E-04
   2  norm          .10000E-03    30.902        .47080E-06** at limit **
   3  Prefactor     26.115        30.876       -.37634E-05   -.16081E-03
   4  norm          .10000E-03    1.2794        .15459E-07** at limit **
   5  norm          5.2148        12.032        .20432E-05   -.68658E-04
   6  norm          .10229E-03    24.171        .29303E-06** at limit **
   7  norm          .65253        1.0667        .71784E-06   -.37054E-03
   8  Prefactor     .36525        2.2802        .28479E-05   -.70194E-03
   9  Prefactor     .10000E-03    10.851        .32872E-07** at limit **
  10  Prefactor     9.6856        74.536        .53484E-05    .52178E-05
  11  Prefactor     1.5788        17.608        .62949E-05   -.36164E-04
  12  norm          1.9975        2.2846       -.16594E-08   -.24152E-03
  13  Prefactor     3.8713        18.087        .27758E-05    .20054E-04
  14  norm          7.3937        2.8311       -.23725E-06   -.82831E-03
  15  Prefactor     .10000E-03    3.2778       -.16625E-07** at limit **
  16  norm          .10000E-03    .74418        .43529E-07** at limit **
  17  Prefactor     .10000E-03    6.4760       -.19829E-07** at limit **
  18  norm          .10000E-03    14.802        .66900E-06** at limit **
  19  Normalizat    1.0368        .23265       -.76678E-05   -.18815E-03
  20  Prefactor     .94876        .10042        .14663E-05   -.97514E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.94185
  norm       = 0.0001
  Prefactor  = 26.1147
  norm       = 0.0001
  norm       = 5.21477
  norm       = 0.000102286
  norm       = 0.652528
  Prefactor  = 0.365251
  Prefactor  = 0.0001
  Prefactor  = 9.68561
  Prefactor  = 1.57881
  norm       = 1.99747
  Prefactor  = 3.87129
  norm       = 7.3937
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.03684
  Prefactor  = 0.948763
 **********
 **   18 **HESSE 
 **********

 FCN=   7136.909     FROM HESSE     STATUS=OK           303 CALLS     2995 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9419        7.4716        .14232E-03   -1.5144    
   2  norm          .10000E-03    31.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     26.115        30.873        .78405E-04   -1.4685    
   4  norm          .10000E-03    1.2820        .93297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.2148        11.913        .17618E-03   -1.5251    
   6  norm          .10229E-03    28.394        .10885       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .65253        .89029        .97856E-03   -1.5546    
   8  Prefactor     .36525        2.0847        .20877E-03   -1.5587    
   9  Prefactor     .10000E-03    10.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.6856        78.285        .12930E-03   -1.5085    
  11  Prefactor     1.5788        16.432        .34076E-03   -1.5457    
  12  norm          1.9975        2.2690        .13046E-03   -1.5425    
  13  Prefactor     3.8713        18.097        .20503E-03   -1.5314    
  14  norm          7.3937        2.8404        .82339E-04   -1.5164    
  15  Prefactor     .10000E-03    3.2870        .14936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .77804        .14227E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.4791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    14.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0368        .25727        .35255E-03   -.91806    
  20  Prefactor     .94876        .11358        .17155E-03   -.94457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69357e-09
Minuit parameter uncertainties:
  1  7.47251
  2  5.44167e-05
  3  30.8918
  4  5.00127e-06
  5  11.9179
  6  0.0161195
  7  0.890311
  8  1.74507
  9  4.43396e-06
  10  55.1708
  11  10.1901
  12  2.26906
  13  16.7481
  14  2.84041
  15  5.12093e-06
  16  5.33148e-06
  17  8.7409e-06
  18  5.10325e-05
  19  0.257578
  20  0.113604
Done.

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

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  1.579e+00  1.019e+01  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.488e-01  1.136e-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:  1.037e+00  2.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/496995/likelihoodResults_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.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) = 7135.68150819
delta logL = 1.22708115779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7135.67254441
delta logL = 1.23604493582

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58013       1.0000         .10000E-03   10000.    
     2 'Index     '    5.5583       1.0000          .0000       10.000    
     3 'Normalizat'    .87830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99491       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=   7135.673     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      246 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57936        4.8327        .91242E-02    .12576E-02
   2  Index         5.5594        2.9634        .16422        .12507E-03
   3  Normalizat    .87818        .56200E-01    .85641E-01    .17498E-04
   4  Prefactor     .99500        .26417E-01    .46203E-01   -.13042E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.579364
  Index      = 5.5594
  Normalizat = 0.878181
  Prefactor  = 0.994995
 **********
 **   18 **HESSE 
 **********

 FCN=   7135.673     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      279 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57936        12.231        .41329E-04   -1.5556    
   2  Index         5.5594        7.5600        .60057E-02    .11212    
   3  Normalizat    .87818        .22438        .37923E-03   -.97231    
   4  Prefactor     .99500        .10141        .16792E-03   -.92897    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.45331e-07
Minuit parameter uncertainties:
  1  5.3248
  2  6.26314
  3  0.224619
  4  0.101432
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/496995': 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): 102
logL (Free Index) = 7135.67254391
delta logL = 1.23604543681

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  5.794e-01  5.325e+00  1.000e-04  1.000e+04 ( 1.000e-12)
223        Index:  5.559e+00  6.263e+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.950e-01  1.014e-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.782e-01  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.96
Ra Dec: 67.569 -3.946
Photon Index (Free Index): 5.56 +/- 6.26
Photon Flux (Free Index): 1.49e-07 +/- 1.00e-07
Energy Flux (Free Index): 1.90e-05 +/- 1.47e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/496995/cmap_HighResolution_472608001_472867201_4FGL_J0430.2-0356_daily_bin900.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', energy_flux2='1.90e-05', dlogl='1.24e+00', photon_flux2='1.49e-07', job_status='DONE', time_completed='2021-08-20 18:16:20.620184', photon_index_error2='6.26', photon_index2='5.56', ts='0.03', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.47e-05', EG='1.04', time_epoch_completed='1629508580.62', return_code='0', job_id='496995', GAL2='0.99', EG2='0.88', return_code2='102', photon_flux_error2='1.00e-07', ts2='2.96', photon_index='2.69' WHERE bin_id='900' AND source_name='4FGL J0430.2-0356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 18:16:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 496995: <4FGL_J0430.2-0356_daily_bin900> in cluster <slac> Done

Job <4FGL_J0430.2-0356_daily_bin900> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 20 18:00:32 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 18:00:33 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:00:33 2021
Terminated at Fri Aug 20 18:16:22 2021
Results reported at Fri Aug 20 18:16:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0430.2-0356_daily_bin900 67.5693 -3.9458 472608001 472867201 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 :                                   932.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            950 sec.

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

