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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1226
RA = 141.005, Dec = 28.2755
tmin = 557107201, tmax = 557366401
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='222244', job_status='RUN', time_executed='2021-08-31 11:31:32.239674', time_epoch_executed='1630434692.24' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1226'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222244

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222244/ft1_4FGL_J0924.0+2816_daily_bin1226.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222244/ft1_4FGL_J0924.0+2816_daily_bin1226.fits outfile=/scratch/kocevski/222244/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1226.fits ra=141.005 dec=28.2755 rad=12.0 tmin=557107201.0 tmax=557366401.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.72
user 3.43
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.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/222244/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1226.fits evtable="EVENTS" outfile="/scratch/kocevski/222244/ft1_filtered_4FGL_J0924.0+2816_daily_bin1226.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.76
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222244/ft1_filtered_4FGL_J0924.0+2816_daily_bin1226.fits" evtable="EVENTS" scfile=/scratch/kocevski/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.fits sctable="SC_DATA" outfile=/scratch/kocevski/222244/ltcube_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.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/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.fits
.....................!
real 13.09
user 12.49
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222244/ft1_filtered_4FGL_J0924.0+2816_daily_bin1226.fits evtable="EVENTS" scfile=/scratch/kocevski/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.fits sctable="SC_DATA" expcube=/scratch/kocevski/222244/ltcube_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.fits outfile=/scratch/kocevski/222244/expmap_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.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/222244/ltcube_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.fits
.....................!
real 196.58
user 186.88
sys 5.71

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 170 point sources and 0 extended sources

Setting source of interest to:
4FGL J0924.0+2816 @ 141.005 28.2755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/222244/ft1_filtered_4FGL_J0924.0+2816_daily_bin1226.fits scfile=/scratch/kocevski/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.fits outfile=/scratch/kocevski/222244/cmap_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.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=141.005 yref=28.2755 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.24
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222244/ft1_filtered_4FGL_J0924.0+2816_daily_bin1226.fits scfile=/scratch/kocevski/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.fits outfile=/scratch/kocevski/222244/cmap_HighResolution_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.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=141.005 yref=28.2755 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.04
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222244/ft1_filtered_4FGL_J0924.0+2816_daily_bin1226.fits evtable="EVENTS" scfile=/scratch/kocevski/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222244/Model_4FGL_J0924.0+2816_daily_bin1226.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/222244/ft1_filtered_4FGL_J0924.0+2816_daily_bin1226.fits.......................!
real 30.61
user 27.18
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222244/ft1_filtered_4FGL_J0924.0+2816_daily_bin1226.fits', '/scratch/kocevski/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.fits', expMap='/scratch/kocevski/222244/expmap_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.fits', expCube='/scratch/kocevski/222244/ltcube_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222244/Model_4FGL_J0924.0+2816_daily_bin1226.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0924.0+2816'

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.227e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/222244/ft1_filtered_4FGL_J0924.0+2816_daily_bin1226.fits
Spacecraft file(s): /scratch/kocevski/222244/ft2_4FGL_J0924.0+2816_daily_bin1226.fits
Exposure map: /scratch/kocevski/222244/expmap_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.fits
Exposure cube: /scratch/kocevski/222244/ltcube_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222244/Model_4FGL_J0924.0+2816_daily_bin1226.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) = 2005.84287985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2204       1.0000         .10000E-03   10000.    
     2 'Prefactor '    30.821       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .36156E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.9510       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16696E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.371       1.0000         .10000E-03   10000.    
    15 'Prefactor '    56.794       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19452E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11741E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0995       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0516       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2005.834     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     1995 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2204        1.0337       -.59172E-07   -.16381E-03
   2  Prefactor     30.821        28.303       -.24924E-06   -.65133E-04
   3  Prefactor     .10000E-03    15.464        .32827E-06** at limit **
   4  norm          .10000E-03    39.419        .13259E-04** at limit **
   5  Prefactor     .10000E-03    2.9485       -.14934E-06** at limit **
   6  Prefactor     .10000E-03    41.610       -.40323E-05** at limit **
   7  norm          .10000E-03    1.0750        .78161E-07** at limit **
   8  Prefactor     .10000E-03    31.332       -.73436E-05** at limit **
   9  Prefactor     .10000E-03    260.19        .11197E-03** at limit **
  10  norm          .10000E-03    6.7228        .49172E-06** at limit **
  11  Prefactor     7.9551        7.8007        .24205E-06   -.72348E-04
  12  Prefactor     .10000E-03    26.147        .25595E-05** at limit **
  13  Prefactor     .10000E-03    105.54        .71782E-04** at limit **
  14  Prefactor     21.563        2066.0        .40933E-03    .18501E-05
  15  Prefactor     56.778        37.693       -.23094E-05    .37701E-04
  16  Prefactor     .10016E-03    342.06       -.14073E-03** at limit **
  17  Prefactor     .10000E-03    3.7935        .20138E-06** at limit **
  18  norm          .10000E-03    86.593       -.61923E-04** at limit **
  19  Normalizat    1.0988        .31976       -.21977E-05    .28324E-03
  20  Prefactor     1.0522        .30404       -.10049E-05    .92172E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.22037
  Prefactor  = 30.8207
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 7.95513
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.5631
  Prefactor  = 56.7783
  Prefactor  = 0.000100158
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.09877
  Prefactor  = 1.0522
 **********
 **   18 **HESSE 
 **********

 FCN=   2005.834     FROM HESSE     STATUS=OK           275 CALLS     2270 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2204        1.0285        .40004E-04   -1.5487    
   2  Prefactor     30.821        28.251        .72172E-04   -1.4597    
   3  Prefactor     .10000E-03    15.491        .17203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    39.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.9555        .75090E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    41.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.0758        .45348E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    31.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    260.98        .19617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.7383        .11342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.9551        7.7987        .11900E-03   -1.5144    
  12  Prefactor     .10000E-03    26.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    105.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.563        2050.8        .86642E-04   -1.4779    
  15  Prefactor     56.778        37.717        .53231E-04   -1.4200    
  16  Prefactor     .10016E-03    349.12        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.7940        .85201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    86.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0988        .37543        .25357E-03   -.89791    
  20  Prefactor     1.0522        .35734        .24736E-03   -.91009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10785e-09
Minuit parameter uncertainties:
  1  1.02848
  2  28.2628
  3  7.9587e-06
  4  3.45525e-05
  5  7.10293e-06
  6  4.38675e-05
  7  4.82461e-07
  8  9.21129e-05
  9  0.00118125
  10  1.49282e-05
  11  7.79968
  12  7.79991e-06
  13  0.000228019
  14  437.023
  15  37.7324
  16  0.0149602
  17  1.65053e-06
  18  0.000220408
  19  0.376343
  20  0.358153
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  7.955e+00  7.800e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.052e+00  3.582e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.099e+00  3.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.84
Ra Dec: 141.005 28.276
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 7.67e-08 +/- 7.52e-08
Energy Flux (Fixed Index): 2.21e-05 +/- 2.17e-05

TS (Fixed Index): 1.84
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 2.68e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.09e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222244/likelihoodResults_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.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) = 2003.96503868
delta logL = 1.86907625194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2003.79352761
delta logL = 2.04058731989

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2003.794     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      209 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.034        10.013        .46000E-05    .29241E-03
   2  Index         1.4665        .36763        .28430E-05   -.52458E-03
   3  Normalizat    1.1572        .31137        .67181E-07   -.23721E-04
   4  Prefactor     .99398        .29830       -.11609E-05   -.50883E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0345
  Index      = 1.46647
  Normalizat = 1.15722
  Prefactor  = 0.993976
 **********
 **   18 **HESSE 
 **********

 FCN=   2003.794     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.034        10.085        .10852E-03   -1.4986    
   2  Index         1.4665        .39966        .42678E-02   -.78483    
   3  Normalizat    1.1572        .36860        .24736E-03   -.87935    
   4  Prefactor     .99398        .35301        .25208E-03   -.92931    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19541e-09
Minuit parameter uncertainties:
  1  10.0866
  2  0.400514
  3  0.369427
  4  0.353834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222244': 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) = 2003.7935201
delta logL = 2.04059482392

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.303e+01  1.009e+01  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  1.466e+00  4.005e-01  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.940e-01  3.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.157e+00  3.694e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.98
Ra Dec: 141.005 28.276
Photon Index (Free Index): 1.47 +/- 0.40
Photon Flux (Free Index): 4.94e-08 +/- 3.95e-08
Energy Flux (Free Index): 1.75e-04 +/- 2.04e-04

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/222244/cmap_HighResolution_557107201_557366401_4FGL_J0924.0+2816_daily_bin1226.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-02', comment='SUCCESS', photon_flux='7.67e-08', energy_flux2='1.75e-04', photon_flux_error='7.52e-08', dlogl='2.04e+00', energy_flux='2.21e-05', photon_flux2='4.94e-08', job_status='DONE', time_completed='2021-08-31 11:39:36.474503', photon_index_error2='0.40', photon_index2='1.47', ts='1.84', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='2.68e-07', energy_flux_error2='2.04e-04', EG='1.10', time_epoch_completed='1630435176.47', return_code='0', job_id='222244', GAL2='0.99', EG2='1.16', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='3.95e-08', ts2='5.98', photon_index='2.51' WHERE bin_id='1226' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:39:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 222244: <4FGL_J0924.0+2816_daily_bin1226> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1226> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 11:26:39 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:26:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:26:58 2021
Terminated at Tue Aug 31 11:39:36 2021
Results reported at Tue Aug 31 11:39:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1226 141.005 28.2755 557107201 557366401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0924.0+2816 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   405.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            777 sec.

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

