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


Performing analysis on: 4FGL_J0430.2-0356_daily_bin1269
RA = 67.5693, Dec = -3.9458
tmin = 568252801, tmax = 568512001
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='498608', job_status='RUN', time_executed='2021-08-20 18:06:49.249745', time_epoch_executed='1629508009.25' WHERE source_name='4FGL J0430.2-0356' and cadence='daily' and bin_id='1269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/498608

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/498608/ft1_4FGL_J0430.2-0356_daily_bin1269.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/498608/ft2_4FGL_J0430.2-0356_daily_bin1269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/498608/ft1_4FGL_J0430.2-0356_daily_bin1269.fits outfile=/scratch/kocevski/498608/ft1_filteredMKT_4FGL_J0430.2-0356_daily_bin1269.fits ra=67.5693 dec=-3.9458 rad=12.0 tmin=568252801.0 tmax=568512001.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 6.93
user 3.49
sys 3.41

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/498608/ft1_filtered_4FGL_J0430.2-0356_daily_bin1269.fits" evtable="EVENTS" scfile=/scratch/kocevski/498608/ft2_4FGL_J0430.2-0356_daily_bin1269.fits sctable="SC_DATA" outfile=/scratch/kocevski/498608/ltcube_568252801_568512001_4FGL_J0430.2-0356_daily_bin1269.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/498608/ft2_4FGL_J0430.2-0356_daily_bin1269.fits
.....................!
real 15.55
user 11.60
sys 3.92

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/498608/ft1_filtered_4FGL_J0430.2-0356_daily_bin1269.fits evtable="EVENTS" scfile=/scratch/kocevski/498608/ft2_4FGL_J0430.2-0356_daily_bin1269.fits sctable="SC_DATA" expcube=/scratch/kocevski/498608/ltcube_568252801_568512001_4FGL_J0430.2-0356_daily_bin1269.fits outfile=/scratch/kocevski/498608/expmap_568252801_568512001_4FGL_J0430.2-0356_daily_bin1269.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/498608/ltcube_568252801_568512001_4FGL_J0430.2-0356_daily_bin1269.fits
.....................!
real 193.61
user 185.21
sys 8.10

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/498608/ft1_filtered_4FGL_J0430.2-0356_daily_bin1269.fits scfile=/scratch/kocevski/498608/ft2_4FGL_J0430.2-0356_daily_bin1269.fits outfile=/scratch/kocevski/498608/cmap_568252801_568512001_4FGL_J0430.2-0356_daily_bin1269.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.79
user 0.37
sys 3.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/498608/ft1_filtered_4FGL_J0430.2-0356_daily_bin1269.fits scfile=/scratch/kocevski/498608/ft2_4FGL_J0430.2-0356_daily_bin1269.fits outfile=/scratch/kocevski/498608/cmap_HighResolution_568252801_568512001_4FGL_J0430.2-0356_daily_bin1269.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.76
user 0.37
sys 3.38

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/498608/ft1_filtered_4FGL_J0430.2-0356_daily_bin1269.fits evtable="EVENTS" scfile=/scratch/kocevski/498608/ft2_4FGL_J0430.2-0356_daily_bin1269.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/498608/Model_4FGL_J0430.2-0356_daily_bin1269.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/498608/ft1_filtered_4FGL_J0430.2-0356_daily_bin1269.fits.....................!
real 147.26
user 141.58
sys 5.43

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10510E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.2702       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.4890       1.0000         .10000E-03   10000.    
     7 'norm      '    .83733       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23428       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.4102       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.6409       1.0000         .10000E-03   10000.    
    12 'norm      '    1.6841       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.4934       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.225       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2336       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94630       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=   10105.82     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     1772 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.443       -.82343E-06** at limit **
   2  norm          .10000E-03    9.8981        .34493E-05** at limit **
   3  Prefactor     .10000E-03    8.8917       -.30150E-05** at limit **
   4  norm          7.2704        4.6147       -.72904E-07   -.83005E-04
   5  norm          .10000E-03    9.5915        .40920E-05** at limit **
   6  norm          7.4864        12.862       -.87155E-06    .92343E-04
   7  norm          .83733        .73294       -.12681E-06   -.11383E-04
   8  Prefactor     .23331        .63324       -.63209E-06   -.26816E-02
   9  Prefactor     6.4036        15.356       -.58687E-05    .22363E-04
  10  Prefactor     .10000E-03    10.955       -.16935E-05** at limit **
  11  Prefactor     6.6410        8.8993       -.14312E-05   -.28777E-04
  12  norm          1.6847        2.0276       -.33910E-06   -.91220E-03
  13  Prefactor     .10000E-03    26.723        .57835E-05** at limit **
  14  norm          .10000E-03    .58559       -.32289E-06** at limit **
  15  Prefactor     .10000E-03    1.7693        .53049E-07** at limit **
  16  norm          3.4934        2.2013        .10204E-05    .32230E-03
  17  Prefactor     .10000E-03    12.285       -.25015E-05** at limit **
  18  norm          10.156        39.375       -.17451E-03    .42663E-04
  19  Normalizat    1.2335        .19141        .41352E-05    .33444E-03
  20  Prefactor     .94638        .84090E-01    .25437E-05    .22832E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.27037
  norm       = 0.0001
  norm       = 7.48637
  norm       = 0.837329
  Prefactor  = 0.233311
  Prefactor  = 6.4036
  Prefactor  = 0.0001
  Prefactor  = 6.64099
  norm       = 1.68467
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.49336
  Prefactor  = 0.000100003
  norm       = 10.1559
  Normalizat = 1.23348
  Prefactor  = 0.946382
 **********
 **   18 **HESSE 
 **********

 FCN=   10105.82     FROM HESSE     STATUS=OK           297 CALLS     2069 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.739        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    9.9993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.9096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.2704        4.5892        .14876E-03   -1.5169    
   5  norm          .10000E-03    9.7024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.4864        12.776        .14655E-03   -1.5161    
   7  norm          .83733        .69844        .74338E-03   -1.5525    
   8  Prefactor     .23331        .64076        .12376E-02   -1.5611    
   9  Prefactor     6.4036        15.071        .15853E-03   -1.5202    
  10  Prefactor     .10000E-03    10.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.6410        8.9201        .15572E-03   -1.5193    
  12  norm          1.6847        1.9805        .13671E-03   -1.5448    
  13  Prefactor     .10000E-03    26.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .90188        .14886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.7752        .13057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4934        2.1983        .11131E-03   -1.5334    
  17  Prefactor     .10000E-03    12.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.156        39.445        .12531E-03   -1.5070    
  19  Normalizat    1.2335        .21913        .34232E-03   -.85574    
  20  Prefactor     .94638        .97102E-01    .17441E-03   -.94539    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16939e-09
Minuit parameter uncertainties:
  1  0.000114426
  2  4.66247e-05
  3  1.664e-05
  4  4.58946
  5  0.000111329
  6  12.781
  7  0.698449
  8  0.64078
  9  15.0802
  10  1.31962e-06
  11  8.92184
  12  1.9806
  13  0.000189829
  14  1.30188e-05
  15  5.7997e-06
  16  2.1984
  17  0.000362816
  18  39.5465
  19  0.219298
  20  0.0971195
Done.

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

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  6.641e+00  8.922e+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

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.464e-01  9.712e-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:  1.233e+00  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/498608/likelihoodResults_568252801_568512001_4FGL_J0430.2-0356_daily_bin1269.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) = 10105.5425315
delta logL = 0.275933844729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10105.5399485
delta logL = 0.278516870369

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9060       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5895       1.0000          .0000       10.000    
     3 'Normalizat'    1.1961       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95779       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=   10105.54     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      285 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9067        14.457        .17843E-03    .88922E-03
   2  Index         3.5893        2.6619        .10289E-01    .22420E-03
   3  Normalizat    1.1962        .22139        .34694E-03    .22309E-03
   4  Prefactor     .95778        .97289E-01    .17351E-03    .14443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.90675
  Index      = 3.58934
  Normalizat = 1.19616
  Prefactor  = 0.95778
 **********
 **   18 **HESSE 
 **********

 FCN=   10105.54     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9067        7.7293        .71371E-05   -1.5313    
   2  Index         3.5893        1.4789        .41157E-03   -.28602    
   3  Normalizat    1.1962        .22155        .13878E-04   -.86721    
   4  Prefactor     .95778        .97014E-01    .34702E-04   -.94150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34518e-09
Minuit parameter uncertainties:
  1  7.73131
  2  1.50338
  3  0.221726
  4  0.0970319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/498608': 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) = 10105.5399485
delta logL = 0.278516889619

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  3.907e+00  7.731e+00  1.000e-04  1.000e+04 ( 1.000e-12)
223        Index:  3.589e+00  1.503e+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.578e-01  9.703e-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:  1.196e+00  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.37
Ra Dec: 67.569 -3.946
Photon Index (Free Index): 3.59 +/- 1.50
Photon Flux (Free Index): 6.37e-08 +/- 6.47e-08
Energy Flux (Free Index): 1.04e-05 +/- 1.03e-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/498608/cmap_HighResolution_568252801_568512001_4FGL_J0430.2-0356_daily_bin1269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', comment='SUCCESS', energy_flux2='1.04e-05', dlogl='2.79e-01', photon_flux2='6.37e-08', job_status='DONE', time_completed='2021-08-20 18:19:59.746578', photon_index_error2='1.50', photon_index2='3.59', ts='0.72', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='1.03e-05', EG='1.23', time_epoch_completed='1629508799.75', return_code='0', job_id='498608', GAL2='0.96', EG2='1.20', return_code2='0', photon_flux_error2='6.47e-08', ts2='1.37', photon_index='2.69' WHERE bin_id='1269' AND source_name='4FGL J0430.2-0356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 18:19:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 498608: <4FGL_J0430.2-0356_daily_bin1269> in cluster <slac> Done

Job <4FGL_J0430.2-0356_daily_bin1269> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 20 18:05:32 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 18:05:34 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:05:34 2021
Terminated at Fri Aug 20 18:20:03 2021
Results reported at Fri Aug 20 18:20:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0430.2-0356_daily_bin1269 67.5693 -3.9458 568252801 568512001 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 :                                   839.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             337.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            871 sec.

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

