/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 183 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 = 7396
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0900.7-1243_daily_bin215
RA = 135.175, Dec = -12.7201
tmin = 295056001, tmax = 295315201
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='927290', job_status='RUN', time_executed='2021-08-30 20:28:44.804848', time_epoch_executed='1630380524.8' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/927290

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/927290/ft1_4FGL_J0900.7-1243_daily_bin215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/927290/ft2_4FGL_J0900.7-1243_daily_bin215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/927290/ft1_4FGL_J0900.7-1243_daily_bin215.fits outfile=/scratch/kocevski/927290/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin215.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=295056001.0 tmax=295315201.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 2.62
user 2.37
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/927290/ft2_4FGL_J0900.7-1243_daily_bin215.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/927290/ft2_4FGL_J0900.7-1243_daily_bin215.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/927290/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin215.fits evtable="EVENTS" outfile="/scratch/kocevski/927290/ft1_filtered_4FGL_J0900.7-1243_daily_bin215.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.53
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/927290/ft1_filtered_4FGL_J0900.7-1243_daily_bin215.fits" evtable="EVENTS" scfile=/scratch/kocevski/927290/ft2_4FGL_J0900.7-1243_daily_bin215.fits sctable="SC_DATA" outfile=/scratch/kocevski/927290/ltcube_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.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/927290/ft2_4FGL_J0900.7-1243_daily_bin215.fits
.....................!
real 12.86
user 12.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/927290/ft1_filtered_4FGL_J0900.7-1243_daily_bin215.fits evtable="EVENTS" scfile=/scratch/kocevski/927290/ft2_4FGL_J0900.7-1243_daily_bin215.fits sctable="SC_DATA" expcube=/scratch/kocevski/927290/ltcube_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.fits outfile=/scratch/kocevski/927290/expmap_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.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/927290/ltcube_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.fits
.....................!
real 196.76
user 190.93
sys 5.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 162 point sources and 0 extended sources

Setting source of interest to:
4FGL J0900.7-1243 @ 135.175 -12.7201

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/927290/ft1_filtered_4FGL_J0900.7-1243_daily_bin215.fits scfile=/scratch/kocevski/927290/ft2_4FGL_J0900.7-1243_daily_bin215.fits outfile=/scratch/kocevski/927290/cmap_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.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=135.175 yref=-12.7201 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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/927290/ft1_filtered_4FGL_J0900.7-1243_daily_bin215.fits scfile=/scratch/kocevski/927290/ft2_4FGL_J0900.7-1243_daily_bin215.fits outfile=/scratch/kocevski/927290/cmap_HighResolution_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.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=135.175 yref=-12.7201 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/927290/ft1_filtered_4FGL_J0900.7-1243_daily_bin215.fits evtable="EVENTS" scfile=/scratch/kocevski/927290/ft2_4FGL_J0900.7-1243_daily_bin215.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/927290/Model_4FGL_J0900.7-1243_daily_bin215.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/927290/ft1_filtered_4FGL_J0900.7-1243_daily_bin215.fits.....................!
real 96.48
user 94.76
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/927290/ft1_filtered_4FGL_J0900.7-1243_daily_bin215.fits', '/scratch/kocevski/927290/ft2_4FGL_J0900.7-1243_daily_bin215.fits', expMap='/scratch/kocevski/927290/expmap_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.fits', expCube='/scratch/kocevski/927290/ltcube_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/927290/Model_4FGL_J0900.7-1243_daily_bin215.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0900.7-1243'

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  2.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.278e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/927290/ft1_filtered_4FGL_J0900.7-1243_daily_bin215.fits
Spacecraft file(s): /scratch/kocevski/927290/ft2_4FGL_J0900.7-1243_daily_bin215.fits
Exposure map: /scratch/kocevski/927290/expmap_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.fits
Exposure cube: /scratch/kocevski/927290/ltcube_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/927290/Model_4FGL_J0900.7-1243_daily_bin215.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) = 8836.25333945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.780       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    41.851       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    56.753       1.0000         .10000E-03   10000.    
     7 'norm      '    4.4502       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5605       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.1470       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.549       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4035       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.512       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.184       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.673       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .37714E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    4.0454       1.0000         .10000E-03   10000.    
    19 'norm      '    7.9271       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0423       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0117       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8836.176     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     1944 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.779        11.327       -.12400E-06    .22888E-06
   2  Prefactor     .10000E-03    4.9477        .12833E-06** at limit **
   3  norm          41.848        22.913       -.44454E-06    .18303E-05
   4  norm          .10000E-03    2.2155        .30647E-07** at limit **
   5  Prefactor     .10000E-03    14.036        .14213E-06** at limit **
   6  norm          56.754        14.547       -.20108E-06    .22459E-04
   7  norm          4.4504        3.2943        .10062E-06    .43779E-04
   8  Prefactor     5.5595        4.3181       -.11672E-06    .23428E-04
   9  Prefactor     8.1444        18.553       -.77010E-06    .59518E-05
  10  Prefactor     12.548        8.9619        .41560E-06    .12824E-04
  11  norm          2.4038        4.1335        .24319E-05    .50474E-04
  12  Prefactor     28.510        17.404       -.30483E-06    .56092E-05
  13  Prefactor     39.198        32.294        .13699E-05    .59735E-04
  14  Prefactor     .10000E-03    13.963       -.85882E-07** at limit **
  15  Prefactor     .10000E-03    65.694       -.37914E-06** at limit **
  16  Prefactor     32.700        32.567        .31457E-05    .83176E-04
  17  Prefactor     .10614E-03    11.872       -.20508E-05** at limit **
  18  norm          4.0384        8.6441       -.15088E-07    .57869E-04
  19  norm          7.9261        4.4727        .11975E-07    .14513E-04
  20  Normalizat    1.0421        .19344       -.16781E-06    .19689E-03
  21  Prefactor     1.0119        .10769       -.29052E-08    .28136E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7794
  Prefactor  = 0.0001
  norm       = 41.8477
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 56.7535
  norm       = 4.45044
  Prefactor  = 5.5595
  Prefactor  = 8.14437
  Prefactor  = 12.5478
  norm       = 2.4038
  Prefactor  = 28.5104
  Prefactor  = 39.1983
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.7005
  Prefactor  = 0.000106144
  norm       = 4.03842
  norm       = 7.92611
  Normalizat = 1.04212
  Prefactor  = 1.01194
 **********
 **   18 **HESSE 
 **********

 FCN=   8836.176     FROM HESSE     STATUS=OK           327 CALLS     2271 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.779        11.328        .97775E-04   -1.4888    
   2  Prefactor     .10000E-03    5.1631        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          41.848        22.916        .61966E-04   -1.4413    
   4  norm          .10000E-03    2.2337        .13661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          56.754        14.533        .53250E-04   -1.4200    
   7  norm          4.4504        3.2806        .13649E-03   -1.5286    
   8  Prefactor     5.5595        4.3202        .16515E-03   -1.5236    
   9  Prefactor     8.1444        18.497        .14046E-03   -1.5137    
  10  Prefactor     12.548        8.9564        .11308E-03   -1.4999    
  11  norm          2.4038        4.1381        .12200E-02   -1.5398    
  12  Prefactor     28.510        17.467        .75030E-04   -1.4640    
  13  Prefactor     39.198        32.343        .64031E-04   -1.4455    
  14  Prefactor     .10000E-03    13.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    66.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.700        32.614        .70102E-04   -1.4564    
  17  Prefactor     .10614E-03    14.560        .89164E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.0384        8.6007        .20048E-03   -1.5306    
  19  norm          7.9261        4.4741        .14241E-03   -1.5145    
  20  Normalizat    1.0421        .22041        .33547E-03   -.91632    
  21  Prefactor     1.0119        .12283        .19835E-03   -.92332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87537e-10
Minuit parameter uncertainties:
  1  11.3292
  2  1.08751e-05
  3  22.9207
  4  1.71467e-06
  5  1.24144e-05
  6  14.5338
  7  3.28069
  8  4.32044
  9  18.5097
  10  8.95733
  11  4.1386
  12  17.4706
  13  32.3572
  14  3.27833e-06
  15  0.000129415
  16  32.6315
  17  0.0189212
  18  8.60333
  19  4.47431
  20  0.220608
  21  0.122861
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  8.144e+00  1.851e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.278e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.012e+00  1.229e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.042e+00  2.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/927290/likelihoodResults_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.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) = 8833.77787545
delta logL = 2.39790431812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8833.74846884
delta logL = 2.42731093136

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8833.748     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      273 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54134        3.1452        .74967E-02    .17415E-02
   2  Index         4.3995        1.7059        .85752E-01    .29763E-03
   3  Normalizat    .90342        .54756E-01    .80473E-01    .18183E-04
   4  Prefactor     1.0590        .32034E-01    .39419E-01   -.14552E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.541342
  Index      = 4.3995
  Normalizat = 0.90342
  Prefactor  = 1.05898
 **********
 **   18 **HESSE 
 **********

 FCN=   8833.748     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      304 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54134        6.6728        .33728E-04   -1.5561    
   2  Index         4.3995        2.7802        .33345E-02   -.12039    
   3  Normalizat    .90342        .19400        .35624E-03   -.96340    
   4  Prefactor     1.0590        .11151        .19418E-03   -.90789    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.16391e-10
Minuit parameter uncertainties:
  1  3.80137
  2  2.95099
  3  0.194152
  4  0.11153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/927290': 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) = 8833.74846736
delta logL = 2.42731240746

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  5.413e-01  3.801e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  4.400e+00  2.951e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.059e+00  1.115e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  9.034e-01  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.54
Ra Dec: 135.175 -12.720
Photon Index (Free Index): 4.40 +/- 2.95
Photon Flux (Free Index): 1.57e-07 +/- 8.35e-08
Energy Flux (Free Index): 2.22e-05 +/- 1.62e-05

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/927290/cmap_HighResolution_295056001_295315201_4FGL_J0900.7-1243_daily_bin215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', comment='SUCCESS', energy_flux2='2.22e-05', dlogl='2.43e+00', photon_flux2='1.57e-07', job_status='DONE', time_completed='2021-08-30 20:40:42.047867', photon_index_error2='2.95', photon_index2='4.40', ts='0.24', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='1.62e-05', EG='1.04', time_epoch_completed='1630381242.05', return_code='0', job_id='927290', GAL2='1.06', EG2='0.90', return_code2='102', photon_flux_error2='8.35e-08', ts2='5.54', photon_index='2.28' WHERE bin_id='215' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:40:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 927290: <4FGL_J0900.7-1243_daily_bin215> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin215> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Aug 30 20:25:25 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:25:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 20:25:26 2021
Terminated at Mon Aug 30 20:40:42 2021
Results reported at Mon Aug 30 20:40:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin215 135.175 -12.7201 295056001 295315201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0900.7-1243 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   715.11 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            917 sec.

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

