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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1078
RA = 137.674, Dec = 22.7978
tmin = 518745601, tmax = 519004801
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='43803', job_status='RUN', time_executed='2021-08-31 02:26:18.364910', time_epoch_executed='1630401978.36' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1078'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43803

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43803/ft1_4FGL_J0910.6+2247_daily_bin1078.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43803/ft2_4FGL_J0910.6+2247_daily_bin1078.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43803/ft1_4FGL_J0910.6+2247_daily_bin1078.fits outfile=/scratch/kocevski/43803/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1078.fits ra=137.674 dec=22.7978 rad=12.0 tmin=518745601.0 tmax=519004801.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 4.70
user 4.10
sys 0.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/43803/ft2_4FGL_J0910.6+2247_daily_bin1078.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/43803/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1078.fits evtable="EVENTS" outfile="/scratch/kocevski/43803/ft1_filtered_4FGL_J0910.6+2247_daily_bin1078.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.42
user 0.34
sys 0.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43803/ft1_filtered_4FGL_J0910.6+2247_daily_bin1078.fits" evtable="EVENTS" scfile=/scratch/kocevski/43803/ft2_4FGL_J0910.6+2247_daily_bin1078.fits sctable="SC_DATA" outfile=/scratch/kocevski/43803/ltcube_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.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/43803/ft2_4FGL_J0910.6+2247_daily_bin1078.fits
.....................!
real 12.63
user 11.56
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43803/ft1_filtered_4FGL_J0910.6+2247_daily_bin1078.fits evtable="EVENTS" scfile=/scratch/kocevski/43803/ft2_4FGL_J0910.6+2247_daily_bin1078.fits sctable="SC_DATA" expcube=/scratch/kocevski/43803/ltcube_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.fits outfile=/scratch/kocevski/43803/expmap_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.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/43803/ltcube_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.fits
.....................!
real 193.04
user 184.93
sys 5.40

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/43803/ft1_filtered_4FGL_J0910.6+2247_daily_bin1078.fits scfile=/scratch/kocevski/43803/ft2_4FGL_J0910.6+2247_daily_bin1078.fits outfile=/scratch/kocevski/43803/cmap_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.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 0.74
user 0.36
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43803/ft1_filtered_4FGL_J0910.6+2247_daily_bin1078.fits scfile=/scratch/kocevski/43803/ft2_4FGL_J0910.6+2247_daily_bin1078.fits outfile=/scratch/kocevski/43803/cmap_HighResolution_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.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 0.84
user 0.37
sys 0.39

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/43803/ft1_filtered_4FGL_J0910.6+2247_daily_bin1078.fits', '/scratch/kocevski/43803/ft2_4FGL_J0910.6+2247_daily_bin1078.fits', expMap='/scratch/kocevski/43803/expmap_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.fits', expCube='/scratch/kocevski/43803/ltcube_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/43803/Model_4FGL_J0910.6+2247_daily_bin1078.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/43803/ft1_filtered_4FGL_J0910.6+2247_daily_bin1078.fits
Spacecraft file(s): /scratch/kocevski/43803/ft2_4FGL_J0910.6+2247_daily_bin1078.fits
Exposure map: /scratch/kocevski/43803/expmap_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.fits
Exposure cube: /scratch/kocevski/43803/ltcube_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/43803/Model_4FGL_J0910.6+2247_daily_bin1078.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) = 7074.78438732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1528       1.0000         .10000E-03   10000.    
     2 'norm      '    .14499E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    65.198       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.865       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.090       1.0000         .10000E-03   10000.    
     9 'norm      '    6.1149       1.0000         .10000E-03   10000.    
    10 'norm      '    41.897       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7422       1.0000         .10000E-03   10000.    
    12 'norm      '    3.9391       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .95213       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4425       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    47.140       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.2661       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84562       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0498       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=   7074.767     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2375 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1134        16.773       -.56707E-05   -.21320E-03
   2  norm          .10000E-03    .50135        .33796E-06** at limit **
   3  Prefactor     .10000E-03    11.105        .29465E-07** at limit **
   4  Prefactor     .10000E-03    2.5161        .86327E-07** at limit **
   5  Prefactor     65.145        46.654       -.18815E-04    .82078E-05
   6  norm          .10000E-03    .25588       -.81416E-07** at limit **
   7  Prefactor     15.861        11.928       -.25471E-06    .15263E-03
   8  Prefactor     17.098        16.891       -.12966E-05    .89940E-04
   9  norm          6.1149        4.7557        .45270E-07    .67517E-04
  10  norm          41.874        33.823        .15588E-04    .21123E-03
  11  Prefactor     1.7419        2.9519       -.47825E-06   -.75013E-03
  12  norm          3.9391        1.9811       -.27819E-07    .80019E-04
  13  Prefactor     .82723        45.128       -.96988E-05    .54075E-04
  14  Prefactor     3.4432        3.2116       -.19545E-06    .14311E-03
  15  Prefactor     .10000E-03    22.483       -.87831E-07** at limit **
  16  Prefactor     .10000E-03    35.977        .48023E-06** at limit **
  17  Prefactor     47.127        33.345       -.70642E-06    .31547E-04
  18  Prefactor     7.2665        5.9651       -.82715E-09   -.42755E-04
  19  Normalizat    .84553        .16765        .25664E-05    .30161E-03
  20  Prefactor     1.0498        .14785       -.61242E-06    .48599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.11342
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 65.1454
  norm       = 0.0001
  Prefactor  = 15.8606
  Prefactor  = 17.0981
  norm       = 6.11488
  norm       = 41.8742
  Prefactor  = 1.74192
  norm       = 3.93914
  Prefactor  = 0.827229
  Prefactor  = 3.44323
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.1269
  Prefactor  = 7.26651
  Normalizat = 0.845529
  Prefactor  = 1.04982
 **********
 **   18 **HESSE 
 **********

 FCN=   7074.767     FROM HESSE     STATUS=OK           303 CALLS     2678 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1134        15.626        .17710E-03   -1.5256    
   2  norm          .10000E-03    3.6190        .10574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.427        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5336        .13027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     65.145        46.551        .49702E-04   -1.4092    
   6  norm          .10000E-03    .33234        .80942E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.861        11.768        .10055E-03   -1.4911    
   8  Prefactor     17.098        16.960        .96882E-04   -1.4881    
   9  norm          6.1149        4.7578        .15779E-03   -1.5213    
  10  norm          41.874        34.010        .61931E-04   -1.4413    
  11  Prefactor     1.7419        2.9371        .18230E-03   -1.5444    
  12  norm          3.9391        1.9786        .80498E-04   -1.5311    
  13  Prefactor     .82723        51.084        .15589       -1.5526    
  14  Prefactor     3.4432        3.2096        .13771E-03   -1.5337    
  15  Prefactor     .10000E-03    22.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    36.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     47.127        33.364        .58400E-04   -1.4334    
  18  Prefactor     7.2665        5.9643        .14880E-03   -1.5169    
  19  Normalizat    .84553        .19460        .25999E-03   -.98401    
  20  Prefactor     1.0498        .17187        .21994E-03   -.91087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49067e-09
Minuit parameter uncertainties:
  1  15.6384
  2  6.45293e-05
  3  5.87536e-06
  4  1.37073e-05
  5  46.577
  6  4.79562e-06
  7  11.7697
  8  16.9644
  9  4.75808
  10  34.0254
  11  2.93734
  12  1.97864
  13  13.0121
  14  3.20971
  15  4.23893e-05
  16  3.144e-05
  17  33.3775
  18  5.96482
  19  0.194759
  20  0.171958
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  4.187e+01  3.403e+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:  1.050e+00  1.720e-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:  8.455e-01  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.68
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.03e-08 +/- 2.46e-08
Energy Flux (Fixed Index): 1.33e-05 +/- 1.08e-05

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) = 7074.68454636
delta logL = 0.0828088355256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7074.66765893
delta logL = 0.0996962582021

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    36.137       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7128       1.0000          .0000       5.0000    
     3 'Normalizat'    .81824       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0632       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=   7074.668     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      242 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.118        38.617        .66667E-04   -.11761E-02
   2  alpha         2.7138        1.1480        .14490E-01   -.29591E-03
   3  Normalizat    .81831        .19646        .26373E-03   -.15939E-02
   4  Prefactor     1.0630        .17527        .21866E-03   -.29051E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 36.1178
  alpha      = 2.71383
  Normalizat = 0.818308
  Prefactor  = 1.06304
 **********
 **   18 **HESSE 
 **********

 FCN=   7074.668     FROM HESSE     STATUS=OK            23 CALLS      265 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.118        34.939        .13333E-04   -1.4505    
   2  alpha         2.7138        1.0422        .57960E-03    .85636E-01
   3  Normalizat    .81831        .19400        .52746E-04   -.99393    
   4  Prefactor     1.0630        .17428        .43731E-04   -.90657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48938e-08
Minuit parameter uncertainties:
  1  34.9591
  2  1.07529
  3  0.194163
  4  0.174369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43803': 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) = 7074.66765791
delta logL = 0.0996972816711

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  3.612e+01  3.496e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.714e+00  1.075e+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:  1.063e+00  1.744e-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:  8.183e-01  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.88
Ra Dec: 137.674 22.798
Photon Index (Free Index): 2.71 +/- 1.08
Photon Flux (Free Index): 5.34e-08 +/- 6.19e-08
Energy Flux (Free Index): 1.46e-05 +/- 1.04e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/43803/cmap_HighResolution_518745601_519004801_4FGL_J0910.6+2247_daily_bin1078.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.03e-08', energy_flux2='1.46e-05', photon_flux_error='2.46e-08', dlogl='9.97e-02', energy_flux='1.33e-05', photon_flux2='5.34e-08', job_status='DONE', time_completed='2021-08-31 02:36:08.172468', photon_index_error2='1.08', photon_index2='2.71', ts='4.68', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.04e-05', EG='0.85', time_epoch_completed='1630402568.17', return_code='0', job_id='43803', GAL2='1.06', EG2='0.82', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='6.19e-08', ts2='4.88', photon_index='2.19' WHERE bin_id='1078' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:36:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 43803: <4FGL_J0910.6+2247_daily_bin1078> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin1078> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 02:25:42 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:25: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 02:25:43 2021
Terminated at Tue Aug 31 02:36:09 2021
Results reported at Tue Aug 31 02:36:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1078 137.674 22.7978 518745601 519004801 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 :                                   581.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            627 sec.

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

