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


Performing analysis on: 4FGL_J0942.3-0800_daily_bin1295
RA = 145.586, Dec = -8.0076
tmin = 574992001, tmax = 575251201
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='447664', job_status='RUN', time_executed='2021-08-31 23:14:38.605839', time_epoch_executed='1630476878.61' WHERE source_name='4FGL J0942.3-0800' and cadence='daily' and bin_id='1295'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447664

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447664/ft1_4FGL_J0942.3-0800_daily_bin1295.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447664/ft1_4FGL_J0942.3-0800_daily_bin1295.fits outfile=/scratch/kocevski/447664/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1295.fits ra=145.586 dec=-8.0076 rad=12.0 tmin=574992001.0 tmax=575251201.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.38
user 5.01
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.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/447664/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1295.fits evtable="EVENTS" outfile="/scratch/kocevski/447664/ft1_filtered_4FGL_J0942.3-0800_daily_bin1295.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.66
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447664/ft1_filtered_4FGL_J0942.3-0800_daily_bin1295.fits" evtable="EVENTS" scfile=/scratch/kocevski/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.fits sctable="SC_DATA" outfile=/scratch/kocevski/447664/ltcube_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.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/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.fits
.....................!
real 12.38
user 11.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447664/ft1_filtered_4FGL_J0942.3-0800_daily_bin1295.fits evtable="EVENTS" scfile=/scratch/kocevski/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.fits sctable="SC_DATA" expcube=/scratch/kocevski/447664/ltcube_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.fits outfile=/scratch/kocevski/447664/expmap_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.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/447664/ltcube_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.fits
.....................!
real 190.58
user 184.81
sys 5.19

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

Setting source of interest to:
4FGL J0942.3-0800 @ 145.586 -8.0076

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/447664/ft1_filtered_4FGL_J0942.3-0800_daily_bin1295.fits scfile=/scratch/kocevski/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.fits outfile=/scratch/kocevski/447664/cmap_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.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=145.586 yref=-8.0076 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.65
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447664/ft1_filtered_4FGL_J0942.3-0800_daily_bin1295.fits scfile=/scratch/kocevski/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.fits outfile=/scratch/kocevski/447664/cmap_HighResolution_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.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=145.586 yref=-8.0076 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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447664/ft1_filtered_4FGL_J0942.3-0800_daily_bin1295.fits evtable="EVENTS" scfile=/scratch/kocevski/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447664/Model_4FGL_J0942.3-0800_daily_bin1295.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/447664/ft1_filtered_4FGL_J0942.3-0800_daily_bin1295.fits......................!
real 48.14
user 46.65
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/447664/ft1_filtered_4FGL_J0942.3-0800_daily_bin1295.fits', '/scratch/kocevski/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.fits', expMap='/scratch/kocevski/447664/expmap_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.fits', expCube='/scratch/kocevski/447664/ltcube_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/447664/Model_4FGL_J0942.3-0800_daily_bin1295.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0942.3-0800'

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.319e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  2.008e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
241         beta:  1.442e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  9.432e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/447664/ft1_filtered_4FGL_J0942.3-0800_daily_bin1295.fits
Spacecraft file(s): /scratch/kocevski/447664/ft2_4FGL_J0942.3-0800_daily_bin1295.fits
Exposure map: /scratch/kocevski/447664/expmap_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.fits
Exposure cube: /scratch/kocevski/447664/ltcube_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/447664/Model_4FGL_J0942.3-0800_daily_bin1295.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) = 4075.79714789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5589       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.4662       1.0000         .10000E-03   10000.    
     5 'Prefactor '    54.594       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.484       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    45.748       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.7886       1.0000         .10000E-03   10000.    
    12 'norm      '    .65091       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    25.239       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.319       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.911       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.8340       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .34328       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4075.787     FROM MIGRAD    STATUS=CONVERGED    376 CALLS     1889 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5591        2.7726        .44014E-08    .97211E-04
   2  Prefactor     .10000E-03    51.831        .11362E-05** at limit **
   3  Prefactor     .10000E-03    2.9494        .12183E-07** at limit **
   4  norm          4.4665        6.5838       -.32209E-05   -.14965E-03
   5  Prefactor     54.594        33.094       -.33629E-06    .11216E-04
   6  Prefactor     16.487        47.002        .50009E-05    .35713E-05
   7  Prefactor     .10000E-03    14.541       -.38830E-05** at limit **
   8  Prefactor     45.735        51.393       -.16093E-04    .68446E-05
   9  Prefactor     .10000E-03    14.510        .34883E-05** at limit **
  10  Prefactor     .10000E-03    20.063        .57310E-06** at limit **
  11  norm          7.7899        8.0055        .86673E-06   -.72457E-05
  12  norm          .65150        6.0280       -.13975E-05   -.88840E-03
  13  norm          .10000E-03    .27723       -.44943E-07** at limit **
  14  norm          .10000E-03    .73381       -.25632E-07** at limit **
  15  norm          25.241        15.327       -.44662E-06   -.10918E-04
  16  Prefactor     18.297        40.023       -.39593E-04   -.15398E-04
  17  Prefactor     15.927        48.850        .32876E-04    .13341E-04
  18  Normalizat    1.8339        .25948        .73176E-07    .81443E-04
  19  Prefactor     .34336        .16169        .35012E-05    .15833E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.55914
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.46654
  Prefactor  = 54.5943
  Prefactor  = 16.4867
  Prefactor  = 0.0001
  Prefactor  = 45.7351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.78991
  norm       = 0.651502
  norm       = 0.0001
  norm       = 0.0001
  norm       = 25.2411
  Prefactor  = 18.297
  Prefactor  = 15.9265
  Normalizat = 1.83386
  Prefactor  = 0.343359
 **********
 **   18 **HESSE 
 **********

 FCN=   4075.787     FROM HESSE     STATUS=OK           272 CALLS     2161 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5591        2.7763        .10793E-03   -1.5388    
   2  Prefactor     .10000E-03    52.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.9528        .10708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.4665        6.5849        .19053E-03   -1.5285    
   5  Prefactor     54.594        33.244        .54287E-04   -1.4229    
   6  Prefactor     16.487        46.989        .98648E-04   -1.4896    
   7  Prefactor     .10000E-03    14.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     45.735        51.087        .59278E-04   -1.4354    
   9  Prefactor     .10000E-03    14.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.7899        8.0039        .14368E-03   -1.5150    
  12  norm          .65150        6.2040        .30099E-03   -1.5547    
  13  norm          .10000E-03    .32061        .65126E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .73867        .53400E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          25.241        15.324        .79737E-04   -1.4703    
  16  Prefactor     18.297        39.969        .93576E-04   -1.4852    
  17  Prefactor     15.927        48.903        .10041E-03   -1.4910    
  18  Normalizat    1.8339        .29584        .22648E-03   -.68783    
  19  Prefactor     .34336        .18045        .30752E-03   -1.1980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05789e-09
Minuit parameter uncertainties:
  1  2.77639
  2  0.000176697
  3  2.90741e-07
  4  6.58594
  5  33.2552
  6  47.0945
  7  1.21186e-05
  8  51.1361
  9  2.64992e-06
  10  4.15603e-05
  11  8.00504
  12  4.02114
  13  2.29856e-06
  14  7.14157e-07
  15  15.3265
  16  40.0273
  17  49.0267
  18  0.296129
  19  0.180749
Done.

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

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  6.515e-01  4.021e+00  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  2.008e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
241         beta:  1.442e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  9.432e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  3.434e-01  1.807e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.834e+00  2.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 145.586 -8.008
Photon Flux Upper Limit: 8.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/447664/likelihoodResults_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.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) = 4075.72210841
delta logL = 0.0647176308621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4075.7169301
delta logL = 0.0698959388842

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4075.717     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      215 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .91543        115.91        .12864E-01    .69624E-03
   2  alpha         2.7225        3.2972        .41358        .24109E-04
   3  Normalizat    1.8249        .57597E-01    .51324E-01   -.37151E-05
   4  Prefactor     .34469        .37204E-01    .69296E-01    .28019E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.915428
  alpha      = 2.72249
  Normalizat = 1.82488
  Prefactor  = 0.34469
 **********
 **   18 **HESSE 
 **********

 FCN=   4075.717     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .91543        3.3275        .15999E-03   -1.5517    
   2  alpha         2.7225        1.8106        .29992E-01    .89114E-01
   3  Normalizat    1.8249        .28157        .22688E-03   -.69016    
   4  Prefactor     .34469        .17894        .30686E-03   -1.1973    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49599e-09
Minuit parameter uncertainties:
  1  3.32819
  2  2.0272
  3  0.281824
  4  0.179224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447664': 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) = 4075.71693004
delta logL = 0.069896004863

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  9.154e-01  3.328e+00  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  2.722e+00  2.027e+00  0.000e+00  5.000e+00 ( 1.000e+00)
241         beta:  1.442e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  9.432e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  3.447e-01  1.792e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.825e+00  2.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 145.586 -8.008

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/447664/cmap_HighResolution_574992001_575251201_4FGL_J0942.3-0800_daily_bin1295.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-05', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2021-08-31 23:24:25.110497', job_id='447664', GAL2='0.34', fit_tolerance='1e-08', EG2='1.82', EG='1.83', time_epoch_completed='1630477465.11', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.34', dlogl='6.99e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1295' AND source_name='4FGL J0942.3-0800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 23:24:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 447664: <4FGL_J0942.3-0800_daily_bin1295> in cluster <slac> Done

Job <4FGL_J0942.3-0800_daily_bin1295> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 23:12:01 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 23:12:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 23:12:03 2021
Terminated at Tue Aug 31 23:24:25 2021
Results reported at Tue Aug 31 23:24:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0942.3-0800_daily_bin1295 145.586 -8.0076 574992001 575251201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0942.3-0800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   475.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             236.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            744 sec.

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

