/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 78 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 = 7474
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1150
RA = 141.005, Dec = 28.2755
tmin = 537408001, tmax = 537667201
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='222122', job_status='RUN', time_executed='2021-08-31 11:29:39.180037', time_epoch_executed='1630434579.18' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222122

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222122/ft1_4FGL_J0924.0+2816_daily_bin1150.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222122/ft2_4FGL_J0924.0+2816_daily_bin1150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222122/ft1_4FGL_J0924.0+2816_daily_bin1150.fits outfile=/scratch/kocevski/222122/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1150.fits ra=141.005 dec=28.2755 rad=12.0 tmin=537408001.0 tmax=537667201.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.10
user 4.32
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222122/ft2_4FGL_J0924.0+2816_daily_bin1150.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/222122/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1150.fits evtable="EVENTS" outfile="/scratch/kocevski/222122/ft1_filtered_4FGL_J0924.0+2816_daily_bin1150.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.11
user 0.36
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222122/ft1_filtered_4FGL_J0924.0+2816_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/222122/ft2_4FGL_J0924.0+2816_daily_bin1150.fits sctable="SC_DATA" expcube=/scratch/kocevski/222122/ltcube_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.fits outfile=/scratch/kocevski/222122/expmap_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.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/222122/ltcube_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.fits
.....................!
real 192.51
user 185.66
sys 3.83

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/222122/ft1_filtered_4FGL_J0924.0+2816_daily_bin1150.fits scfile=/scratch/kocevski/222122/ft2_4FGL_J0924.0+2816_daily_bin1150.fits outfile=/scratch/kocevski/222122/cmap_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.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.63
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222122/ft1_filtered_4FGL_J0924.0+2816_daily_bin1150.fits scfile=/scratch/kocevski/222122/ft2_4FGL_J0924.0+2816_daily_bin1150.fits outfile=/scratch/kocevski/222122/cmap_HighResolution_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.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 0.66
user 0.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222122/ft1_filtered_4FGL_J0924.0+2816_daily_bin1150.fits', '/scratch/kocevski/222122/ft2_4FGL_J0924.0+2816_daily_bin1150.fits', expMap='/scratch/kocevski/222122/expmap_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.fits', expCube='/scratch/kocevski/222122/ltcube_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222122/Model_4FGL_J0924.0+2816_daily_bin1150.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/222122/ft1_filtered_4FGL_J0924.0+2816_daily_bin1150.fits
Spacecraft file(s): /scratch/kocevski/222122/ft2_4FGL_J0924.0+2816_daily_bin1150.fits
Exposure map: /scratch/kocevski/222122/expmap_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.fits
Exposure cube: /scratch/kocevski/222122/ltcube_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222122/Model_4FGL_J0924.0+2816_daily_bin1150.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) = 5611.83602981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0961       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.2852       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.306       1.0000         .10000E-03   10000.    
     4 'norm      '    .11918E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.5245       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22744E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .18464E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    60.927       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10335E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    73.990       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .24128E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .47506       1.0000         .10000E-03   10000.    
    18 'norm      '    2.4424       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93956       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=   5611.796     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     2139 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0964        .91362       -.31208E-07   -.21475E-03
   2  Prefactor     8.2814        11.789       -.23171E-05   -.66259E-04
   3  Prefactor     26.307        22.045       -.19522E-06   -.16385E-03
   4  norm          .10000E-03    90.741       -.49759E-05** at limit **
   5  Prefactor     .10000E-03    1.2038        .20219E-06** at limit **
   6  Prefactor     .10000E-03    40.044        .96017E-06** at limit **
   7  norm          1.5244        1.4142       -.82598E-07   -.28004E-03
   8  Prefactor     .10051E-03    18.521       -.27353E-05** at limit **
   9  Prefactor     .10000E-03    193.87        .70113E-04** at limit **
  10  norm          .10000E-03    3.6897        .23601E-07** at limit **
  11  Prefactor     .11070E-03    2.1358        .10144E-05** at limit **
  12  Prefactor     60.908        37.953       -.25187E-05   -.70757E-04
  13  Prefactor     .10000E-03    245.21       -.93103E-04** at limit **
  14  Prefactor     74.012        71.938        .16656E-04    .44017E-04
  15  Prefactor     .10000E-03    4.1288        .43529E-06** at limit **
  16  Prefactor     .10000E-03    9.9781        .81334E-07** at limit **
  17  Prefactor     .47565        2.1581       -.18543E-05   -.14782E-02
  18  norm          2.4396        6.9821       -.22834E-05   -.36471E-03
  19  Normalizat    1.0953        .19053       -.19944E-06    .28883E-04
  20  Prefactor     .93923        .17598        .26355E-06   -.27060E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.09635
  Prefactor  = 8.28136
  Prefactor  = 26.3066
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.52439
  Prefactor  = 0.000100509
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000110695
  Prefactor  = 60.908
  Prefactor  = 0.0001
  Prefactor  = 74.012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.475653
  norm       = 2.43955
  Normalizat = 1.0953
  Prefactor  = 0.939233
 **********
 **   18 **HESSE 
 **********

 FCN=   5611.796     FROM HESSE     STATUS=OK           303 CALLS     2442 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0964        .91216        .44980E-04   -1.5418    
   2  Prefactor     8.2814        11.794        .13928E-03   -1.5132    
   3  Prefactor     26.307        22.034        .78106E-04   -1.4682    
   4  norm          .10000E-03    92.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.2111        .80251E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    40.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5244        1.4227        .82893E-04   -1.5461    
   8  Prefactor     .10051E-03    106.62        .61417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    193.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.6984        .14041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11070E-03    5.6949        .35387E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     60.908        37.868        .51404E-04   -1.4146    
  13  Prefactor     .10000E-03    244.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     74.012        71.845        .46676E-04   -1.3985    
  15  Prefactor     .10000E-03    9.2153        .29261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .47565        2.2091        .21145E-03   -1.5570    
  18  norm          2.4396        6.9763        .26179E-03   -1.5396    
  19  Normalizat    1.0953        .21475        .23989E-03   -.89903    
  20  Prefactor     .93923        .20138        .25096E-03   -.94783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.07131e-09
Minuit parameter uncertainties:
  1  0.912166
  2  11.7969
  3  22.0413
  4  7.64428e-05
  5  2.61886e-07
  6  4.99903e-05
  7  1.42275
  8  0.0147637
  9  0.00104701
  10  1.00262e-05
  11  0.0156103
  12  37.8825
  13  9.81281e-05
  14  71.9297
  15  6.65982e-05
  16  1.49992e-05
  17  2.05004
  18  6.97867
  19  0.214916
  20  0.201544
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.107e-04  1.561e-02  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:  9.392e-01  2.015e-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.095e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 9.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222122/likelihoodResults_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.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): 102
logL (Free Index) = 5611.79591394
delta logL = -3.17967060255e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5611.79591377
delta logL = -3.16200339512e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96300E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5053       1.0000          .0000       10.000    
     3 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93931       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5611.786     FROM MIGRAD    STATUS=CONVERGED    142 CALLS      321 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45658        6.5789        .36287E-03   -.75504E-05
   2  Index         1.9196        2.2958        .19868E-01   -.67390E-04
   3  Normalizat    1.0955        .20412        .23987E-03    .18199E-04
   4  Prefactor     .93713        .20068        .25121E-03   -.45256E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.456582
  Index      = 1.91955
  Normalizat = 1.09547
  Prefactor  = 0.937133
 **********
 **   18 **HESSE 
 **********

 FCN=   5611.786     FROM HESSE     STATUS=OK            25 CALLS      346 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45658        6.7454        .14515E-04   -1.5573    
   2  Index         1.9196        2.3248        .39735E-02   -.66377    
   3  Normalizat    1.0955        .20429        .95950E-05   -.89897    
   4  Prefactor     .93713        .20082        .10048E-04   -.94855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53895e-12
Minuit parameter uncertainties:
  1  3.50998
  2  2.48674
  3  0.204434
  4  0.200979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222122': 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) = 5611.78647154
delta logL = 0.00941061174035

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  4.566e-01  3.510e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  1.920e+00  2.487e+00  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.371e-01  2.010e-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.095e+00  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 141.005 28.276

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/222122/cmap_HighResolution_537408001_537667201_4FGL_J0924.0+2816_daily_bin1150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.50e-03', job_status='DONE', photon_flux_upper_limit='9.64e-08', time_completed='2021-08-31 11:39:33.744282', job_id='222122', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630435173.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='9.41e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1150' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:39:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 222122: <4FGL_J0924.0+2816_daily_bin1150> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1150> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 11:26:29 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:26:43 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:43 2021
Terminated at Tue Aug 31 11:39:34 2021
Results reported at Tue Aug 31 11:39:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1150 141.005 28.2755 537408001 537667201 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 :                                   562.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             237.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            785 sec.

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

