/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 4 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 = 6319
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0900.7-1243_daily_bin91
RA = 135.175, Dec = -12.7201
tmin = 262915201, tmax = 263174401
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='925359', job_status='RUN', time_executed='2021-08-30 20:22:48.065172', time_epoch_executed='1630380168.07' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='91'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925359

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925359/ft1_4FGL_J0900.7-1243_daily_bin91.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925359/ft2_4FGL_J0900.7-1243_daily_bin91.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925359/ft1_4FGL_J0900.7-1243_daily_bin91.fits outfile=/scratch/kocevski/925359/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin91.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=262915201.0 tmax=263174401.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 10.89
user 1.12
sys 9.51

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925359/ft1_filtered_4FGL_J0900.7-1243_daily_bin91.fits" evtable="EVENTS" scfile=/scratch/kocevski/925359/ft2_4FGL_J0900.7-1243_daily_bin91.fits sctable="SC_DATA" outfile=/scratch/kocevski/925359/ltcube_262915201_263174401_4FGL_J0900.7-1243_daily_bin91.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/925359/ft2_4FGL_J0900.7-1243_daily_bin91.fits
.....................!
real 21.59
user 10.70
sys 10.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925359/ft1_filtered_4FGL_J0900.7-1243_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/925359/ft2_4FGL_J0900.7-1243_daily_bin91.fits sctable="SC_DATA" expcube=/scratch/kocevski/925359/ltcube_262915201_263174401_4FGL_J0900.7-1243_daily_bin91.fits outfile=/scratch/kocevski/925359/expmap_262915201_263174401_4FGL_J0900.7-1243_daily_bin91.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/925359/ltcube_262915201_263174401_4FGL_J0900.7-1243_daily_bin91.fits
.....................!
real 203.66
user 185.91
sys 17.25

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/925359/ft1_filtered_4FGL_J0900.7-1243_daily_bin91.fits scfile=/scratch/kocevski/925359/ft2_4FGL_J0900.7-1243_daily_bin91.fits outfile=/scratch/kocevski/925359/cmap_262915201_263174401_4FGL_J0900.7-1243_daily_bin91.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 9.61
user 0.37
sys 9.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925359/ft1_filtered_4FGL_J0900.7-1243_daily_bin91.fits scfile=/scratch/kocevski/925359/ft2_4FGL_J0900.7-1243_daily_bin91.fits outfile=/scratch/kocevski/925359/cmap_HighResolution_262915201_263174401_4FGL_J0900.7-1243_daily_bin91.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 9.52
user 0.38
sys 9.08

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/925359/ft1_filtered_4FGL_J0900.7-1243_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/925359/ft2_4FGL_J0900.7-1243_daily_bin91.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925359/Model_4FGL_J0900.7-1243_daily_bin91.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/925359/ft1_filtered_4FGL_J0900.7-1243_daily_bin91.fits.....................!
real 93.91
user 80.15
sys 13.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7567       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3959       1.0000         .10000E-03   10000.    
     3 'norm      '    .10330E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .36350E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.625       1.0000         .10000E-03   10000.    
     6 'norm      '    5.5174       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5890       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9198       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .94153       1.0000         .10000E-03   10000.    
    11 'norm      '    .11449E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .30186E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11394E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.270       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.026       1.0000         .10000E-03   10000.    
    18 'norm      '    .17303E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3298       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85126       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=   7225.059     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2295 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7540        9.9851        .12769E-05    .54972E-05
   2  Prefactor     1.3968        3.3398       -.99265E-07   -.17866E-03
   3  norm          .10000E-03    9.4355        .15131E-06** at limit **
   4  norm          .31377E-01    4.7521       -.10695E-05    .27511E-03
   5  Prefactor     29.630        31.347       -.82042E-06    .15280E-04
   6  norm          5.5209        9.7006       -.59478E-05   -.84772E-04
   7  norm          .10000E-03    .88261        .96201E-07** at limit **
   8  Prefactor     3.5890        5.5984        .40925E-05    .65821E-04
   9  Prefactor     1.9183        2.7342        .36239E-06   -.13758E-02
  10  Prefactor     .94246        3.8540       -.88001E-07   -.22888E-03
  11  norm          .10000E-03    3.4704       -.14572E-06** at limit **
  12  Prefactor     .10000E-03    5.5115        .50488E-07** at limit **
  13  Prefactor     .10000E-03    169.86       -.28823E-05** at limit **
  14  Prefactor     .10000E-03    87.848        .35957E-05** at limit **
  15  Prefactor     19.270        30.761       -.10215E-05    .80988E-06
  16  Prefactor     .10000E-03    32.494       -.59894E-06** at limit **
  17  Prefactor     10.021        17.154       -.27065E-05   -.15824E-04
  18  norm          .10000E-03    3.3626        .57276E-07** at limit **
  19  norm          .10000E-03    1.2158       -.11483E-07** at limit **
  20  Normalizat    1.3296        .19503        .13760E-05    .57643E-04
  21  Prefactor     .85133        .10905       -.58613E-06    .30763E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.75401
  Prefactor  = 1.39681
  norm       = 0.0001
  norm       = 0.0313769
  Prefactor  = 29.6302
  norm       = 5.52094
  norm       = 0.0001
  Prefactor  = 3.58899
  Prefactor  = 1.91826
  Prefactor  = 0.942455
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.2704
  Prefactor  = 0.0001
  Prefactor  = 10.021
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.32964
  Prefactor  = 0.851333
 **********
 **   18 **HESSE 
 **********

 FCN=   7225.059     FROM HESSE     STATUS=OK           329 CALLS     2624 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7540        9.9757        .14398E-03   -1.5151    
   2  Prefactor     1.3968        3.3009        .23234E-03   -1.5472    
   3  norm          .10000E-03    9.4421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .31377E-01    5.8845        .51697E-01   -1.5673    
   5  Prefactor     29.630        31.511        .73610E-04   -1.4619    
   6  norm          5.5209        9.7836        .17105E-03   -1.5238    
   7  norm          .10000E-03    .88633        .77998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5890        5.5924        .21330E-03   -1.5329    
   9  Prefactor     1.9183        12.431        .14995E-02   -1.5431    
  10  Prefactor     .94246        3.7430        .32441E-03   -1.5514    
  11  norm          .10000E-03    10.833        .30647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.5184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    174.91        .36692E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    89.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.270        30.947        .91240E-04   -1.4830    
  16  Prefactor     .10000E-03    32.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.021        17.157        .12655E-03   -1.5075    
  18  norm          .10000E-03    7.9729        .30209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.2206        .91521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3296        .22580        .27601E-03   -.82686    
  21  Prefactor     .85133        .12646        .19436E-03   -.97863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90773e-09
Minuit parameter uncertainties:
  1  9.97781
  2  3.30137
  3  1.8376e-05
  4  0.858101
  5  31.5285
  6  9.7864
  7  1.11843e-05
  8  5.59321
  9  9.7691
  10  3.74397
  11  8.19456e-06
  12  1.95521e-06
  13  0.000103707
  14  0.000107389
  15  30.9728
  16  2.79013e-05
  17  17.1657
  18  2.21654e-05
  19  2.64476e-07
  20  0.225971
  21  0.126505
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.918e+00  9.769e+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

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  8.513e-01  1.265e-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.330e+00  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/925359/likelihoodResults_262915201_263174401_4FGL_J0900.7-1243_daily_bin91.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) = 7224.92619475
delta logL = 0.132509595404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7224.9161252
delta logL = 0.142579144466

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4157       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2190       1.0000          .0000       10.000    
     3 'Normalizat'    1.3056       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85758       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=   7224.916     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      226 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4083        64.138        .90960E-02    .62810E-03
   2  Index         3.2208        3.5578        .16622        .51565E-04
   3  Normalizat    1.3059        .41753E-01    .62876E-01   -.30929E-04
   4  Prefactor     .85744        .23621E-01    .44462E-01   -.10836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.40834
  Index      = 3.22085
  Normalizat = 1.3059
  Prefactor  = 0.857441
 **********
 **   18 **HESSE 
 **********

 FCN=   7224.916     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      259 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4083        227.17        .17660E-03   -1.5471    
   2  Index         3.2208        5.6937        .95248E-02   -.36380    
   3  Normalizat    1.3059        .25880        .27811E-03   -.83390    
   4  Prefactor     .85744        .14189        .19371E-03   -.97644    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.38005e-09
Minuit parameter uncertainties:
  1  35.9117
  2  12.6135
  3  0.259053
  4  0.14195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925359': 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) = 7224.91612339
delta logL = 0.142580953171

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.408e+00  3.591e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  3.221e+00  1.261e+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:  8.574e-01  1.420e-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.306e+00  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/925359/cmap_HighResolution_262915201_263174401_4FGL_J0900.7-1243_daily_bin91.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-03', job_status='DONE', photon_flux_upper_limit='8.51e-08', time_completed='2021-08-30 20:35:56.241923', job_id='925359', GAL2='0.86', fit_tolerance='1e-08', EG2='1.31', EG='1.33', time_epoch_completed='1630380956.24', return_code2='102', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.43e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='91' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:35:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 925359: <4FGL_J0900.7-1243_daily_bin91> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin91> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Aug 30 20:20:23 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:20:24 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:20:24 2021
Terminated at Mon Aug 30 20:35:58 2021
Results reported at Mon Aug 30 20:35:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin91 135.175 -12.7201 262915201 263174401 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 :                                   915.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            935 sec.

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

