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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1148
RA = 135.175, Dec = -12.7201
tmin = 536889601, tmax = 537148801
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='933311', job_status='RUN', time_executed='2021-08-30 20:48:11.952884', time_epoch_executed='1630381691.95' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1148'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933311

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933311/ft1_4FGL_J0900.7-1243_daily_bin1148.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933311/ft2_4FGL_J0900.7-1243_daily_bin1148.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933311/ft1_4FGL_J0900.7-1243_daily_bin1148.fits outfile=/scratch/kocevski/933311/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1148.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=536889601.0 tmax=537148801.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.84
user 3.39
sys 0.43

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/933311/ft2_4FGL_J0900.7-1243_daily_bin1148.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/933311/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1148.fits evtable="EVENTS" outfile="/scratch/kocevski/933311/ft1_filtered_4FGL_J0900.7-1243_daily_bin1148.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.90
user 0.33
sys 0.38

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933311/ft1_filtered_4FGL_J0900.7-1243_daily_bin1148.fits" evtable="EVENTS" scfile=/scratch/kocevski/933311/ft2_4FGL_J0900.7-1243_daily_bin1148.fits sctable="SC_DATA" outfile=/scratch/kocevski/933311/ltcube_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.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/933311/ft2_4FGL_J0900.7-1243_daily_bin1148.fits
.....................!
real 12.29
user 11.50
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933311/ft1_filtered_4FGL_J0900.7-1243_daily_bin1148.fits evtable="EVENTS" scfile=/scratch/kocevski/933311/ft2_4FGL_J0900.7-1243_daily_bin1148.fits sctable="SC_DATA" expcube=/scratch/kocevski/933311/ltcube_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.fits outfile=/scratch/kocevski/933311/expmap_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.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/933311/ltcube_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.fits
.....................!
real 195.03
user 186.65
sys 4.35

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/933311/ft1_filtered_4FGL_J0900.7-1243_daily_bin1148.fits scfile=/scratch/kocevski/933311/ft2_4FGL_J0900.7-1243_daily_bin1148.fits outfile=/scratch/kocevski/933311/cmap_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.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.80
user 0.36
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/933311/ft1_filtered_4FGL_J0900.7-1243_daily_bin1148.fits scfile=/scratch/kocevski/933311/ft2_4FGL_J0900.7-1243_daily_bin1148.fits outfile=/scratch/kocevski/933311/cmap_HighResolution_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.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.79
user 0.38
sys 0.38

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/933311/ft1_filtered_4FGL_J0900.7-1243_daily_bin1148.fits evtable="EVENTS" scfile=/scratch/kocevski/933311/ft2_4FGL_J0900.7-1243_daily_bin1148.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/933311/Model_4FGL_J0900.7-1243_daily_bin1148.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/933311/ft1_filtered_4FGL_J0900.7-1243_daily_bin1148.fits.....................!
real 88.52
user 86.70
sys 1.57

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/933311/ft1_filtered_4FGL_J0900.7-1243_daily_bin1148.fits', '/scratch/kocevski/933311/ft2_4FGL_J0900.7-1243_daily_bin1148.fits', expMap='/scratch/kocevski/933311/expmap_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.fits', expCube='/scratch/kocevski/933311/ltcube_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/933311/Model_4FGL_J0900.7-1243_daily_bin1148.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/933311/ft1_filtered_4FGL_J0900.7-1243_daily_bin1148.fits
Spacecraft file(s): /scratch/kocevski/933311/ft2_4FGL_J0900.7-1243_daily_bin1148.fits
Exposure map: /scratch/kocevski/933311/expmap_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.fits
Exposure cube: /scratch/kocevski/933311/ltcube_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/933311/Model_4FGL_J0900.7-1243_daily_bin1148.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) = 8340.40668719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.744       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.7531       1.0000         .10000E-03   10000.    
     3 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.555       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.1966       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2735       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .64673       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.279       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    12.409       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6419       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.446       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .56082E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .12070E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .72246       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95441       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=   8340.316     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     1911 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.745        11.981        .36176E-08   -.75984E-04
   2  Prefactor     3.7529        3.6195       -.32696E-06   -.38507E-03
   3  norm          .10000E-03    6.8468        .21277E-05** at limit **
   4  norm          11.555        5.6400        .31119E-07    .19055E-05
   5  Prefactor     .10000E-03    26.412       -.11098E-05** at limit **
   6  norm          8.1972        7.6171       -.56462E-07   -.53569E-04
   7  norm          2.2736        2.1817       -.17537E-07   -.10440E-03
   8  Prefactor     .64739        2.5598        .11076E-05   -.55611E-03
   9  Prefactor     12.278        10.040        .48687E-06   -.40492E-03
  10  Prefactor     .10000E-03    1.6615       -.86895E-07** at limit **
  11  norm          12.409        6.4338        .36185E-07   -.27106E-04
  12  Prefactor     4.6375        13.871       -.10324E-05   -.13001E-03
  13  Prefactor     .10000E-03    7.5810       -.13486E-05** at limit **
  14  Prefactor     .10000E-03    14.476       -.14783E-05** at limit **
  15  Prefactor     .10000E-03    6.6972       -.89084E-06** at limit **
  16  Prefactor     29.445        23.262       -.46780E-06   -.25963E-03
  17  Prefactor     .10000E-03    14.563        .11090E-05** at limit **
  18  norm          .10014E-03    3.0646        .10160E-05** at limit **
  19  norm          .10000E-03    1.3319        .83245E-08** at limit **
  20  Normalizat    .72253        .15731       -.29123E-07   -.16966E-03
  21  Prefactor     .95439        .93283E-01   -.11877E-06   -.22687E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.7449
  Prefactor  = 3.75291
  norm       = 0.000100001
  norm       = 11.5547
  Prefactor  = 0.0001
  norm       = 8.19718
  norm       = 2.27363
  Prefactor  = 0.647392
  Prefactor  = 12.2778
  Prefactor  = 0.0001
  norm       = 12.4089
  Prefactor  = 4.63755
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 29.4453
  Prefactor  = 0.0001
  norm       = 0.00010014
  norm       = 0.0001
  Normalizat = 0.722533
  Prefactor  = 0.954389
 **********
 **   18 **HESSE 
 **********

 FCN=   8340.316     FROM HESSE     STATUS=OK           319 CALLS     2230 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.745        11.979        .72261E-04   -1.4598    
   2  Prefactor     3.7529        3.6464        .16590E-03   -1.5320    
   3  norm          .10000E-03    7.1928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.555        5.6354        .11785E-03   -1.5028    
   5  Prefactor     .10000E-03    26.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.1972        7.5949        .14003E-03   -1.5135    
   7  norm          2.2736        2.1667        .12539E-03   -1.5406    
   8  Prefactor     .64739        3.7428        .33251E-03   -1.5547    
   9  Prefactor     12.278        10.573        .57157E-03   -1.5007    
  10  Prefactor     .10000E-03    1.6657        .11496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.409        6.4360        .11371E-03   -1.5003    
  12  Prefactor     4.6375        14.060        .18680E-03   -1.5277    
  13  Prefactor     .10000E-03    7.7244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.7615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.445        22.954        .73833E-04   -1.4622    
  17  Prefactor     .10000E-03    14.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10014E-03    25.155        .27498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.9126        .20536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .72253        .18042        .31377E-03   -1.0301    
  21  Prefactor     .95439        .10863        .16836E-03   -.94266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.50149e-09
Minuit parameter uncertainties:
  1  11.9798
  2  3.64664
  3  0.000206931
  4  5.6357
  5  0.000206391
  6  7.59575
  7  2.16674
  8  3.11329
  9  10.5749
  10  3.96631e-06
  11  6.43632
  12  14.0697
  13  0.000136577
  14  0.000192582
  15  8.48576e-05
  16  22.9605
  17  0.000137371
  18  0.00375043
  19  9.49026e-07
  20  0.180572
  21  0.108655
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.228e+01  1.057e+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:  9.544e-01  1.087e-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:  7.225e-01  1.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.92
Ra Dec: 135.175 -12.720
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 3.70e-08 +/- 3.18e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.25e-05

TS (Fixed Index): 1.92
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/933311/likelihoodResults_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.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) = 8340.31369299
delta logL = 0.00224413969045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8340.31236491
delta logL = 0.00357221733248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.926       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2322       1.0000          .0000       10.000    
     3 'Normalizat'    .72405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95382       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8340.312     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      247 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.926        13.831        .11141E-03   -.12531E-03
   2  Index         2.2322        .56763        .77731E-02   -.23541E-04
   3  Normalizat    .72405        .17393        .31347E-03   -.45480E-04
   4  Prefactor     .95382        .10618        .16840E-03    .90408E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9262
  Index      = 2.23218
  Normalizat = 0.724049
  Prefactor  = 0.953822
 **********
 **   18 **HESSE 
 **********

 FCN=   8340.312     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.926        13.162        .44565E-05   -1.4989    
   2  Index         2.2322        .54004        .31093E-03   -.58664    
   3  Normalizat    .72405        .17393        .12539E-04   -1.0295    
   4  Prefactor     .95382        .10619        .33680E-04   -.94285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71005e-11
Minuit parameter uncertainties:
  1  13.1651
  2  0.541564
  3  0.174062
  4  0.106213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933311': 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) = 8340.31236491
delta logL = 0.00357222227285

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.293e+01  1.317e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.232e+00  5.416e-01  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:  9.538e-01  1.062e-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:  7.240e-01  1.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.93
Ra Dec: 135.175 -12.720
Photon Index (Free Index): 2.23 +/- 0.54
Photon Flux (Free Index): 3.58e-08 +/- 3.35e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.52e-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/933311/cmap_HighResolution_536889601_537148801_4FGL_J0900.7-1243_daily_bin1148.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.87e-03', comment='SUCCESS', photon_flux='3.70e-08', energy_flux2='1.52e-05', photon_flux_error='3.18e-08', dlogl='3.57e-03', energy_flux='1.45e-05', photon_flux2='3.58e-08', job_status='DONE', time_completed='2021-08-30 20:59:40.738440', photon_index_error2='0.54', photon_index2='2.23', ts='1.92', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.52e-05', EG='0.72', time_epoch_completed='1630382380.74', return_code='0', job_id='933311', GAL2='0.95', EG2='0.72', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='3.35e-08', ts2='1.93', photon_index='2.28' WHERE bin_id='1148' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:59:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 933311: <4FGL_J0900.7-1243_daily_bin1148> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1148> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Aug 30 20:45:51 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:45:52 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:45:52 2021
Terminated at Mon Aug 30 20:59:41 2021
Results reported at Mon Aug 30 20:59:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1148 135.175 -12.7201 536889601 537148801 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 :                                   684.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            830 sec.

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

