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


Performing analysis on: 4FGL_J0409.8-0359_daily_bin184
RA = 62.4629, Dec = -3.9865
tmin = 287020801, tmax = 287280001
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='278021', job_status='RUN', time_executed='2021-08-20 06:11:13.619074', time_epoch_executed='1629465073.62' WHERE source_name='4FGL J0409.8-0359' and cadence='daily' and bin_id='184'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/278021

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/278021/ft1_4FGL_J0409.8-0359_daily_bin184.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/278021/ft2_4FGL_J0409.8-0359_daily_bin184.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/278021/ft1_4FGL_J0409.8-0359_daily_bin184.fits outfile=/scratch/kocevski/278021/ft1_filteredMKT_4FGL_J0409.8-0359_daily_bin184.fits ra=62.4629 dec=-3.9865 rad=12.0 tmin=287020801.0 tmax=287280001.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.89
user 4.36
sys 1.47

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/278021/ft2_4FGL_J0409.8-0359_daily_bin184.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/278021/ft2_4FGL_J0409.8-0359_daily_bin184.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/278021/ft1_filteredMKT_4FGL_J0409.8-0359_daily_bin184.fits evtable="EVENTS" outfile="/scratch/kocevski/278021/ft1_filtered_4FGL_J0409.8-0359_daily_bin184.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.73
user 0.32
sys 1.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/278021/ft1_filtered_4FGL_J0409.8-0359_daily_bin184.fits" evtable="EVENTS" scfile=/scratch/kocevski/278021/ft2_4FGL_J0409.8-0359_daily_bin184.fits sctable="SC_DATA" outfile=/scratch/kocevski/278021/ltcube_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.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/278021/ft2_4FGL_J0409.8-0359_daily_bin184.fits
.....................!
real 12.94
user 11.17
sys 1.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/278021/ft1_filtered_4FGL_J0409.8-0359_daily_bin184.fits evtable="EVENTS" scfile=/scratch/kocevski/278021/ft2_4FGL_J0409.8-0359_daily_bin184.fits sctable="SC_DATA" expcube=/scratch/kocevski/278021/ltcube_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.fits outfile=/scratch/kocevski/278021/expmap_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.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/278021/ltcube_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.fits
.....................!
real 191.34
user 185.29
sys 5.71

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 143 point sources and 0 extended sources

Setting source of interest to:
4FGL J0409.8-0359 @ 62.4629 -3.9865

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/278021/ft1_filtered_4FGL_J0409.8-0359_daily_bin184.fits scfile=/scratch/kocevski/278021/ft2_4FGL_J0409.8-0359_daily_bin184.fits outfile=/scratch/kocevski/278021/cmap_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.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=62.4629 yref=-3.9865 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.74
user 0.38
sys 1.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/278021/ft1_filtered_4FGL_J0409.8-0359_daily_bin184.fits scfile=/scratch/kocevski/278021/ft2_4FGL_J0409.8-0359_daily_bin184.fits outfile=/scratch/kocevski/278021/cmap_HighResolution_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.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=62.4629 yref=-3.9865 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.76
user 0.39
sys 1.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/278021/ft1_filtered_4FGL_J0409.8-0359_daily_bin184.fits evtable="EVENTS" scfile=/scratch/kocevski/278021/ft2_4FGL_J0409.8-0359_daily_bin184.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/278021/Model_4FGL_J0409.8-0359_daily_bin184.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/278021/ft1_filtered_4FGL_J0409.8-0359_daily_bin184.fits.....................!
real 108.33
user 105.35
sys 2.80

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/278021/ft1_filtered_4FGL_J0409.8-0359_daily_bin184.fits', '/scratch/kocevski/278021/ft2_4FGL_J0409.8-0359_daily_bin184.fits', expMap='/scratch/kocevski/278021/expmap_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.fits', expCube='/scratch/kocevski/278021/ltcube_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/278021/Model_4FGL_J0409.8-0359_daily_bin184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0409.8-0359'

4FGL J0409.8-0359
   Spectrum: LogParabola
237         norm:  2.695e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.677e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  2.988e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.671e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/278021/ft1_filtered_4FGL_J0409.8-0359_daily_bin184.fits
Spacecraft file(s): /scratch/kocevski/278021/ft2_4FGL_J0409.8-0359_daily_bin184.fits
Exposure map: /scratch/kocevski/278021/expmap_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.fits
Exposure cube: /scratch/kocevski/278021/ltcube_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/278021/Model_4FGL_J0409.8-0359_daily_bin184.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) = 8561.25507594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.134       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4743       1.0000         .10000E-03   10000.    
     3 'Prefactor '    66.542       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3041       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.2392       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8399       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6606       1.0000         .10000E-03   10000.    
     9 'norm      '    9.2594       1.0000         .10000E-03   10000.    
    10 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.184       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4614       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10316E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17995E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.011       1.0000         .10000E-03   10000.    
    16 'norm      '    .53767       1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.319       1.0000         .10000E-03   10000.    
    18 'norm      '    5.7301       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0104       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92441       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8561.251     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     2410 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.137        24.507        .98872E-06   -.22514E-03
   2  norm          1.4744        1.1414        .11129E-06    .76603E-04
   3  Prefactor     66.556        36.948        .24470E-05   -.15700E-03
   4  Prefactor     3.3051        6.3197        .30720E-06   -.10544E-03
   5  Prefactor     .10000E-03    4.6737       -.57137E-06** at limit **
   6  norm          1.2357        36.085       -.73970E-07   -.12009E-04
   7  Prefactor     6.8412        15.257        .91462E-06   -.17513E-04
   8  norm          1.6647        5.2397        .13013E-04    .46116E-03
   9  norm          9.2616        12.321       -.54094E-06   -.17242E-03
  10  norm          .10000E-03    9.4061        .79754E-07** at limit **
  11  norm          10.181        1.9029       -.49305E-06    .45129E-03
  12  Prefactor     1.4604        1.2337       -.30053E-07    .15780E-03
  13  Prefactor     .10000E-03    14.727        .15179E-06** at limit **
  14  Prefactor     .19166E-03    40.846       -.16175E-04** at limit **
  15  Prefactor     17.008        11.131       -.34459E-06   -.12405E-03
  16  norm          .53151        1.7230        .24280E-06   -.29031E-03
  17  Prefactor     38.321        30.207        .47411E-06   -.11682E-03
  18  norm          5.7289        2.3561        .51354E-08   -.13871E-03
  19  Normalizat    1.0102        .20362        .68596E-06   -.10235E-03
  20  Prefactor     .92445        .91691E-01   -.19099E-05   -.91755E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.1373
  norm       = 1.47441
  Prefactor  = 66.5563
  Prefactor  = 3.30508
  Prefactor  = 0.0001
  norm       = 1.2357
  Prefactor  = 6.84122
  norm       = 1.66472
  norm       = 9.26163
  norm       = 0.0001
  norm       = 10.1809
  Prefactor  = 1.46041
  Prefactor  = 0.0001
  Prefactor  = 0.000191661
  Prefactor  = 17.0083
  norm       = 0.531512
  Prefactor  = 38.3212
  norm       = 5.72892
  Normalizat = 1.01024
  Prefactor  = 0.924452
 **********
 **   18 **HESSE 
 **********

 FCN=   8561.251     FROM HESSE     STATUS=OK           307 CALLS     2717 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.137        24.635        .59678E-04   -1.4363    
   2  norm          1.4744        1.1276        .83427E-04   -1.5465    
   3  Prefactor     66.556        37.031        .24600E-03   -1.4075    
   4  Prefactor     3.3051        6.3293        .22272E-03   -1.5344    
   5  Prefactor     .10000E-03    4.6859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.2357        36.800        .40297E-03   -1.5486    
   7  Prefactor     6.8412        15.251        .15341E-03   -1.5185    
   8  norm          1.6647        5.2774        .16369E-02   -1.5450    
   9  norm          9.2616        12.332        .13171E-03   -1.5099    
  10  norm          .10000E-03    9.4355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.181        1.9114        .48944E-04   -1.5070    
  12  Prefactor     1.4604        1.2192        .88730E-04   -1.5466    
  13  Prefactor     .10000E-03    14.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .19166E-03    31.253        .14146       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.008        11.141        .97109E-04   -1.4883    
  16  norm          .53151        2.3938        .20580E-02   -1.5562    
  17  Prefactor     38.321        30.290        .64747E-04   -1.4469    
  18  norm          5.7289        2.3571        .86818E-04   -1.5229    
  19  Normalizat    1.0102        .22882        .36296E-03   -.92688    
  20  Prefactor     .92445        .10321        .18240E-03   -.95292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33848e-08
Minuit parameter uncertainties:
  1  24.6406
  2  1.12764
  3  37.0435
  4  6.33055
  5  8.44353e-05
  6  13.4954
  7  15.26
  8  5.27888
  9  12.3352
  10  2.42718e-05
  11  1.91146
  12  1.21923
  13  5.65368e-05
  14  0.107101
  15  11.142
  16  2.25592
  17  30.3022
  18  2.35713
  19  0.229038
  20  0.103236
Done.

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

Extracting fit parameters...

4FGL J0409.8-0359
   Spectrum: LogParabola
237         norm:  1.236e+00  1.350e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.677e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  2.988e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.671e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  9.245e-01  1.032e-01  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  1.010e+00  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 62.463 -3.986
Photon Flux Upper Limit: 3.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/278021/likelihoodResults_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.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) = 8560.89016379
delta logL = 0.361052709626

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8560.88898466
delta logL = 0.362231845073

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3907       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3743       1.0000          .0000       5.0000    
     3 'Normalizat'    .98458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92441       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8560.889     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      268 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3990        85.136        .54931E-02    .78184E-03
   2  alpha         3.3703        4.0089        .44897        .61466E-04
   3  Normalizat    .98532        .48823E-01    .82821E-01    .18965E-04
   4  Prefactor     .92433        .22871E-01    .45315E-01   -.10329E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.39903
  alpha      = 3.37029
  Normalizat = 0.985318
  Prefactor  = 0.924334
 **********
 **   18 **HESSE 
 **********

 FCN=   8560.889     FROM HESSE     STATUS=OK            31 CALLS      299 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3990        18.406        .20671E-03   -1.5339    
   2  alpha         3.3703        3.7473        .15521E-01    .35556    
   3  Normalizat    .98532        .21058        .36664E-03   -.93524    
   4  Prefactor     .92433        .10046        .18228E-03   -.95296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13759e-10
Minuit parameter uncertainties:
  1  15.8266
  2  2.49087
  3  0.210757
  4  0.100482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/278021': 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) = 8560.88896748
delta logL = 0.362249023952

Extracting fit parameters...

4FGL J0409.8-0359
   Spectrum: LogParabola
237         norm:  3.399e+00  1.583e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  3.370e+00  2.491e+00  0.000e+00  5.000e+00 ( 1.000e+00)
239         beta:  2.988e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.671e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
460    Prefactor:  9.243e-01  1.005e-01  0.000e+00  1.000e+01 ( 1.000e+00)
461        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
462        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
459   Normalization:  9.853e-01  2.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 62.463 -3.986

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/278021/cmap_HighResolution_287020801_287280001_4FGL_J0409.8-0359_daily_bin184.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.83e-05', job_status='DONE', photon_flux_upper_limit='3.54e-08', time_completed='2021-08-20 06:23:05.314241', job_id='278021', GAL2='0.92', fit_tolerance='1e-08', EG2='0.99', EG='1.01', time_epoch_completed='1629465785.31', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.62e-01', ts2='0.74', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='184' AND source_name='4FGL J0409.8-0359' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 06:23:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0141>
Subject: Job 278021: <4FGL_J0409.8-0359_daily_bin184> in cluster <slac> Done

Job <4FGL_J0409.8-0359_daily_bin184> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 20 06:10:42 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 06:10:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 06:10:44 2021
Terminated at Fri Aug 20 06:23:06 2021
Results reported at Fri Aug 20 06:23:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0409.8-0359_daily_bin184 62.4629 -3.9865 287020801 287280001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0409.8-0359 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   728.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             315.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            744 sec.

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

