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


Performing analysis on: 4FGL_J0429.0-0006_daily_bin822
RA = 67.2549, Dec = -0.1006
tmin = 452390401, tmax = 452649601
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='486745', job_status='RUN', time_executed='2021-08-20 17:27:37.655694', time_epoch_executed='1629505657.66' WHERE source_name='4FGL J0429.0-0006' and cadence='daily' and bin_id='822'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/486745

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/486745/ft1_4FGL_J0429.0-0006_daily_bin822.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/486745/ft2_4FGL_J0429.0-0006_daily_bin822.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/486745/ft1_4FGL_J0429.0-0006_daily_bin822.fits outfile=/scratch/kocevski/486745/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin822.fits ra=67.2549 dec=-0.1006 rad=12.0 tmin=452390401.0 tmax=452649601.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 9.47
user 3.16
sys 6.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/486745/ft1_filtered_4FGL_J0429.0-0006_daily_bin822.fits" evtable="EVENTS" scfile=/scratch/kocevski/486745/ft2_4FGL_J0429.0-0006_daily_bin822.fits sctable="SC_DATA" outfile=/scratch/kocevski/486745/ltcube_452390401_452649601_4FGL_J0429.0-0006_daily_bin822.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/486745/ft2_4FGL_J0429.0-0006_daily_bin822.fits
.....................!
real 18.85
user 11.67
sys 7.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/486745/ft1_filtered_4FGL_J0429.0-0006_daily_bin822.fits evtable="EVENTS" scfile=/scratch/kocevski/486745/ft2_4FGL_J0429.0-0006_daily_bin822.fits sctable="SC_DATA" expcube=/scratch/kocevski/486745/ltcube_452390401_452649601_4FGL_J0429.0-0006_daily_bin822.fits outfile=/scratch/kocevski/486745/expmap_452390401_452649601_4FGL_J0429.0-0006_daily_bin822.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/486745/ltcube_452390401_452649601_4FGL_J0429.0-0006_daily_bin822.fits
.....................!
real 197.51
user 186.30
sys 10.88

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/486745/ft1_filtered_4FGL_J0429.0-0006_daily_bin822.fits scfile=/scratch/kocevski/486745/ft2_4FGL_J0429.0-0006_daily_bin822.fits outfile=/scratch/kocevski/486745/cmap_452390401_452649601_4FGL_J0429.0-0006_daily_bin822.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 6.41
user 0.39
sys 5.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/486745/ft1_filtered_4FGL_J0429.0-0006_daily_bin822.fits scfile=/scratch/kocevski/486745/ft2_4FGL_J0429.0-0006_daily_bin822.fits outfile=/scratch/kocevski/486745/cmap_HighResolution_452390401_452649601_4FGL_J0429.0-0006_daily_bin822.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 6.42
user 0.38
sys 6.02

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/486745/ft1_filtered_4FGL_J0429.0-0006_daily_bin822.fits evtable="EVENTS" scfile=/scratch/kocevski/486745/ft2_4FGL_J0429.0-0006_daily_bin822.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/486745/Model_4FGL_J0429.0-0006_daily_bin822.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/486745/ft1_filtered_4FGL_J0429.0-0006_daily_bin822.fits.....................!
real 127.42
user 118.26
sys 8.93

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7228       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.5600       1.0000         .10000E-03   10000.    
     3 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .15044E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    16.515       1.0000         .10000E-03   10000.    
     8 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9560       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.959       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2870       1.0000         .10000E-03   10000.    
    14 'norm      '    7.9500       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.2280       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4774       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    32.233       1.0000         .10000E-03   10000.    
    21 'norm      '    1.2973       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.4053       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0372       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0327       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=   8061.002     FROM MIGRAD    STATUS=CONVERGED    587 CALLS     2993 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7198        153.73       -.31934E-06   -.47891E-05
   2  Prefactor     6.5602        9.5683       -.49057E-09    .69555E-06
   3  norm          .10000E-03    10.592       -.27325E-07** at limit **
   4  Prefactor     .10000E-03    15.367       -.27690E-07** at limit **
   5  norm          .10000E-03    3.1645       -.32723E-06** at limit **
   6  Prefactor     .10000E-03    122.02       -.58540E-05** at limit **
   7  norm          16.515        12.687        .22650E-06   -.19656E-03
   8  norm          .10000E-03    28.197        .50595E-06** at limit **
   9  norm          .10000E-03    .58038        .12668E-05** at limit **
  10  Prefactor     1.9561        2.2465       -.26071E-07   -.14190E-02
  11  Prefactor     .10000E-03    54.682       -.86534E-06** at limit **
  12  Prefactor     20.023        57.320       -.13972E-05   -.18000E-03
  13  Prefactor     6.2878        9.3497       -.33906E-06   -.36622E-03
  14  norm          7.9501        3.7092       -.14925E-06   -.32739E-03
  15  Prefactor     7.2268        51.368       -.39989E-06   -.10373E-05
  16  norm          .10000E-03    .56499        .28843E-06** at limit **
  17  Prefactor     6.4768        8.4919        .15253E-06   -.27537E-04
  18  Prefactor     .10000E-03    56.379        .30783E-06** at limit **
  19  norm          .10000E-03    1.1123        .44656E-07** at limit **
  20  Prefactor     32.253        37.867        .72000E-06    .39636E-04
  21  norm          1.2970        .95245        .80140E-07    .16887E-03
  22  Prefactor     .10001E-03    78.688        .67472E-05** at limit **
  23  norm          5.4053        4.8724        .47056E-07    .29801E-04
  24  Normalizat    1.0372        .25942       -.41881E-05   -.33262E-03
  25  Prefactor     1.0327        .99510E-01    .87024E-06   -.80157E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.71979
  Prefactor  = 6.56021
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 16.5151
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.9561
  Prefactor  = 0.0001
  Prefactor  = 20.0232
  Prefactor  = 6.28778
  norm       = 7.95013
  Prefactor  = 7.22683
  norm       = 0.0001
  Prefactor  = 6.47678
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 32.2529
  norm       = 1.29703
  Prefactor  = 0.000100006
  norm       = 5.40534
  Normalizat = 1.03723
  Prefactor  = 1.03269
 **********
 **   18 **HESSE 
 **********

 FCN=   8061.002     FROM HESSE     STATUS=OK           429 CALLS     3422 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7198        153.36        .18516E-03   -1.5273    
   2  Prefactor     6.5602        9.5497        .15668E-03   -1.5196    
   3  norm          .10000E-03    10.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    7.8603        .30260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    124.35        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          16.515        12.733        .98555E-04   -1.4895    
   8  norm          .10000E-03    28.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .70058        .11354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.9561        2.2057        .11732E-03   -1.5428    
  11  Prefactor     .10000E-03    55.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.023        57.916        .89653E-04   -1.4813    
  13  Prefactor     6.2878        9.3553        .16009E-03   -1.5206    
  14  norm          7.9501        3.6873        .10946E-03   -1.5144    
  15  Prefactor     7.2268        51.395        .14920E-03   -1.5170    
  16  norm          .10000E-03    .57181        .66091E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.4768        8.4717        .15769E-03   -1.5199    
  18  Prefactor     .10000E-03    56.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.1572        .18480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.253        37.615        .70577E-04   -1.4572    
  21  norm          1.2970        .93430        .61132E-04   -1.5480    
  22  Prefactor     .10001E-03    81.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.4053        4.8862        .16983E-03   -1.5243    
  24  Normalizat    1.0372        .28687        .41693E-03   -.91794    
  25  Prefactor     1.0327        .11076        .16995E-03   -.91648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28821e-09
Minuit parameter uncertainties:
  1  53.9597
  2  9.55187
  3  1.1969e-06
  4  4.59626e-06
  5  5.96899e-05
  6  0.000740437
  7  12.7354
  8  6.3221e-05
  9  3.04976e-05
  10  2.2058
  11  2.80889e-05
  12  58.0793
  13  9.35745
  14  3.68739
  15  38.5916
  16  3.36188e-06
  17  8.47327
  18  5.91029e-05
  19  3.34656e-06
  20  37.6424
  21  0.934314
  22  0.00145764
  23  4.88657
  24  0.287298
  25  0.110789
Done.

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

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  2.002e+01  5.808e+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.033e+00  1.108e-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:  1.037e+00  2.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/486745/likelihoodResults_452390401_452649601_4FGL_J0429.0-0006_daily_bin822.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) = 8060.95661756
delta logL = 0.0455832563384

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8060.9290755
delta logL = 0.0731253192753

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2616       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5934       1.0000          .0000       10.000    
     3 'Normalizat'    1.0125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0392       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=   8060.929     FROM MIGRAD    STATUS=FAILED        92 CALLS      259 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2407        1319.7        .13169E-03   -.64574E-04
   2  Index         3.5988        6.5014        .11542E-01    .36526E-03
   3  Normalizat    1.0126        .25459        .42142E-03    .23729E-03
   4  Prefactor     1.0392        .10418        .16947E-03   -.62547E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8060.929     FROM SIMPLEX   STATUS=UNCHANGED     89 CALLS      348 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2407        1319.7        .53462E-03   -.64574E-04
   2  Index         3.5988        6.5014        .25836E-02    .36526E-03
   3  Normalizat    1.0126        .25459        .16900E-03    .23729E-03
   4  Prefactor     1.0392        .10418        .65191E-04   -.62547E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8060.929     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      377 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2402        67.267        .52677E-05   -.11223E-03
   2  Index         3.5989        3.1035        .23084E-02   -.10938E-04
   3  Normalizat    1.0126        .27696        .16857E-04    .21973E-03
   4  Prefactor     1.0392        .10946        .33895E-04   -.61541E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.24018
  Index      = 3.59885
  Normalizat = 1.01257
  Prefactor  = 1.03921
 **********
 **   18 **HESSE 
 **********

 FCN=   8060.929     FROM HESSE     STATUS=OK            23 CALLS      400 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2402        47.350        .10535E-05   -1.5100    
   2  Index         3.5989        2.6666        .92335E-04   -.28403    
   3  Normalizat    1.0126        .27668        .33713E-05   -.92611    
   4  Prefactor     1.0392        .10924        .67790E-05   -.91434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79675e-09
Minuit parameter uncertainties:
  1  41.8864
  2  2.82727
  3  0.277068
  4  0.109262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/486745': 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) = 8060.92906785
delta logL = 0.0731329656664

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  9.240e+00  4.189e+01  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  3.599e+00  2.827e+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.039e+00  1.093e-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:  1.013e+00  2.771e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
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/486745/cmap_HighResolution_452390401_452649601_4FGL_J0429.0-0006_daily_bin822.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.73e-07', time_completed='2021-08-20 17:42:15.345916', job_id='486745', GAL2='1.04', fit_tolerance='1e-08', EG2='1.01', EG='1.04', time_epoch_completed='1629506535.35', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='7.31e-02', ts2='0.37', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='822' AND source_name='4FGL J0429.0-0006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:42:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0015>
Subject: Job 486745: <4FGL_J0429.0-0006_daily_bin822> in cluster <slac> Done

Job <4FGL_J0429.0-0006_daily_bin822> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 20 17:25:52 2021
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:25:54 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:25:54 2021
Terminated at Fri Aug 20 17:42:16 2021
Results reported at Fri Aug 20 17:42:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0429.0-0006_daily_bin822 67.2549 -0.1006 452390401 452649601 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 :                                   970.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            984 sec.

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

