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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1429
RA = 137.674, Dec = 22.7978
tmin = 609724801, tmax = 609984001
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='45153', job_status='RUN', time_executed='2021-08-31 02:33:31.487347', time_epoch_executed='1630402411.49' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1429'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45153

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45153/ft1_4FGL_J0910.6+2247_daily_bin1429.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45153/ft2_4FGL_J0910.6+2247_daily_bin1429.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45153/ft1_4FGL_J0910.6+2247_daily_bin1429.fits outfile=/scratch/kocevski/45153/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1429.fits ra=137.674 dec=22.7978 rad=12.0 tmin=609724801.0 tmax=609984001.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 3.71
user 2.34
sys 1.35

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45153/ft1_filtered_4FGL_J0910.6+2247_daily_bin1429.fits" evtable="EVENTS" scfile=/scratch/kocevski/45153/ft2_4FGL_J0910.6+2247_daily_bin1429.fits sctable="SC_DATA" outfile=/scratch/kocevski/45153/ltcube_609724801_609984001_4FGL_J0910.6+2247_daily_bin1429.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/45153/ft2_4FGL_J0910.6+2247_daily_bin1429.fits
.....................!
real 14.99
user 13.31
sys 1.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45153/ft1_filtered_4FGL_J0910.6+2247_daily_bin1429.fits evtable="EVENTS" scfile=/scratch/kocevski/45153/ft2_4FGL_J0910.6+2247_daily_bin1429.fits sctable="SC_DATA" expcube=/scratch/kocevski/45153/ltcube_609724801_609984001_4FGL_J0910.6+2247_daily_bin1429.fits outfile=/scratch/kocevski/45153/expmap_609724801_609984001_4FGL_J0910.6+2247_daily_bin1429.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/45153/ltcube_609724801_609984001_4FGL_J0910.6+2247_daily_bin1429.fits
.....................!
real 192.80
user 185.11
sys 6.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/45153/ft1_filtered_4FGL_J0910.6+2247_daily_bin1429.fits scfile=/scratch/kocevski/45153/ft2_4FGL_J0910.6+2247_daily_bin1429.fits outfile=/scratch/kocevski/45153/cmap_609724801_609984001_4FGL_J0910.6+2247_daily_bin1429.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.62
user 0.36
sys 1.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45153/ft1_filtered_4FGL_J0910.6+2247_daily_bin1429.fits scfile=/scratch/kocevski/45153/ft2_4FGL_J0910.6+2247_daily_bin1429.fits outfile=/scratch/kocevski/45153/cmap_HighResolution_609724801_609984001_4FGL_J0910.6+2247_daily_bin1429.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.65
user 0.37
sys 1.25

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.392       1.0000         .10000E-03   10000.    
     2 'norm      '    .12775E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    38.021       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2117       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11579E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    2.2044       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.8791       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.955       1.0000         .10000E-03   10000.    
     9 'norm      '    12.619       1.0000         .10000E-03   10000.    
    10 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1171       1.0000         .10000E-03   10000.    
    12 'norm      '    1.6089       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.304       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .64303       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    30.248       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12244E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.530       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1363       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91458       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=   8833.593     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2169 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.313        27.168        .15720E-05    .22427E-03
   2  norm          .10001E-03    .45853       -.35123E-06** at limit **
   3  Prefactor     38.006        12.218        .42581E-06    .33139E-03
   4  Prefactor     5.2133        5.4903        .10226E-06   -.19352E-04
   5  Prefactor     .10000E-03    112.71        .30934E-05** at limit **
   6  norm          2.2047        .78099       -.10339E-07    .73067E-04
   7  Prefactor     5.8788        10.379        .13726E-06   -.11906E-04
   8  Prefactor     21.952        15.670       -.42658E-06   -.16934E-04
   9  norm          12.619        7.1079        .80493E-08   -.15431E-04
  10  norm          .10000E-03    10.837       -.21512E-07** at limit **
  11  Prefactor     4.1173        2.6465       -.17349E-07   -.28889E-04
  12  norm          1.6091        1.3284       -.99844E-07   -.27958E-03
  13  Prefactor     27.288        41.237       -.59468E-06   -.32046E-04
  14  Prefactor     .64529        2.8786        .18960E-05   -.31278E-03
  15  Prefactor     .10000E-03    13.265       -.33895E-07** at limit **
  16  Prefactor     30.186        60.895       -.13059E-05   -.67858E-04
  17  Prefactor     .10000E-03    46.244       -.28164E-06** at limit **
  18  Prefactor     12.531        6.4819       -.55687E-07    .83659E-05
  19  Normalizat    1.1361        .16864        .82483E-06   -.60333E-04
  20  Prefactor     .91476        .14527       -.80673E-06    .11336E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.3129
  norm       = 0.000100008
  Prefactor  = 38.0055
  Prefactor  = 5.21331
  Prefactor  = 0.0001
  norm       = 2.20468
  Prefactor  = 5.87878
  Prefactor  = 21.9516
  norm       = 12.6186
  norm       = 0.0001
  Prefactor  = 4.11731
  norm       = 1.60913
  Prefactor  = 27.2877
  Prefactor  = 0.64529
  Prefactor  = 0.0001
  Prefactor  = 30.1859
  Prefactor  = 0.0001
  Prefactor  = 12.5315
  Normalizat = 1.13607
  Prefactor  = 0.914762
 **********
 **   18 **HESSE 
 **********

 FCN=   8833.593     FROM HESSE     STATUS=OK           301 CALLS     2470 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.313        26.695        .53419E-04   -1.4206    
   2  norm          .10001E-03    16.661        .10908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     38.006        12.212        .65000E-04   -1.4474    
   4  Prefactor     5.2133        5.4817        .17608E-03   -1.5251    
   5  Prefactor     .10000E-03    114.87        .41326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2047        .77901        .45741E-04   -1.5411    
   7  Prefactor     5.8788        10.355        .16562E-03   -1.5223    
   8  Prefactor     21.952        15.708        .85483E-04   -1.4771    
   9  norm          12.619        7.1112        .11276E-03   -1.4997    
  10  norm          .10000E-03    10.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1173        2.6466        .11894E-03   -1.5302    
  12  norm          1.6091        1.3114        .94524E-04   -1.5454    
  13  Prefactor     27.288        41.282        .76668E-04   -1.4663    
  14  Prefactor     .64529        2.7361        .28591E-03   -1.5547    
  15  Prefactor     .10000E-03    13.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.186        61.175        .72850E-04   -1.4609    
  17  Prefactor     .10000E-03    46.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.531        6.4915        .11316E-03   -1.5000    
  19  Normalizat    1.1361        .19837        .25546E-03   -.88602    
  20  Prefactor     .91476        .17032        .25794E-03   -.95627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.24699e-10
Minuit parameter uncertainties:
  1  26.701
  2  0.000720904
  3  12.2131
  4  5.48224
  5  0.000164979
  6  0.779012
  7  10.3577
  8  15.711
  9  7.11163
  10  4.32538e-07
  11  2.64664
  12  1.31142
  13  41.325
  14  2.6575
  15  1.96006e-05
  16  61.3021
  17  3.44874e-06
  18  6.4919
  19  0.198498
  20  0.170415
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  4.325e-07  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:  9.148e-01  1.704e-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.136e+00  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/45153/likelihoodResults_609724801_609984001_4FGL_J0910.6+2247_daily_bin1429.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) = 8833.59366425
delta logL = -0.000439221801571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8833.59322518
delta logL = -1.55861926032e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2002       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1360       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91485       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8833.581     FROM MIGRAD    STATUS=FAILED       196 CALLS      330 TOTAL
                     EDM=   .21E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14679        31.537        .26312E-01    .20708E-02
   2  alpha         4.6258        3.2277        .50000       -.71681E-03
   3  Normalizat    1.1292        .32585E-01    .25545E-03    .65866E-05
   4  Prefactor     .91819        .28931E-01    .25794E-03    .74045E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8833.581     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      403 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14679        31.537        .20618E-03    .20708E-02
   2  alpha         4.6258        3.2277        .21346E-01   -.71681E-03
   3  Normalizat    1.1292        .32585E-01    .26091E-04    .65866E-05
   4  Prefactor     .91819        .28931E-01    .15501E-04    .74045E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8833.581     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      452 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14679        1.5782         .0000        .33624E-03
   2  alpha         4.6258        4.4441         .0000       -.71681E-03
   3  Normalizat    1.1292        .19025         .0000        .66756E-05
   4  Prefactor     .91819        .17018         .0000        .74927E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.146791
  alpha      = 4.62577
  Normalizat = 1.12918
  Prefactor  = 0.91819
 **********
 **   18 **HESSE 
 **********

 FCN=   8833.581     FROM HESSE     STATUS=OK            29 CALLS      481 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14679        1.5534        .56259E-04   -1.5631    
   2  alpha         4.6258        4.4354        .50000        2.1250    
   3  Normalizat    1.1292        .19082        .20436E-05   -.88820    
   4  Prefactor     .91819        .17035        .20635E-05   -.95508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31426e-06
Minuit parameter uncertainties:
  1  0.95473
  2  3.8125
  3  0.190936
  4  0.170445
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45153': 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) = 8833.58075892
delta logL = 0.0124661078898

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.468e-01  9.547e-01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  4.626e+00  3.813e+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:  9.182e-01  1.704e-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.129e+00  1.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.674 22.798

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/45153/cmap_HighResolution_609724801_609984001_4FGL_J0910.6+2247_daily_bin1429.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.67e-05', job_status='DONE', photon_flux_upper_limit='3.81e-08', time_completed='2021-08-31 02:46:00.114200', job_id='45153', GAL2='0.92', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1630403160.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.25e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1429' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:46:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 45153: <4FGL_J0910.6+2247_daily_bin1429> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin1429> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:30:53 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:30:55 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:30:55 2021
Terminated at Tue Aug 31 02:46:00 2021
Results reported at Tue Aug 31 02:46:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1429 137.674 22.7978 609724801 609984001 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 :                                   755.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            907 sec.

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

