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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1032
RA = 144.475, Dec = -14.5706
tmin = 506822401, tmax = 507081601
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='375384', job_status='RUN', time_executed='2021-08-31 19:31:56.304862', time_epoch_executed='1630463516.3' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1032'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375384

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375384/ft1_4FGL_J0937.9-1434_daily_bin1032.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375384/ft2_4FGL_J0937.9-1434_daily_bin1032.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375384/ft1_4FGL_J0937.9-1434_daily_bin1032.fits outfile=/scratch/kocevski/375384/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1032.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=506822401.0 tmax=507081601.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.50
user 3.30
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/375384/ft2_4FGL_J0937.9-1434_daily_bin1032.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/375384/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1032.fits evtable="EVENTS" outfile="/scratch/kocevski/375384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1032.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1032.fits" evtable="EVENTS" scfile=/scratch/kocevski/375384/ft2_4FGL_J0937.9-1434_daily_bin1032.fits sctable="SC_DATA" outfile=/scratch/kocevski/375384/ltcube_506822401_507081601_4FGL_J0937.9-1434_daily_bin1032.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/375384/ft2_4FGL_J0937.9-1434_daily_bin1032.fits
.....................!
real 11.73
user 11.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/375384/ft2_4FGL_J0937.9-1434_daily_bin1032.fits sctable="SC_DATA" expcube=/scratch/kocevski/375384/ltcube_506822401_507081601_4FGL_J0937.9-1434_daily_bin1032.fits outfile=/scratch/kocevski/375384/expmap_506822401_507081601_4FGL_J0937.9-1434_daily_bin1032.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/375384/ltcube_506822401_507081601_4FGL_J0937.9-1434_daily_bin1032.fits
.....................!
real 189.47
user 184.66
sys 4.42

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/375384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1032.fits scfile=/scratch/kocevski/375384/ft2_4FGL_J0937.9-1434_daily_bin1032.fits outfile=/scratch/kocevski/375384/cmap_506822401_507081601_4FGL_J0937.9-1434_daily_bin1032.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1032.fits scfile=/scratch/kocevski/375384/ft2_4FGL_J0937.9-1434_daily_bin1032.fits outfile=/scratch/kocevski/375384/cmap_HighResolution_506822401_507081601_4FGL_J0937.9-1434_daily_bin1032.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/375384/ft2_4FGL_J0937.9-1434_daily_bin1032.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375384/Model_4FGL_J0937.9-1434_daily_bin1032.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/375384/ft1_filtered_4FGL_J0937.9-1434_daily_bin1032.fits.....................!
real 58.99
user 57.63
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.942       1.0000         .10000E-03   10000.    
     2 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6558       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1781       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.711       1.0000         .10000E-03   10000.    
     7 'Prefactor '    82.943       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11501E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10668E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.5657       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.5960       1.0000         .10000E-03   10000.    
    16 'norm      '    16.868       1.0000         .10000E-03   10000.    
    17 'norm      '    1.7723       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .95855       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0661       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=   5224.798     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1931 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.945        10.307       -.63545E-06   -.80589E-04
   2  norm          .10000E-03    1.6885       -.30428E-06** at limit **
   3  Prefactor     .10000E-03    10.224        .24102E-07** at limit **
   4  Prefactor     1.6602        22.386        .14677E-04   -.31700E-04
   5  Prefactor     6.1811        8.0809        .82093E-07   -.47544E-04
   6  Prefactor     22.728        24.935       -.12152E-06   -.22198E-04
   7  Prefactor     82.903        62.237        .40181E-05    .77277E-05
   8  Prefactor     .10000E-03    18.090        .20707E-06** at limit **
   9  Prefactor     .10000E-03    33.015        .26036E-06** at limit **
  10  Prefactor     .10000E-03    154.45        .62500E-05** at limit **
  11  Prefactor     .10000E-03    80.057       -.41452E-05** at limit **
  12  norm          .10000E-03    2.6903       -.70732E-07** at limit **
  13  norm          6.5676        5.4207        .16752E-06   -.41944E-04
  14  norm          .10000E-03    3.8081        .11473E-07** at limit **
  15  norm          3.5965        2.3782        .49312E-07   -.39818E-04
  16  norm          16.869        12.155        .13068E-06   -.42483E-04
  17  norm          1.7728        1.5559        .81918E-07   -.91183E-05
  18  Normalizat    .95818        .25739       -.24763E-05   -.11716E-03
  19  Prefactor     1.0661        .14774       -.12108E-06   -.21561E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.9449
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.66016
  Prefactor  = 6.18114
  Prefactor  = 22.7282
  Prefactor  = 82.9032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 6.56762
  norm       = 0.0001
  norm       = 3.59648
  norm       = 16.8692
  norm       = 1.77284
  Normalizat = 0.958182
  Prefactor  = 1.06608
 **********
 **   18 **HESSE 
 **********

 FCN=   5224.798     FROM HESSE     STATUS=OK           264 CALLS     2195 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.945        10.286        .12112E-03   -1.5046    
   2  norm          .10000E-03    2.9629        .18250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6602        22.510        .16399E-02   -1.5450    
   5  Prefactor     6.1811        8.0744        .16151E-03   -1.5211    
   6  Prefactor     22.728        25.067        .84052E-04   -1.4754    
   7  Prefactor     82.903        62.521        .44105E-04   -1.3884    
   8  Prefactor     .10000E-03    18.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    33.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    156.67        .20668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    82.851        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.6944        .11578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.5676        5.4211        .14628E-03   -1.5195    
  14  norm          .10000E-03    3.8090        .13776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.5965        2.3775        .87506E-04   -1.5329    
  16  norm          16.869        12.160        .97518E-04   -1.4886    
  17  norm          1.7728        1.5581        .81335E-04   -1.5442    
  18  Normalizat    .95818        .30229        .33449E-03   -.94445    
  19  Prefactor     1.0661        .17434        .19054E-03   -.90558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02497e-10
Minuit parameter uncertainties:
  1  10.2872
  2  6.05078e-05
  3  5.02185e-06
  4  12.2313
  5  8.07586
  6  25.0788
  7  62.5708
  8  4.77922e-05
  9  8.19954e-05
  10  0.00149567
  11  0.000891557
  12  3.75226e-06
  13  5.42147
  14  2.9781e-08
  15  2.37756
  16  12.1621
  17  1.55817
  18  0.302831
  19  0.174432
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.496e-03  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.066e+00  1.744e-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:  9.582e-01  3.028e-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: 9.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/375384/likelihoodResults_506822401_507081601_4FGL_J0937.9-1434_daily_bin1032.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) = 5224.7982079
delta logL = -3.02732978525e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5224.79820789
delta logL = -3.0271495234e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96363E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9797       1.0000          .0000       10.000    
     3 'Normalizat'    .95818       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0661       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=   5224.714     FROM MIGRAD    STATUS=CONVERGED    244 CALLS      391 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5701        492.88        .90712E-02    .49579E-03
   2  Index         2.7180        6.2937        .99902E-01    .14855E-03
   3  Normalizat    .94058        .68072E-01    .76219E-01   -.10420E-04
   4  Prefactor     1.0675        .40200E-01    .39048E-01   -.45300E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57013
  Index      = 2.718
  Normalizat = 0.940584
  Prefactor  = 1.0675
 **********
 **   18 **HESSE 
 **********

 FCN=   5224.714     FROM HESSE     STATUS=OK            31 CALLS      422 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5701        56.986        .33230E-03   -1.5330    
   2  Index         2.7180        2.4285        .98313E-02   -.47394    
   3  Normalizat    .94058        .29115        .33732E-03   -.95048    
   4  Prefactor     1.0675        .17377        .19042E-03   -.90512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20653e-07
Minuit parameter uncertainties:
  1  28.5588
  2  2.56893
  3  0.291642
  4  0.173862
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375384': 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) = 5224.71351845
delta logL = 0.0846591692598

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  3.570e+00  2.856e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.718e+00  2.569e+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.068e+00  1.739e-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:  9.406e-01  2.916e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/375384/cmap_HighResolution_506822401_507081601_4FGL_J0937.9-1434_daily_bin1032.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='9.29e-08', time_completed='2021-08-31 19:41:10.634112', job_id='375384', GAL2='1.07', fit_tolerance='1e-08', EG2='0.94', EG='0.96', time_epoch_completed='1630464070.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='8.47e-02', ts2='0.17', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1032' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:41:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 375384: <4FGL_J0937.9-1434_daily_bin1032> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1032> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 19:31:13 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:31:14 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:31:14 2021
Terminated at Tue Aug 31 19:41:11 2021
Results reported at Tue Aug 31 19:41:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1032 144.475 -14.5706 506822401 507081601 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 :                                   528.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            598 sec.

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

