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


Performing analysis on: 4FGL_J0430.2-0356_daily_bin1456
RA = 67.5693, Dec = -3.9458
tmin = 616723201, tmax = 616982401
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='498885', job_status='RUN', time_executed='2021-08-20 18:07:02.102347', time_epoch_executed='1629508022.1' WHERE source_name='4FGL J0430.2-0356' and cadence='daily' and bin_id='1456'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/498885

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/498885/ft1_4FGL_J0430.2-0356_daily_bin1456.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/498885/ft2_4FGL_J0430.2-0356_daily_bin1456.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/498885/ft1_4FGL_J0430.2-0356_daily_bin1456.fits outfile=/scratch/kocevski/498885/ft1_filteredMKT_4FGL_J0430.2-0356_daily_bin1456.fits ra=67.5693 dec=-3.9458 rad=12.0 tmin=616723201.0 tmax=616982401.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.56
user 2.84
sys 3.66

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/498885/ft1_filtered_4FGL_J0430.2-0356_daily_bin1456.fits" evtable="EVENTS" scfile=/scratch/kocevski/498885/ft2_4FGL_J0430.2-0356_daily_bin1456.fits sctable="SC_DATA" outfile=/scratch/kocevski/498885/ltcube_616723201_616982401_4FGL_J0430.2-0356_daily_bin1456.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/498885/ft2_4FGL_J0430.2-0356_daily_bin1456.fits
.....................!
real 16.11
user 11.90
sys 4.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/498885/ft1_filtered_4FGL_J0430.2-0356_daily_bin1456.fits evtable="EVENTS" scfile=/scratch/kocevski/498885/ft2_4FGL_J0430.2-0356_daily_bin1456.fits sctable="SC_DATA" expcube=/scratch/kocevski/498885/ltcube_616723201_616982401_4FGL_J0430.2-0356_daily_bin1456.fits outfile=/scratch/kocevski/498885/expmap_616723201_616982401_4FGL_J0430.2-0356_daily_bin1456.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/498885/ltcube_616723201_616982401_4FGL_J0430.2-0356_daily_bin1456.fits
.....................!
real 194.89
user 186.16
sys 8.40

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/498885/ft1_filtered_4FGL_J0430.2-0356_daily_bin1456.fits scfile=/scratch/kocevski/498885/ft2_4FGL_J0430.2-0356_daily_bin1456.fits outfile=/scratch/kocevski/498885/cmap_616723201_616982401_4FGL_J0430.2-0356_daily_bin1456.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.91
user 0.36
sys 3.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/498885/ft1_filtered_4FGL_J0430.2-0356_daily_bin1456.fits scfile=/scratch/kocevski/498885/ft2_4FGL_J0430.2-0356_daily_bin1456.fits outfile=/scratch/kocevski/498885/cmap_HighResolution_616723201_616982401_4FGL_J0430.2-0356_daily_bin1456.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.60
user 0.35
sys 3.22

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/498885/ft1_filtered_4FGL_J0430.2-0356_daily_bin1456.fits evtable="EVENTS" scfile=/scratch/kocevski/498885/ft2_4FGL_J0430.2-0356_daily_bin1456.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/498885/Model_4FGL_J0430.2-0356_daily_bin1456.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/498885/ft1_filtered_4FGL_J0430.2-0356_daily_bin1456.fits.....................!
real 154.06
user 148.10
sys 5.69

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0029       1.0000         .10000E-03   10000.    
     2 'norm      '    .10147E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.123       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.025       1.0000         .10000E-03   10000.    
     6 'norm      '    .13180E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .19109       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12955E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.685       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3293       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3239       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .41752       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1569       1.0000         .10000E-03   10000.    
    16 'norm      '    5.0968       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    28.511       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2823       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90526       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10791.93     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2122 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0059        7.4012         .0000       -.61104E-03
   2  norm          .10000E-03    3.7644         .0000    ** at limit **
   3  Prefactor     12.157        28.839         .0000       -.26361E-03
   4  norm          .10000E-03    1.7628         .0000    ** at limit **
   5  norm          11.026        8.3520         .0000        .16867E-02
   6  norm          .10000E-03    34.961         .0000    ** at limit **
   7  norm          .19146        .61340         .0000        .34756E-02
   8  Prefactor     .10000E-03    .65212         .0000    ** at limit **
   9  Prefactor     .10000E-03    7.2170         .0000    ** at limit **
  10  Prefactor     10.758        27.958         .0000        .12953E-03
  11  Prefactor     1.3307        11.635         .0000        .18466E-01
  12  norm          1.3245        1.7694         .0000        .11523E-02
  13  Prefactor     .10000E-03    7.4847         .0000    ** at limit **
  14  norm          .41745        1.1169         .0000        .30617E-02
  15  Prefactor     4.1567        6.5249         .0000        .77920E-02
  16  norm          5.0965        1.7517         .0000        .26971E-04
  17  Prefactor     .10000E-03    8.7277         .0000    ** at limit **
  18  norm          28.506        32.442         .0000        .33936E-03
  19  Normalizat    1.2823        .17248         .0000        .50017E-04
  20  Prefactor     .90531        .78804E-01     .0000       -.11673E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.00594
  norm       = 0.0001
  Prefactor  = 12.1565
  norm       = 0.0001
  norm       = 11.0265
  norm       = 0.0001
  norm       = 0.191461
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7579
  Prefactor  = 1.33069
  norm       = 1.32448
  Prefactor  = 0.0001
  norm       = 0.417449
  Prefactor  = 4.15667
  norm       = 5.09655
  Prefactor  = 0.0001
  norm       = 28.5059
  Normalizat = 1.2823
  Prefactor  = 0.905312
 **********
 **   18 **HESSE 
 **********

 FCN=   10791.93     FROM HESSE     STATUS=OK           295 CALLS     2417 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0059        7.4440        .15160E-03   -1.5179    
   2  norm          .10000E-03    3.7653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.157        28.095        .11505E-03   -1.5011    
   4  norm          .10000E-03    1.8387        .26911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.026        8.3489        .12066E-03   -1.5044    
   6  norm          .10000E-03    36.370        .41139E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .19146        .71274        .12420E-02   -1.5620    
   8  Prefactor     .10000E-03    2.3072        .14380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.2361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.758        26.115        .12257E-03   -1.5052    
  11  Prefactor     1.3307        11.423        .19049E-02   -1.5477    
  12  norm          1.3245        1.7430        .15181E-03   -1.5478    
  13  Prefactor     .10000E-03    7.5027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .41745        1.0909        .17190E-03   -1.5579    
  15  Prefactor     4.1567        6.5040        .98845E-03   -1.5300    
  16  norm          5.0965        1.7514        .77695E-04   -1.5256    
  17  Prefactor     .10000E-03    8.7556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          28.506        32.463        .75031E-04   -1.4640    
  19  Normalizat    1.2823        .19564        .31318E-03   -.84096    
  20  Prefactor     .90531        .89811E-01    .17781E-03   -.95956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21927e-09
Minuit parameter uncertainties:
  1  7.44496
  2  7.33199e-06
  3  28.1254
  4  2.85191e-06
  5  8.34975
  6  1.93244e-05
  7  0.712771
  8  2.13369e-05
  9  1.29632e-05
  10  26.1428
  11  7.7994
  12  1.74302
  13  6.24199e-05
  14  1.09095
  15  6.50506
  16  1.75139
  17  2.82822e-05
  18  32.4829
  19  0.195757
  20  0.0898256
Done.

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

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  1.331e+00  7.799e+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.053e-01  8.983e-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.282e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 67.569 -3.946
Photon Flux Upper Limit: 9.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/498885/likelihoodResults_616723201_616982401_4FGL_J0430.2-0356_daily_bin1456.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) = 10791.8565626
delta logL = 0.0715490703878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10791.8530782
delta logL = 0.0750334560817

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4766       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4674       1.0000          .0000       10.000    
     3 'Normalizat'    1.2657       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90973       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10791.85     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      276 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4743        6.0743        .27984E-03   -.15763E-04
   2  Index         3.4674        2.3098        .89083E-02    .94171E-04
   3  Normalizat    1.2657        .18658        .31494E-03   -.70751E-05
   4  Prefactor     .90971        .87928E-01    .17743E-03   -.14481E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4743
  Index      = 3.46735
  Normalizat = 1.26575
  Prefactor  = 0.909714
 **********
 **   18 **HESSE 
 **********

 FCN=   10791.85     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4743        5.1276        .11194E-04   -1.5465    
   2  Index         3.4674        2.0014        .17817E-02   -.31154    
   3  Normalizat    1.2657        .18669        .12598E-04   -.84595    
   4  Prefactor     .90971        .88009E-01    .70971E-05   -.95803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25985e-13
Minuit parameter uncertainties:
  1  5.12913
  2  2.06564
  3  0.186786
  4  0.0880229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/498885': 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) = 10791.853078
delta logL = 0.075033664858

Extracting fit parameters...

4FGL J0430.2-0356
   Spectrum: PowerLaw
222    Prefactor:  1.474e+00  5.129e+00  1.000e-04  1.000e+04 ( 1.000e-12)
223        Index:  3.467e+00  2.066e+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.097e-01  8.802e-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.266e+00  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/498885/cmap_HighResolution_616723201_616982401_4FGL_J0430.2-0356_daily_bin1456.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.78e-03', job_status='DONE', photon_flux_upper_limit='9.89e-08', time_completed='2021-08-20 18:21:10.686811', job_id='498885', GAL2='0.91', fit_tolerance='1e-08', EG2='1.27', EG='1.28', time_epoch_completed='1629508870.69', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='7.50e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.69' WHERE bin_id='1456' AND source_name='4FGL J0430.2-0356' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 18:21:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 498885: <4FGL_J0430.2-0356_daily_bin1456> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0430.2-0356_daily_bin1456 67.5693 -3.9458 616723201 616982401 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 :                                   898.22 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             335.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            919 sec.

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

