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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin8
RA = 137.674, Dec = 22.7978
tmin = 241401601, tmax = 241660801
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='38692', job_status='RUN', time_executed='2021-08-31 02:13:57.641941', time_epoch_executed='1630401237.64' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='8'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38692

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38692/ft1_4FGL_J0910.6+2247_daily_bin8.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38692/ft2_4FGL_J0910.6+2247_daily_bin8.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38692/ft1_4FGL_J0910.6+2247_daily_bin8.fits outfile=/scratch/kocevski/38692/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin8.fits ra=137.674 dec=22.7978 rad=12.0 tmin=241401601.0 tmax=241660801.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 1.82
user 1.25
sys 0.38

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38692/ft2_4FGL_J0910.6+2247_daily_bin8.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/38692/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin8.fits evtable="EVENTS" outfile="/scratch/kocevski/38692/ft1_filtered_4FGL_J0910.6+2247_daily_bin8.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.74
user 0.31
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38692/ft1_filtered_4FGL_J0910.6+2247_daily_bin8.fits" evtable="EVENTS" scfile=/scratch/kocevski/38692/ft2_4FGL_J0910.6+2247_daily_bin8.fits sctable="SC_DATA" outfile=/scratch/kocevski/38692/ltcube_241401601_241660801_4FGL_J0910.6+2247_daily_bin8.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/38692/ft2_4FGL_J0910.6+2247_daily_bin8.fits
.....................!
real 12.89
user 11.98
sys 0.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38692/ft1_filtered_4FGL_J0910.6+2247_daily_bin8.fits evtable="EVENTS" scfile=/scratch/kocevski/38692/ft2_4FGL_J0910.6+2247_daily_bin8.fits sctable="SC_DATA" expcube=/scratch/kocevski/38692/ltcube_241401601_241660801_4FGL_J0910.6+2247_daily_bin8.fits outfile=/scratch/kocevski/38692/expmap_241401601_241660801_4FGL_J0910.6+2247_daily_bin8.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/38692/ltcube_241401601_241660801_4FGL_J0910.6+2247_daily_bin8.fits
.....................!
real 190.05
user 184.91
sys 4.66

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/38692/ft1_filtered_4FGL_J0910.6+2247_daily_bin8.fits scfile=/scratch/kocevski/38692/ft2_4FGL_J0910.6+2247_daily_bin8.fits outfile=/scratch/kocevski/38692/cmap_241401601_241660801_4FGL_J0910.6+2247_daily_bin8.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 1.01
user 0.37
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38692/ft1_filtered_4FGL_J0910.6+2247_daily_bin8.fits scfile=/scratch/kocevski/38692/ft2_4FGL_J0910.6+2247_daily_bin8.fits outfile=/scratch/kocevski/38692/cmap_HighResolution_241401601_241660801_4FGL_J0910.6+2247_daily_bin8.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 1.21
user 0.37
sys 0.36

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.062       1.0000         .10000E-03   10000.    
     2 'norm      '    2.5289       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3026       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.750       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.0649       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.8195       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.6067       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.1035       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    117.51       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94316       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1252       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=   6322.646     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2059 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.064        23.657        .41670E-06   -.38095E-06
   2  norm          2.5291        1.3480       -.19913E-06   -.74539E-04
   3  Prefactor     1.3016        2.2853        .12730E-05   -.28297E-02
   4  Prefactor     16.750        9.1338       -.56401E-06   -.10708E-03
   5  Prefactor     .10000E-03    42.895        .44113E-04** at limit **
   6  norm          1.0653        .87691        .99148E-07   -.26595E-04
   7  Prefactor     3.8183        10.278       -.94837E-06   -.29736E-04
   8  Prefactor     .10000E-03    11.359        .62465E-06** at limit **
   9  norm          .10000E-03    2.6034        .16564E-06** at limit **
  10  norm          5.6067        21.979        .35127E-07   -.77719E-04
  11  Prefactor     .10000E-03    1.1071        .15917E-06** at limit **
  12  norm          .10000E-03    .54436       -.10530E-06** at limit **
  13  Prefactor     .10000E-03    33.818       -.20422E-04** at limit **
  14  Prefactor     6.1033        4.7675       -.42652E-06    .28391E-04
  15  Prefactor     .10000E-03    9.9975       -.44421E-06** at limit **
  16  Prefactor     .10000E-03    64.030       -.32066E-04** at limit **
  17  Prefactor     117.50        49.379       -.62055E-05   -.12432E-04
  18  Prefactor     .10000E-03    3.3142        .59615E-07** at limit **
  19  Normalizat    .94329        .18459        .14795E-05   -.82098E-06
  20  Prefactor     1.1250        .16679        .29383E-06    .44682E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0636
  norm       = 2.52914
  Prefactor  = 1.30157
  Prefactor  = 16.7495
  Prefactor  = 0.000100001
  norm       = 1.06525
  Prefactor  = 3.81831
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.60675
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.10326
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 117.499
  Prefactor  = 0.0001
  Normalizat = 0.943292
  Prefactor  = 1.12502
 **********
 **   18 **HESSE 
 **********

 FCN=   6322.646     FROM HESSE     STATUS=OK           291 CALLS     2350 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.064        23.689        .78470E-04   -1.4686    
   2  norm          2.5291        1.3540        .61161E-04   -1.5390    
   3  Prefactor     1.3016        8.1513        .19350E-02   -1.5480    
   4  Prefactor     16.750        9.1664        .97861E-04   -1.4889    
   5  Prefactor     .10000E-03    42.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0653        .85040        .61064E-04   -1.5502    
   7  Prefactor     3.8183        10.187        .20652E-03   -1.5317    
   8  Prefactor     .10000E-03    11.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.6081        .12530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.6067        22.000        .84830E-03   -1.5234    
  11  Prefactor     .10000E-03    1.1173        .81699E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .54748        .57250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    33.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1033        4.7979        .14181E-03   -1.5214    
  15  Prefactor     .10000E-03    10.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    64.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     117.50        49.502        .37119E-04   -1.3536    
  18  Prefactor     .10000E-03    3.3462        .14133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .94329        .21201        .26293E-03   -.94955    
  20  Prefactor     1.1250        .19097        .23067E-03   -.88671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54822e-08
Minuit parameter uncertainties:
  1  23.6974
  2  1.35399
  3  6.51552
  4  9.16713
  5  0.000342438
  6  0.850407
  7  10.1912
  8  1.56987e-05
  9  1.31117e-06
  10  22.0314
  11  1.06176e-06
  12  3.33794e-08
  13  0.000168954
  14  4.7982
  15  5.27145e-06
  16  0.000351459
  17  49.5197
  18  1.42142e-06
  19  0.212203
  20  0.191082
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  5.607e+00  2.203e+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.125e+00  1.911e-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:  9.433e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/38692/likelihoodResults_241401601_241660801_4FGL_J0910.6+2247_daily_bin8.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) = 6321.38803607
delta logL = 1.25789305579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6321.34292453
delta logL = 1.30300459271

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2236       1.0000         .10000E-03   10000.    
     2 'alpha     '    .55276       1.0000          .0000       5.0000    
     3 'Normalizat'    .94862       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1196       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.

 FCN=   6321.343     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      205 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2505        8.3147        .37310E-02   -.10721E-03
   2  alpha         .55423        .57153        .50000       -.15743E-04
   3  Normalizat    .94854        .17387        .45520E-01    .98800E-05
   4  Prefactor     1.1197        .16576        .36886E-01   -.36819E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 7.25046
  alpha      = 0.554226
  Normalizat = 0.948539
  Prefactor  = 1.11968
 **********
 **   18 **HESSE 
 **********

 FCN=   6321.343     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2505        12.483        .14924E-03   -1.5169    
   2  alpha         .55423        .72056        .28066E-01   -.89197    
   3  Normalizat    .94854        .19823        .26217E-03   -.94775    
   4  Prefactor     1.1197        .18908        .23096E-03   -.88840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7748e-09
Minuit parameter uncertainties:
  1  12.4872
  2  0.748618
  3  0.198383
  4  0.189197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38692': 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) = 6321.34292236
delta logL = 1.30300676706

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  7.250e+00  1.249e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  5.542e-01  7.486e-01  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.120e+00  1.892e-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:  9.485e-01  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.68
Ra Dec: 137.674 22.798
Photon Index (Free Index): 0.55 +/- 0.75
Photon Flux (Free Index): 3.69e-09 +/- 4.29e-09
Energy Flux (Free Index): 3.50e-05 +/- 5.37e-05

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/38692/cmap_HighResolution_241401601_241660801_4FGL_J0910.6+2247_daily_bin8.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.38e-05', comment='SUCCESS', energy_flux2='3.50e-05', dlogl='1.30e+00', photon_flux2='3.69e-09', job_status='DONE', time_completed='2021-08-31 02:23:41.864335', photon_index_error2='0.75', photon_index2='0.55', ts='0.08', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='5.43e-08', energy_flux_error2='5.37e-05', EG='0.94', time_epoch_completed='1630401821.86', return_code='0', job_id='38692', GAL2='1.12', EG2='0.95', return_code2='0', photon_flux_error2='4.29e-09', ts2='2.68', photon_index='2.19' WHERE bin_id='8' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:23:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 38692: <4FGL_J0910.6+2247_daily_bin8> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin8 137.674 22.7978 241401601 241660801 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 :                                   577.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             307.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            739 sec.

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

