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


Performing analysis on: 4FGL_J0430.3+1654_daily_bin1004
RA = 67.5901, Dec = 16.9093
tmin = 499564801, tmax = 499824001
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='505835', job_status='RUN', time_executed='2021-08-20 18:27:55.584618', time_epoch_executed='1629509275.58' WHERE source_name='4FGL J0430.3+1654' and cadence='daily' and bin_id='1004'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/505835

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/505835/ft1_4FGL_J0430.3+1654_daily_bin1004.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/505835/ft1_4FGL_J0430.3+1654_daily_bin1004.fits outfile=/scratch/kocevski/505835/ft1_filteredMKT_4FGL_J0430.3+1654_daily_bin1004.fits ra=67.5901 dec=16.9093 rad=12.0 tmin=499564801.0 tmax=499824001.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 4.37
user 3.88
sys 0.47

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.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/505835/ft1_filteredMKT_4FGL_J0430.3+1654_daily_bin1004.fits evtable="EVENTS" outfile="/scratch/kocevski/505835/ft1_filtered_4FGL_J0430.3+1654_daily_bin1004.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.67
user 0.27
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/505835/ft1_filtered_4FGL_J0430.3+1654_daily_bin1004.fits" evtable="EVENTS" scfile=/scratch/kocevski/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.fits sctable="SC_DATA" outfile=/scratch/kocevski/505835/ltcube_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.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/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.fits
.....................!
real 10.07
user 9.49
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/505835/ft1_filtered_4FGL_J0430.3+1654_daily_bin1004.fits evtable="EVENTS" scfile=/scratch/kocevski/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.fits sctable="SC_DATA" expcube=/scratch/kocevski/505835/ltcube_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.fits outfile=/scratch/kocevski/505835/expmap_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.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/505835/ltcube_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.fits
.....................!
real 151.35
user 146.48
sys 4.60

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
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Added 148 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0430.3+1654 @ 67.5901 16.9093

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/505835/ft1_filtered_4FGL_J0430.3+1654_daily_bin1004.fits scfile=/scratch/kocevski/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.fits outfile=/scratch/kocevski/505835/cmap_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.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.5901 yref=16.9093 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.68
user 0.31
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/505835/ft1_filtered_4FGL_J0430.3+1654_daily_bin1004.fits scfile=/scratch/kocevski/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.fits outfile=/scratch/kocevski/505835/cmap_HighResolution_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.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.5901 yref=16.9093 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.68
user 0.31
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/505835/ft1_filtered_4FGL_J0430.3+1654_daily_bin1004.fits evtable="EVENTS" scfile=/scratch/kocevski/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/505835/Model_4FGL_J0430.3+1654_daily_bin1004.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
adding source S 147
Working on...
/scratch/kocevski/505835/ft1_filtered_4FGL_J0430.3+1654_daily_bin1004.fits.....................!
real 216.75
user 214.86
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/505835/ft1_filtered_4FGL_J0430.3+1654_daily_bin1004.fits', '/scratch/kocevski/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.fits', expMap='/scratch/kocevski/505835/expmap_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.fits', expCube='/scratch/kocevski/505835/ltcube_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/505835/Model_4FGL_J0430.3+1654_daily_bin1004.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0430.3+1654'

4FGL J0430.3+1654
   Spectrum: PowerLaw
220    Prefactor:  2.924e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.350e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  1.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/505835/ft1_filtered_4FGL_J0430.3+1654_daily_bin1004.fits
Spacecraft file(s): /scratch/kocevski/505835/ft2_4FGL_J0430.3+1654_daily_bin1004.fits
Exposure map: /scratch/kocevski/505835/expmap_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.fits
Exposure cube: /scratch/kocevski/505835/ltcube_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/505835/Model_4FGL_J0430.3+1654_daily_bin1004.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) = 13134.7393287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    86.473       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10423E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.011       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4973       1.0000         .10000E-03   10000.    
     8 'norm      '    1.4421       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.3107       1.0000         .10000E-03   10000.    
    11 'norm      '    5.3955       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10572E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.8932       1.0000         .10000E-03   10000.    
    15 'norm      '    11.306       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.4737       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .78654       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99818       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13134.69     FROM MIGRAD    STATUS=CONVERGED    384 CALLS     1771 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          86.453        84.609       -.29753E-05   -.14837E-03
   2  Prefactor     .10000E-03    33.783       -.11204E-05** at limit **
   3  Prefactor     .10000E-03    19.895        .31468E-06** at limit **
   4  Prefactor     .10000E-03    45.648        .34979E-06** at limit **
   5  Prefactor     24.815        37.667       -.44558E-06   -.15988E-04
   6  Prefactor     .10000E-03    16.543       -.47926E-06** at limit **
   7  Prefactor     8.5005        11.722        .23629E-05   -.20578E-03
   8  norm          1.4415        2.5940        .45920E-06   -.23447E-03
   9  Prefactor     .10000E-03    13.332       -.96141E-07** at limit **
  10  Prefactor     9.3081        8.0195       -.63155E-07   -.64515E-04
  11  norm          5.3950        2.4730        .36981E-07   -.32597E-03
  12  norm          .10000E-03    9.4942       -.10028E-06** at limit **
  13  Prefactor     .10009E-03    5.7996        .91360E-06** at limit **
  14  Prefactor     4.8925        4.8098       -.19217E-06   -.57047E-03
  15  norm          11.305        4.7775        .39970E-06    .73889E-03
  16  Prefactor     3.4732        5.6108        .56560E-06   -.36069E-04
  17  Normalizat    .78707        .30488       -.64841E-06   -.78238E-04
  18  Prefactor     .99811        .59670E-01   -.28259E-07   -.15261E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 86.4532
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.8154
  Prefactor  = 0.0001
  Prefactor  = 8.50046
  norm       = 1.44151
  Prefactor  = 0.0001
  Prefactor  = 9.30808
  norm       = 5.39503
  norm       = 0.0001
  Prefactor  = 0.000100092
  Prefactor  = 4.89254
  norm       = 11.3053
  Prefactor  = 3.47324
  Normalizat = 0.787073
  Prefactor  = 0.998113
 **********
 **   18 **HESSE 
 **********

 FCN=   13134.69     FROM HESSE     STATUS=OK           246 CALLS     2017 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          86.453        87.701        .43203E-04   -1.3846    
   2  Prefactor     .10000E-03    34.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    46.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     24.815        37.638        .80098E-04   -1.4711    
   6  Prefactor     .10000E-03    16.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.5005        12.133        .68759E-03   -1.5125    
   8  norm          1.4415        2.5879        .23826E-03   -1.5468    
   9  Prefactor     .10000E-03    13.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.3081        7.9792        .13134E-03   -1.5098    
  11  norm          5.3950        2.4589        .11542E-03   -1.5243    
  12  norm          .10000E-03    9.5065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10009E-03    39.654        .50165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.8925        4.8540        .18184E-03   -1.5266    
  15  norm          11.305        4.8782        .11915E-03   -1.5035    
  16  Prefactor     3.4732        5.5936        .21697E-03   -1.5335    
  17  Normalizat    .78707        .30346        .68643E-03   -1.0055    
  18  Prefactor     .99811        .60781E-01    .12708E-03   -.92792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79067e-09
Minuit parameter uncertainties:
  1  87.8326
  2  0.000242944
  3  4.06343e-05
  4  6.08649e-05
  5  37.6736
  6  7.77434e-05
  7  12.1366
  8  2.58813
  9  1.55642e-05
  10  7.98015
  11  2.45896
  12  1.42639e-05
  13  0.00382472
  14  4.85441
  15  4.87836
  16  5.59441
  17  0.30411
  18  0.0607854
Done.

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

Extracting fit parameters...

4FGL J0430.3+1654
   Spectrum: PowerLaw
220    Prefactor:  8.500e+00  1.214e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.350e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  1.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  9.981e-01  6.079e-02  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  7.871e-01  3.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.60
Ra Dec: 67.590 16.909
Photon Flux Upper Limit: 1.61e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/505835/likelihoodResults_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.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) = 13134.524442
delta logL = 0.170326421248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13134.5157442
delta logL = 0.179024258552

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6485       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8321       1.0000          .0000       10.000    
     3 'Normalizat'    .76656       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99984       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+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=   13134.52     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      305 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6459        15.805        .18667E-03   -.89005E-03
   2  Index         2.8323        1.4353        .80883E-02   -.23746E-03
   3  Normalizat    .76656        .29116        .69477E-03    .29473E-03
   4  Prefactor     .99984        .60219E-01    .12698E-03    .15220E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.64593
  Index      = 2.83228
  Normalizat = 0.766555
  Prefactor  = 0.99984
 **********
 **   18 **HESSE 
 **********

 FCN=   13134.52     FROM HESSE     STATUS=OK            25 CALLS      330 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6459        9.4470        .74666E-05   -1.5277    
   2  Index         2.8323        .86655        .32353E-03   -.44842    
   3  Normalizat    .76656        .29026        .27791E-04   -1.0132    
   4  Prefactor     .99984        .59926E-01    .25395E-04   -.92735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51667e-09
Minuit parameter uncertainties:
  1  9.44998
  2  0.871984
  3  0.290846
  4  0.0599302
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/505835': 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) = 13134.5157441
delta logL = 0.179024316318

Extracting fit parameters...

4FGL J0430.3+1654
   Spectrum: PowerLaw
220    Prefactor:  4.646e+00  9.450e+00  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.832e+00  8.720e-01  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  1.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  9.998e-01  5.993e-02  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  7.666e-01  2.908e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.60
Ra Dec: 67.590 16.909

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/505835/cmap_HighResolution_499564801_499824001_4FGL_J0430.3+1654_daily_bin1004.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', job_status='DONE', photon_flux_upper_limit='1.61e-07', time_completed='2021-08-20 18:40:40.295277', job_id='505835', GAL2='1.00', fit_tolerance='1e-08', EG2='0.77', EG='0.79', time_epoch_completed='1629510040.3', return_code2='0', ts='0.60', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.79e-01', ts2='0.97', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1004' AND source_name='4FGL J0430.3+1654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 18:40:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 505835: <4FGL_J0430.3+1654_daily_bin1004> in cluster <slac> Done

Job <4FGL_J0430.3+1654_daily_bin1004> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 20 18:25:26 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 18:25:28 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:25:28 2021
Terminated at Fri Aug 20 18:40:41 2021
Results reported at Fri Aug 20 18:40:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0430.3+1654_daily_bin1004 67.5901 16.9093 499564801 499824001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0430.3+1654 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   765.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            915 sec.

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

