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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin18
RA = 137.674, Dec = 22.7978
tmin = 243993601, tmax = 244252801
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='38708', job_status='RUN', time_executed='2021-08-31 02:13:58.395754', time_epoch_executed='1630401238.4' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='18'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38708

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38708/ft1_4FGL_J0910.6+2247_daily_bin18.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38708/ft2_4FGL_J0910.6+2247_daily_bin18.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38708/ft1_4FGL_J0910.6+2247_daily_bin18.fits outfile=/scratch/kocevski/38708/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin18.fits ra=137.674 dec=22.7978 rad=12.0 tmin=243993601.0 tmax=244252801.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.29
user 1.20
sys 0.97

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38708/ft1_filtered_4FGL_J0910.6+2247_daily_bin18.fits" evtable="EVENTS" scfile=/scratch/kocevski/38708/ft2_4FGL_J0910.6+2247_daily_bin18.fits sctable="SC_DATA" outfile=/scratch/kocevski/38708/ltcube_243993601_244252801_4FGL_J0910.6+2247_daily_bin18.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/38708/ft2_4FGL_J0910.6+2247_daily_bin18.fits
.....................!
real 13.34
user 12.06
sys 1.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38708/ft1_filtered_4FGL_J0910.6+2247_daily_bin18.fits evtable="EVENTS" scfile=/scratch/kocevski/38708/ft2_4FGL_J0910.6+2247_daily_bin18.fits sctable="SC_DATA" expcube=/scratch/kocevski/38708/ltcube_243993601_244252801_4FGL_J0910.6+2247_daily_bin18.fits outfile=/scratch/kocevski/38708/expmap_243993601_244252801_4FGL_J0910.6+2247_daily_bin18.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/38708/ltcube_243993601_244252801_4FGL_J0910.6+2247_daily_bin18.fits
.....................!
real 191.66
user 186.20
sys 5.01

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/38708/ft1_filtered_4FGL_J0910.6+2247_daily_bin18.fits scfile=/scratch/kocevski/38708/ft2_4FGL_J0910.6+2247_daily_bin18.fits outfile=/scratch/kocevski/38708/cmap_243993601_244252801_4FGL_J0910.6+2247_daily_bin18.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 2.21
user 0.37
sys 0.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38708/ft1_filtered_4FGL_J0910.6+2247_daily_bin18.fits scfile=/scratch/kocevski/38708/ft2_4FGL_J0910.6+2247_daily_bin18.fits outfile=/scratch/kocevski/38708/cmap_HighResolution_243993601_244252801_4FGL_J0910.6+2247_daily_bin18.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.89
user 0.37
sys 0.93

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.866       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3704       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    80.293       1.0000         .10000E-03   10000.    
     6 'norm      '    2.1685       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .47900       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2323       1.0000         .10000E-03   10000.    
    12 'norm      '    2.2421       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8466       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.242       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.129       1.0000         .10000E-03   10000.    
    17 'Prefactor '    82.864       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0531       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0836       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=   7972.366     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     2083 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.866        18.766        .20941E-02    .97568E-03
   2  norm          1.3706        .98291        .93110E-02    .43981E-03
   3  Prefactor     .10000E-03    5.2177        .90712E-02** at limit **
   4  Prefactor     .10000E-03    1.8896        .90712E-02** at limit **
   5  Prefactor     80.292        50.232        .11205E-02    .19252E-02
   6  norm          2.1704        .83890        .69915E-02    .33649E-03
   7  Prefactor     .39865        6.1901        .11185        .24489E-03
   8  Prefactor     .10000E-03    4.3924        .90712E-02** at limit **
   9  norm          .10000E-03    2.7754        .90712E-02** at limit **
  10  norm          .10000E-03    9.9610        .90712E-02** at limit **
  11  Prefactor     3.2322        2.7918        .56327E-02    .28813E-03
  12  norm          2.2420        1.5392        .68617E-02    .16589E-03
  13  Prefactor     .10000E-03    11.865        .90712E-02** at limit **
  14  Prefactor     3.8471        2.8911        .51442E-02    .17683E-03
  15  Prefactor     10.240        17.815        .31300E-02    .10992E-02
  16  Prefactor     16.130        37.329        .24932E-02   -.23403E-03
  17  Prefactor     82.865        46.274        .11031E-02   -.41804E-03
  18  Prefactor     .10000E-03    3.5534        .90712E-02** at limit **
  19  Normalizat    1.0528        .16565        .58844E-01    .19128E-04
  20  Prefactor     1.0840        .15004        .38245E-01    .14711E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.866
  norm       = 1.37055
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.2924
  norm       = 2.17038
  Prefactor  = 0.398652
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.23216
  norm       = 2.242
  Prefactor  = 0.0001
  Prefactor  = 3.84709
  Prefactor  = 10.2401
  Prefactor  = 16.1302
  Prefactor  = 82.865
  Prefactor  = 0.0001
  Normalizat = 1.05279
  Prefactor  = 1.08398
 **********
 **   18 **HESSE 
 **********

 FCN=   7972.366     FROM HESSE     STATUS=OK           289 CALLS     2372 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.866        18.683        .83765E-04   -1.4751    
   2  norm          1.3706        .96886        .68679E-04   -1.5474    
   3  Prefactor     .10000E-03    5.3315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.8971        .11985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     80.292        50.284        .44821E-04   -1.3913    
   6  norm          2.1704        .84816        .46056E-04   -1.5413    
   7  Prefactor     .39865        71.137        .40415E-02   -1.5582    
   8  Prefactor     .10000E-03    4.4103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.7844        .14526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    9.9677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2322        2.7860        .13478E-03   -1.5348    
  12  norm          2.2420        1.5343        .88781E-04   -1.5408    
  13  Prefactor     .10000E-03    11.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8471        2.8890        .12616E-03   -1.5316    
  15  Prefactor     10.240        17.820        .12520E-03   -1.5068    
  16  Prefactor     16.130        37.327        .99727E-04   -1.4905    
  17  Prefactor     82.865        46.482        .44126E-04   -1.3885    
  18  Prefactor     .10000E-03    3.5903        .16432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0528        .19317        .26022E-03   -.91282    
  20  Prefactor     1.0840        .17501        .23981E-03   -.89980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8657e-08
Minuit parameter uncertainties:
  1  18.6878
  2  0.968873
  3  3.30947e-06
  4  6.89045e-08
  5  50.3111
  6  0.848166
  7  10.6622
  8  3.79872e-06
  9  1.49807e-07
  10  1.80313e-05
  11  2.78611
  12  1.53435
  13  3.0692e-05
  14  2.88908
  15  17.8295
  16  37.3815
  17  46.5026
  18  8.69704e-07
  19  0.193303
  20  0.175105
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.803e-05  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.084e+00  1.751e-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.053e+00  1.933e-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.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.54e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/38708/likelihoodResults_243993601_244252801_4FGL_J0910.6+2247_daily_bin18.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7972.36656661
delta logL = -0.000477355430121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7972.36608942
delta logL = -1.64681296155e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1906       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0839       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=   7972.366     FROM MIGRAD    STATUS=FAILED        87 CALLS      229 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10024E-03    1830.2        .18142E-02** at limit **
   2  alpha         2.1115        3.2121        .16623        .77817E-06
   3  Normalizat    1.0528        .87046E-01    .26022E-03   -.54173E-05
   4  Prefactor     1.0840        .81709E-01    .23981E-03   -.48355E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7972.366     FROM SIMPLEX   STATUS=UNCHANGED    161 CALLS      390 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10024E-03    1830.2        .51386E-03** at limit **
   2  alpha         2.1115        3.2121        .57531E-05    .77817E-06
   3  Normalizat    1.0528        .87046E-01    .17249E-06   -.54173E-05
   4  Prefactor     1.0840        .81709E-01    .89137E-07   -.48355E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7972.366     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      421 TOTAL
                     EDM=   .45E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.072        .36285E-03** at limit **
   2  alpha         2.0305        3.4936        .66491E-02   -.92329E-08
   3  Normalizat    1.0528        .18557        .10409E-04    .11577E-04
   4  Prefactor     1.0840        .17420        .95923E-05    .13511E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.03045
  Normalizat = 1.05279
  Prefactor  = 1.08398
 **********
 **   18 **HESSE 
 **********

 FCN=   7972.366     FROM HESSE     STATUS=OK            23 CALLS      444 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.071        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0305        2.7531        .13298E-02   -.18894    
   3  Normalizat    1.0528        .18538        .20818E-05   -.91282    
   4  Prefactor     1.0840        .17402        .19185E-05   -.89980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91722e-12
Minuit parameter uncertainties:
  1  1.82857e-05
  2  494.23
  3  0.185499
  4  0.174113
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38708': 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) = 7972.3660892
delta logL = 5.12545739184e-08

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.829e-05  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.030e+00  4.942e+02  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.084e+00  1.741e-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.053e+00  1.855e-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/38708/cmap_HighResolution_243993601_244252801_4FGL_J0910.6+2247_daily_bin18.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.54e-05', job_status='DONE', photon_flux_upper_limit='3.50e-08', time_completed='2021-08-31 02:25:05.054986', job_id='38708', GAL2='1.08', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630401905.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='5.13e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='18' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:25:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 38708: <4FGL_J0910.6+2247_daily_bin18> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin18 137.674 22.7978 243993601 244252801 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 :                                   672.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            822 sec.

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

