/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 85 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 = 7400
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0841.3-3554_daily_bin1232
RA = 130.341, Dec = -35.9041
tmin = 558662401, tmax = 558921601
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='642215', job_status='RUN', time_executed='2021-08-30 04:52:45.645332', time_epoch_executed='1630324365.65' WHERE source_name='4FGL J0841.3-3554' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/642215

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/642215/ft1_4FGL_J0841.3-3554_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/642215/ft1_4FGL_J0841.3-3554_daily_bin1232.fits outfile=/scratch/kocevski/642215/ft1_filteredMKT_4FGL_J0841.3-3554_daily_bin1232.fits ra=130.341 dec=-35.9041 rad=12.0 tmin=558662401.0 tmax=558921601.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 3.26
user 2.51
sys 0.67

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.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/642215/ft1_filteredMKT_4FGL_J0841.3-3554_daily_bin1232.fits evtable="EVENTS" outfile="/scratch/kocevski/642215/ft1_filtered_4FGL_J0841.3-3554_daily_bin1232.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 0.99
user 0.26
sys 0.62

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/642215/ft1_filtered_4FGL_J0841.3-3554_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/642215/ltcube_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.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/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.fits
.....................!
real 9.66
user 8.73
sys 0.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/642215/ft1_filtered_4FGL_J0841.3-3554_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/642215/ltcube_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.fits outfile=/scratch/kocevski/642215/expmap_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.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/642215/ltcube_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.fits
.....................!
real 146.88
user 141.21
sys 4.00

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
Extended source Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 206 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0841.3-3554 @ 130.341 -35.9041

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/642215/ft1_filtered_4FGL_J0841.3-3554_daily_bin1232.fits scfile=/scratch/kocevski/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.fits outfile=/scratch/kocevski/642215/cmap_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.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=130.341 yref=-35.9041 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.92
user 0.31
sys 0.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/642215/ft1_filtered_4FGL_J0841.3-3554_daily_bin1232.fits scfile=/scratch/kocevski/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.fits outfile=/scratch/kocevski/642215/cmap_HighResolution_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.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=130.341 yref=-35.9041 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.92
user 0.31
sys 0.60

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/642215/ft1_filtered_4FGL_J0841.3-3554_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/642215/Model_4FGL_J0841.3-3554_daily_bin1232.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
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/642215/ft1_filtered_4FGL_J0841.3-3554_daily_bin1232.fits.....................!
real 16.20
user 14.42
sys 1.62

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/642215/ft1_filtered_4FGL_J0841.3-3554_daily_bin1232.fits', '/scratch/kocevski/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.fits', expMap='/scratch/kocevski/642215/expmap_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.fits', expCube='/scratch/kocevski/642215/ltcube_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/642215/Model_4FGL_J0841.3-3554_daily_bin1232.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0841.3-3554'

4FGL J0841.3-3554
   Spectrum: LogParabola
329         norm:  1.441e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.555e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  2.032e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  3.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/642215/ft1_filtered_4FGL_J0841.3-3554_daily_bin1232.fits
Spacecraft file(s): /scratch/kocevski/642215/ft2_4FGL_J0841.3-3554_daily_bin1232.fits
Exposure map: /scratch/kocevski/642215/expmap_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.fits
Exposure cube: /scratch/kocevski/642215/ltcube_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/642215/Model_4FGL_J0841.3-3554_daily_bin1232.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 547.235036418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 546.376142949

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6004       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .74514E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    11.133       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.5562       1.0000         .10000E-03   10000.    
     5 'norm      '    138.65       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .66922E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2180       1.0000         .10000E-03   10000.    
     8 'norm      '    .24304E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.5819       1.0000         .10000E-03   10000.    
    10 'norm      '    8.1170       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .19409E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12006E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7690       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8893       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    16 'Prefactor '    .75873       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   546.1959     FROM MIGRAD    STATUS=CONVERGED    153 CALLS      370 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     271.21        587.66        .19876E-04   -.13368E-03
   2  Prefactor     .10000E-03    38.059       -.91858E-05** at limit **
   3  norm          191.69        570.73        .31710E-04    .24127E-02
   4  Prefactor     7.3536        4.7422       -.62272E-06    .33847E-02
   5  norm          142.97        31.553        .13122E-05   -.57145E-02
   6  Prefactor     .10000E-03    77.544        .46452E-05** at limit **
   7  Prefactor     7.2180        1.0024         .0000         .0000    
   8  norm          .10000E-03    199.43       -.24275E-06** at limit **
   9  Prefactor     .17942E-03    669.71        .87928E-05** at limit **
  10  norm          .38103        20.664       -.54555E-05    .10201E-01
  11  Prefactor     .10000E-03    199.41        .10030E-05** at limit **
  12  Prefactor     .10000E-03    278.06       -.24246E-05** at limit **
  13  Prefactor     1.7690        1.0469         .0000         .0000    
  14  Prefactor     .10325E-03    678.22       -.26120E-04** at limit **
  15  Normalizat    .10000E-01    .50470       -.97684E-06** at limit **
  16  Prefactor     .73208        .13885        .89893E-06    .44731E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 271.21
  Prefactor  = 0.000100001
  norm       = 191.69
  Prefactor  = 7.35361
  norm       = 142.968
  Prefactor  = 0.0001
  Prefactor  = 7.21801
  norm       = 0.0001
  Prefactor  = 0.000179419
  norm       = 0.38103
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  Prefactor  = 1.76895
  Prefactor  = 0.000103247
  Normalizat = 0.01
  Prefactor  = 0.732084
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   546.1959     FROM HESSE     STATUS=FAILED        35 CALLS      405 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     271.21        573.28        .36366E-02   -1.2399    
   2  Prefactor     .10000E-03    38.005        .10472E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          191.69        569.48        .30017E-02   -1.2930    
   4  Prefactor     7.3536        9221.3        .34260E-02   -1.5166    
   5  norm          142.97        129.51        .85521E-03   -1.3311    
   6  Prefactor     .10000E-03    77.693        .10502E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     511.47        504.22         .0000       -1.5171    
   8  norm          .10000E-03    .25114       -.24275E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .17942E-03    .45179E-01    .87928E-05   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .38103        .21713       -.54555E-05   -1.5585    
  11  Prefactor     .10000E-03    .25643        .10030E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .20625       -.24246E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7690        1.0469         .0000       -1.5442    
  14  Prefactor     .10325E-03    .89315E-01   -.26120E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .10000E-01    .25505       -.97684E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .73208        1.0901        .89893E-06   -1.0228    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.37239e-10
Minuit parameter uncertainties:
  1  585.903
  2  0.000392465
  3  587.273
  4  1085.69
  5  129.764
  6  0.000237477
  7  1.00242
  8  5.47399e-06
  9  0.00378844
  10  0.217131
  11  4.15062e-05
  12  5.36668e-05
  13  1.04688
  14  0.00107711
  15  6.74132e-08
  16  1.12469
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 546.195861192

Extracting fit parameters...

4FGL J0841.3-3554
   Spectrum: LogParabola
329         norm:  1.000e-04  5.474e-06  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.555e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  2.032e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  3.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  7.321e-01  1.125e+00  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.000e-02  6.741e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 130.341 -35.904
Photon Flux Upper Limit: 1.46e-06 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/642215/likelihoodResults_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.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) = 546.195886832
delta logL = -2.56407618053e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 546.195861672
delta logL = -4.80748099108e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6003       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7110E+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=   546.1959     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      280 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11022E-03    225.11        .18142E-01** at limit **
   2  alpha         2.4189        2.6673        .50000        .15209E-05
   3  Normalizat    .10000E-01    .18736E-02    .10153E-01** at limit **
   4  Prefactor     .73209        .77763E-02    .11512E-03    .42104E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000110215
  alpha      = 2.41889
  Normalizat = 0.01
  Prefactor  = 0.732086
 **********
 **   18 **HESSE 
 **********

 FCN=   546.1959     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      309 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11022E-03    1465.1        .26000E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4189        3.7844        .50000       -.32450E-01
   3  Normalizat    .10000E-01    .12868E-01    .20306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .73209        .20381E-01    .23024E-04   -1.0228    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.57233e-09
Minuit parameter uncertainties:
  1  0.251083
  2  1487.22
  3  1.66476e-06
  4  0.0203817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/642215': 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) = 546.195861363
delta logL = -1.71409965333e-07

Extracting fit parameters...

4FGL J0841.3-3554
   Spectrum: LogParabola
329         norm:  1.102e-04  2.511e-01  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  2.419e+00  1.487e+03  0.000e+00  5.000e+00 ( 1.000e+00)
331         beta:  2.032e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  3.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
698    Prefactor:  7.321e-01  2.038e-02  0.000e+00  1.000e+01 ( 1.000e+00)
699        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
700        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
697   Normalization:  1.000e-02  1.665e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 130.341 -35.904

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/642215/cmap_HighResolution_558662401_558921601_4FGL_J0841.3-3554_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-03', job_status='DONE', photon_flux_upper_limit='1.46e-06', time_completed='2021-08-30 04:57:18.733224', job_id='642215', GAL2='0.73', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630324638.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.73', dlogl='-1.71e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.56' WHERE bin_id='1232' AND source_name='4FGL J0841.3-3554' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 04:57:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 642215: <4FGL_J0841.3-3554_daily_bin1232> in cluster <slac> Done

Job <4FGL_J0841.3-3554_daily_bin1232> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 30 04:50:34 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 04:50:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 04:50:38 2021
Terminated at Mon Aug 30 04:57:19 2021
Results reported at Mon Aug 30 04:57:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0841.3-3554_daily_bin1232 130.341 -35.9041 558662401 558921601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0841.3-3554 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   273.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             443.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   402 sec.
    Turnaround time :                            405 sec.

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

