/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 181 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7431
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0910.6+2247_daily_bin78
RA = 137.674, Dec = 22.7978
tmin = 259545601, tmax = 259804801
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='38806', job_status='RUN', time_executed='2021-08-31 02:14:49.705345', time_epoch_executed='1630401289.71' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='78'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38806

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38806/ft1_4FGL_J0910.6+2247_daily_bin78.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38806/ft2_4FGL_J0910.6+2247_daily_bin78.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38806/ft1_4FGL_J0910.6+2247_daily_bin78.fits outfile=/scratch/kocevski/38806/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin78.fits ra=137.674 dec=22.7978 rad=12.0 tmin=259545601.0 tmax=259804801.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 2.04
user 1.46
sys 0.46

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38806/ft2_4FGL_J0910.6+2247_daily_bin78.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/38806/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin78.fits evtable="EVENTS" outfile="/scratch/kocevski/38806/ft1_filtered_4FGL_J0910.6+2247_daily_bin78.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.88
user 0.33
sys 0.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38806/ft1_filtered_4FGL_J0910.6+2247_daily_bin78.fits" evtable="EVENTS" scfile=/scratch/kocevski/38806/ft2_4FGL_J0910.6+2247_daily_bin78.fits sctable="SC_DATA" outfile=/scratch/kocevski/38806/ltcube_259545601_259804801_4FGL_J0910.6+2247_daily_bin78.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/38806/ft2_4FGL_J0910.6+2247_daily_bin78.fits
.....................!
real 12.81
user 12.07
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38806/ft1_filtered_4FGL_J0910.6+2247_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/38806/ft2_4FGL_J0910.6+2247_daily_bin78.fits sctable="SC_DATA" expcube=/scratch/kocevski/38806/ltcube_259545601_259804801_4FGL_J0910.6+2247_daily_bin78.fits outfile=/scratch/kocevski/38806/expmap_259545601_259804801_4FGL_J0910.6+2247_daily_bin78.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/38806/ltcube_259545601_259804801_4FGL_J0910.6+2247_daily_bin78.fits
.....................!
real 191.54
user 185.21
sys 5.41

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/38806/ft1_filtered_4FGL_J0910.6+2247_daily_bin78.fits scfile=/scratch/kocevski/38806/ft2_4FGL_J0910.6+2247_daily_bin78.fits outfile=/scratch/kocevski/38806/cmap_259545601_259804801_4FGL_J0910.6+2247_daily_bin78.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.13
user 0.36
sys 0.53

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38806/ft1_filtered_4FGL_J0910.6+2247_daily_bin78.fits scfile=/scratch/kocevski/38806/ft2_4FGL_J0910.6+2247_daily_bin78.fits outfile=/scratch/kocevski/38806/cmap_HighResolution_259545601_259804801_4FGL_J0910.6+2247_daily_bin78.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.08
user 0.38
sys 0.43

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.273       1.0000         .10000E-03   10000.    
     2 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.6729       1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.560       1.0000         .10000E-03   10000.    
     6 'norm      '    1.8990       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.283       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1653       1.0000         .10000E-03   10000.    
    12 'norm      '    3.1048       1.0000         .10000E-03   10000.    
    13 'Prefactor '    34.514       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4523       1.0000         .10000E-03   10000.    
    15 'Prefactor '    41.998       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .28146       1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.648       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2321       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .60912       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2910       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=   5502.462     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2111 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.229        22.421        .21899E-06   -.72677E-05
   2  norm          .10000E-03    .74121        .15394E-07** at limit **
   3  Prefactor     .10000E-03    9.5912       -.21300E-06** at limit **
   4  Prefactor     5.6748        6.8421        .31753E-05   -.67520E-03
   5  Prefactor     44.502        44.634        .31172E-05    .28372E-03
   6  norm          1.8986        .89363       -.99944E-08   -.86227E-04
   7  Prefactor     .10000E-03    6.6922       -.12172E-06** at limit **
   8  Prefactor     .10000E-03    6.7592       -.34758E-07** at limit **
   9  norm          .10000E-03    4.3093        .37802E-07** at limit **
  10  norm          13.258        34.992       -.57136E-05   -.24723E-03
  11  Prefactor     1.1644        2.6282        .40194E-06   -.54846E-04
  12  norm          3.1045        1.7684        .47404E-08    .78357E-05
  13  Prefactor     34.455        43.331        .83293E-06    .74315E-05
  14  Prefactor     1.4517        2.4821        .24730E-06   -.45892E-04
  15  Prefactor     41.987        26.219        .10452E-05    .23995E-03
  16  Prefactor     .10581E-03    70.520       -.11383E-05** at limit **
  17  Prefactor     31.635        40.473        .11266E-05    .46262E-04
  18  Prefactor     9.2370        6.9516        .10427E-05   -.31864E-03
  19  Normalizat    .60923        .19146       -.26413E-05    .62279E-04
  20  Prefactor     1.2911        .17699        .72818E-06   -.39476E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.229
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.67477
  Prefactor  = 44.5024
  norm       = 1.89862
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.2582
  Prefactor  = 1.16435
  norm       = 3.10447
  Prefactor  = 34.4548
  Prefactor  = 1.45174
  Prefactor  = 41.9872
  Prefactor  = 0.000105808
  Prefactor  = 31.6349
  Prefactor  = 9.23704
  Normalizat = 0.609234
  Prefactor  = 1.29111
 **********
 **   18 **HESSE 
 **********

 FCN=   5502.462     FROM HESSE     STATUS=OK           303 CALLS     2414 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.229        21.502        .84873E-04   -1.4765    
   2  norm          .10000E-03    1.2771        .11823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.7388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.6748        7.0759        .84326E-03   -1.5231    
   5  Prefactor     44.502        45.890        .60060E-04   -1.4373    
   6  norm          1.8986        .89013        .45328E-04   -1.5432    
   7  Prefactor     .10000E-03    6.7093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.7774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.3343        .15038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.258        36.542        .10991E-03   -1.4980    
  11  Prefactor     1.1644        2.5772        .17527E-03   -1.5492    
  12  norm          3.1045        1.7686        .71975E-04   -1.5356    
  13  Prefactor     34.455        43.351        .68212E-04   -1.4533    
  14  Prefactor     1.4517        2.4427        .14617E-03   -1.5467    
  15  Prefactor     41.987        26.387        .61858E-04   -1.4411    
  16  Prefactor     .10581E-03    64.872        .16721       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     31.635        40.586        .71225E-04   -1.4582    
  18  Prefactor     9.2370        6.9900        .65951E-03   -1.5100    
  19  Normalizat    .60923        .21525        .29482E-03   -1.0759    
  20  Prefactor     1.2911        .20118        .20534E-03   -.83572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67664e-09
Minuit parameter uncertainties:
  1  21.5093
  2  2.33097e-06
  3  1.76965e-05
  4  7.07698
  5  45.9262
  6  0.890135
  7  1.97573e-05
  8  1.20459e-05
  9  7.30732e-07
  10  36.6033
  11  2.5774
  12  1.76861
  13  43.391
  14  2.44286
  15  26.3946
  16  0.038862
  17  40.6214
  18  6.99062
  19  0.215549
  20  0.201305
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.326e+01  3.660e+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.291e+00  2.013e-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:  6.092e-01  2.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/38806/likelihoodResults_259545601_259804801_4FGL_J0910.6+2247_daily_bin78.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) = 5502.32334656
delta logL = 0.138677782068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5502.08404984
delta logL = 0.377974495456

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61635       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .53752       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3395       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=   5502.084     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      253 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61627        29.481        .11737E-01    .10816E-02
   2  alpha         5.0000        2.5030        .46268    ** at limit **
   3  Normalizat    .53732        .98210E-01    .70699E-01   -.10087E-03
   4  Prefactor     1.3399        .80851E-01    .45737E-01   -.25265E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.616267
  alpha      = 5
  Normalizat = 0.537317
  Prefactor  = 1.33989
 **********
 **   18 **HESSE 
 **********

 FCN=   5502.084     FROM HESSE     STATUS=OK            31 CALLS      284 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61627        .72095        .61557E-04   -1.5551    
   2  alpha         5.0000        3.6139        .72318E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .53732        .21439        .31296E-03   -1.1072    
   4  Prefactor     1.3399        .20388        .20217E-03   -.82129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04864e-11
Minuit parameter uncertainties:
  1  0.720957
  2  3.55382e-06
  3  0.214717
  4  0.203999
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38806': 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) = 5502.08404189
delta logL = 0.377982450388

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  6.163e-01  7.210e-01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  5.000e+00  3.554e-06  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.340e+00  2.040e-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:  5.373e-01  2.147e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.01
Ra Dec: 137.674 22.798
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.22e-08 +/- 6.07e-08
Energy Flux (Free Index): 7.30e-06 +/- 8.52e-06

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/38806/cmap_HighResolution_259545601_259804801_4FGL_J0910.6+2247_daily_bin78.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.30e-05', comment='SUCCESS', energy_flux2='7.30e-06', dlogl='3.78e-01', photon_flux2='5.22e-08', job_status='DONE', time_completed='2021-08-31 02:24:08.676419', photon_index_error2='0.00', photon_index2='5.00', ts='0.15', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='7.53e-08', energy_flux_error2='8.52e-06', EG='0.61', time_epoch_completed='1630401848.68', return_code='0', job_id='38806', GAL2='1.34', EG2='0.54', return_code2='0', photon_flux_error2='6.07e-08', ts2='1.01', photon_index='2.19' WHERE bin_id='78' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:24:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 38806: <4FGL_J0910.6+2247_daily_bin78> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin78 137.674 22.7978 259545601 259804801 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 :                                   558.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            757 sec.

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

