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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1494
RA = 144.475, Dec = -14.5706
tmin = 626572801, tmax = 626832001
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='377384', job_status='RUN', time_executed='2021-08-31 19:38:27.064578', time_epoch_executed='1630463907.06' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1494'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377384

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377384/ft1_4FGL_J0937.9-1434_daily_bin1494.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377384/ft1_4FGL_J0937.9-1434_daily_bin1494.fits outfile=/scratch/kocevski/377384/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1494.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=626572801.0 tmax=626832001.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.00
user 2.76
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.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/377384/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1494.fits evtable="EVENTS" outfile="/scratch/kocevski/377384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1494.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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1494.fits" evtable="EVENTS" scfile=/scratch/kocevski/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.fits sctable="SC_DATA" outfile=/scratch/kocevski/377384/ltcube_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.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/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.fits
.....................!
real 12.20
user 11.77
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1494.fits evtable="EVENTS" scfile=/scratch/kocevski/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.fits sctable="SC_DATA" expcube=/scratch/kocevski/377384/ltcube_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.fits outfile=/scratch/kocevski/377384/expmap_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.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/377384/ltcube_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.fits
.....................!
real 191.48
user 185.54
sys 4.79

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

Setting source of interest to:
4FGL J0937.9-1434 @ 144.475 -14.5706

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/377384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1494.fits scfile=/scratch/kocevski/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.fits outfile=/scratch/kocevski/377384/cmap_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.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=144.475 yref=-14.5706 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.05
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1494.fits scfile=/scratch/kocevski/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.fits outfile=/scratch/kocevski/377384/cmap_HighResolution_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.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=144.475 yref=-14.5706 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1494.fits evtable="EVENTS" scfile=/scratch/kocevski/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377384/Model_4FGL_J0937.9-1434_daily_bin1494.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/377384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1494.fits.....................!
real 88.41
user 85.09
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/377384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1494.fits', '/scratch/kocevski/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.fits', expMap='/scratch/kocevski/377384/expmap_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.fits', expCube='/scratch/kocevski/377384/ltcube_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/377384/Model_4FGL_J0937.9-1434_daily_bin1494.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.9-1434'

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  3.095e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/377384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1494.fits
Spacecraft file(s): /scratch/kocevski/377384/ft2_4FGL_J0937.9-1434_daily_bin1494.fits
Exposure map: /scratch/kocevski/377384/expmap_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.fits
Exposure cube: /scratch/kocevski/377384/ltcube_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/377384/Model_4FGL_J0937.9-1434_daily_bin1494.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) = 8359.05604339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.8646       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14277E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.134       1.0000         .10000E-03   10000.    
     7 'Prefactor '    494.25       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    23.285       1.0000         .10000E-03   10000.    
    13 'norm      '    .63659       1.0000         .10000E-03   10000.    
    14 'norm      '    6.3125       1.0000         .10000E-03   10000.    
    15 'norm      '    .72145       1.0000         .10000E-03   10000.    
    16 'norm      '    .47528       1.0000         .10000E-03   10000.    
    17 'norm      '    4.9009       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .88244       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0287       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8358.968     FROM MIGRAD    STATUS=CONVERGED    374 CALLS     1645 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.7418        .14139E-06** at limit **
   2  norm          8.8641        3.9410       -.15976E-05   -.87539E-04
   3  Prefactor     .10000E-03    3.9785       -.43332E-06** at limit **
   4  Prefactor     .10000E-03    3.6145       -.14297E-06** at limit **
   5  Prefactor     .10000E-03    2.5823        .19030E-07** at limit **
   6  Prefactor     27.134        16.060       -.46316E-06    .39681E-05
   7  Prefactor     494.26        73.231        .27044E-06    .63017E-04
   8  Prefactor     .10000E-03    7.9317        .48439E-07** at limit **
   9  Prefactor     .10000E-03    19.161        .23486E-05** at limit **
  10  Prefactor     .10000E-03    22.669        .45372E-05** at limit **
  11  Prefactor     .10000E-03    23.836       -.40933E-05** at limit **
  12  norm          23.285        8.7657       -.49506E-07    .16372E-03
  13  norm          .63728        1.5732       -.58985E-06   -.18289E-02
  14  norm          6.3126        7.1355        .80984E-08    .25703E-05
  15  norm          .72150        .67125        .83661E-07    .46296E-03
  16  norm          .46847        5.1544       -.13745E-05    .25893E-03
  17  norm          4.9009        1.7150       -.41518E-07   -.39751E-04
  18  Normalizat    .88250        .19261        .13494E-05    .17499E-03
  19  Prefactor     1.0286        .11551       -.99752E-07    .37971E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.86412
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.1338
  Prefactor  = 494.255
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.2852
  norm       = 0.637281
  norm       = 6.31258
  norm       = 0.721503
  norm       = 0.468467
  norm       = 4.90087
  Normalizat = 0.8825
  Prefactor  = 1.02861
 **********
 **   18 **HESSE 
 **********

 FCN=   8358.968     FROM HESSE     STATUS=OK           274 CALLS     1919 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.8641        3.8450        .11422E-03   -1.5112    
   3  Prefactor     .10000E-03    18.383        .34828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.6180        .16969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.5922        .14346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.134        16.090        .76907E-04   -1.4666    
   7  Prefactor     494.26        73.217        .92270E-04   -1.1224    
   8  Prefactor     .10000E-03    7.9362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    24.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          23.285        8.7646        .83009E-04   -1.4742    
  13  norm          .63728        1.5680        .18880E-02   -1.5548    
  14  norm          6.3126        7.1359        .15976E-03   -1.5205    
  15  norm          .72150        .72395        .70586E-03   -1.5538    
  16  norm          .46847        47.710        .38589E-02   -1.5571    
  17  norm          4.9009        1.7154        .67870E-04   -1.5265    
  18  Normalizat    .88250        .21921        .34371E-03   -.97078    
  19  Prefactor     1.0286        .13120        .19843E-03   -.91782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83448e-09
Minuit parameter uncertainties:
  1  2.44018e-05
  2  3.84506
  3  0.000447768
  4  1.26875e-05
  5  4.86514e-06
  6  16.0923
  7  73.2314
  8  2.25617e-07
  9  1.23573e-05
  10  7.87435e-06
  11  7.86801e-06
  12  8.76504
  13  1.56812
  14  7.13686
  15  0.72396
  16  9.46204
  17  1.71546
  18  0.219427
  19  0.131239
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  7.874e-06  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  1.029e+00  1.312e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  8.825e-01  2.194e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.475 -14.571
Photon Flux Upper Limit: 6.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/377384/likelihoodResults_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.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) = 8358.96818709
delta logL = -0.000212198947338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8358.85578922
delta logL = 0.1121856713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20352       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7830       1.0000          .0000       10.000    
     3 'Normalizat'    .85125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0382       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8358.856     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      302 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20360        4.0619        .17824E-01    .28268E-02
   2  Index         3.7832        2.3509        .80880E-01    .30183E-03
   3  Normalizat    .85126        .25216E-01    .78873E-01    .29292E-04
   4  Prefactor     1.0382        .15688E-01    .40656E-01   -.23021E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.203602
  Index      = 3.78325
  Normalizat = 0.851263
  Prefactor  = 1.03823
 **********
 **   18 **HESSE 
 **********

 FCN=   8358.856     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      337 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20360        39.318        .71169E-03   -1.5618    
   2  Index         3.7832        6.5713        .89350E-02   -.24582    
   3  Normalizat    .85126        .12158        .34915E-03   -.98194    
   4  Prefactor     1.0382        .74795E-01    .19754E-03   -.91466    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.77479e-06
Minuit parameter uncertainties:
  1  5.66106
  2  8.90768
  3  0.121624
  4  0.0748027
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377384': 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) = 8358.85578885
delta logL = 0.112186035421

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.036e-01  5.661e+00  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  3.783e+00  8.908e+00  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  1.038e+00  7.480e-02  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  8.513e-01  1.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.475 -14.571

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/377384/cmap_HighResolution_626572801_626832001_4FGL_J0937.9-1434_daily_bin1494.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.21e-08', time_completed='2021-08-31 19:51:21.042014', job_id='377384', GAL2='1.04', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1630464681.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.12e-01', ts2='0.24', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1494' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:51:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 377384: <4FGL_J0937.9-1434_daily_bin1494> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1494> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 19:36:47 2021
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:36:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 19:36:49 2021
Terminated at Tue Aug 31 19:51:21 2021
Results reported at Tue Aug 31 19:51:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1494 144.475 -14.5706 626572801 626832001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0937.9-1434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   640.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            874 sec.

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

