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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin3
RA = 137.674, Dec = 22.7978
tmin = 240105601, tmax = 240364801
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='38684', job_status='RUN', time_executed='2021-08-31 02:15:36.689823', time_epoch_executed='1630401336.69' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='3'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38684

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38684/ft1_4FGL_J0910.6+2247_daily_bin3.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38684/ft2_4FGL_J0910.6+2247_daily_bin3.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38684/ft1_4FGL_J0910.6+2247_daily_bin3.fits outfile=/scratch/kocevski/38684/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin3.fits ra=137.674 dec=22.7978 rad=12.0 tmin=240105601.0 tmax=240364801.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.66
user 1.25
sys 0.37

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38684/ft2_4FGL_J0910.6+2247_daily_bin3.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/38684/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin3.fits evtable="EVENTS" outfile="/scratch/kocevski/38684/ft1_filtered_4FGL_J0910.6+2247_daily_bin3.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.32
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38684/ft1_filtered_4FGL_J0910.6+2247_daily_bin3.fits" evtable="EVENTS" scfile=/scratch/kocevski/38684/ft2_4FGL_J0910.6+2247_daily_bin3.fits sctable="SC_DATA" outfile=/scratch/kocevski/38684/ltcube_240105601_240364801_4FGL_J0910.6+2247_daily_bin3.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/38684/ft2_4FGL_J0910.6+2247_daily_bin3.fits
.....................!
real 13.28
user 12.67
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38684/ft1_filtered_4FGL_J0910.6+2247_daily_bin3.fits evtable="EVENTS" scfile=/scratch/kocevski/38684/ft2_4FGL_J0910.6+2247_daily_bin3.fits sctable="SC_DATA" expcube=/scratch/kocevski/38684/ltcube_240105601_240364801_4FGL_J0910.6+2247_daily_bin3.fits outfile=/scratch/kocevski/38684/expmap_240105601_240364801_4FGL_J0910.6+2247_daily_bin3.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/38684/ltcube_240105601_240364801_4FGL_J0910.6+2247_daily_bin3.fits
.....................!
real 191.44
user 186.06
sys 4.96

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/38684/ft1_filtered_4FGL_J0910.6+2247_daily_bin3.fits scfile=/scratch/kocevski/38684/ft2_4FGL_J0910.6+2247_daily_bin3.fits outfile=/scratch/kocevski/38684/cmap_240105601_240364801_4FGL_J0910.6+2247_daily_bin3.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.08
user 0.36
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38684/ft1_filtered_4FGL_J0910.6+2247_daily_bin3.fits scfile=/scratch/kocevski/38684/ft2_4FGL_J0910.6+2247_daily_bin3.fits outfile=/scratch/kocevski/38684/cmap_HighResolution_240105601_240364801_4FGL_J0910.6+2247_daily_bin3.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=137.674 yref=22.7978 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.76
user 0.37
sys 0.35

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .29680E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.5547       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.9124       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1396       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.2002       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10369E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1096       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13112E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.934       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .96581       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.5781       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=   6283.092     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     2060 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4849        .39442E-08** at limit **
   2  norm          .31085E-01    .50559        .66611E-07    .82969E-04
   3  Prefactor     .10000E-03    12.346        .20148E-06** at limit **
   4  Prefactor     .10000E-03    3.4822        .87513E-07** at limit **
   5  Prefactor     .10000E-03    11.715        .51795E-07** at limit **
   6  norm          1.5548        .75244       -.86411E-08    .12752E-04
   7  Prefactor     .10000E-03    8.1725       -.35947E-06** at limit **
   8  Prefactor     .10000E-03    5.4403       -.59644E-07** at limit **
   9  norm          1.9125        4.6397        .63747E-06    .27040E-04
  10  norm          1.0547        175.67       -.91344E-05   -.75831E-05
  11  Prefactor     .10000E-03    3.4220        .12710E-06** at limit **
  12  norm          2.2000        1.5465       -.46893E-07   -.77498E-04
  13  Prefactor     .10000E-03    20.295       -.18251E-06** at limit **
  14  Prefactor     1.1113        3.3529        .13152E-05    .55143E-04
  15  Prefactor     .10000E-03    13.158        .27484E-07** at limit **
  16  Prefactor     .10000E-03    56.808        .41772E-06** at limit **
  17  Prefactor     32.945        47.772        .81717E-06   -.84907E-06
  18  Prefactor     .10000E-03    4.8049        .10362E-05** at limit **
  19  Normalizat    .96570        .19979       -.20949E-05   -.10746E-03
  20  Prefactor     1.5781        .18765        .48198E-06   -.23459E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0310847
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.55477
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.91251
  norm       = 1.05465
  Prefactor  = 0.0001
  norm       = 2.19996
  Prefactor  = 0.0001
  Prefactor  = 1.11129
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.945
  Prefactor  = 0.000100004
  Normalizat = 0.965704
  Prefactor  = 1.57806
 **********
 **   18 **HESSE 
 **********

 FCN=   6283.092     FROM HESSE     STATUS=OK           293 CALLS     2353 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.5048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .31085E-01    9.4868        .10788E-02   -1.5673    
   3  Prefactor     .10000E-03    12.777        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.5280        .14450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5548        .75180        .45951E-04   -1.5459    
   7  Prefactor     .10000E-03    8.2038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.4501        .18054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.9125        4.6253        .26045E-03   -1.5431    
  10  norm          1.0547        181.71        .43571E-02   -1.5503    
  11  Prefactor     .10000E-03    3.5666        .28650E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2000        1.5476        .80236E-04   -1.5411    
  13  Prefactor     .10000E-03    20.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.1113        3.4021        .24364E-03   -1.5497    
  15  Prefactor     .10000E-03    13.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    57.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     32.945        48.002        .69823E-04   -1.4559    
  18  Prefactor     .10000E-03    12.146        .32306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .96570        .23209        .29091E-03   -.94188    
  20  Prefactor     1.5781        .22223        .22973E-03   -.75376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92167e-09
Minuit parameter uncertainties:
  1  3.77698e-06
  2  1.08451
  3  4.43553e-05
  4  6.1642e-06
  5  1.05217e-05
  6  0.751806
  7  1.67653e-05
  8  4.08204e-06
  9  4.62614
  10  27.7717
  11  6.35548e-06
  12  1.54767
  13  8.7682e-06
  14  3.40269
  15  1.99789e-07
  16  0.000134201
  17  48.0583
  18  0.000450563
  19  0.232336
  20  0.222366
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.055e+00  2.777e+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.578e+00  2.224e-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.657e-01  2.323e-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: 6.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.85e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/38684/likelihoodResults_240105601_240364801_4FGL_J0910.6+2247_daily_bin3.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) = 6283.09170706
delta logL = 5.34371793037e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6283.09142507
delta logL = 0.000287334501991

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2598       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9771       1.0000          .0000       5.0000    
     3 'Normalizat'    .96578       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5780       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=   6283.091     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      351 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 83.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2620        144.07        .19393E-04   -.54413E-04
   2  alpha         1.9780        3.2828        .34061E-03    .24987E-05
   3  Normalizat    .96597        .18840       -.52172E-06   -.25121E-03
   4  Prefactor     1.5778        .18550       -.22350E-06   -.24592E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26195
  alpha      = 1.97797
  Normalizat = 0.965966
  Prefactor  = 1.57781
 **********
 **   18 **HESSE 
 **********

 FCN=   6283.091     FROM HESSE     STATUS=OK            31 CALLS      382 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2620        178.62        .39748E-03   -1.5483    
   2  alpha         1.9780        3.1054        .16940       -.21036    
   3  Normalizat    .96597        .22453        .29088E-03   -.94180    
   4  Prefactor     1.5778        .22110        .22975E-03   -.75383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68115e-07
Minuit parameter uncertainties:
  1  30.1185
  2  7.84889
  3  0.224751
  4  0.221234
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38684': 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) = 6283.09142469
delta logL = 0.000287716802632

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.262e+00  3.012e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.978e+00  7.849e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.578e+00  2.212e-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.660e-01  2.248e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/38684/cmap_HighResolution_240105601_240364801_4FGL_J0910.6+2247_daily_bin3.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.85e-05', job_status='DONE', photon_flux_upper_limit='6.49e-08', time_completed='2021-08-31 02:25:17.591654', job_id='38684', GAL2='1.58', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1630401917.59', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.58', dlogl='2.88e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='3' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:25:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 38684: <4FGL_J0910.6+2247_daily_bin3> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin3 137.674 22.7978 240105601 240364801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0910.6+2247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   581.21 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             242.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            836 sec.

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

