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


Performing analysis on: 4FGL_J0429.0-0006_daily_bin877
RA = 67.2549, Dec = -0.1006
tmin = 466646401, tmax = 466905601
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='487832', job_status='RUN', time_executed='2021-08-20 17:32:08.546552', time_epoch_executed='1629505928.55' WHERE source_name='4FGL J0429.0-0006' and cadence='daily' and bin_id='877'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/487832

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/487832/ft1_4FGL_J0429.0-0006_daily_bin877.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/487832/ft2_4FGL_J0429.0-0006_daily_bin877.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/487832/ft1_4FGL_J0429.0-0006_daily_bin877.fits outfile=/scratch/kocevski/487832/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin877.fits ra=67.2549 dec=-0.1006 rad=12.0 tmin=466646401.0 tmax=466905601.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 8.71
user 3.35
sys 5.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/487832/ft1_filtered_4FGL_J0429.0-0006_daily_bin877.fits" evtable="EVENTS" scfile=/scratch/kocevski/487832/ft2_4FGL_J0429.0-0006_daily_bin877.fits sctable="SC_DATA" outfile=/scratch/kocevski/487832/ltcube_466646401_466905601_4FGL_J0429.0-0006_daily_bin877.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/487832/ft2_4FGL_J0429.0-0006_daily_bin877.fits
.....................!
real 17.69
user 11.56
sys 5.94

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/487832/ft1_filtered_4FGL_J0429.0-0006_daily_bin877.fits evtable="EVENTS" scfile=/scratch/kocevski/487832/ft2_4FGL_J0429.0-0006_daily_bin877.fits sctable="SC_DATA" expcube=/scratch/kocevski/487832/ltcube_466646401_466905601_4FGL_J0429.0-0006_daily_bin877.fits outfile=/scratch/kocevski/487832/expmap_466646401_466905601_4FGL_J0429.0-0006_daily_bin877.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/487832/ltcube_466646401_466905601_4FGL_J0429.0-0006_daily_bin877.fits
.....................!
real 197.40
user 185.54
sys 11.28

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/487832/ft1_filtered_4FGL_J0429.0-0006_daily_bin877.fits scfile=/scratch/kocevski/487832/ft2_4FGL_J0429.0-0006_daily_bin877.fits outfile=/scratch/kocevski/487832/cmap_466646401_466905601_4FGL_J0429.0-0006_daily_bin877.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 5.51
user 0.39
sys 5.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/487832/ft1_filtered_4FGL_J0429.0-0006_daily_bin877.fits scfile=/scratch/kocevski/487832/ft2_4FGL_J0429.0-0006_daily_bin877.fits outfile=/scratch/kocevski/487832/cmap_HighResolution_466646401_466905601_4FGL_J0429.0-0006_daily_bin877.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 5.50
user 0.38
sys 5.09

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/487832/ft1_filtered_4FGL_J0429.0-0006_daily_bin877.fits evtable="EVENTS" scfile=/scratch/kocevski/487832/ft2_4FGL_J0429.0-0006_daily_bin877.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/487832/Model_4FGL_J0429.0-0006_daily_bin877.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/487832/ft1_filtered_4FGL_J0429.0-0006_daily_bin877.fits.....................!
real 117.30
user 109.35
sys 7.54

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    68.049       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11086E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0086       1.0000         .10000E-03   10000.    
     5 'norm      '    4.3158       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    58.228       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .80412       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.0922       1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.341       1.0000         .10000E-03   10000.    
    16 'norm      '    3.6990       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8053       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.740       1.0000         .10000E-03   10000.    
    19 'norm      '    2.7167       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .45015       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.538       1.0000         .10000E-03   10000.    
    23 'norm      '    .12118E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .82700       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95829       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=   7633.237     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2909 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     68.019        59.880        .44093E-05   -.63701E-05
   2  Prefactor     .10000E-03    12.340       -.15757E-06** at limit **
   3  norm          .10000E-03    14.286       -.45214E-06** at limit **
   4  Prefactor     1.0003        43.349        .23364E-05   -.75904E-06
   5  norm          4.3166        6.4274        .30674E-06    .10281E-04
   6  Prefactor     .10000E-03    6.5634        .39585E-07** at limit **
   7  norm          58.230        15.423        .77317E-07   -.19946E-05
   8  norm          .10000E-03    6.5209        .20352E-06** at limit **
   9  norm          .80374        1.0497        .73383E-07    .18939E-03
  10  Prefactor     .10000E-03    .56839        .23889E-07** at limit **
  11  Prefactor     .10000E-03    17.151       -.60880E-06** at limit **
  12  Prefactor     .10000E-03    14.274       -.44000E-06** at limit **
  13  Prefactor     .10000E-03    6.8029       -.21055E-06** at limit **
  14  norm          4.0911        2.5298       -.84433E-07    .29327E-04
  15  Prefactor     32.338        33.477        .22251E-06   -.93502E-08
  16  norm          3.6993        2.5805        .12546E-06   -.71738E-05
  17  Prefactor     3.8049        6.9801        .33021E-05   -.13477E-04
  18  Prefactor     13.732        27.722        .97917E-06   -.68049E-05
  19  norm          2.7167        1.8595        .78789E-07   -.81271E-05
  20  Prefactor     .10000E-03    19.165        .44017E-06** at limit **
  21  norm          .45069        .49301       -.21400E-07   -.49393E-03
  22  Prefactor     12.538        15.476        .10678E-06   -.31013E-05
  23  norm          .10000E-03    3.7511       -.87158E-08** at limit **
  24  Normalizat    .82694        .24058       -.23095E-05   -.24294E-04
  25  Prefactor     .95832        .91365E-01   -.42899E-07    .21484E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 68.0195
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.00032
  norm       = 4.31655
  Prefactor  = 0.0001
  norm       = 58.2299
  norm       = 0.0001
  norm       = 0.803742
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.09113
  Prefactor  = 32.3379
  norm       = 3.69934
  Prefactor  = 3.80487
  Prefactor  = 13.7323
  norm       = 2.71673
  Prefactor  = 0.0001
  norm       = 0.450692
  Prefactor  = 12.5384
  norm       = 0.0001
  Normalizat = 0.826943
  Prefactor  = 0.958323
 **********
 **   18 **HESSE 
 **********

 FCN=   7633.237     FROM HESSE     STATUS=OK           437 CALLS     3346 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     68.019        59.835        .48657E-04   -1.4057    
   2  Prefactor     .10000E-03    12.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    14.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0003        44.925        .52993E-02   -1.5508    
   5  norm          4.3166        6.2283        .19391E-03   -1.5292    
   6  Prefactor     .10000E-03    6.5680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          58.230        15.474        .52575E-04   -1.4180    
   8  norm          .10000E-03    6.5265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .80374        .90932        .90911E-03   -1.5529    
  10  Prefactor     .10000E-03    .58085        .12842E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.8582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0911        2.5242        .10319E-03   -1.5303    
  15  Prefactor     32.338        33.528        .70460E-04   -1.4570    
  16  norm          3.6993        2.5796        .10932E-03   -1.5323    
  17  Prefactor     3.8049        6.9942        .10346E-02   -1.5318    
  18  Prefactor     13.732        27.600        .10806E-03   -1.4967    
  19  norm          2.7167        1.8548        .93889E-04   -1.5378    
  20  Prefactor     .10000E-03    19.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .45069        .45847        .60491E-03   -1.5574    
  22  Prefactor     12.538        15.471        .11313E-03   -1.5000    
  23  norm          .10000E-03    3.8782        .32881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .82694        .26667        .41557E-03   -.99077    
  25  Prefactor     .95832        .10325        .16083E-03   -.94132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62169e-08
Minuit parameter uncertainties:
  1  59.8883
  2  0.000145247
  3  8.28839e-06
  4  13.4174
  5  6.22928
  6  5.10078e-06
  7  15.4753
  8  1.92401e-06
  9  0.909337
  10  6.86408e-07
  11  7.71357e-06
  12  1.76932e-06
  13  1.66553e-05
  14  2.52431
  15  33.5476
  16  2.57963
  17  6.99575
  18  27.6261
  19  1.85486
  20  6.66314e-05
  21  0.458477
  22  15.4758
  23  3.39487e-06
  24  0.267092
  25  0.103268
Done.

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

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  1.000e-04  1.769e-06  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.583e-01  1.033e-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:  8.269e-01  2.671e-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: 8.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/487832/likelihoodResults_466646401_466905601_4FGL_J0429.0-0006_daily_bin877.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) = 7633.23739642
delta logL = -0.000333695991685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7633.23706277
delta logL = -4.69217411592e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7052       1.0000          .0000       10.000    
     3 'Normalizat'    .82689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95833       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=   7633.237     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      261 TOTAL
                     EDM=   .40E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    67.333        .18142E-01** at limit **
   2  Index         2.2151        5.9064        .50000        .12687E-07
   3  Normalizat    .82694        .12142E-01    .41557E-03    .20285E-03
   4  Prefactor     .95832        .50666E-02    .16083E-03    .52476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.21507
  Normalizat = 0.826945
  Prefactor  = 0.958323
 **********
 **   18 **HESSE 
 **********

 FCN=   7633.237     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      290 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    385.08        .34433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2151        8.2402        .50000       -.59075    
   3  Normalizat    .82694        .29804E-01    .16623E-04   -.99077    
   4  Prefactor     .95832        .12437E-01    .32166E-04   -.94132    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.30011e-11
Minuit parameter uncertainties:
  1  1.95675e-05
  2  1403.04
  3  0.0298044
  4  0.0124373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/487832': 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): 102
logL (Free Index) = 7633.23706229
delta logL = 4.32400156569e-07

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  1.000e-04  1.957e-05  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  2.215e+00  1.403e+03  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.583e-01  1.244e-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.269e-01  2.980e-02  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/487832/cmap_HighResolution_466646401_466905601_4FGL_J0429.0-0006_daily_bin877.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', job_status='DONE', photon_flux_upper_limit='8.77e-08', time_completed='2021-08-20 17:45:55.038888', job_id='487832', GAL2='0.96', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1629506755.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='4.32e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='877' AND source_name='4FGL J0429.0-0006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:45:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 487832: <4FGL_J0429.0-0006_daily_bin877> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0429.0-0006_daily_bin877 67.2549 -0.1006 466646401 466905601 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 :                                   903.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            919 sec.

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

