/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 1 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 = 6643
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0429.0-0006_daily_bin141
RA = 67.2549, Dec = -0.1006
tmin = 275875201, tmax = 276134401
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='483347', job_status='RUN', time_executed='2021-08-20 17:15:58.269907', time_epoch_executed='1629504958.27' WHERE source_name='4FGL J0429.0-0006' and cadence='daily' and bin_id='141'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/483347

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/483347/ft1_4FGL_J0429.0-0006_daily_bin141.fits


Retrieving the FT1 file...

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

Retrieving 42 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/483347/ft2_4FGL_J0429.0-0006_daily_bin141.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/483347/ft1_4FGL_J0429.0-0006_daily_bin141.fits outfile=/scratch/kocevski/483347/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin141.fits ra=67.2549 dec=-0.1006 rad=12.0 tmin=275875201.0 tmax=276134401.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 3.77
user 2.97
sys 0.80

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/483347/ft2_4FGL_J0429.0-0006_daily_bin141.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/483347/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin141.fits evtable="EVENTS" outfile="/scratch/kocevski/483347/ft1_filtered_4FGL_J0429.0-0006_daily_bin141.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 1.14
user 0.32
sys 0.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/483347/ft1_filtered_4FGL_J0429.0-0006_daily_bin141.fits" evtable="EVENTS" scfile=/scratch/kocevski/483347/ft2_4FGL_J0429.0-0006_daily_bin141.fits sctable="SC_DATA" outfile=/scratch/kocevski/483347/ltcube_275875201_276134401_4FGL_J0429.0-0006_daily_bin141.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/483347/ft2_4FGL_J0429.0-0006_daily_bin141.fits
.....................!
real 11.77
user 10.69
sys 1.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/483347/ft1_filtered_4FGL_J0429.0-0006_daily_bin141.fits evtable="EVENTS" scfile=/scratch/kocevski/483347/ft2_4FGL_J0429.0-0006_daily_bin141.fits sctable="SC_DATA" expcube=/scratch/kocevski/483347/ltcube_275875201_276134401_4FGL_J0429.0-0006_daily_bin141.fits outfile=/scratch/kocevski/483347/expmap_275875201_276134401_4FGL_J0429.0-0006_daily_bin141.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/483347/ltcube_275875201_276134401_4FGL_J0429.0-0006_daily_bin141.fits
.....................!
real 190.33
user 185.28
sys 4.73

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/483347/ft1_filtered_4FGL_J0429.0-0006_daily_bin141.fits scfile=/scratch/kocevski/483347/ft2_4FGL_J0429.0-0006_daily_bin141.fits outfile=/scratch/kocevski/483347/cmap_275875201_276134401_4FGL_J0429.0-0006_daily_bin141.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 1.15
user 0.36
sys 0.77

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/483347/ft1_filtered_4FGL_J0429.0-0006_daily_bin141.fits scfile=/scratch/kocevski/483347/ft2_4FGL_J0429.0-0006_daily_bin141.fits outfile=/scratch/kocevski/483347/cmap_HighResolution_275875201_276134401_4FGL_J0429.0-0006_daily_bin141.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 1.16
user 0.38
sys 0.77

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/483347/ft1_filtered_4FGL_J0429.0-0006_daily_bin141.fits evtable="EVENTS" scfile=/scratch/kocevski/483347/ft2_4FGL_J0429.0-0006_daily_bin141.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/483347/Model_4FGL_J0429.0-0006_daily_bin141.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/483347/ft1_filtered_4FGL_J0429.0-0006_daily_bin141.fits.....................!
real 134.56
user 132.31
sys 2.01

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.689       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    47.475       1.0000         .10000E-03   10000.    
     5 'norm      '    3.7405       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    17.184       1.0000         .10000E-03   10000.    
     9 'norm      '    4.2909       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10483E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2822       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.9828       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .80887       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .49415       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.3850       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .79250       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1371       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=   9295.228     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2512 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.678        37.377        .26341E-05    .39385E-05
   2  Prefactor     .10000E-03    7.0728        .13209E-06** at limit **
   3  norm          .10000E-03    4.6417        .14835E-06** at limit **
   4  Prefactor     47.478        30.828       -.33558E-06   -.80657E-04
   5  norm          3.7405        3.8968       -.24843E-06   -.88240E-04
   6  Prefactor     .10000E-03    18.114        .24565E-06** at limit **
   7  norm          .10000E-03    4.7678       -.20077E-06** at limit **
   8  norm          17.195        21.742       -.17167E-05   -.13973E-03
   9  norm          4.2919        1.4472        .66160E-08   -.10015E-02
  10  Prefactor     .10000E-03    .58422        .44103E-06** at limit **
  11  Prefactor     .10000E-03    30.254        .22399E-06** at limit **
  12  Prefactor     .10000E-03    32.831        .20824E-05** at limit **
  13  Prefactor     .10000E-03    3.4955        .16977E-07** at limit **
  14  norm          1.2828        2.2612        .22884E-06   -.43338E-04
  15  Prefactor     .10000E-03    22.765       -.26592E-05** at limit **
  16  norm          3.9834        2.1530        .26438E-08   -.24826E-03
  17  Prefactor     .10000E-03    4.9353        .58568E-07** at limit **
  18  Prefactor     .10000E-03    10.237       -.95045E-06** at limit **
  19  norm          .80929        1.4519        .11200E-07   -.21331E-03
  20  Prefactor     .10000E-03    12.765        .19602E-05** at limit **
  21  norm          .49387        .64770       -.13703E-06    .53411E-03
  22  Prefactor     .10000E-03    10.453       -.55526E-06** at limit **
  23  norm          3.3858        4.3403        .18537E-05   -.20621E-03
  24  Normalizat    .79231        .20555       -.38781E-06   -.11791E-03
  25  Prefactor     1.1372        .88292E-01   -.82429E-07   -.22081E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.6785
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 47.4778
  norm       = 3.74048
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 17.1951
  norm       = 4.29195
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.28279
  Prefactor  = 0.0001
  norm       = 3.98339
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.809288
  Prefactor  = 0.0001
  norm       = 0.493873
  Prefactor  = 0.0001
  norm       = 3.38584
  Normalizat = 0.792313
  Prefactor  = 1.13717
 **********
 **   18 **HESSE 
 **********

 FCN=   9295.228     FROM HESSE     STATUS=OK           427 CALLS     2939 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.678        37.335        .92646E-04   -1.4843    
   2  Prefactor     .10000E-03    7.1117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.6428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     47.478        30.809        .58195E-04   -1.4329    
   5  norm          3.7405        3.8853        .18463E-03   -1.5321    
   6  Prefactor     .10000E-03    18.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.8335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          17.195        21.763        .96617E-04   -1.4878    
   9  norm          4.2919        1.4258        .61618E-04   -1.5294    
  10  Prefactor     .10000E-03    .91667        .13843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    30.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    32.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.5098        .17595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2828        2.2294        .18252E-03   -1.5481    
  15  Prefactor     .10000E-03    22.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.9834        2.1483        .98580E-04   -1.5309    
  17  Prefactor     .10000E-03    5.0155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .80929        1.2729        .14702E-02   -1.5528    
  20  Prefactor     .10000E-03    12.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .49387        .60691        .77473E-03   -1.5567    
  22  Prefactor     .10000E-03    10.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.3858        4.3718        .99925E-03   -1.5340    
  24  Normalizat    .79231        .21808        .42768E-03   -1.0035    
  25  Prefactor     1.1372        .96121E-01    .16197E-03   -.88287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06354e-09
Minuit parameter uncertainties:
  1  37.3818
  2  9.74758e-06
  3  1.89754e-06
  4  30.8191
  5  3.88559
  6  5.54147e-07
  7  4.76024e-06
  8  21.7734
  9  1.42579
  10  6.01702e-06
  11  5.92808e-05
  12  4.49528e-05
  13  2.11446e-06
  14  2.22956
  15  3.1803e-05
  16  2.14835
  17  2.44973e-06
  18  1.60275e-05
  19  1.27293
  20  4.46123e-06
  21  0.606918
  22  2.4823e-08
  23  4.37219
  24  0.218324
  25  0.0961355
Done.

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

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  1.000e-04  4.495e-05  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.137e+00  9.614e-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.923e-01  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 67.255 -0.101
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/483347/likelihoodResults_275875201_276134401_4FGL_J0429.0-0006_daily_bin141.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) = 9295.22824036
delta logL = -0.000144852987432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9295.22809559
delta logL = -9.18189471122e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7184       1.0000          .0000       10.000    
     3 'Normalizat'    .79237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1372       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.

 FCN=   9295.228     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      203 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.153        .90712E-02** at limit **
   2  Index         2.7337        6.3654        .50000       -.43988E-05
   3  Normalizat    .79231        .19307        .96516E-01    .39103E-04
   4  Prefactor     1.1372        .86623E-01    .36319E-01   -.18670E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.7337
  Normalizat = 0.792313
  Prefactor  = 1.13717
 **********
 **   18 **HESSE 
 **********

 FCN=   9295.228     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7337        6.3599        .50000       -.47042    
   3  Normalizat    .79231        .20854        .42769E-03   -1.0035    
   4  Prefactor     1.1372        .93883E-01    .16197E-03   -.88287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13694e-11
Minuit parameter uncertainties:
  1  2.67827e-05
  2  4.5719
  3  0.20875
  4  0.0938966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/483347': 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) = 9295.22809549
delta logL = 1.59780029207e-08

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  1.000e-04  2.678e-05  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  2.734e+00  4.572e+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.137e+00  9.390e-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.923e-01  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/483347/cmap_HighResolution_275875201_276134401_4FGL_J0429.0-0006_daily_bin141.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.53e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-08-20 17:29:35.474574', job_id='483347', GAL2='1.14', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1629505775.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.60e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='141' AND source_name='4FGL J0429.0-0006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:29:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0009>
Subject: Job 483347: <4FGL_J0429.0-0006_daily_bin141> in cluster <slac> Done

Job <4FGL_J0429.0-0006_daily_bin141> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 20 17:15:38 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:15:39 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:15:39 2021
Terminated at Fri Aug 20 17:29:36 2021
Results reported at Fri Aug 20 17:29:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0429.0-0006_daily_bin141 67.2549 -0.1006 275875201 276134401 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 :                                   826.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             402.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            838 sec.

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

