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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1008
RA = 135.175, Dec = -12.7201
tmin = 500601601, tmax = 500860801
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='931722', job_status='RUN', time_executed='2021-08-30 20:43:57.838808', time_epoch_executed='1630381437.84' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1008'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931722

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931722/ft1_4FGL_J0900.7-1243_daily_bin1008.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931722/ft2_4FGL_J0900.7-1243_daily_bin1008.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931722/ft1_4FGL_J0900.7-1243_daily_bin1008.fits outfile=/scratch/kocevski/931722/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1008.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=500601601.0 tmax=500860801.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 6.24
user 4.88
sys 1.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/931722/ft2_4FGL_J0900.7-1243_daily_bin1008.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/931722/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1008.fits evtable="EVENTS" outfile="/scratch/kocevski/931722/ft1_filtered_4FGL_J0900.7-1243_daily_bin1008.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 1.63
user 0.32
sys 1.29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931722/ft1_filtered_4FGL_J0900.7-1243_daily_bin1008.fits" evtable="EVENTS" scfile=/scratch/kocevski/931722/ft2_4FGL_J0900.7-1243_daily_bin1008.fits sctable="SC_DATA" outfile=/scratch/kocevski/931722/ltcube_500601601_500860801_4FGL_J0900.7-1243_daily_bin1008.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/931722/ft2_4FGL_J0900.7-1243_daily_bin1008.fits
.....................!
real 13.82
user 12.20
sys 1.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931722/ft1_filtered_4FGL_J0900.7-1243_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/931722/ft2_4FGL_J0900.7-1243_daily_bin1008.fits sctable="SC_DATA" expcube=/scratch/kocevski/931722/ltcube_500601601_500860801_4FGL_J0900.7-1243_daily_bin1008.fits outfile=/scratch/kocevski/931722/expmap_500601601_500860801_4FGL_J0900.7-1243_daily_bin1008.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/931722/ltcube_500601601_500860801_4FGL_J0900.7-1243_daily_bin1008.fits
.....................!
real 191.32
user 185.50
sys 5.43

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/931722/ft1_filtered_4FGL_J0900.7-1243_daily_bin1008.fits scfile=/scratch/kocevski/931722/ft2_4FGL_J0900.7-1243_daily_bin1008.fits outfile=/scratch/kocevski/931722/cmap_500601601_500860801_4FGL_J0900.7-1243_daily_bin1008.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 1.66
user 0.38
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931722/ft1_filtered_4FGL_J0900.7-1243_daily_bin1008.fits scfile=/scratch/kocevski/931722/ft2_4FGL_J0900.7-1243_daily_bin1008.fits outfile=/scratch/kocevski/931722/cmap_HighResolution_500601601_500860801_4FGL_J0900.7-1243_daily_bin1008.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 1.66
user 0.38
sys 1.27

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931722/ft1_filtered_4FGL_J0900.7-1243_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/931722/ft2_4FGL_J0900.7-1243_daily_bin1008.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931722/Model_4FGL_J0900.7-1243_daily_bin1008.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/931722/ft1_filtered_4FGL_J0900.7-1243_daily_bin1008.fits.....................!
real 91.07
user 87.99
sys 2.81

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1045       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5250       1.0000         .10000E-03   10000.    
     3 'norm      '    .58547E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.8920       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.651       1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.671       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.7030       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10153E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.1580       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2470       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97653       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=   8380.228     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2174 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1058        3.5014       -.25813E-06   -.17680E-03
   2  Prefactor     3.5252        2.8289        .48079E-08    .77947E-04
   3  norm          .10000E-03    22.224       -.12199E-04** at limit **
   4  norm          .10000E-03    2.7226       -.43178E-07** at limit **
   5  Prefactor     .10000E-03    20.382        .11384E-05** at limit **
   6  norm          .10000E-03    1.8090       -.53282E-09** at limit **
   7  norm          1.8917        1.7878        .25356E-07    .15642E-03
   8  Prefactor     .10000E-03    3.8199       -.17067E-06** at limit **
   9  Prefactor     .10000E-03    2.9425        .88527E-08** at limit **
  10  Prefactor     .10000E-03    1.4939        .37113E-07** at limit **
  11  norm          .10000E-03    3.9787        .17562E-06** at limit **
  12  Prefactor     .10000E-03    8.0369       -.18254E-05** at limit **
  13  Prefactor     14.487        32.120       -.30135E-06   -.90493E-05
  14  Prefactor     29.640        31.574       -.35047E-05    .65921E-05
  15  Prefactor     5.6923        28.420        .32008E-06   -.26284E-04
  16  Prefactor     .10000E-03    14.005        .11369E-05** at limit **
  17  Prefactor     .10000E-03    6.2974        .10414E-06** at limit **
  18  norm          .10000E-03    7.9383        .16719E-05** at limit **
  19  norm          5.1575        3.7056       -.51803E-07   -.54745E-04
  20  Normalizat    1.2474        .17525        .25482E-06   -.18909E-05
  21  Prefactor     .97629        .10254        .20354E-07    .95494E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10584
  Prefactor  = 3.52519
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.89174
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.4871
  Prefactor  = 29.6397
  Prefactor  = 5.69232
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.15746
  Normalizat = 1.24744
  Prefactor  = 0.976288
 **********
 **   18 **HESSE 
 **********

 FCN=   8380.228     FROM HESSE     STATUS=OK           311 CALLS     2485 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1058        3.4851        .21588E-03   -1.5418    
   2  Prefactor     3.5252        2.8316        .13431E-03   -1.5332    
   3  norm          .10000E-03    22.241        .42154E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.7549        .14745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.8132        .12023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8917        1.7991        .11569E-03   -1.5433    
   8  Prefactor     .10000E-03    3.9708        .34909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.9494        .15334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.4953        .10927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.0424        .17830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.0663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.487        32.140        .10464E-03   -1.4947    
  14  Prefactor     29.640        31.674        .73553E-04   -1.4619    
  15  Prefactor     5.6923        28.446        .16820E-03   -1.5231    
  16  Prefactor     .10000E-03    14.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.3230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    8.1501        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.1575        3.7060        .14531E-03   -1.5254    
  20  Normalizat    1.2474        .20507        .28483E-03   -.85149    
  21  Prefactor     .97629        .12009        .18802E-03   -.93524    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40781e-11
Minuit parameter uncertainties:
  1  3.48546
  2  2.83166
  3  0.000287856
  4  1.20933e-06
  5  9.38315e-06
  6  4.07864e-07
  7  1.79918
  8  1.30381e-06
  9  6.37144e-07
  10  9.31093e-08
  11  1.0497e-06
  12  1.83107e-05
  13  32.1785
  14  31.6915
  15  25.4688
  16  5.87083e-06
  17  1.74023e-06
  18  1.92917e-05
  19  3.70616
  20  0.205202
  21  0.120121
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  6.371e-07  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.763e-01  1.201e-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.247e+00  2.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 4.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/931722/likelihoodResults_500601601_500860801_4FGL_J0900.7-1243_daily_bin1008.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) = 8380.23009323
delta logL = -0.00161102115453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8380.22848211
delta logL = 9.92731656879e-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     '    2.2659       1.0000          .0000       10.000    
     3 'Normalizat'    1.2475       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97627       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=   8380.228     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      244 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9165        .15432E-02** at limit **
   2  Index         2.2533        5.9103        .50000        .34837E-04
   3  Normalizat    1.2474        .20011        .28483E-03   -.10058E-04
   4  Prefactor     .97629        .11929        .18802E-03    .87071E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.25334
  Normalizat = 1.24744
  Prefactor  = 0.976288
 **********
 **   18 **HESSE 
 **********

 FCN=   8380.228     FROM HESSE     STATUS=OK            29 CALLS      273 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0721        .30864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2533        6.1259        .50000       -.58157    
   3  Normalizat    1.2474        .20025        .11393E-04   -.85149    
   4  Prefactor     .97629        .11937        .75207E-05   -.93524    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67719e-09
Minuit parameter uncertainties:
  1  0.000192586
  2  4.23972
  3  0.200374
  4  0.119405
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931722': 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) = 8380.228482
delta logL = 2.11181031773e-07

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.926e-04  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.253e+00  4.240e+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:  9.763e-01  1.194e-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.247e+00  2.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 135.175 -12.720

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/931722/cmap_HighResolution_500601601_500860801_4FGL_J0900.7-1243_daily_bin1008.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-03', job_status='DONE', photon_flux_upper_limit='4.34e-08', time_completed='2021-08-30 20:56:12.419313', job_id='931722', GAL2='0.98', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1630382172.42', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.11e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1008' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:56:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 931722: <4FGL_J0900.7-1243_daily_bin1008> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1008> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Aug 30 20:40:56 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:40:58 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:40:58 2021
Terminated at Mon Aug 30 20:56:13 2021
Results reported at Mon Aug 30 20:56:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1008 135.175 -12.7201 500601601 500860801 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 :                                   748.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            917 sec.

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

