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


Performing analysis on: 4FGL_J0429.0-0006_daily_bin1035
RA = 67.2549, Dec = -0.1006
tmin = 507600001, tmax = 507859201
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='488064', job_status='RUN', time_executed='2021-08-20 17:33:35.678229', time_epoch_executed='1629506015.68' WHERE source_name='4FGL J0429.0-0006' and cadence='daily' and bin_id='1035'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/488064

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/488064/ft1_4FGL_J0429.0-0006_daily_bin1035.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/488064/ft2_4FGL_J0429.0-0006_daily_bin1035.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/488064/ft1_4FGL_J0429.0-0006_daily_bin1035.fits outfile=/scratch/kocevski/488064/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin1035.fits ra=67.2549 dec=-0.1006 rad=12.0 tmin=507600001.0 tmax=507859201.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 5.99
user 3.33
sys 2.62

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/488064/ft2_4FGL_J0429.0-0006_daily_bin1035.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/488064/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin1035.fits evtable="EVENTS" outfile="/scratch/kocevski/488064/ft1_filtered_4FGL_J0429.0-0006_daily_bin1035.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.89
user 0.34
sys 2.54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/488064/ft1_filtered_4FGL_J0429.0-0006_daily_bin1035.fits" evtable="EVENTS" scfile=/scratch/kocevski/488064/ft2_4FGL_J0429.0-0006_daily_bin1035.fits sctable="SC_DATA" outfile=/scratch/kocevski/488064/ltcube_507600001_507859201_4FGL_J0429.0-0006_daily_bin1035.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/488064/ft2_4FGL_J0429.0-0006_daily_bin1035.fits
.....................!
real 14.58
user 11.52
sys 3.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/488064/ft1_filtered_4FGL_J0429.0-0006_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/488064/ft2_4FGL_J0429.0-0006_daily_bin1035.fits sctable="SC_DATA" expcube=/scratch/kocevski/488064/ltcube_507600001_507859201_4FGL_J0429.0-0006_daily_bin1035.fits outfile=/scratch/kocevski/488064/expmap_507600001_507859201_4FGL_J0429.0-0006_daily_bin1035.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/488064/ltcube_507600001_507859201_4FGL_J0429.0-0006_daily_bin1035.fits
.....................!
real 193.63
user 186.32
sys 6.99

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/488064/ft1_filtered_4FGL_J0429.0-0006_daily_bin1035.fits scfile=/scratch/kocevski/488064/ft2_4FGL_J0429.0-0006_daily_bin1035.fits outfile=/scratch/kocevski/488064/cmap_507600001_507859201_4FGL_J0429.0-0006_daily_bin1035.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.81
user 0.37
sys 2.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/488064/ft1_filtered_4FGL_J0429.0-0006_daily_bin1035.fits scfile=/scratch/kocevski/488064/ft2_4FGL_J0429.0-0006_daily_bin1035.fits outfile=/scratch/kocevski/488064/cmap_HighResolution_507600001_507859201_4FGL_J0429.0-0006_daily_bin1035.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.91
user 0.38
sys 2.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/488064/ft1_filtered_4FGL_J0429.0-0006_daily_bin1035.fits evtable="EVENTS" scfile=/scratch/kocevski/488064/ft2_4FGL_J0429.0-0006_daily_bin1035.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/488064/Model_4FGL_J0429.0-0006_daily_bin1035.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/488064/ft1_filtered_4FGL_J0429.0-0006_daily_bin1035.fits.....................!
real 117.75
user 113.23
sys 4.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.001       1.0000         .10000E-03   10000.    
     3 'norm      '    11.132       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10625E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    20.243       1.0000         .10000E-03   10000.    
     8 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4621       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0607       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3389       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5577       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10521E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0940       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.9382       1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.778       1.0000         .10000E-03   10000.    
    21 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11872       1.0000         .10000E-03   10000.    
    23 'norm      '    3.0319       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .78311       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0628       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=   8166.895     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     2563 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.641       -.15135E-06** at limit **
   2  Prefactor     12.000        11.255       -.90594E-08    .13702E-03
   3  norm          11.143        14.484       -.21306E-05   -.43941E-03
   4  Prefactor     .10000E-03    5.9581        .15207E-06** at limit **
   5  norm          .10000E-03    4.3096       -.17448E-07** at limit **
   6  Prefactor     .10000E-03    31.255       -.99894E-06** at limit **
   7  norm          20.239        12.167       -.24896E-06    .29258E-04
   8  norm          .10000E-03    12.954       -.13184E-06** at limit **
   9  norm          1.4617        1.1445       -.30552E-07    .26971E-03
  10  Prefactor     1.0603        1.0709       -.19800E-07    .32144E-03
  11  Prefactor     1.3471        59.966        .13038E-05    .14910E-03
  12  Prefactor     2.5651        197.06       -.67914E-06    .31933E-04
  13  Prefactor     .10000E-03    7.2032        .23048E-06** at limit **
  14  norm          .10000E-03    1.9698       -.19002E-05** at limit **
  15  Prefactor     .10000E-03    13.000        .22883E-06** at limit **
  16  norm          .10000E-03    1.5194        .72878E-07** at limit **
  17  Prefactor     1.0935        1.5793        .56806E-06   -.19231E-02
  18  Prefactor     .10000E-03    6.2790       -.35361E-06** at limit **
  19  norm          4.9380        2.1824       -.30353E-07    .49454E-03
  20  Prefactor     14.792        20.302       -.29351E-06    .25316E-03
  21  norm          .10000E-03    .45412       -.95772E-06** at limit **
  22  Prefactor     .10009E-03    14.407       -.89488E-06** at limit **
  23  norm          3.0320        2.5018        .45230E-06    .13282E-02
  24  Normalizat    .78300        .21188        .12519E-05    .71010E-03
  25  Prefactor     1.0628        .85622E-01    .50213E-06    .18316E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.0001
  norm       = 11.1429
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 20.2388
  norm       = 0.0001
  norm       = 1.46172
  Prefactor  = 1.06026
  Prefactor  = 1.34705
  Prefactor  = 2.56509
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.09352
  Prefactor  = 0.0001
  norm       = 4.93803
  Prefactor  = 14.7916
  norm       = 0.000100001
  Prefactor  = 0.000100095
  norm       = 3.03196
  Normalizat = 0.783003
  Prefactor  = 1.0628
 **********
 **   18 **HESSE 
 **********

 FCN=   8166.895     FROM HESSE     STATUS=OK           435 CALLS     2998 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.000        11.262        .11564E-03   -1.5015    
   3  norm          11.143        14.749        .12007E-03   -1.5040    
   4  Prefactor     .10000E-03    5.9592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.4269        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    31.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.239        12.243        .89021E-04   -1.4808    
   8  norm          .10000E-03    13.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4617        1.1095        .76658E-04   -1.5466    
  10  Prefactor     1.0603        1.0713        .86728E-04   -1.5502    
  11  Prefactor     1.3471        55.057        .37892E-03   -1.5476    
  12  Prefactor     2.5651        185.36        .25528E-03   -1.5388    
  13  Prefactor     .10000E-03    7.2857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.8200        .21311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.5757        .21642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.0935        8.4540        .22813E-02   -1.5499    
  18  Prefactor     .10000E-03    6.2843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.9380        2.1812        .84545E-04   -1.5263    
  20  Prefactor     14.792        20.108        .10419E-03   -1.4939    
  21  norm          .10000E-03    .65088        .94266E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10009E-03    16.368        .11120       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.0320        2.5232        .12610E-03   -1.5360    
  24  Normalizat    .78300        .23165        .41503E-03   -1.0070    
  25  Prefactor     1.0628        .94795E-01    .15546E-03   -.90664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71942e-08
Minuit parameter uncertainties:
  1  2.54262e-05
  2  11.2642
  3  14.754
  4  1.53658e-05
  5  5.27156e-06
  6  0.000245959
  7  12.2448
  8  1.13923e-05
  9  1.10949
  10  1.07132
  11  17.2401
  12  43.7514
  13  1.23938e-05
  14  5.07896e-05
  15  3.40384e-05
  16  4.65763e-07
  17  6.0819
  18  2.91061e-05
  19  2.18128
  20  20.1176
  21  4.00575e-05
  22  0.00249057
  23  2.52327
  24  0.231943
  25  0.0948096
Done.

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

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  2.565e+00  4.375e+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.063e+00  9.481e-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.830e-01  2.319e-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.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/488064/likelihoodResults_507600001_507859201_4FGL_J0429.0-0006_daily_bin1035.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): 102
logL (Free Index) = 8166.87510953
delta logL = 0.0201098411981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8166.86911955
delta logL = 0.0260998204249

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3112       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1280       1.0000          .0000       10.000    
     3 'Normalizat'    .76799       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0663       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8166.869     FROM MIGRAD    STATUS=FAILED        92 CALLS      375 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3114        1031.6        .38500E-03   -.20112E-03
   2  Index         4.1293        5.6796        .60995E-02   -.12315E-03
   3  Normalizat    .76805        .19553        .41879E-03   -.37796E-03
   4  Prefactor     1.0663        .82352E-01    .15523E-03   -.54077E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8166.869     FROM SIMPLEX   STATUS=UNCHANGED     94 CALLS      469 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3114        1031.6        .46748E-03   -.20112E-03
   2  Index         4.1293        5.6796        .24429E-02   -.12315E-03
   3  Normalizat    .76805        .19553        .25135E-03   -.37796E-03
   4  Prefactor     1.0663        .82352E-01    .30762E-04   -.54077E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8166.869     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      496 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3089        58.973        .15400E-04   -.71504E-03
   2  Index         4.1304        7.0383        .24398E-03   -.68571E-04
   3  Normalizat    .76805        .22741        .16752E-04   -.42023E-03
   4  Prefactor     1.0663        .94571E-01    .31047E-04   -.60954E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.30886
  Index      = 4.13036
  Normalizat = 0.768052
  Prefactor  = 1.06626
 **********
 **   18 **HESSE 
 **********

 FCN=   8166.869     FROM HESSE     STATUS=OK            23 CALLS      519 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3089        54.768        .30800E-05   -1.5479    
   2  Index         4.1304        7.0548        .48796E-04   -.17482    
   3  Normalizat    .76805        .22734        .33503E-05   -1.0126    
   4  Prefactor     1.0663        .94558E-01    .62094E-05   -.90552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18248e-09
Minuit parameter uncertainties:
  1  16.9491
  2  7.32179
  3  0.227617
  4  0.0945732
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/488064': 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) = 8166.86911925
delta logL = 0.0261001159388

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  1.309e+00  1.695e+01  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  4.130e+00  7.322e+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.066e+00  9.457e-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.681e-01  2.276e-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/488064/cmap_HighResolution_507600001_507859201_4FGL_J0429.0-0006_daily_bin1035.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-08-20 17:46:57.961865', job_id='488064', GAL2='1.07', fit_tolerance='1e-08', EG2='0.77', EG='0.78', time_epoch_completed='1629506817.96', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.61e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1035' AND source_name='4FGL J0429.0-0006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:46:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 488064: <4FGL_J0429.0-0006_daily_bin1035> in cluster <slac> Done

Job <4FGL_J0429.0-0006_daily_bin1035> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 20 17:30:56 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:30:58 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:30:58 2021
Terminated at Fri Aug 20 17:46:59 2021
Results reported at Fri Aug 20 17:46:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0429.0-0006_daily_bin1035 67.2549 -0.1006 507600001 507859201 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 :                                   837.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             290.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            963 sec.

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

