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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin40
RA = 137.674, Dec = 22.7978
tmin = 249696001, tmax = 249955201
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='38745', job_status='RUN', time_executed='2021-08-31 02:11:54.682207', time_epoch_executed='1630401114.68' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='40'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38745

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38745/ft1_4FGL_J0910.6+2247_daily_bin40.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38745/ft2_4FGL_J0910.6+2247_daily_bin40.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38745/ft1_4FGL_J0910.6+2247_daily_bin40.fits outfile=/scratch/kocevski/38745/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin40.fits ra=137.674 dec=22.7978 rad=12.0 tmin=249696001.0 tmax=249955201.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.16
user 1.31
sys 0.83

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38745/ft1_filtered_4FGL_J0910.6+2247_daily_bin40.fits" evtable="EVENTS" scfile=/scratch/kocevski/38745/ft2_4FGL_J0910.6+2247_daily_bin40.fits sctable="SC_DATA" outfile=/scratch/kocevski/38745/ltcube_249696001_249955201_4FGL_J0910.6+2247_daily_bin40.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/38745/ft2_4FGL_J0910.6+2247_daily_bin40.fits
.....................!
real 16.18
user 15.02
sys 1.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38745/ft1_filtered_4FGL_J0910.6+2247_daily_bin40.fits evtable="EVENTS" scfile=/scratch/kocevski/38745/ft2_4FGL_J0910.6+2247_daily_bin40.fits sctable="SC_DATA" expcube=/scratch/kocevski/38745/ltcube_249696001_249955201_4FGL_J0910.6+2247_daily_bin40.fits outfile=/scratch/kocevski/38745/expmap_249696001_249955201_4FGL_J0910.6+2247_daily_bin40.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/38745/ltcube_249696001_249955201_4FGL_J0910.6+2247_daily_bin40.fits
.....................!
real 193.27
user 187.06
sys 5.47

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/38745/ft1_filtered_4FGL_J0910.6+2247_daily_bin40.fits scfile=/scratch/kocevski/38745/ft2_4FGL_J0910.6+2247_daily_bin40.fits outfile=/scratch/kocevski/38745/cmap_249696001_249955201_4FGL_J0910.6+2247_daily_bin40.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.20
user 0.38
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38745/ft1_filtered_4FGL_J0910.6+2247_daily_bin40.fits scfile=/scratch/kocevski/38745/ft2_4FGL_J0910.6+2247_daily_bin40.fits outfile=/scratch/kocevski/38745/cmap_HighResolution_249696001_249955201_4FGL_J0910.6+2247_daily_bin40.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.24
user 0.39
sys 0.82

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.400       1.0000         .10000E-03   10000.    
     2 'norm      '    .24113E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.170       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1853       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.2192       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.095       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    121.70       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1502       1.0000         .10000E-03   10000.    
    12 'norm      '    3.1723       1.0000         .10000E-03   10000.    
    13 'Prefactor '    42.232       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3266       1.0000         .10000E-03   10000.    
    15 'Prefactor '    44.981       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    57.336       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.597       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .80039       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1267       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=   5355.939     FROM MIGRAD    STATUS=CONVERGED    433 CALLS     2078 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.382        22.486       -.16952E-06    .11279E-03
   2  norm          .16420E-03    .56669        .84196E-07** at limit **
   3  Prefactor     18.163        12.159       -.11358E-05    .84861E-05
   4  Prefactor     5.1855        5.9022        .46490E-06    .47438E-04
   5  Prefactor     .10000E-03    22.579        .19536E-06** at limit **
   6  norm          2.2193        .89807        .26577E-07    .85666E-05
   7  Prefactor     .10000E-03    7.1585       -.96100E-08** at limit **
   8  Prefactor     25.099        19.989       -.35677E-06   -.39436E-04
   9  norm          .10000E-03    11.370       -.20221E-07** at limit **
  10  norm          121.70        49.560        .29865E-07   -.83319E-05
  11  Prefactor     5.1505        4.1507        .19283E-07   -.22681E-04
  12  norm          3.1735        2.4304        .12520E-06   -.19163E-03
  13  Prefactor     42.234        68.161        .22388E-06   -.64115E-05
  14  Prefactor     1.3240        4.5240        .11408E-05   -.63563E-04
  15  Prefactor     44.985        30.703       -.42830E-07   -.15696E-04
  16  Prefactor     .10000E-03    26.017       -.22589E-06** at limit **
  17  Prefactor     57.337        40.762        .16868E-06   -.44670E-05
  18  Prefactor     15.597        8.0723        .54038E-07   -.14356E-04
  19  Normalizat    .80030        .20688       -.30679E-06   -.41331E-04
  20  Prefactor     1.1268        .18471       -.62494E-06   -.88130E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3821
  norm       = 0.000164198
  Prefactor  = 18.1634
  Prefactor  = 5.18548
  Prefactor  = 0.0001
  norm       = 2.21926
  Prefactor  = 0.0001
  Prefactor  = 25.0994
  norm       = 0.0001
  norm       = 121.7
  Prefactor  = 5.15047
  norm       = 3.17352
  Prefactor  = 42.2341
  Prefactor  = 1.32401
  Prefactor  = 44.9847
  Prefactor  = 0.0001
  Prefactor  = 57.3369
  Prefactor  = 15.5974
  Normalizat = 0.800297
  Prefactor  = 1.12683
 **********
 **   18 **HESSE 
 **********

 FCN=   5355.939     FROM HESSE     STATUS=OK           309 CALLS     2387 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.382        24.335        .90934E-04   -1.4827    
   2  norm          .16420E-03    2.7465        .17686E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.163        12.535        .93959E-04   -1.4855    
   4  Prefactor     5.1855        5.9076        .17654E-03   -1.5252    
   5  Prefactor     .10000E-03    22.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2193        .89703        .42095E-04   -1.5410    
   7  Prefactor     .10000E-03    7.1889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.099        20.056        .79964E-04   -1.4706    
   9  norm          .10000E-03    11.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          121.70        49.558        .18241E-03   -1.3497    
  11  Prefactor     5.1505        4.1529        .12941E-03   -1.5254    
  12  norm          3.1735        2.4036        .46576E-03   -1.5352    
  13  Prefactor     42.234        68.172        .61686E-04   -1.4407    
  14  Prefactor     1.3240        4.4619        .25868E-03   -1.5478    
  15  Prefactor     44.985        30.748        .59779E-04   -1.4366    
  16  Prefactor     .10000E-03    26.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     57.337        40.860        .52980E-04   -1.4192    
  18  Prefactor     15.597        8.0732        .10141E-03   -1.4918    
  19  Normalizat    .80030        .24882        .28518E-03   -1.0006    
  20  Prefactor     1.1268        .22069        .23248E-03   -.88614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.30122e-10
Minuit parameter uncertainties:
  1  24.3474
  2  0.0265584
  3  12.5364
  4  5.90822
  5  1.52602e-05
  6  0.897033
  7  6.01171e-06
  8  20.0611
  9  1.5812e-05
  10  49.575
  11  4.15316
  12  2.40368
  13  68.2982
  14  4.46305
  15  30.7591
  16  6.48152e-06
  17  40.8798
  18  8.07373
  19  0.249178
  20  0.220873
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.217e+02  4.958e+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.127e+00  2.209e-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.003e-01  2.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.87
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 8.80e-08 +/- 3.58e-08
Energy Flux (Fixed Index): 3.86e-05 +/- 1.57e-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) = 5355.65826959
delta logL = 0.280277089931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5355.63240358
delta logL = 0.30614309225

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    133.39       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8663       1.0000          .0000       5.0000    
     3 'Normalizat'    .82058       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1183       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=   5355.632     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      211 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          133.39        86.892        .87167E-03   -.85551E-03
   2  alpha         1.8664        .58601        .27652        .13181E-04
   3  Normalizat    .82057        .19466        .63778E-01    .17328E-04
   4  Prefactor     1.1183        .18361        .52788E-01    .42653E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 133.392
  alpha      = 1.86643
  Normalizat = 0.820569
  Prefactor  = 1.1183
 **********
 **   18 **HESSE 
 **********

 FCN=   5355.632     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          133.39        56.519        .17433E-03   -1.3393    
   2  alpha         1.8664        .41861        .11073E-01   -.25622    
   3  Normalizat    .82057        .22883        .28212E-03   -.99310    
   4  Prefactor     1.1183        .21832        .23338E-03   -.88884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90998e-09
Minuit parameter uncertainties:
  1  56.542
  2  0.420731
  3  0.229098
  4  0.218496
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38745': 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) = 5355.63240355
delta logL = 0.306143123852

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.334e+02  5.654e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.866e+00  4.207e-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.118e+00  2.185e-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.206e-01  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.49
Ra Dec: 137.674 22.798
Photon Index (Free Index): 1.87 +/- 0.42
Photon Flux (Free Index): 6.72e-08 +/- 3.80e-08
Energy Flux (Free Index): 4.61e-05 +/- 2.35e-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/38745/cmap_HighResolution_249696001_249955201_4FGL_J0910.6+2247_daily_bin40.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.80e-08', energy_flux2='4.61e-05', photon_flux_error='3.58e-08', dlogl='3.06e-01', energy_flux='3.86e-05', photon_flux2='6.72e-08', job_status='DONE', time_completed='2021-08-31 02:20:31.329359', photon_index_error2='0.42', photon_index2='1.87', ts='22.87', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='2.35e-05', EG='0.80', time_epoch_completed='1630401631.33', return_code='0', job_id='38745', GAL2='1.12', EG2='0.82', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='3.80e-08', ts2='23.49', photon_index='2.19' WHERE bin_id='40' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:20:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 38745: <4FGL_J0910.6+2247_daily_bin40> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin40 137.674 22.7978 249696001 249955201 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 :                                   521.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             390.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   543 sec.
    Turnaround time :                            545 sec.

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

