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


Performing analysis on: 4FGL_J0430.2-0356_daily_bin1025
RA = 67.5693, Dec = -3.9458
tmin = 505008001, tmax = 505267201
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='497192', job_status='RUN', time_executed='2021-08-20 18:05:33.693807', time_epoch_executed='1629507933.69' WHERE source_name='4FGL J0430.2-0356' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/497192

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/497192/ft1_4FGL_J0430.2-0356_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/497192/ft2_4FGL_J0430.2-0356_daily_bin1025.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/497192/ft1_4FGL_J0430.2-0356_daily_bin1025.fits outfile=/scratch/kocevski/497192/ft1_filteredMKT_4FGL_J0430.2-0356_daily_bin1025.fits ra=67.5693 dec=-3.9458 rad=12.0 tmin=505008001.0 tmax=505267201.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 11.91
user 4.28
sys 7.58

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/497192/ft2_4FGL_J0430.2-0356_daily_bin1025.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/497192/ft1_filteredMKT_4FGL_J0430.2-0356_daily_bin1025.fits evtable="EVENTS" outfile="/scratch/kocevski/497192/ft1_filtered_4FGL_J0430.2-0356_daily_bin1025.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 8.48
user 0.32
sys 8.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/497192/ft1_filtered_4FGL_J0430.2-0356_daily_bin1025.fits" evtable="EVENTS" scfile=/scratch/kocevski/497192/ft2_4FGL_J0430.2-0356_daily_bin1025.fits sctable="SC_DATA" outfile=/scratch/kocevski/497192/ltcube_505008001_505267201_4FGL_J0430.2-0356_daily_bin1025.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/497192/ft2_4FGL_J0430.2-0356_daily_bin1025.fits
.....................!
real 20.69
user 12.14
sys 8.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/497192/ft1_filtered_4FGL_J0430.2-0356_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/497192/ft2_4FGL_J0430.2-0356_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/497192/ltcube_505008001_505267201_4FGL_J0430.2-0356_daily_bin1025.fits outfile=/scratch/kocevski/497192/expmap_505008001_505267201_4FGL_J0430.2-0356_daily_bin1025.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/497192/ltcube_505008001_505267201_4FGL_J0430.2-0356_daily_bin1025.fits
.....................!
real 200.48
user 185.56
sys 14.25

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/497192/ft1_filtered_4FGL_J0430.2-0356_daily_bin1025.fits scfile=/scratch/kocevski/497192/ft2_4FGL_J0430.2-0356_daily_bin1025.fits outfile=/scratch/kocevski/497192/cmap_505008001_505267201_4FGL_J0430.2-0356_daily_bin1025.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 7.85
user 0.37
sys 7.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/497192/ft1_filtered_4FGL_J0430.2-0356_daily_bin1025.fits scfile=/scratch/kocevski/497192/ft2_4FGL_J0430.2-0356_daily_bin1025.fits outfile=/scratch/kocevski/497192/cmap_HighResolution_505008001_505267201_4FGL_J0430.2-0356_daily_bin1025.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 8.05
user 0.38
sys 7.61

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/497192/ft1_filtered_4FGL_J0430.2-0356_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/497192/ft2_4FGL_J0430.2-0356_daily_bin1025.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/497192/Model_4FGL_J0430.2-0356_daily_bin1025.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/497192/ft1_filtered_4FGL_J0430.2-0356_daily_bin1025.fits.....................!
real 94.78
user 83.22
sys 10.60

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.473       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10831E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.9413       1.0000         .10000E-03   10000.    
     6 'norm      '    .10109E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1295       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .81925       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.8966       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3034       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.9790       1.0000         .10000E-03   10000.    
    14 'norm      '    1.3455       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.492       1.0000         .10000E-03   10000.    
    16 'norm      '    2.8944       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1465       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81758       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=   5773.256     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     1741 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.473        11.154       -.88286E-06    .88314E-04
   2  norm          .10000E-03    5.7327       -.56894E-07** at limit **
   3  Prefactor     .10000E-03    46.158       -.35420E-04** at limit **
   4  norm          .10000E-03    2.9289       -.26644E-07** at limit **
   5  norm          9.9443        10.454       -.55876E-06    .73507E-04
   6  norm          .10000E-03    13.564        .12879E-04** at limit **
   7  norm          1.1291        1.0754       -.22841E-06   -.28378E-03
   8  Prefactor     .81891        1.2717       -.31085E-06   -.11748E-02
   9  Prefactor     .10000E-03    34.613        .41674E-04** at limit **
  10  Prefactor     .10000E-03    11.255       -.32690E-05** at limit **
  11  Prefactor     6.8947        10.534       -.14408E-05    .10817E-04
  12  norm          1.3033        2.0823       -.72832E-06   -.15018E-02
  13  Prefactor     6.9452        30.823       -.68572E-04    .15178E-04
  14  norm          1.3454        1.5639       -.32275E-06   -.27432E-03
  15  Prefactor     19.495        13.511       -.15724E-05   -.20585E-03
  16  norm          2.8943        1.8784       -.31419E-06    .10899E-03
  17  Prefactor     .10000E-03    15.438       -.86682E-05** at limit **
  18  norm          .10000E-03    20.465       -.11985E-04** at limit **
  19  Normalizat    1.1464        .23386        .10932E-04   -.21680E-03
  20  Prefactor     .81766        .99766E-01   -.53018E-06    .37306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4728
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.94428
  norm       = 0.0001
  norm       = 1.12907
  Prefactor  = 0.818912
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 6.89472
  norm       = 1.30327
  Prefactor  = 6.94517
  norm       = 1.34537
  Prefactor  = 19.4955
  norm       = 2.89427
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.14638
  Prefactor  = 0.817657
 **********
 **   18 **HESSE 
 **********

 FCN=   5773.256     FROM HESSE     STATUS=OK           295 CALLS     2036 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.473        11.258        .11342E-03   -1.5001    
   2  norm          .10000E-03    5.7338        .17768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    46.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.9511        .12690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.9443        10.479        .12709E-03   -1.5077    
   6  norm          .10000E-03    13.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1291        1.0438        .72236E-04   -1.5495    
   8  Prefactor     .81891        1.0709        .10167E-02   -1.5527    
   9  Prefactor     .10000E-03    34.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.8947        10.546        .15277E-03   -1.5183    
  12  norm          1.3033        2.0387        .13158E-03   -1.5480    
  13  Prefactor     6.9452        31.100        .15186E-03   -1.5181    
  14  norm          1.3454        1.5485        .98796E-04   -1.5476    
  15  Prefactor     19.495        13.456        .90720E-04   -1.4825    
  16  norm          2.8943        1.8764        .80742E-04   -1.5368    
  17  Prefactor     .10000E-03    15.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    20.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1464        .26587        .31978E-03   -.88276    
  20  Prefactor     .81766        .11359        .17368E-03   -.99081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1029e-09
Minuit parameter uncertainties:
  1  11.2602
  2  3.4405e-06
  3  2.94501e-05
  4  1.46487e-05
  5  10.4808
  6  4.58821e-05
  7  1.04386
  8  1.07088
  9  0.000532111
  10  1.29767e-05
  11  10.5484
  12  2.03877
  13  29.4187
  14  1.5485
  15  13.4586
  16  1.87645
  17  5.16616e-05
  18  3.91718e-05
  19  0.266179
  20  0.113618
Done.

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

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  6.895e+00  1.055e+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:  8.177e-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.146e+00  2.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/497192/likelihoodResults_505008001_505267201_4FGL_J0430.2-0356_daily_bin1025.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) = 5773.0177508
delta logL = 0.23864415508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5773.0040512
delta logL = 0.252343756624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8164       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8592       1.0000          .0000       10.000    
     3 'Normalizat'    1.1128       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82835       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=   5773.004     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      247 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8013        74.378        .60592E-02    .36001E-03
   2  Index         3.8643        6.8866        .20715        .70450E-04
   3  Normalizat    1.1134        .68609E-01    .73175E-01   -.12711E-04
   4  Prefactor     .82821        .31920E-01    .44085E-01   -.62691E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.80126
  Index      = 3.8643
  Normalizat = 1.1134
  Prefactor  = 0.828211
 **********
 **   18 **HESSE 
 **********

 FCN=   5773.004     FROM HESSE     STATUS=OK            33 CALLS      280 TOTAL
                     EDM=   .97E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8013        27.702        .13116E-03   -1.5373    
   2  Index         3.8643        3.9269        .87323E-02   -.22914    
   3  Normalizat    1.1134        .24663        .32382E-03   -.89323    
   4  Prefactor     .82821        .11269        .17271E-03   -.98697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.74013e-08
Minuit parameter uncertainties:
  1  17.6284
  2  4.56807
  3  0.246882
  4  0.112723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/497192': 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) = 5773.00404086
delta logL = 0.252354093633

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  2.801e+00  1.763e+01  1.000e-04  1.000e+04 ( 1.000e-12)
223        Index:  3.864e+00  4.568e+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:  8.282e-01  1.127e-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.113e+00  2.469e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.14
Ra Dec: 67.569 -3.946
Photon Index (Free Index): 3.86 +/- 4.57
Photon Flux (Free Index): 6.56e-08 +/- 7.31e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.47e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/497192/cmap_HighResolution_505008001_505267201_4FGL_J0430.2-0356_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='2.52e-01', photon_flux2='6.56e-08', job_status='DONE', time_completed='2021-08-20 18:16:31.975579', photon_index_error2='4.57', photon_index2='3.86', ts='0.58', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.47e-05', EG='1.15', time_epoch_completed='1629508591.98', return_code='0', job_id='497192', GAL2='0.83', EG2='1.11', return_code2='0', photon_flux_error2='7.31e-08', ts2='1.14', photon_index='2.69' WHERE bin_id='1025' AND source_name='4FGL J0430.2-0356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 18:16:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 497192: <4FGL_J0430.2-0356_daily_bin1025> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0430.2-0356_daily_bin1025 67.5693 -3.9458 505008001 505267201 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.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            944 sec.

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

