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


Performing analysis on: 4FGL_J0429.0-0006_daily_bin1410
RA = 67.2549, Dec = -0.1006
tmin = 604800001, tmax = 605059201
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='490819', job_status='RUN', time_executed='2021-08-20 17:42:43.236010', time_epoch_executed='1629506563.24' WHERE source_name='4FGL J0429.0-0006' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/490819

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/490819/ft1_4FGL_J0429.0-0006_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/490819/ft2_4FGL_J0429.0-0006_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/490819/ft1_4FGL_J0429.0-0006_daily_bin1410.fits outfile=/scratch/kocevski/490819/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin1410.fits ra=67.2549 dec=-0.1006 rad=12.0 tmin=604800001.0 tmax=605059201.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 13.03
user 4.83
sys 8.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/490819/ft1_filtered_4FGL_J0429.0-0006_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/490819/ft2_4FGL_J0429.0-0006_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/490819/ltcube_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.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/490819/ft2_4FGL_J0429.0-0006_daily_bin1410.fits
.....................!
real 21.43
user 12.19
sys 9.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/490819/ft1_filtered_4FGL_J0429.0-0006_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/490819/ft2_4FGL_J0429.0-0006_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/490819/ltcube_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.fits outfile=/scratch/kocevski/490819/expmap_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.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/490819/ltcube_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.fits
.....................!
real 199.90
user 185.23
sys 14.26

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/490819/ft1_filtered_4FGL_J0429.0-0006_daily_bin1410.fits scfile=/scratch/kocevski/490819/ft2_4FGL_J0429.0-0006_daily_bin1410.fits outfile=/scratch/kocevski/490819/cmap_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.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 8.32
user 0.39
sys 7.90

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/490819/ft1_filtered_4FGL_J0429.0-0006_daily_bin1410.fits scfile=/scratch/kocevski/490819/ft2_4FGL_J0429.0-0006_daily_bin1410.fits outfile=/scratch/kocevski/490819/cmap_HighResolution_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.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 8.32
user 0.38
sys 7.90

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/490819/ft1_filtered_4FGL_J0429.0-0006_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/490819/ft2_4FGL_J0429.0-0006_daily_bin1410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/490819/Model_4FGL_J0429.0-0006_daily_bin1410.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/490819/ft1_filtered_4FGL_J0429.0-0006_daily_bin1410.fits.....................!
real 119.35
user 107.63
sys 11.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/490819/ft1_filtered_4FGL_J0429.0-0006_daily_bin1410.fits', '/scratch/kocevski/490819/ft2_4FGL_J0429.0-0006_daily_bin1410.fits', expMap='/scratch/kocevski/490819/expmap_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.fits', expCube='/scratch/kocevski/490819/ltcube_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/490819/Model_4FGL_J0429.0-0006_daily_bin1410.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/490819/ft1_filtered_4FGL_J0429.0-0006_daily_bin1410.fits
Spacecraft file(s): /scratch/kocevski/490819/ft2_4FGL_J0429.0-0006_daily_bin1410.fits
Exposure map: /scratch/kocevski/490819/expmap_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.fits
Exposure cube: /scratch/kocevski/490819/ltcube_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/490819/Model_4FGL_J0429.0-0006_daily_bin1410.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) = 7029.5524954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.100       1.0000         .10000E-03   10000.    
     7 'norm      '    3.9172       1.0000         .10000E-03   10000.    
     8 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .33864       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.005       1.0000         .10000E-03   10000.    
    12 'Prefactor '    71.827       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .53354E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.9326       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.532       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    12.226       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.0358       1.0000         .10000E-03   10000.    
    23 'norm      '    2.7630       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .59106       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2323       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=   7029.539     FROM MIGRAD    STATUS=CONVERGED    602 CALLS     2982 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    33.426       -.40757E-05** at limit **
   2  Prefactor     .10001E-03    42.651        .51264E-05** at limit **
   3  norm          .10000E-03    11.756        .39783E-06** at limit **
   4  Prefactor     .10000E-03    10.507       -.14197E-06** at limit **
   5  norm          .10000E-03    1.6391       -.35705E-07** at limit **
   6  Prefactor     40.099        41.105       -.13490E-05   -.24999E-03
   7  norm          3.9147        10.291        .79903E-05   -.50142E-03
   8  norm          .10000E-03    41.378        .19940E-05** at limit **
   9  norm          .33909        1.1791        .73258E-06   -.42225E-04
  10  Prefactor     .10000E-03    .64883       -.13466E-06** at limit **
  11  Prefactor     10.093        30.554        .97103E-06   -.21949E-05
  12  Prefactor     71.800        50.483       -.36372E-05   -.45286E-03
  13  Prefactor     .10000E-03    2.4149       -.61659E-07** at limit **
  14  norm          .10000E-03    1.9595        .42375E-06** at limit **
  15  Prefactor     .10000E-03    25.386        .28989E-05** at limit **
  16  norm          1.9329        2.5948        .35952E-06   -.87664E-04
  17  Prefactor     15.541        10.164       -.20602E-06   -.20923E-03
  18  Prefactor     .10000E-03    15.177       -.54129E-06** at limit **
  19  norm          12.227        4.1300        .25787E-06   -.95772E-05
  20  Prefactor     .10000E-03    35.091       -.36601E-05** at limit **
  21  norm          .10000E-03    .39456        .24754E-07** at limit **
  22  Prefactor     9.0035        47.883       -.57523E-05   -.14017E-03
  23  norm          2.7607        4.9973        .43174E-06   -.60438E-04
  24  Normalizat    .59109        .28565       -.37714E-05   -.11261E-03
  25  Prefactor     1.2323        .11063        .37915E-06   -.37367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.0992
  norm       = 3.91467
  norm       = 0.000100001
  norm       = 0.339095
  Prefactor  = 0.0001
  Prefactor  = 10.0927
  Prefactor  = 71.7996
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.000100003
  norm       = 1.93295
  Prefactor  = 15.5407
  Prefactor  = 0.0001
  norm       = 12.2269
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 9.00354
  norm       = 2.76074
  Normalizat = 0.591092
  Prefactor  = 1.23233
 **********
 **   18 **HESSE 
 **********

 FCN=   7029.539     FROM HESSE     STATUS=OK           423 CALLS     3405 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    33.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    44.463        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    11.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6418        .10480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     40.099        41.551        .63299E-04   -1.4441    
   7  norm          3.9147        10.614        .10192E-02   -1.5312    
   8  norm          .10000E-03    41.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .33909        1.1609        .15125E-03   -1.5592    
  10  Prefactor     .10000E-03    .65115        .65756E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.093        27.407        .12668E-03   -1.5072    
  12  Prefactor     71.800        50.606        .47369E-04   -1.4011    
  13  Prefactor     .10000E-03    2.4163        .12724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    8.0810        .19605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9329        2.5645        .14633E-03   -1.5430    
  17  Prefactor     15.541        10.056        .10163E-03   -1.4919    
  18  Prefactor     .10000E-03    15.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.227        4.1168        .87982E-04   -1.5008    
  20  Prefactor     .10000E-03    35.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .65925        .96399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.0035        49.156        .13333E-03   -1.5108    
  23  norm          2.7607        4.7279        .23067E-03   -1.5376    
  24  Normalizat    .59109        .28687        .53841E-03   -1.0836    
  25  Prefactor     1.2323        .11438        .16129E-03   -.85342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97931e-09
Minuit parameter uncertainties:
  1  0.000894373
  2  0.00127678
  3  4.2906e-05
  4  1.70848e-05
  5  3.56923e-06
  6  41.5813
  7  10.6193
  8  0.000459314
  9  1.16097
  10  2.83614e-06
  11  27.4409
  12  50.6365
  13  2.58857e-06
  14  0.000236378
  15  0.00055881
  16  2.56466
  17  10.0574
  18  7.51284e-05
  19  4.1169
  20  0.000806212
  21  3.16857e-07
  22  42.1284
  23  4.72854
  24  0.287595
  25  0.114404
Done.

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

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  7.180e+01  5.064e+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.232e+00  1.144e-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:  5.911e-01  2.876e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.25
Ra Dec: 67.255 -0.101
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 9.56e-08 +/- 6.73e-08
Energy Flux (Fixed Index): 2.27e-05 +/- 1.60e-05

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) = 7029.43963407
delta logL = 0.0989331488108

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7029.43513931
delta logL = 0.103427908316

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    89.347       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4508       1.0000          .0000       10.000    
     3 'Normalizat'    .60345       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2291       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=   7029.435     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      290 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     89.366        68.967        .21254E-03    .45305E-04
   2  Index         2.4511        .57296        .73765E-02   -.10426E-04
   3  Normalizat    .60338        .26735        .53328E-03    .12898E-04
   4  Prefactor     1.2291        .11180        .16147E-03   -.19138E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 89.3661
  Index      = 2.45112
  Normalizat = 0.603384
  Prefactor  = 1.22908
 **********
 **   18 **HESSE 
 **********

 FCN=   7029.435     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     89.366        67.511        .85017E-05   -1.3814    
   2  Index         2.4511        .56069        .29506E-03   -.53493    
   3  Normalizat    .60338        .26733        .21331E-04   -1.0784    
   4  Prefactor     1.2291        .11179        .32294E-04   -.85441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.76196e-11
Minuit parameter uncertainties:
  1  67.5686
  2  0.562288
  3  0.267909
  4  0.111814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/490819': 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) = 7029.435139
delta logL = 0.103428211045

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  8.937e+01  6.757e+01  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  2.451e+00  5.623e-01  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.229e+00  1.118e-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:  6.034e-01  2.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.44
Ra Dec: 67.255 -0.101
Photon Index (Free Index): 2.45 +/- 0.56
Photon Flux (Free Index): 8.27e-08 +/- 6.48e-08
Energy Flux (Free Index): 2.54e-05 +/- 1.86e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/490819/cmap_HighResolution_604800001_605059201_4FGL_J0429.0-0006_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.56e-08', energy_flux2='2.54e-05', photon_flux_error='6.73e-08', dlogl='1.03e-01', energy_flux='2.27e-05', photon_flux2='8.27e-08', job_status='DONE', time_completed='2021-08-20 17:55:52.499791', photon_index_error2='0.56', photon_index2='2.45', ts='4.25', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='0.59', time_epoch_completed='1629507352.5', return_code='0', job_id='490819', GAL2='1.23', EG2='0.60', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='6.48e-08', ts2='4.44', photon_index='2.72' WHERE bin_id='1410' AND source_name='4FGL J0429.0-0006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:55:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 490819: <4FGL_J0429.0-0006_daily_bin1410> in cluster <slac> Done

Job <4FGL_J0429.0-0006_daily_bin1410> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 20 17:40:27 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:40: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 17:40:28 2021
Terminated at Fri Aug 20 17:55:54 2021
Results reported at Fri Aug 20 17:55:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0429.0-0006_daily_bin1410 67.2549 -0.1006 604800001 605059201 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 :                                   904.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            927 sec.

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

