/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 92 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 = 7460
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0429.0-0006_daily_bin1475
RA = 67.2549, Dec = -0.1006
tmin = 621648001, tmax = 621907201
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='490931', job_status='RUN', time_executed='2021-08-20 17:42:54.039873', time_epoch_executed='1629506574.04' WHERE source_name='4FGL J0429.0-0006' and cadence='daily' and bin_id='1475'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/490931

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/490931/ft1_4FGL_J0429.0-0006_daily_bin1475.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/490931/ft1_4FGL_J0429.0-0006_daily_bin1475.fits outfile=/scratch/kocevski/490931/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin1475.fits ra=67.2549 dec=-0.1006 rad=12.0 tmin=621648001.0 tmax=621907201.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 7.37
user 5.05
sys 2.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.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/490931/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin1475.fits evtable="EVENTS" outfile="/scratch/kocevski/490931/ft1_filtered_4FGL_J0429.0-0006_daily_bin1475.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 2.58
user 0.33
sys 2.23

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/490931/ft1_filtered_4FGL_J0429.0-0006_daily_bin1475.fits" evtable="EVENTS" scfile=/scratch/kocevski/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.fits sctable="SC_DATA" outfile=/scratch/kocevski/490931/ltcube_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.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/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.fits
.....................!
real 14.00
user 11.32
sys 2.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/490931/ft1_filtered_4FGL_J0429.0-0006_daily_bin1475.fits evtable="EVENTS" scfile=/scratch/kocevski/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.fits sctable="SC_DATA" expcube=/scratch/kocevski/490931/ltcube_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.fits outfile=/scratch/kocevski/490931/expmap_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.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/490931/ltcube_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.fits
.....................!
real 194.16
user 186.51
sys 7.27

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 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J0429.0-0006 @ 67.2549 -0.1006

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/490931/ft1_filtered_4FGL_J0429.0-0006_daily_bin1475.fits scfile=/scratch/kocevski/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.fits outfile=/scratch/kocevski/490931/cmap_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.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.2549 yref=-0.1006 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 2.56
user 0.37
sys 2.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/490931/ft1_filtered_4FGL_J0429.0-0006_daily_bin1475.fits scfile=/scratch/kocevski/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.fits outfile=/scratch/kocevski/490931/cmap_HighResolution_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.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.2549 yref=-0.1006 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 2.58
user 0.35
sys 2.21

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/490931/ft1_filtered_4FGL_J0429.0-0006_daily_bin1475.fits evtable="EVENTS" scfile=/scratch/kocevski/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/490931/Model_4FGL_J0429.0-0006_daily_bin1475.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/490931/ft1_filtered_4FGL_J0429.0-0006_daily_bin1475.fits.....................!
real 119.26
user 115.20
sys 3.83

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/490931/ft1_filtered_4FGL_J0429.0-0006_daily_bin1475.fits', '/scratch/kocevski/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.fits', expMap='/scratch/kocevski/490931/expmap_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.fits', expCube='/scratch/kocevski/490931/ltcube_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/490931/Model_4FGL_J0429.0-0006_daily_bin1475.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0429.0-0006'

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  3.512e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  2.717e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
211        Scale:  7.378e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/490931/ft1_filtered_4FGL_J0429.0-0006_daily_bin1475.fits
Spacecraft file(s): /scratch/kocevski/490931/ft2_4FGL_J0429.0-0006_daily_bin1475.fits
Exposure map: /scratch/kocevski/490931/expmap_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.fits
Exposure cube: /scratch/kocevski/490931/ltcube_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/490931/Model_4FGL_J0429.0-0006_daily_bin1475.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) = 7842.63422714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.891       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.514       1.0000         .10000E-03   10000.    
     3 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.224       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.4789       1.0000         .10000E-03   10000.    
     8 'norm      '    21.361       1.0000         .10000E-03   10000.    
     9 'norm      '    4.9719       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11293E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5025       1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.290       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.8019       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.5607       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.5145       1.0000         .10000E-03   10000.    
    20 'Prefactor '    32.094       1.0000         .10000E-03   10000.    
    21 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.015       1.0000         .10000E-03   10000.    
    23 'norm      '    7.9746       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .79667       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0153       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7842.626     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2936 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.885        50.086       -.60513E-05   -.12491E-05
   2  Prefactor     19.514        14.780        .65938E-06   -.76854E-05
   3  norm          .10000E-03    8.8934        .59259E-07** at limit **
   4  Prefactor     38.224        34.918       -.43339E-06   -.15628E-04
   5  norm          .10000E-03    5.3487       -.93682E-07** at limit **
   6  Prefactor     .10000E-03    8.4518        .13622E-06** at limit **
   7  norm          9.4768        9.9057       -.50741E-06   -.52130E-04
   8  norm          21.364        30.570        .66939E-05   -.16495E-04
   9  norm          4.9720        1.8652        .65628E-06   -.55140E-03
  10  Prefactor     .10000E-03    1.1455        .44329E-06** at limit **
  11  Prefactor     2.4872        34.918       -.48875E-05   -.94695E-04
  12  Prefactor     35.275        59.881       -.21249E-04   -.28136E-04
  13  Prefactor     .10000E-03    4.2922        .29706E-07** at limit **
  14  norm          2.8008        2.8380        .84023E-07   -.53656E-03
  15  Prefactor     .10000E-03    25.281        .30933E-07** at limit **
  16  norm          1.5600        1.8044        .24431E-06   -.16206E-03
  17  Prefactor     .10000E-03    3.9259       -.81869E-07** at limit **
  18  Prefactor     .10000E-03    10.185        .44028E-07** at limit **
  19  norm          1.5142        2.0732       -.24510E-06   -.10229E-02
  20  Prefactor     32.099        27.450        .39339E-05    .33816E-04
  21  norm          .10000E-03    .16614       -.10046E-06** at limit **
  22  Prefactor     20.015        25.416        .61636E-07    .44623E-06
  23  norm          7.9746        4.2249       -.36287E-06    .83106E-04
  24  Normalizat    .79675        .23350        .21912E-05   -.38114E-04
  25  Prefactor     1.0152        .91850E-01   -.48497E-07    .98027E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.885
  Prefactor  = 19.5141
  norm       = 0.000100004
  Prefactor  = 38.2241
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.47675
  norm       = 21.3645
  norm       = 4.97202
  Prefactor  = 0.0001
  Prefactor  = 2.48724
  Prefactor  = 35.2746
  Prefactor  = 0.0001
  norm       = 2.80083
  Prefactor  = 0.0001
  norm       = 1.55997
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.51424
  Prefactor  = 32.0993
  norm       = 0.0001
  Prefactor  = 20.015
  norm       = 7.97464
  Normalizat = 0.796749
  Prefactor  = 1.01524
 **********
 **   18 **HESSE 
 **********

 FCN=   7842.626     FROM HESSE     STATUS=OK           431 CALLS     3367 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.885        50.021        .48713E-04   -1.4058    
   2  Prefactor     19.514        14.779        .90669E-04   -1.4824    
   3  norm          .10000E-03    56.444        .51483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     38.224        34.916        .64827E-04   -1.4471    
   5  norm          .10000E-03    5.4835        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.4672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4768        9.9225        .13017E-03   -1.5092    
   8  norm          21.364        30.418        .86663E-04   -1.4783    
   9  norm          4.9720        1.8563        .62984E-04   -1.5262    
  10  Prefactor     .10000E-03    1.1712        .18447E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4872        33.982        .25833E-03   -1.5393    
  12  Prefactor     35.275        59.453        .67460E-04   -1.4519    
  13  Prefactor     .10000E-03    4.3057        .17912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.8008        2.7787        .13064E-03   -1.5373    
  15  Prefactor     .10000E-03    25.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.5600        1.7853        .12172E-03   -1.5458    
  17  Prefactor     .10000E-03    4.0041        .17128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.5142        2.0555        .13860E-03   -1.5462    
  20  Prefactor     32.099        27.267        .70730E-04   -1.4574    
  21  norm          .10000E-03    .16995        .69919E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     20.015        25.342        .89528E-04   -1.4813    
  23  norm          7.9746        4.2166        .12352E-03   -1.5143    
  24  Normalizat    .79675        .25332        .43555E-03   -1.0019    
  25  Prefactor     1.0152        .10151        .16238E-03   -.92223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.21204e-10
Minuit parameter uncertainties:
  1  50.0523
  2  14.7822
  3  0.000926736
  4  34.9346
  5  2.36454e-05
  6  2.91565e-06
  7  9.92418
  8  30.4402
  9  1.85637
  10  3.72227e-05
  11  18.3994
  12  59.5529
  13  1.39427e-05
  14  2.7788
  15  7.58255e-06
  16  1.78538
  17  7.44238e-06
  18  2.66894e-05
  19  2.05559
  20  27.278
  21  3.57046e-06
  22  25.3551
  23  4.21679
  24  0.253698
  25  0.101532
Done.

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

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  3.527e+01  5.955e+01  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  2.717e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
211        Scale:  7.378e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  1.015e+00  1.015e-01  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  7.967e-01  2.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 67.255 -0.101
Photon Flux Upper Limit: 1.93e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.52e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/490931/likelihoodResults_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.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) = 7842.46618758
delta logL = 0.159899010096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7842.46062795
delta logL = 0.165458639214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.399       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4112       1.0000          .0000       10.000    
     3 'Normalizat'    .77866       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0200       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4870E+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=   7842.461     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      304 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.394        99.742        .96018E-04   -.94460E-03
   2  Index         3.4116        2.5994        .77449E-02   -.49590E-03
   3  Normalizat    .77840        .24257        .44000E-03   -.71073E-03
   4  Prefactor     1.0201        .99657E-01    .16203E-03   -.13234E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3936
  Index      = 3.41165
  Normalizat = 0.778401
  Prefactor  = 1.02009
 **********
 **   18 **HESSE 
 **********

 FCN=   7842.461     FROM HESSE     STATUS=OK            23 CALLS      327 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.394        45.175        .19204E-04   -1.4874    
   2  Index         3.4116        1.4652        .30980E-03   -.32327    
   3  Normalizat    .77840        .24276        .88001E-04   -1.0087    
   4  Prefactor     1.0201        .99575E-01    .32406E-04   -.92063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.49651e-09
Minuit parameter uncertainties:
  1  45.2643
  2  1.48954
  3  0.243099
  4  0.0995931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/490931': 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) = 7842.46062724
delta logL = 0.165459355424

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  1.739e+01  4.526e+01  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  3.412e+00  1.490e+00  0.000e+00  1.000e+01 (-1.000e+00)
211        Scale:  7.378e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  1.020e+00  9.959e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  7.784e-01  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.53
Ra Dec: 67.255 -0.101

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/490931/cmap_HighResolution_621648001_621907201_4FGL_J0429.0-0006_daily_bin1475.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.52e-02', job_status='DONE', photon_flux_upper_limit='1.93e-07', time_completed='2021-08-20 17:56:29.183937', job_id='490931', GAL2='1.02', fit_tolerance='1e-08', EG2='0.78', EG='0.80', time_epoch_completed='1629507389.18', return_code2='0', ts='0.53', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.65e-01', ts2='0.90', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1475' AND source_name='4FGL J0429.0-0006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:56:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 490931: <4FGL_J0429.0-0006_daily_bin1475> in cluster <slac> Done

Job <4FGL_J0429.0-0006_daily_bin1475> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 20 17:40:35 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:40:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 17:40:37 2021
Terminated at Fri Aug 20 17:56:30 2021
Results reported at Fri Aug 20 17:56:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0429.0-0006_daily_bin1475 67.2549 -0.1006 621648001 621907201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0429.0-0006 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   841.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            955 sec.

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

