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


Performing analysis on: 4FGL_J0429.0-0006_daily_bin270
RA = 67.2549, Dec = -0.1006
tmin = 309312001, tmax = 309571201
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='483545', job_status='RUN', time_executed='2021-08-20 17:16:16.453877', time_epoch_executed='1629504976.45' WHERE source_name='4FGL J0429.0-0006' and cadence='daily' and bin_id='270'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/483545

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/483545/ft1_4FGL_J0429.0-0006_daily_bin270.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/483545/ft2_4FGL_J0429.0-0006_daily_bin270.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/483545/ft1_4FGL_J0429.0-0006_daily_bin270.fits outfile=/scratch/kocevski/483545/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin270.fits ra=67.2549 dec=-0.1006 rad=12.0 tmin=309312001.0 tmax=309571201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.28
user 3.79
sys 0.46

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/483545/ft1_filtered_4FGL_J0429.0-0006_daily_bin270.fits" evtable="EVENTS" scfile=/scratch/kocevski/483545/ft2_4FGL_J0429.0-0006_daily_bin270.fits sctable="SC_DATA" outfile=/scratch/kocevski/483545/ltcube_309312001_309571201_4FGL_J0429.0-0006_daily_bin270.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/483545/ft2_4FGL_J0429.0-0006_daily_bin270.fits
.....................!
real 14.65
user 13.96
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/483545/ft1_filtered_4FGL_J0429.0-0006_daily_bin270.fits evtable="EVENTS" scfile=/scratch/kocevski/483545/ft2_4FGL_J0429.0-0006_daily_bin270.fits sctable="SC_DATA" expcube=/scratch/kocevski/483545/ltcube_309312001_309571201_4FGL_J0429.0-0006_daily_bin270.fits outfile=/scratch/kocevski/483545/expmap_309312001_309571201_4FGL_J0429.0-0006_daily_bin270.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/483545/ltcube_309312001_309571201_4FGL_J0429.0-0006_daily_bin270.fits
.....................!
real 191.48
user 186.21
sys 4.69

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/483545/ft1_filtered_4FGL_J0429.0-0006_daily_bin270.fits scfile=/scratch/kocevski/483545/ft2_4FGL_J0429.0-0006_daily_bin270.fits outfile=/scratch/kocevski/483545/cmap_309312001_309571201_4FGL_J0429.0-0006_daily_bin270.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 0.77
user 0.38
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/483545/ft1_filtered_4FGL_J0429.0-0006_daily_bin270.fits scfile=/scratch/kocevski/483545/ft2_4FGL_J0429.0-0006_daily_bin270.fits outfile=/scratch/kocevski/483545/cmap_HighResolution_309312001_309571201_4FGL_J0429.0-0006_daily_bin270.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 0.77
user 0.39
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/483545/ft1_filtered_4FGL_J0429.0-0006_daily_bin270.fits evtable="EVENTS" scfile=/scratch/kocevski/483545/ft2_4FGL_J0429.0-0006_daily_bin270.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/483545/Model_4FGL_J0429.0-0006_daily_bin270.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/483545/ft1_filtered_4FGL_J0429.0-0006_daily_bin270.fits.....................!
real 125.16
user 123.26
sys 1.58

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.997       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.004       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.3730       1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.723       1.0000         .10000E-03   10000.    
     7 'norm      '    7.1179       1.0000         .10000E-03   10000.    
     8 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8737       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .81462       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.780       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8561       1.0000         .10000E-03   10000.    
    14 'norm      '    .23831E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    55.296       1.0000         .10000E-03   10000.    
    16 'norm      '    3.8705       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    63.060       1.0000         .10000E-03   10000.    
    19 'norm      '    5.4983       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.391       1.0000         .10000E-03   10000.    
    21 'norm      '    .10336E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.5158       1.0000         .10000E-03   10000.    
    23 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .83786       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97524       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=   8725.264     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     3003 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.992        51.872       -.17115E-06    .34551E-05
   2  Prefactor     15.005        14.527       -.12074E-07    .74261E-05
   3  norm          .10000E-03    4.7017        .22300E-07** at limit **
   4  Prefactor     .10000E-03    7.2304       -.24295E-07** at limit **
   5  norm          1.3730        1.8092       -.28436E-07   -.34684E-05
   6  Prefactor     40.726        29.084        .14758E-06    .47142E-04
   7  norm          7.1148        10.492       -.92431E-07    .28863E-04
   8  norm          .10000E-03    6.3429       -.24805E-06** at limit **
   9  norm          2.8740        1.3212        .16413E-07    .87617E-04
  10  Prefactor     .81526        1.1921       -.88353E-07    .74383E-04
  11  Prefactor     .10000E-03    5.2777       -.12291E-06** at limit **
  12  Prefactor     24.695        51.092       -.33880E-07   -.10796E-04
  13  Prefactor     3.8556        7.0386        .25181E-06    .38353E-05
  14  norm          .10002E-03    1.0341       -.36004E-06** at limit **
  15  Prefactor     55.300        53.150        .22394E-06    .29585E-04
  16  norm          3.8711        2.6598       -.45698E-08    .16163E-03
  17  Prefactor     .10000E-03    3.8811       -.46473E-06** at limit **
  18  Prefactor     63.040        42.842       -.29454E-06    .17761E-03
  19  norm          5.4981        2.5470        .16438E-07    .15821E-03
  20  Prefactor     19.436        32.348        .31925E-05    .30966E-03
  21  norm          .10000E-03    .24350       -.55602E-06** at limit **
  22  Prefactor     7.5127        21.033       -.15212E-07    .12628E-04
  23  norm          .10000E-03    1.2360       -.12827E-06** at limit **
  24  Normalizat    .83829        .22311        .95960E-06    .20268E-03
  25  Prefactor     .97506        .86036E-01   -.46728E-07    .56767E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.9916
  Prefactor  = 15.0053
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.37303
  Prefactor  = 40.7256
  norm       = 7.11485
  norm       = 0.0001
  norm       = 2.87401
  Prefactor  = 0.815263
  Prefactor  = 0.0001
  Prefactor  = 24.6954
  Prefactor  = 3.85563
  norm       = 0.000100016
  Prefactor  = 55.3
  norm       = 3.87107
  Prefactor  = 0.0001
  Prefactor  = 63.0401
  norm       = 5.49811
  Prefactor  = 19.4359
  norm       = 0.0001
  Prefactor  = 7.51268
  norm       = 0.0001
  Normalizat = 0.838293
  Prefactor  = 0.975065
 **********
 **   18 **HESSE 
 **********

 FCN=   8725.264     FROM HESSE     STATUS=OK           429 CALLS     3432 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.992        51.880        .53136E-04   -1.4197    
   2  Prefactor     15.005        14.525        .10340E-03   -1.4933    
   3  norm          .10000E-03    4.7024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.2315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.3730        1.7898        .14041E-03   -1.5474    
   6  Prefactor     40.726        29.052        .62815E-04   -1.4431    
   7  norm          7.1148        10.517        .15036E-03   -1.5174    
   8  norm          .10000E-03    6.3438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8740        1.3173        .64700E-04   -1.5369    
  10  Prefactor     .81526        1.1881        .49977E-04   -1.5527    
  11  Prefactor     .10000E-03    5.2819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.695        50.911        .80471E-04   -1.4714    
  13  Prefactor     3.8556        7.0134        .20550E-03   -1.5315    
  14  norm          .10002E-03    9.1478        .17652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     55.300        53.314        .53943E-04   -1.4219    
  16  norm          3.8711        2.6499        .11610E-03   -1.5314    
  17  Prefactor     .10000E-03    3.9175        .17949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     63.040        42.784        .50533E-04   -1.4118    
  19  norm          5.4981        2.5441        .94174E-04   -1.5239    
  20  Prefactor     19.436        34.696        .90955E-04   -1.4826    
  21  norm          .10000E-03    .31919        .79144E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.5127        20.993        .14629E-03   -1.5160    
  23  norm          .10000E-03    1.2413        .10140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .83829        .24496        .42261E-03   -.98664    
  25  Prefactor     .97506        .96157E-01    .16447E-03   -.93565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39423e-09
Minuit parameter uncertainties:
  1  51.9216
  2  14.5279
  3  1.42471e-06
  4  6.58396e-06
  5  1.7899
  6  29.0623
  7  10.5201
  8  6.02758e-06
  9  1.31732
  10  1.18815
  11  3.91458e-06
  12  51.0009
  13  7.01485
  14  0.000769797
  15  53.3601
  16  2.65001
  17  2.66537e-07
  18  42.8045
  19  2.54416
  20  34.7324
  21  8.99385e-06
  22  21.014
  23  2.82468e-07
  24  0.245286
  25  0.0961738
Done.

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

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  2.470e+01  5.100e+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:  9.751e-01  9.617e-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:  8.383e-01  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/483545/likelihoodResults_309312001_309571201_4FGL_J0429.0-0006_daily_bin270.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) = 8725.25101564
delta logL = 0.0131441758622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8725.24614477
delta logL = 0.0180150439246

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.833       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4862       1.0000          .0000       10.000    
     3 'Normalizat'    .84359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97343       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=   8725.246     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      251 TOTAL
                     EDM=   .47E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.873        55.377        .22119E-05    .29610E-05
   2  Index         2.4923        1.0931        .27391E-04   -.12297E-06
   3  Normalizat    .84261        .20335       -.18103E-05   -.17765E-04
   4  Prefactor     .97381        .83619E-01    .25108E-06   -.12982E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.8733
  Index      = 2.49228
  Normalizat = 0.842612
  Prefactor  = 0.973808
 **********
 **   18 **HESSE 
 **********

 FCN=   8725.246     FROM HESSE     STATUS=OK            29 CALLS      280 TOTAL
                     EDM=   .92E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.873        55.525        .73353E-04   -1.4614    
   2  Index         2.4923        1.0954        .94337E-03   -.52538    
   3  Normalizat    .84261        .22286        .42164E-03   -.98507    
   4  Prefactor     .97381        .92197E-01    .16455E-03   -.93608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.22715e-12
Minuit parameter uncertainties:
  1  55.6209
  2  1.10749
  3  0.223101
  4  0.092212
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/483545': 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) = 8725.24611963
delta logL = 0.0180401803846

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  2.987e+01  5.562e+01  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  2.492e+00  1.107e+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:  9.738e-01  9.221e-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:  8.426e-01  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
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/483545/cmap_HighResolution_309312001_309571201_4FGL_J0429.0-0006_daily_bin270.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', job_status='DONE', photon_flux_upper_limit='1.63e-07', time_completed='2021-08-20 17:30:18.273271', job_id='483545', GAL2='0.97', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1629505818.27', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.80e-02', ts2='0.37', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='270' AND source_name='4FGL J0429.0-0006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:30:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 483545: <4FGL_J0429.0-0006_daily_bin270> in cluster <slac> Done

Job <4FGL_J0429.0-0006_daily_bin270> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 20 17:15:53 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:15:55 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:55 2021
Terminated at Fri Aug 20 17:30:19 2021
Results reported at Fri Aug 20 17:30:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0429.0-0006_daily_bin270 67.2549 -0.1006 309312001 309571201 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 :                                   840.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             369.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            866 sec.

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

