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


Performing analysis on: 4FGL_J0910.6+2247_daily_bin1080
RA = 137.674, Dec = 22.7978
tmin = 519264001, tmax = 519523201
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='43806', job_status='RUN', time_executed='2021-08-31 02:29:31.442205', time_epoch_executed='1630402171.44' WHERE source_name='4FGL J0910.6+2247' and cadence='daily' and bin_id='1080'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43806

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43806/ft1_4FGL_J0910.6+2247_daily_bin1080.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43806/ft2_4FGL_J0910.6+2247_daily_bin1080.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43806/ft1_4FGL_J0910.6+2247_daily_bin1080.fits outfile=/scratch/kocevski/43806/ft1_filteredMKT_4FGL_J0910.6+2247_daily_bin1080.fits ra=137.674 dec=22.7978 rad=12.0 tmin=519264001.0 tmax=519523201.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 7.16
user 3.27
sys 3.85

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43806/ft1_filtered_4FGL_J0910.6+2247_daily_bin1080.fits" evtable="EVENTS" scfile=/scratch/kocevski/43806/ft2_4FGL_J0910.6+2247_daily_bin1080.fits sctable="SC_DATA" outfile=/scratch/kocevski/43806/ltcube_519264001_519523201_4FGL_J0910.6+2247_daily_bin1080.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/43806/ft2_4FGL_J0910.6+2247_daily_bin1080.fits
.....................!
real 15.78
user 11.35
sys 4.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43806/ft1_filtered_4FGL_J0910.6+2247_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/43806/ft2_4FGL_J0910.6+2247_daily_bin1080.fits sctable="SC_DATA" expcube=/scratch/kocevski/43806/ltcube_519264001_519523201_4FGL_J0910.6+2247_daily_bin1080.fits outfile=/scratch/kocevski/43806/expmap_519264001_519523201_4FGL_J0910.6+2247_daily_bin1080.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/43806/ltcube_519264001_519523201_4FGL_J0910.6+2247_daily_bin1080.fits
.....................!
real 194.69
user 185.48
sys 8.75

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/43806/ft1_filtered_4FGL_J0910.6+2247_daily_bin1080.fits scfile=/scratch/kocevski/43806/ft2_4FGL_J0910.6+2247_daily_bin1080.fits outfile=/scratch/kocevski/43806/cmap_519264001_519523201_4FGL_J0910.6+2247_daily_bin1080.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 4.17
user 0.38
sys 3.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43806/ft1_filtered_4FGL_J0910.6+2247_daily_bin1080.fits scfile=/scratch/kocevski/43806/ft2_4FGL_J0910.6+2247_daily_bin1080.fits outfile=/scratch/kocevski/43806/cmap_HighResolution_519264001_519523201_4FGL_J0910.6+2247_daily_bin1080.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 4.32
user 0.38
sys 3.74

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.673       1.0000         .10000E-03   10000.    
     2 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4149       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.2800       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.082       1.0000         .10000E-03   10000.    
     6 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.337       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    50.117       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .57785       1.0000         .10000E-03   10000.    
    12 'norm      '    2.7231       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.682       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99284       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0709       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=   5818.961     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     2066 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.664        29.821        .50810E-06    .24232E-03
   2  norm          .10000E-03    1.1549       -.11189E-05** at limit **
   3  Prefactor     3.4108        11.852        .55870E-05    .31656E-04
   4  Prefactor     4.2799        6.9687       -.24008E-06    .31217E-04
   5  Prefactor     14.080        44.508        .10546E-05   -.99846E-06
   6  norm          .10000E-03    .32967       -.12234E-06** at limit **
   7  Prefactor     .10000E-03    16.673       -.48673E-07** at limit **
   8  Prefactor     19.337        21.337        .30980E-06    .18113E-04
   9  norm          .10000E-03    2.1674        .47071E-08** at limit **
  10  norm          50.113        42.399        .82520E-06   -.77372E-06
  11  Prefactor     .57761        2.9553        .93365E-06   -.13538E-03
  12  norm          2.7231        1.9710        .19346E-07    .45799E-05
  13  Prefactor     .10000E-03    24.443       -.87830E-06** at limit **
  14  Prefactor     .10000E-03    3.6496       -.74138E-07** at limit **
  15  Prefactor     .10000E-03    25.999        .73765E-06** at limit **
  16  Prefactor     27.714        76.946       -.73157E-05    .29298E-04
  17  Prefactor     .10000E-03    13.452        .27200E-07** at limit **
  18  Prefactor     .10000E-03    4.2731        .27933E-06** at limit **
  19  Normalizat    .99279        .20391       -.16206E-05    .15299E-03
  20  Prefactor     1.0709        .17338        .83723E-06    .13608E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.6643
  norm       = 0.0001
  Prefactor  = 3.41079
  Prefactor  = 4.27989
  Prefactor  = 14.0804
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3369
  norm       = 0.0001
  norm       = 50.1129
  Prefactor  = 0.577615
  norm       = 2.72308
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.714
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.992791
  Prefactor  = 1.07094
 **********
 **   18 **HESSE 
 **********

 FCN=   5818.961     FROM HESSE     STATUS=OK           291 CALLS     2357 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.664        28.733        .54248E-04   -1.4228    
   2  norm          .10000E-03    2.3729        .14650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.4108        12.206        .10945E-02   -1.5339    
   4  Prefactor     4.2799        6.9506        .19474E-03   -1.5294    
   5  Prefactor     14.080        44.525        .10674E-03   -1.4957    
   6  norm          .10000E-03    .47434        .84326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.337        21.458        .91082E-04   -1.4828    
   9  norm          .10000E-03    2.1687        .10968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          50.113        42.371        .56648E-04   -1.4291    
  11  Prefactor     .57761        5.0639        .24438E-02   -1.5556    
  12  norm          2.7231        1.9690        .87857E-04   -1.5378    
  13  Prefactor     .10000E-03    24.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.7608        .28401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     27.714        76.769        .76144E-04   -1.4655    
  17  Prefactor     .10000E-03    13.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.3393        .15405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .99279        .23589        .25828E-03   -.93272    
  20  Prefactor     1.0709        .20320        .22853E-03   -.90401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31846e-08
Minuit parameter uncertainties:
  1  28.7403
  2  1.8741e-05
  3  12.215
  4  6.95192
  5  44.6301
  6  2.66863e-06
  7  3.90854e-05
  8  21.4663
  9  5.99854e-07
  10  42.3962
  11  3.4206
  12  1.969
  13  2.92252e-05
  14  4.93003e-07
  15  1.64197e-06
  16  77.0441
  17  1.83651e-05
  18  2.6189e-05
  19  0.236135
  20  0.203349
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  5.011e+01  4.240e+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.071e+00  2.033e-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.928e-01  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.48
Ra Dec: 137.674 22.798
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.62e-08 +/- 3.07e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 1.35e-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): 102
logL (Free Index) = 5817.89348336
delta logL = 1.06771510208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5817.49417909
delta logL = 1.46701936761

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4170       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.8023       1.0000          .0000       5.0000    
     3 'Normalizat'    .77885       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2058       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=   5817.494     FROM MIGRAD    STATUS=FAILED        97 CALLS      386 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4044        29.081        .56578E-04    .29739E-04
   2  alpha         4.8044        4.8199        .19606E-01   -.16893E-03
   3  Normalizat    .77862        .22645        .28720E-03    .76793E-05
   4  Prefactor     1.2060        .20628        .21698E-03    .73354E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5817.494     FROM SIMPLEX   STATUS=UNCHANGED     89 CALLS      475 TOTAL
                     EDM=   .76E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4044        29.081        .67631E-04    .29739E-04
   2  alpha         4.8044        4.8199        .19281E-02   -.16893E-03
   3  Normalizat    .77862        .22645        .19987E-03    .76793E-05
   4  Prefactor     1.2060        .20628        .18075E-03    .73354E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5817.494     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      506 TOTAL
                     EDM=   .91E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4044        9.7259        .22631E-05    .29136E-04
   2  alpha         4.8044        4.0790        .39213E-02    .39430E-06
   3  Normalizat    .77862        .23266        .11488E-04    .77189E-05
   4  Prefactor     1.2060        .20902        .86791E-05    .73354E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.4044
  alpha      = 4.80439
  Normalizat = 0.77862
  Prefactor  = 1.20597
 **********
 **   18 **HESSE 
 **********

 FCN=   5817.494     FROM HESSE     STATUS=OK            23 CALLS      529 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4044        8.5566        .45263E-06   -1.5339    
   2  alpha         4.8044        3.8590        .15685E-03    1.1726    
   3  Normalizat    .77862        .23237        .22976E-05   -1.0087    
   4  Prefactor     1.2060        .20851        .17358E-05   -.86148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81815e-13
Minuit parameter uncertainties:
  1  8.55969
  2  1.29784
  3  0.232663
  4  0.208652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43806': 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) = 5817.49417732
delta logL = 1.46702114433

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  3.404e+00  8.560e+00  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  4.804e+00  1.298e+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.206e+00  2.087e-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:  7.786e-01  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.25
Ra Dec: 137.674 22.798
Photon Index (Free Index): 4.80 +/- 1.30
Photon Flux (Free Index): 1.98e-07 +/- 8.77e-08
Energy Flux (Free Index): 2.83e-05 +/- 1.33e-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/43806/cmap_HighResolution_519264001_519523201_4FGL_J0910.6+2247_daily_bin1080.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.62e-08', energy_flux2='2.83e-05', photon_flux_error='3.07e-08', dlogl='1.47e+00', energy_flux='1.59e-05', photon_flux2='1.98e-07', job_status='DONE', time_completed='2021-08-31 02:39:52.680257', photon_index_error2='1.30', photon_index2='4.80', ts='4.48', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.33e-05', EG='0.99', time_epoch_completed='1630402792.68', return_code='0', job_id='43806', GAL2='1.21', EG2='0.78', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='8.77e-08', ts2='8.25', photon_index='2.19' WHERE bin_id='1080' AND source_name='4FGL J0910.6+2247' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:39:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 43806: <4FGL_J0910.6+2247_daily_bin1080> in cluster <slac> Done

Job <4FGL_J0910.6+2247_daily_bin1080> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 02:25:42 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:25:44 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:25:44 2021
Terminated at Tue Aug 31 02:39:54 2021
Results reported at Tue Aug 31 02:39:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_daily_bin1080 137.674 22.7978 519264001 519523201 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 :                                   634.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            852 sec.

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

