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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin654
RA = 137.674, Dec = 22.7978
tmin = 408844801, tmax = 409104001
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='42024', job_status='RUN', time_executed='2021-08-31 02:22:16.166674', time_epoch_executed='1630401736.17' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='654'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/42024

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/42024/ft1_4FGL_J0910.6+2247_daily_bin654.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/42024/ft2_4FGL_J0910.6+2247_daily_bin654.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/42024/ft1_4FGL_J0910.6+2247_daily_bin654.fits outfile=/scratch/kocevski/42024/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin654.fits ra=137.674 dec=22.7978 rad=12.0 tmin=408844801.0 tmax=409104001.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 8.47
user 4.12
sys 4.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/42024/ft2_4FGL_J0910.6+2247_daily_bin654.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/42024/ft2_4FGL_J0910.6+2247_daily_bin654.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/42024/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin654.fits evtable="EVENTS" outfile="/scratch/kocevski/42024/ft1_filtered_4FGL_J0910.6+2247_daily_bin654.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 4.84
user 0.32
sys 4.24

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/42024/ft1_filtered_4FGL_J0910.6+2247_daily_bin654.fits" evtable="EVENTS" scfile=/scratch/kocevski/42024/ft2_4FGL_J0910.6+2247_daily_bin654.fits sctable="SC_DATA" outfile=/scratch/kocevski/42024/ltcube_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.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/42024/ft2_4FGL_J0910.6+2247_daily_bin654.fits
.....................!
real 16.06
user 10.90
sys 4.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/42024/ft1_filtered_4FGL_J0910.6+2247_daily_bin654.fits evtable="EVENTS" scfile=/scratch/kocevski/42024/ft2_4FGL_J0910.6+2247_daily_bin654.fits sctable="SC_DATA" expcube=/scratch/kocevski/42024/ltcube_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.fits outfile=/scratch/kocevski/42024/expmap_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.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/42024/ltcube_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.fits
.....................!
real 196.94
user 184.81
sys 10.36

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

Setting source of interest to:
4FGL J0910.6+2247 @ 137.674 22.7978

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/42024/ft1_filtered_4FGL_J0910.6+2247_daily_bin654.fits scfile=/scratch/kocevski/42024/ft2_4FGL_J0910.6+2247_daily_bin654.fits outfile=/scratch/kocevski/42024/cmap_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.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=137.674 yref=22.7978 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 4.71
user 0.37
sys 4.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/42024/ft1_filtered_4FGL_J0910.6+2247_daily_bin654.fits scfile=/scratch/kocevski/42024/ft2_4FGL_J0910.6+2247_daily_bin654.fits outfile=/scratch/kocevski/42024/cmap_HighResolution_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.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=137.674 yref=22.7978 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 4.98
user 0.37
sys 4.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/42024/ft1_filtered_4FGL_J0910.6+2247_daily_bin654.fits evtable="EVENTS" scfile=/scratch/kocevski/42024/ft2_4FGL_J0910.6+2247_daily_bin654.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/42024/Model_4FGL_J0910.6+2247_daily_bin654.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/42024/ft1_filtered_4FGL_J0910.6+2247_daily_bin654.fits.....................!
real 65.88
user 55.88
sys 7.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/42024/ft1_filtered_4FGL_J0910.6+2247_daily_bin654.fits', '/scratch/kocevski/42024/ft2_4FGL_J0910.6+2247_daily_bin654.fits', expMap='/scratch/kocevski/42024/expmap_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.fits', expCube='/scratch/kocevski/42024/ltcube_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/42024/Model_4FGL_J0910.6+2247_daily_bin654.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0910.6+2247'

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  9.863e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/42024/ft1_filtered_4FGL_J0910.6+2247_daily_bin654.fits
Spacecraft file(s): /scratch/kocevski/42024/ft2_4FGL_J0910.6+2247_daily_bin654.fits
Exposure map: /scratch/kocevski/42024/expmap_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.fits
Exposure cube: /scratch/kocevski/42024/ltcube_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/42024/Model_4FGL_J0910.6+2247_daily_bin654.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) = 6240.18935621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .85358       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.9466       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.092       1.0000         .10000E-03   10000.    
     6 'norm      '    1.5772       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.6174       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4092       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8311       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.2138       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8352       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16515E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15893       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .55487E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10965E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    36.053       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2027       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .78153       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6240.181     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     2071 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.409        .30720E-06** at limit **
   2  norm          .85512        1.1066       -.12904E-07   -.87095E-03
   3  Prefactor     .10000E-03    4.3097       -.87996E-07** at limit **
   4  Prefactor     9.9525        7.7966        .12251E-06   -.17870E-03
   5  Prefactor     18.138        38.963        .28447E-04   -.12471E-04
   6  norm          1.5776        .79329        .93691E-08   -.76904E-03
   7  Prefactor     8.6170        11.142        .72358E-07   -.14750E-03
   8  Prefactor     6.4177        10.517       -.98376E-06   -.78084E-04
   9  norm          .10000E-03    1.6162       -.24644E-06** at limit **
  10  norm          1.8188        72.378        .32814E-04   -.66369E-04
  11  Prefactor     9.2195        5.8972        .30220E-06   -.34187E-04
  12  norm          1.8349        1.3936        .36629E-07    .17737E-03
  13  Prefactor     .10000E-03    32.929       -.27875E-07** at limit **
  14  Prefactor     .18014        2.6501        .37743E-08   -.24021E-04
  15  Prefactor     .10000E-03    213.95        .19867E-04** at limit **
  16  Prefactor     .10000E-03    18.394       -.30901E-06** at limit **
  17  Prefactor     36.091        32.069        .28124E-05   -.21477E-04
  18  Prefactor     .10000E-03    2.6267        .16324E-07** at limit **
  19  Normalizat    1.2024        .17848       -.21260E-05   -.15735E-03
  20  Prefactor     .78135        .15193       -.14340E-05   -.27317E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.85512
  Prefactor  = 0.0001
  Prefactor  = 9.95254
  Prefactor  = 18.1375
  norm       = 1.57762
  Prefactor  = 8.61704
  Prefactor  = 6.41768
  norm       = 0.0001
  norm       = 1.81882
  Prefactor  = 9.21948
  norm       = 1.83491
  Prefactor  = 0.0001
  Prefactor  = 0.180138
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 36.0913
  Prefactor  = 0.0001
  Normalizat = 1.20239
  Prefactor  = 0.781347
 **********
 **   18 **HESSE 
 **********

 FCN=   6240.181     FROM HESSE     STATUS=OK           299 CALLS     2370 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .85512        1.0103        .90207E-03   -1.5523    
   3  Prefactor     .10000E-03    4.3427        .16003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.9525        7.7930        .12706E-03   -1.5077    
   5  Prefactor     18.138        39.153        .94161E-04   -1.4856    
   6  norm          1.5776        .78839        .46171E-04   -1.5457    
   7  Prefactor     8.6170        11.115        .13655E-03   -1.5121    
   8  Prefactor     6.4177        10.511        .15854E-03   -1.5201    
   9  norm          .10000E-03    1.6179        .98074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8188        71.049        .30841E-03   -1.5438    
  11  Prefactor     9.2195        5.8979        .13203E-03   -1.5101    
  12  norm          1.8349        1.4009        .79070E-04   -1.5437    
  13  Prefactor     .10000E-03    33.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .18014        26.860        .24145E-02   -1.5623    
  15  Prefactor     .10000E-03    221.27        .38111E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     36.091        32.114        .66744E-04   -1.4506    
  18  Prefactor     .10000E-03    2.6334        .12502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2024        .21130        .23189E-03   -.86529    
  20  Prefactor     .78135        .17944        .24691E-03   -1.0042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86192e-08
Minuit parameter uncertainties:
  1  2.06061e-05
  2  1.0103
  3  8.52773e-06
  4  7.79378
  5  39.2081
  6  0.788396
  7  11.1179
  8  10.5144
  9  1.15254e-06
  10  22.7638
  11  5.89823
  12  1.40089
  13  1.32295e-05
  14  4.40011
  15  0.000911
  16  1.07148e-05
  17  32.1296
  18  4.7504e-06
  19  0.211449
  20  0.179577
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.819e+00  2.276e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  7.813e-01  1.796e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.202e+00  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 137.674 22.798
Photon Flux Upper Limit: 5.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/42024/likelihoodResults_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.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) = 6240.1789398
delta logL = 0.00220209956296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6240.17816805
delta logL = 0.0029738559997

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7159       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9920       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2025       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78092       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+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=   6240.178     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      269 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7156        68.467        .24714E-03   -.14541E-03
   2  alpha         1.9920        3.4404        .66016E-01   -.28674E-04
   3  Normalizat    1.2030        .20099        .23184E-03   -.35062E-04
   4  Prefactor     .78049        .17868        .24703E-03    .48829E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.71561
  alpha      = 1.99202
  Normalizat = 1.20303
  Prefactor  = 0.780491
 **********
 **   18 **HESSE 
 **********

 FCN=   6240.178     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7156        57.063        .98854E-05   -1.5378    
   2  alpha         1.9920        2.0286        .26406E-02   -.20462    
   3  Normalizat    1.2030        .20104        .92735E-05   -.86509    
   4  Prefactor     .78049        .17857        .98812E-05   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31896e-09
Minuit parameter uncertainties:
  1  24.9233
  2  2.39108
  3  0.201171
  4  0.178699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/42024': 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) = 6240.17816378
delta logL = 0.00297812414465

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  2.716e+00  2.492e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.992e+00  2.391e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  7.805e-01  1.787e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.203e+00  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 137.674 22.798

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/42024/cmap_HighResolution_408844801_409104001_4FGL_J0910.6+2247_daily_bin654.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-05', job_status='DONE', photon_flux_upper_limit='5.06e-08', time_completed='2021-08-31 02:32:59.035751', job_id='42024', GAL2='0.78', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630402379.04', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.98e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='654' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:32:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 42024: <4FGL_J0910.6+2247_daily_bin654> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin654> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 02:20:59 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:21:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 02:21:01 2021
Terminated at Tue Aug 31 02:33:00 2021
Results reported at Tue Aug 31 02:33:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin654 137.674 22.7978 408844801 409104001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0910.6+2247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   688.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            721 sec.

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

