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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1123
RA = 135.175, Dec = -12.7201
tmin = 530409601, tmax = 530668801
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='933269', job_status='RUN', time_executed='2021-08-30 20:47:10.187739', time_epoch_executed='1630381630.19' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1123'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933269

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933269/ft1_4FGL_J0900.7-1243_daily_bin1123.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933269/ft2_4FGL_J0900.7-1243_daily_bin1123.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933269/ft1_4FGL_J0900.7-1243_daily_bin1123.fits outfile=/scratch/kocevski/933269/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1123.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=530409601.0 tmax=530668801.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.89
user 3.40
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933269/ft1_filtered_4FGL_J0900.7-1243_daily_bin1123.fits" evtable="EVENTS" scfile=/scratch/kocevski/933269/ft2_4FGL_J0900.7-1243_daily_bin1123.fits sctable="SC_DATA" outfile=/scratch/kocevski/933269/ltcube_530409601_530668801_4FGL_J0900.7-1243_daily_bin1123.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/933269/ft2_4FGL_J0900.7-1243_daily_bin1123.fits
.....................!
real 12.50
user 11.27
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933269/ft1_filtered_4FGL_J0900.7-1243_daily_bin1123.fits evtable="EVENTS" scfile=/scratch/kocevski/933269/ft2_4FGL_J0900.7-1243_daily_bin1123.fits sctable="SC_DATA" expcube=/scratch/kocevski/933269/ltcube_530409601_530668801_4FGL_J0900.7-1243_daily_bin1123.fits outfile=/scratch/kocevski/933269/expmap_530409601_530668801_4FGL_J0900.7-1243_daily_bin1123.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/933269/ltcube_530409601_530668801_4FGL_J0900.7-1243_daily_bin1123.fits
.....................!
real 190.05
user 185.03
sys 4.63

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/933269/ft1_filtered_4FGL_J0900.7-1243_daily_bin1123.fits scfile=/scratch/kocevski/933269/ft2_4FGL_J0900.7-1243_daily_bin1123.fits outfile=/scratch/kocevski/933269/cmap_530409601_530668801_4FGL_J0900.7-1243_daily_bin1123.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.79
user 0.37
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/933269/ft1_filtered_4FGL_J0900.7-1243_daily_bin1123.fits scfile=/scratch/kocevski/933269/ft2_4FGL_J0900.7-1243_daily_bin1123.fits outfile=/scratch/kocevski/933269/cmap_HighResolution_530409601_530668801_4FGL_J0900.7-1243_daily_bin1123.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.82
user 0.38
sys 0.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/933269/ft1_filtered_4FGL_J0900.7-1243_daily_bin1123.fits evtable="EVENTS" scfile=/scratch/kocevski/933269/ft2_4FGL_J0900.7-1243_daily_bin1123.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/933269/Model_4FGL_J0900.7-1243_daily_bin1123.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/933269/ft1_filtered_4FGL_J0900.7-1243_daily_bin1123.fits.....................!
real 69.06
user 67.31
sys 1.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8617       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.8238       1.0000         .10000E-03   10000.    
     3 'norm      '    9.4783       1.0000         .10000E-03   10000.    
     4 'norm      '    7.3942       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.6078       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4211       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.944       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.950       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16060E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    87.381       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.1169       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10172E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .86562       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1092       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=   6056.524     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     1875 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8615        13.498        .28704E-05   -.36814E-04
   2  Prefactor     6.8235        5.5374        .45885E-07   -.38077E-05
   3  norm          9.4765        23.021       -.85052E-06    .77944E-06
   4  norm          7.3933        7.5589        .50550E-06   -.27790E-04
   5  Prefactor     .10000E-03    10.701        .19458E-06** at limit **
   6  norm          8.6081        10.100        .70713E-07   -.29304E-05
   7  norm          3.4210        3.6429        .40948E-07   -.41575E-05
   8  Prefactor     .10000E-03    5.1781        .89104E-07** at limit **
   9  Prefactor     13.943        14.849        .63547E-07   -.27667E-05
  10  Prefactor     .10000E-03    2.9602       -.78729E-08** at limit **
  11  norm          13.950        7.3289       -.20401E-07    .54483E-04
  12  Prefactor     .10000E-03    44.477       -.59120E-05** at limit **
  13  Prefactor     87.381        49.516        .87060E-07   -.15563E-06
  14  Prefactor     6.0660        62.057        .10350E-04    .10290E-05
  15  Prefactor     .10000E-03    59.261        .31199E-05** at limit **
  16  Prefactor     .10000E-03    20.224        .91558E-06** at limit **
  17  Prefactor     .10000E-03    14.034       -.49782E-06** at limit **
  18  norm          .10000E-03    3.6672        .10662E-07** at limit **
  19  norm          .10000E-03    5.4483       -.10158E-06** at limit **
  20  Normalizat    .86548        .21838        .48213E-06    .17714E-04
  21  Prefactor     1.1093        .12896       -.73317E-06    .26735E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.86145
  Prefactor  = 6.82353
  norm       = 9.47654
  norm       = 7.39328
  Prefactor  = 0.0001
  norm       = 8.60807
  norm       = 3.42096
  Prefactor  = 0.0001
  Prefactor  = 13.9428
  Prefactor  = 0.0001
  norm       = 13.9497
  Prefactor  = 0.000100001
  Prefactor  = 87.3808
  Prefactor  = 6.06597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.865482
  Prefactor  = 1.10931
 **********
 **   18 **HESSE 
 **********

 FCN=   6056.524     FROM HESSE     STATUS=OK           313 CALLS     2188 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8615        13.749        .12015E-02   -1.5370    
   2  Prefactor     6.8235        5.5358        .15359E-03   -1.5185    
   3  norm          9.4765        23.150        .13017E-03   -1.5092    
   4  norm          7.3933        7.5446        .73747E-03   -1.5164    
   5  Prefactor     .10000E-03    10.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.6081        10.080        .13663E-03   -1.5121    
   7  norm          3.4210        3.6251        .14202E-03   -1.5338    
   8  Prefactor     .10000E-03    5.2811        .17283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.943        14.834        .10726E-03   -1.4961    
  10  Prefactor     .10000E-03    2.9781        .13076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.950        7.3376        .10724E-03   -1.4961    
  12  Prefactor     .10000E-03    46.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     87.381        49.540        .42980E-04   -1.3836    
  14  Prefactor     6.0660        63.542        .16233E-03   -1.5215    
  15  Prefactor     .10000E-03    59.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.6853        .14553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.6923        .35462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .86548        .24486        .34106E-03   -.97684    
  21  Prefactor     1.1093        .14456        .18362E-03   -.89170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42162e-11
Minuit parameter uncertainties:
  1  12.5493
  2  5.53624
  3  23.1723
  4  7.54554
  5  6.46137e-07
  6  10.0819
  7  3.62536
  8  4.96329e-06
  9  14.8376
  10  8.63187e-08
  11  7.33805
  12  0.00034558
  13  49.5632
  14  39.3187
  15  0.000162047
  16  1.4452e-05
  17  2.11514e-05
  18  7.88222e-07
  19  3.89554e-06
  20  0.245175
  21  0.144608
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.394e+01  1.484e+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.109e+00  1.446e-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:  8.655e-01  2.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.37
Ra Dec: 135.175 -12.720
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 4.20e-08 +/- 4.46e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.75e-05

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

Saving results to:
/scratch/kocevski/933269/likelihoodResults_530409601_530668801_4FGL_J0900.7-1243_daily_bin1123.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) = 6056.42917264
delta logL = 0.0949727834486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6056.42623846
delta logL = 0.0979069696823

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.056       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6283       1.0000          .0000       10.000    
     3 'Normalizat'    .84730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1148       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=   6056.426     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      295 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.053        16.806        .12636E-03    .34324E-03
   2  Index         2.6281        .94545        .71779E-02    .90437E-04
   3  Normalizat    .84732        .24132        .34431E-03   -.46854E-03
   4  Prefactor     1.1149        .14330        .18321E-03   -.10293E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0533
  Index      = 2.62807
  Normalizat = 0.847319
  Prefactor  = 1.11486
 **********
 **   18 **HESSE 
 **********

 FCN=   6056.426     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.053        14.511        .50543E-05   -1.5074    
   2  Index         2.6281        .81641        .28712E-03   -.49427    
   3  Normalizat    .84732        .24067        .68861E-04   -.98337    
   4  Prefactor     1.1149        .14309        .36642E-04   -.88993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.58377e-10
Minuit parameter uncertainties:
  1  14.5157
  2  0.821162
  3  0.240969
  4  0.14314
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933269': 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) = 6056.42623748
delta logL = 0.0979079497893

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.005e+01  1.452e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.628e+00  8.212e-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:  1.115e+00  1.431e-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:  8.473e-01  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.58
Ra Dec: 135.175 -12.720
Photon Index (Free Index): 2.63 +/- 0.82
Photon Flux (Free Index): 5.93e-08 +/- 6.46e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.46e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/933269/cmap_HighResolution_530409601_530668801_4FGL_J0900.7-1243_daily_bin1123.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', comment='SUCCESS', photon_flux='4.20e-08', energy_flux2='1.52e-05', photon_flux_error='4.46e-08', dlogl='9.79e-02', energy_flux='1.65e-05', photon_flux2='5.93e-08', job_status='DONE', time_completed='2021-08-30 20:56:50.485451', photon_index_error2='0.82', photon_index2='2.63', ts='1.37', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.46e-05', EG='0.87', time_epoch_completed='1630382210.49', return_code='0', job_id='933269', GAL2='1.11', EG2='0.85', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='6.46e-08', ts2='1.58', photon_index='2.28' WHERE bin_id='1123' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:56:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 933269: <4FGL_J0900.7-1243_daily_bin1123> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1123 135.175 -12.7201 530409601 530668801 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 :                                   576.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            663 sec.

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

