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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin620
RA = 144.475, Dec = -14.5706
tmin = 400032001, tmax = 400291201
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='373887', job_status='RUN', time_executed='2021-08-31 19:29:15.259411', time_epoch_executed='1630463355.26' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/373887

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/373887/ft1_4FGL_J0937.9-1434_daily_bin620.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/373887/ft2_4FGL_J0937.9-1434_daily_bin620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/373887/ft1_4FGL_J0937.9-1434_daily_bin620.fits outfile=/scratch/kocevski/373887/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin620.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=400032001.0 tmax=400291201.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 4.35
user 4.15
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/373887/ft1_filtered_4FGL_J0937.9-1434_daily_bin620.fits" evtable="EVENTS" scfile=/scratch/kocevski/373887/ft2_4FGL_J0937.9-1434_daily_bin620.fits sctable="SC_DATA" outfile=/scratch/kocevski/373887/ltcube_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.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/373887/ft2_4FGL_J0937.9-1434_daily_bin620.fits
.....................!
real 11.63
user 11.29
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/373887/ft1_filtered_4FGL_J0937.9-1434_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/373887/ft2_4FGL_J0937.9-1434_daily_bin620.fits sctable="SC_DATA" expcube=/scratch/kocevski/373887/ltcube_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.fits outfile=/scratch/kocevski/373887/expmap_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.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/373887/ltcube_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.fits
.....................!
real 190.82
user 186.59
sys 3.87

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/373887/ft1_filtered_4FGL_J0937.9-1434_daily_bin620.fits scfile=/scratch/kocevski/373887/ft2_4FGL_J0937.9-1434_daily_bin620.fits outfile=/scratch/kocevski/373887/cmap_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.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 0.58
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/373887/ft1_filtered_4FGL_J0937.9-1434_daily_bin620.fits scfile=/scratch/kocevski/373887/ft2_4FGL_J0937.9-1434_daily_bin620.fits outfile=/scratch/kocevski/373887/cmap_HighResolution_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.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.58
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/373887/ft1_filtered_4FGL_J0937.9-1434_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/373887/ft2_4FGL_J0937.9-1434_daily_bin620.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/373887/Model_4FGL_J0937.9-1434_daily_bin620.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/373887/ft1_filtered_4FGL_J0937.9-1434_daily_bin620.fits.....................!
real 80.60
user 78.61
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/373887/ft1_filtered_4FGL_J0937.9-1434_daily_bin620.fits', '/scratch/kocevski/373887/ft2_4FGL_J0937.9-1434_daily_bin620.fits', expMap='/scratch/kocevski/373887/expmap_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.fits', expCube='/scratch/kocevski/373887/ltcube_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/373887/Model_4FGL_J0937.9-1434_daily_bin620.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/373887/ft1_filtered_4FGL_J0937.9-1434_daily_bin620.fits
Spacecraft file(s): /scratch/kocevski/373887/ft2_4FGL_J0937.9-1434_daily_bin620.fits
Exposure map: /scratch/kocevski/373887/expmap_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.fits
Exposure cube: /scratch/kocevski/373887/ltcube_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/373887/Model_4FGL_J0937.9-1434_daily_bin620.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) = 7607.57580198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.034       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9758       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .93616E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5001       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.827       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.733       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7339       1.0000         .10000E-03   10000.    
    12 'norm      '    12.662       1.0000         .10000E-03   10000.    
    13 'norm      '    18.946       1.0000         .10000E-03   10000.    
    14 'norm      '    1.8811       1.0000         .10000E-03   10000.    
    15 'norm      '    .53426       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7488       1.0000         .10000E-03   10000.    
    17 'norm      '    .29353E-02   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .88665       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0520       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=   7607.521     FROM MIGRAD    STATUS=CONVERGED    397 CALLS     1697 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.033        7.2223        .31625E-02   -.24531E-03
   2  norm          2.9756        1.9849        .58841E-02    .12412E-03
   3  Prefactor     .10001E-03    1.9444        .66248E-01** at limit **
   4  Prefactor     .10000E-03    2.6420        .90712E-02** at limit **
   5  Prefactor     .10000E-03    3.6345        .90712E-02** at limit **
   6  Prefactor     5.4799        15.940        .42831E-02   -.36235E-03
   7  Prefactor     .10000E-03    38.044        .90712E-02** at limit **
   8  Prefactor     22.828        25.319        .20959E-02   -.10902E-02
   9  Prefactor     13.729        26.151        .27021E-02    .10201E-02
  10  Prefactor     .10000E-03    14.917        .90712E-02** at limit **
  11  Prefactor     2.7306        11.864        .61565E-02    .33440E-03
  12  norm          12.660        8.3116        .28143E-02   -.72888E-03
  13  norm          18.944        5.6773        .23004E-02   -.50905E-03
  14  norm          1.8802        5.9975        .75880E-02    .81683E-03
  15  norm          .53486        1.2352        .26816E-01    .13338E-02
  16  norm          1.7440        13.913        .79271E-02    .94455E-03
  17  norm          .10000E-03    .47182        .46960E-01** at limit **
  18  Normalizat    .88662        .18586        .70433E-01    .58192E-04
  19  Prefactor     1.0522        .11104        .39795E-01   -.24711E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0325
  norm       = 2.97555
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.47993
  Prefactor  = 0.000100001
  Prefactor  = 22.8283
  Prefactor  = 13.7293
  Prefactor  = 0.0001
  Prefactor  = 2.73058
  norm       = 12.6602
  norm       = 18.9443
  norm       = 1.88016
  norm       = 0.534862
  norm       = 1.74396
  norm       = 0.000100001
  Normalizat = 0.886619
  Prefactor  = 1.05219
 **********
 **   18 **HESSE 
 **********

 FCN=   7607.521     FROM HESSE     STATUS=OK           280 CALLS     1977 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.033        7.2205        .12650E-03   -1.5074    
   2  norm          2.9756        1.9841        .97554E-04   -1.5363    
   3  Prefactor     .10001E-03    3.3266        .42416E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.6451        .13845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.6653        .16235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.4799        15.954        .17132E-03   -1.5240    
   7  Prefactor     .10000E-03    38.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.828        25.304        .83837E-04   -1.4752    
   9  Prefactor     13.729        26.147        .10808E-03   -1.4967    
  10  Prefactor     .10000E-03    14.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7306        11.804        .24626E-03   -1.5377    
  12  norm          12.660        8.3119        .11257E-03   -1.4996    
  13  norm          18.944        5.6682        .92017E-04   -1.4837    
  14  norm          1.8802        5.9666        .30352E-03   -1.5434    
  15  norm          .53486        .94500        .14266E-02   -1.5562    
  16  norm          1.7440        13.873        .31708E-03   -1.5444    
  17  norm          .10000E-03    10.628        .11440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .88662        .21402        .31164E-03   -.96932    
  19  Prefactor     1.0522        .12973        .17961E-03   -.91010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23228e-08
Minuit parameter uncertainties:
  1  7.22117
  2  1.98411
  3  0.000288292
  4  1.60122e-05
  5  7.27862e-06
  6  15.9666
  7  0.00044822
  8  25.3158
  9  26.1691
  10  5.35438e-06
  11  11.3584
  12  8.31264
  13  5.66835
  14  5.96849
  15  0.945029
  16  9.8402
  17  0.000187897
  18  0.214228
  19  0.129768
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  5.354e-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.052e+00  1.298e-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.866e-01  2.142e-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: 5.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/373887/likelihoodResults_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.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) = 7607.52122784
delta logL = -0.000318947654705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7607.5209089
delta logL = -8.44920577947e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9844       1.0000          .0000       10.000    
     3 'Normalizat'    .88661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0522       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=   7607.521     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      214 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    234.83        .90712E-02** at limit **
   2  Index         1.9892        8.9985        .50000       -.27773E-05
   3  Normalizat    .88662        .18741E-01    .70433E-01    .15643E-05
   4  Prefactor     1.0522        .11731E-01    .39784E-01   -.42209E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.98923
  Normalizat = 0.886618
  Prefactor  = 1.05219
 **********
 **   18 **HESSE 
 **********

 FCN=   7607.521     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      245 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6280.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9892        5.9096        .50000       -.64620    
   3  Normalizat    .88662        .94171E-01    .31164E-03   -.96932    
   4  Prefactor     1.0522        .59037E-01    .17961E-03   -.91010    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.60361e-09
Minuit parameter uncertainties:
  1  0.00038522
  2  54.8985
  3  0.0941888
  4  0.0590403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/373887': 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) = 7607.52090889
delta logL = 6.19365891907e-09

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  3.852e-04  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.989e+00  5.490e+01  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.052e+00  5.904e-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.866e-01  9.419e-02  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/373887/cmap_HighResolution_400032001_400291201_4FGL_J0937.9-1434_daily_bin620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.93e-03', job_status='DONE', photon_flux_upper_limit='5.24e-08', time_completed='2021-08-31 19:39:29.749991', job_id='373887', GAL2='1.05', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1630463969.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='6.19e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='620' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:39:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 373887: <4FGL_J0937.9-1434_daily_bin620> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin620> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 19:25:35 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:25:37 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:25:37 2021
Terminated at Tue Aug 31 19:39:30 2021
Results reported at Tue Aug 31 19:39:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin620 144.475 -14.5706 400032001 400291201 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 :                                   607.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            835 sec.

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

