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


Performing analysis on: 4FGL_J0430.2-0356_daily_bin1609
RA = 67.5693, Dec = -3.9458
tmin = 656380801, tmax = 656640001
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='189747', job_status='RUN', time_executed='2021-12-07 14:56:34.835150', time_epoch_executed='1638917794.84' WHERE source_name='4FGL J0430.2-0356' and cadence='daily' and bin_id='1609'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/189747

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/189747/ft1_4FGL_J0430.2-0356_daily_bin1609.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/189747/ft2_4FGL_J0430.2-0356_daily_bin1609.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/189747/ft1_4FGL_J0430.2-0356_daily_bin1609.fits outfile=/scratch/kocevski/189747/ft1_filteredMKT_4FGL_J0430.2-0356_daily_bin1609.fits ra=67.5693 dec=-3.9458 rad=12.0 tmin=656380801.0 tmax=656640001.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 3.60
user 3.34
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/189747/ft2_4FGL_J0430.2-0356_daily_bin1609.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/189747/ft1_filteredMKT_4FGL_J0430.2-0356_daily_bin1609.fits evtable="EVENTS" outfile="/scratch/kocevski/189747/ft1_filtered_4FGL_J0430.2-0356_daily_bin1609.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 0.55
user 0.37
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/189747/ft1_filtered_4FGL_J0430.2-0356_daily_bin1609.fits" evtable="EVENTS" scfile=/scratch/kocevski/189747/ft2_4FGL_J0430.2-0356_daily_bin1609.fits sctable="SC_DATA" outfile=/scratch/kocevski/189747/ltcube_656380801_656640001_4FGL_J0430.2-0356_daily_bin1609.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/189747/ft2_4FGL_J0430.2-0356_daily_bin1609.fits
.....................!
real 17.81
user 17.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/189747/ft1_filtered_4FGL_J0430.2-0356_daily_bin1609.fits evtable="EVENTS" scfile=/scratch/kocevski/189747/ft2_4FGL_J0430.2-0356_daily_bin1609.fits sctable="SC_DATA" expcube=/scratch/kocevski/189747/ltcube_656380801_656640001_4FGL_J0430.2-0356_daily_bin1609.fits outfile=/scratch/kocevski/189747/expmap_656380801_656640001_4FGL_J0430.2-0356_daily_bin1609.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/189747/ltcube_656380801_656640001_4FGL_J0430.2-0356_daily_bin1609.fits
.....................!
real 194.35
user 188.83
sys 4.96

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/189747/ft1_filtered_4FGL_J0430.2-0356_daily_bin1609.fits scfile=/scratch/kocevski/189747/ft2_4FGL_J0430.2-0356_daily_bin1609.fits outfile=/scratch/kocevski/189747/cmap_656380801_656640001_4FGL_J0430.2-0356_daily_bin1609.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 0.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/189747/ft1_filtered_4FGL_J0430.2-0356_daily_bin1609.fits scfile=/scratch/kocevski/189747/ft2_4FGL_J0430.2-0356_daily_bin1609.fits outfile=/scratch/kocevski/189747/cmap_HighResolution_656380801_656640001_4FGL_J0430.2-0356_daily_bin1609.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 0.57
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/189747/ft1_filtered_4FGL_J0430.2-0356_daily_bin1609.fits evtable="EVENTS" scfile=/scratch/kocevski/189747/ft2_4FGL_J0430.2-0356_daily_bin1609.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/189747/Model_4FGL_J0430.2-0356_daily_bin1609.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/189747/ft1_filtered_4FGL_J0430.2-0356_daily_bin1609.fits.....................!
real 135.32
user 133.64
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.304       1.0000         .10000E-03   10000.    
     2 'norm      '    28.609       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.5634       1.0000         .10000E-03   10000.    
     6 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.6509       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .94625       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.415       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .64020E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .13529E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.5487       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.2253       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    30.109       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .69804       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0024       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=   9121.860     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     2113 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.306        8.0469       -.31318E-07   -.11993E-03
   2  norm          28.609        16.626       -.96342E-07   -.33887E-04
   3  Prefactor     .10000E-03    38.074        .20761E-05** at limit **
   4  norm          .10000E-03    1.3690       -.12415E-06** at limit **
   5  norm          3.5618        6.0532       -.98696E-06   -.71311E-03
   6  norm          .10000E-03    12.105       -.85132E-06** at limit **
   7  norm          2.6505        1.3408        .11994E-05   -.38591E-02
   8  Prefactor     .94696        1.0171        .11598E-05    .90977E-03
   9  Prefactor     .10000E-03    7.4351       -.58784E-06** at limit **
  10  Prefactor     29.384        51.655       -.38108E-04   -.36898E-03
  11  Prefactor     .10022E-03    4.1795        .28350E-05** at limit **
  12  norm          .10000E-03    .85473        .20514E-06** at limit **
  13  Prefactor     .10000E-03    5.7484        .12017E-06** at limit **
  14  norm          2.5490        2.1067        .92299E-06   -.12582E-02
  15  Prefactor     .10000E-03    2.4388       -.54245E-08** at limit **
  16  norm          7.2255        2.0173       -.30298E-07   -.46828E-03
  17  Prefactor     .10000E-03    7.9971        .84219E-06** at limit **
  18  norm          30.096        27.247       -.34366E-05   -.17770E-04
  19  Normalizat    .69775        .17799        .20326E-05   -.68142E-03
  20  Prefactor     1.0025        .82677E-01    .10118E-06   -.88390E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3065
  norm       = 28.6087
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.5618
  norm       = 0.0001
  norm       = 2.65055
  Prefactor  = 0.946965
  Prefactor  = 0.0001
  Prefactor  = 29.3838
  Prefactor  = 0.000100216
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.54901
  Prefactor  = 0.0001
  norm       = 7.22545
  Prefactor  = 0.0001
  norm       = 30.0963
  Normalizat = 0.697749
  Prefactor  = 1.00252
 **********
 **   18 **HESSE 
 **********

 FCN=   9121.860     FROM HESSE     STATUS=OK           301 CALLS     2414 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.306        8.0969        .10982E-03   -1.4978    
   2  norm          28.609        16.626        .74903E-04   -1.4638    
   3  Prefactor     .10000E-03    38.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.3759        .10907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.5618        6.0624        .21410E-03   -1.5330    
   6  norm          .10000E-03    12.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.6505        1.3136        .64911E-04   -1.5382    
   8  Prefactor     .94696        1.0152        .91663E-04   -1.5513    
   9  Prefactor     .10000E-03    7.4501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.384        51.806        .73872E-04   -1.4623    
  11  Prefactor     .10022E-03    9.3012        .56009E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.1247        .16993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.7653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.5490        2.0843        .11542E-03   -1.5389    
  15  Prefactor     .10000E-03    2.4506        .14565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.2255        2.0162        .68593E-04   -1.5170    
  17  Prefactor     .10000E-03    8.0262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          30.096        27.222        .73017E-04   -1.4610    
  19  Normalizat    .69775        .19759        .37710E-03   -1.0398    
  20  Prefactor     1.0025        .92183E-01    .16090E-03   -.92645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35912e-09
Minuit parameter uncertainties:
  1  8.09757
  2  16.6284
  3  3.00586e-05
  4  1.83813e-06
  5  6.0634
  6  7.36685e-05
  7  1.31358
  8  1.01521
  9  2.56638e-05
  10  51.8851
  11  0.00283836
  12  6.31879e-05
  13  6.72137e-06
  14  2.08432
  15  1.49624e-06
  16  2.01626
  17  2.05097e-06
  18  27.2335
  19  0.197794
  20  0.0921971
Done.

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

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  1.002e-04  2.838e-03  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:  1.003e+00  9.220e-02  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:  6.977e-01  1.978e-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: 9.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/189747/likelihoodResults_656380801_656640001_4FGL_J0430.2-0356_daily_bin1609.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) = 9121.8595967
delta logL = -3.90814766433e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9120.96752192
delta logL = 0.892035700019

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33527       1.0000         .10000E-03   10000.    
     2 'Index     '    5.4523       1.0000          .0000       10.000    
     3 'Normalizat'    .60912       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0285       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=   9120.968     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      465 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33225        3.0090        .94933E-02    .11885E-02
   2  Index         5.4582        2.7215        .20223        .91791E-04
   3  Normalizat    .60905        .36321E-01    .90583E-01   -.29345E-05
   4  Prefactor     1.0286        .18418E-01    .41377E-01   -.17987E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.33225
  Index      = 5.45822
  Normalizat = 0.609051
  Prefactor  = 1.02858
 **********
 **   18 **HESSE 
 **********

 FCN=   9120.968     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      498 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33225        10.420        .43446E-03   -1.5593    
   2  Index         5.4582        7.6927        .72420E-02    .91772E-01
   3  Normalizat    .60905        .14801        .40136E-03   -1.0760    
   4  Prefactor     1.0286        .72641E-01    .15901E-03   -.91783    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.84912e-10
Minuit parameter uncertainties:
  1  3.72145
  2  7.42703
  3  0.148107
  4  0.0726479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/189747': 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) = 9120.96751842
delta logL = 0.892039196058

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  3.323e-01  3.721e+00  1.000e-04  1.000e+04 ( 1.000e-12)
223        Index:  5.458e+00  7.427e+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:  1.029e+00  7.265e-02  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:  6.091e-01  1.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 67.569 -3.946
Photon Index (Free Index): 5.46 +/- 7.43
Photon Flux (Free Index): 7.36e-08 +/- 6.14e-08
Energy Flux (Free Index): 9.45e-06 +/- 1.06e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/189747/cmap_HighResolution_656380801_656640001_4FGL_J0430.2-0356_daily_bin1609.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.69e-03', comment='SUCCESS', energy_flux2='9.45e-06', dlogl='8.92e-01', photon_flux2='7.36e-08', job_status='DONE', time_completed='2021-12-07 15:09:25.958074', photon_index_error2='7.43', photon_index2='5.46', ts='-0.00', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='9.78e-08', energy_flux_error2='1.06e-05', EG='0.70', time_epoch_completed='1638918565.96', return_code='0', job_id='189747', GAL2='1.03', EG2='0.61', return_code2='102', photon_flux_error2='6.14e-08', ts2='2.00', photon_index='2.69' WHERE bin_id='1609' AND source_name='4FGL J0430.2-0356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 15:09:25 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 189747: <4FGL_J0430.2-0356_daily_bin1609> in cluster <slac> Done

Job <4FGL_J0430.2-0356_daily_bin1609> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec  7 14:55:25 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 14:56:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 14:56:27 2021
Terminated at Tue Dec  7 15:09:26 2021
Results reported at Tue Dec  7 15:09:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0430.2-0356_daily_bin1609 67.5693 -3.9458 656380801 656640001 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 :                                   770.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            841 sec.

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

