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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1270
RA = 144.475, Dec = -14.5706
tmin = 568512001, tmax = 568771201
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='378381', job_status='RUN', time_executed='2021-08-31 19:44:00.457124', time_epoch_executed='1630464240.46' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1270'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378381

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378381/ft1_4FGL_J0937.9-1434_daily_bin1270.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378381/ft2_4FGL_J0937.9-1434_daily_bin1270.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378381/ft1_4FGL_J0937.9-1434_daily_bin1270.fits outfile=/scratch/kocevski/378381/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1270.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=568512001.0 tmax=568771201.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.96
user 3.34
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378381/ft1_filtered_4FGL_J0937.9-1434_daily_bin1270.fits" evtable="EVENTS" scfile=/scratch/kocevski/378381/ft2_4FGL_J0937.9-1434_daily_bin1270.fits sctable="SC_DATA" outfile=/scratch/kocevski/378381/ltcube_568512001_568771201_4FGL_J0937.9-1434_daily_bin1270.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/378381/ft2_4FGL_J0937.9-1434_daily_bin1270.fits
.....................!
real 16.54
user 11.89
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378381/ft1_filtered_4FGL_J0937.9-1434_daily_bin1270.fits evtable="EVENTS" scfile=/scratch/kocevski/378381/ft2_4FGL_J0937.9-1434_daily_bin1270.fits sctable="SC_DATA" expcube=/scratch/kocevski/378381/ltcube_568512001_568771201_4FGL_J0937.9-1434_daily_bin1270.fits outfile=/scratch/kocevski/378381/expmap_568512001_568771201_4FGL_J0937.9-1434_daily_bin1270.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/378381/ltcube_568512001_568771201_4FGL_J0937.9-1434_daily_bin1270.fits
.....................!
real 192.97
user 185.42
sys 6.38

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/378381/ft1_filtered_4FGL_J0937.9-1434_daily_bin1270.fits scfile=/scratch/kocevski/378381/ft2_4FGL_J0937.9-1434_daily_bin1270.fits outfile=/scratch/kocevski/378381/cmap_568512001_568771201_4FGL_J0937.9-1434_daily_bin1270.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378381/ft1_filtered_4FGL_J0937.9-1434_daily_bin1270.fits scfile=/scratch/kocevski/378381/ft2_4FGL_J0937.9-1434_daily_bin1270.fits outfile=/scratch/kocevski/378381/cmap_HighResolution_568512001_568771201_4FGL_J0937.9-1434_daily_bin1270.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/378381/ft1_filtered_4FGL_J0937.9-1434_daily_bin1270.fits evtable="EVENTS" scfile=/scratch/kocevski/378381/ft2_4FGL_J0937.9-1434_daily_bin1270.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378381/Model_4FGL_J0937.9-1434_daily_bin1270.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/378381/ft1_filtered_4FGL_J0937.9-1434_daily_bin1270.fits.....................!
real 73.51
user 71.42
sys 1.65

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.9033       1.0000         .10000E-03   10000.    
     2 'norm      '    1.7861       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.8686       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .52386E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.0071       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.082       1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.094       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.478       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.6100       1.0000         .10000E-03   10000.    
    13 'norm      '    .10902E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.4797       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.4421       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .79700       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92741       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=   7283.101     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     1973 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.9096        8.3582        .35070E-05    .13757E-03
   2  norm          1.7872        1.7243       -.12491E-06    .33772E-03
   3  Prefactor     3.8678        4.3120       -.35133E-05   -.48462E-03
   4  Prefactor     .10012E-03    4.9737       -.13016E-05** at limit **
   5  Prefactor     .10000E-03    3.0416       -.90015E-07** at limit **
   6  Prefactor     9.0180        20.109       -.13914E-04    .13059E-04
   7  Prefactor     21.056        36.146       -.86285E-05    .28813E-04
   8  Prefactor     37.053        43.608       -.16255E-04    .39745E-04
   9  Prefactor     15.478        17.759       -.73394E-05    .57588E-06
  10  Prefactor     .10000E-03    10.390       -.12234E-06** at limit **
  11  Prefactor     .10000E-03    3.2902       -.24804E-05** at limit **
  12  norm          7.6119        5.7149       -.58394E-06   -.10583E-03
  13  norm          .10001E-03    1.3358        .10327E-05** at limit **
  14  norm          8.4760        10.395       -.11155E-05   -.77655E-04
  15  norm          .10000E-03    .60713       -.49194E-07** at limit **
  16  norm          .10000E-03    2.0414       -.43020E-07** at limit **
  17  norm          5.4421        1.6329       -.26401E-06    .29745E-05
  18  Normalizat    .79672        .17102        .69508E-05   -.42900E-04
  19  Prefactor     .92766        .10191       -.15325E-06    .44311E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.90964
  norm       = 1.78719
  Prefactor  = 3.86785
  Prefactor  = 0.000100121
  Prefactor  = 0.0001
  Prefactor  = 9.01804
  Prefactor  = 21.0559
  Prefactor  = 37.053
  Prefactor  = 15.4775
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.61187
  norm       = 0.000100007
  norm       = 8.47601
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.4421
  Normalizat = 0.796722
  Prefactor  = 0.927657
 **********
 **   18 **HESSE 
 **********

 FCN=   7283.101     FROM HESSE     STATUS=OK           282 CALLS     2255 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.9096        8.3641        .12733E-03   -1.5078    
   2  norm          1.7872        1.7334        .10626E-03   -1.5441    
   3  Prefactor     3.8678        4.3444        .18088E-03   -1.5315    
   4  Prefactor     .10012E-03    8.7683        .61278E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.0779        .14534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.0180        20.010        .13355E-03   -1.5107    
   7  Prefactor     21.056        36.214        .87234E-04   -1.4790    
   8  Prefactor     37.053        43.329        .65804E-04   -1.4490    
   9  Prefactor     15.478        17.758        .10181E-03   -1.4921    
  10  Prefactor     .10000E-03    10.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.2945        .15118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.6119        5.7195        .14537E-03   -1.5156    
  13  norm          .10001E-03    3.2988        .19146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.4760        10.415        .13766E-03   -1.5126    
  15  norm          .10000E-03    .61702        .64918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.0436        .11908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.4421        1.6348        .56642E-04   -1.5241    
  18  Normalizat    .79672        .19810        .29777E-03   -1.0019    
  19  Prefactor     .92766        .11931        .17352E-03   -.95181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64377e-09
Minuit parameter uncertainties:
  1  8.36504
  2  1.73346
  3  4.34476
  4  0.00205771
  5  5.20935e-06
  6  20.025
  7  36.2514
  8  43.3654
  9  17.7637
  10  4.12546e-06
  11  3.40814e-06
  12  5.71992
  13  0.000293416
  14  10.4175
  15  4.18446e-06
  16  6.13621e-06
  17  1.63482
  18  0.198275
  19  0.119344
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  4.125e-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:  9.277e-01  1.193e-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:  7.967e-01  1.983e-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: 4.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378381/likelihoodResults_568512001_568771201_4FGL_J0937.9-1434_daily_bin1270.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) = 7283.10111552
delta logL = -0.000458371012428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7283.10065713
delta logL = 2.66709321295e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9680       1.0000          .0000       10.000    
     3 'Normalizat'    .79673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92765       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=   7283.101     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    304.10        .90712E-02** at limit **
   2  Index         1.9564        7.0417        .50000        .87661E-05
   3  Normalizat    .79673        .24011E-01    .67302E-01    .25293E-04
   4  Prefactor     .92765        .15091E-01    .45357E-01   -.51787E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.95638
  Normalizat = 0.796725
  Prefactor  = 0.927655
 **********
 **   18 **HESSE 
 **********

 FCN=   7283.101     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      244 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    522.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9564        5.9715        .50000       -.65445    
   3  Normalizat    .79673        .32365E-01    .29777E-03   -1.0019    
   4  Prefactor     .92765        .20370E-01    .17352E-03   -.95181    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.79425e-09
Minuit parameter uncertainties:
  1  1.83774e-05
  2  28.2698
  3  0.0323659
  4  0.0203703
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378381': 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) = 7283.1006571
delta logL = 5.27024894836e-08

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.838e-05  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.956e+00  2.827e+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:  9.277e-01  2.037e-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:  7.967e-01  3.237e-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/378381/cmap_HighResolution_568512001_568771201_4FGL_J0937.9-1434_daily_bin1270.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-03', job_status='DONE', photon_flux_upper_limit='4.38e-08', time_completed='2021-08-31 19:54:34.104231', job_id='378381', GAL2='0.93', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1630464874.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.27e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1270' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:54:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 378381: <4FGL_J0937.9-1434_daily_bin1270> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1270> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 19:40:31 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:40:33 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:40:33 2021
Terminated at Tue Aug 31 19:54:34 2021
Results reported at Tue Aug 31 19:54:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1270 144.475 -14.5706 568512001 568771201 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 :                                   621.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            843 sec.

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

