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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin57
RA = 117.701, Dec = 12.494
tmin = 254102401, tmax = 254361601
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='939721', job_status='RUN', time_executed='2021-08-28 15:56:36.246317', time_epoch_executed='1630191396.25' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='57'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/939721

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/939721/ft1_4FGL_J0750.8+1229_daily_bin57.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/939721/ft2_4FGL_J0750.8+1229_daily_bin57.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/939721/ft1_4FGL_J0750.8+1229_daily_bin57.fits outfile=/scratch/kocevski/939721/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin57.fits ra=117.701 dec=12.494 rad=12.0 tmin=254102401.0 tmax=254361601.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.02
user 1.83
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/939721/ft2_4FGL_J0750.8+1229_daily_bin57.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/939721/ft2_4FGL_J0750.8+1229_daily_bin57.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/939721/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin57.fits evtable="EVENTS" outfile="/scratch/kocevski/939721/ft1_filtered_4FGL_J0750.8+1229_daily_bin57.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/939721/ft1_filtered_4FGL_J0750.8+1229_daily_bin57.fits" evtable="EVENTS" scfile=/scratch/kocevski/939721/ft2_4FGL_J0750.8+1229_daily_bin57.fits sctable="SC_DATA" outfile=/scratch/kocevski/939721/ltcube_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.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/939721/ft2_4FGL_J0750.8+1229_daily_bin57.fits
.....................!
real 12.34
user 11.99
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/939721/ft1_filtered_4FGL_J0750.8+1229_daily_bin57.fits evtable="EVENTS" scfile=/scratch/kocevski/939721/ft2_4FGL_J0750.8+1229_daily_bin57.fits sctable="SC_DATA" expcube=/scratch/kocevski/939721/ltcube_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.fits outfile=/scratch/kocevski/939721/expmap_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.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/939721/ltcube_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.fits
.....................!
real 192.51
user 187.02
sys 5.06

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 168 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0750.8+1229 @ 117.701 12.494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/939721/ft1_filtered_4FGL_J0750.8+1229_daily_bin57.fits scfile=/scratch/kocevski/939721/ft2_4FGL_J0750.8+1229_daily_bin57.fits outfile=/scratch/kocevski/939721/cmap_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.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=117.701 yref=12.494 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/939721/ft1_filtered_4FGL_J0750.8+1229_daily_bin57.fits scfile=/scratch/kocevski/939721/ft2_4FGL_J0750.8+1229_daily_bin57.fits outfile=/scratch/kocevski/939721/cmap_HighResolution_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.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=117.701 yref=12.494 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.58
user 0.37
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/939721/ft1_filtered_4FGL_J0750.8+1229_daily_bin57.fits evtable="EVENTS" scfile=/scratch/kocevski/939721/ft2_4FGL_J0750.8+1229_daily_bin57.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/939721/Model_4FGL_J0750.8+1229_daily_bin57.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/939721/ft1_filtered_4FGL_J0750.8+1229_daily_bin57.fits.....................!
real 91.44
user 89.87
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/939721/ft1_filtered_4FGL_J0750.8+1229_daily_bin57.fits', '/scratch/kocevski/939721/ft2_4FGL_J0750.8+1229_daily_bin57.fits', expMap='/scratch/kocevski/939721/expmap_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.fits', expCube='/scratch/kocevski/939721/ltcube_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/939721/Model_4FGL_J0750.8+1229_daily_bin57.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0750.8+1229'

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.506e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/939721/ft1_filtered_4FGL_J0750.8+1229_daily_bin57.fits
Spacecraft file(s): /scratch/kocevski/939721/ft2_4FGL_J0750.8+1229_daily_bin57.fits
Exposure map: /scratch/kocevski/939721/expmap_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.fits
Exposure cube: /scratch/kocevski/939721/ltcube_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/939721/Model_4FGL_J0750.8+1229_daily_bin57.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) = 6913.37206906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10286E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .51100       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0853       1.0000         .10000E-03   10000.    
     4 'Prefactor '    144.67       1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.320       1.0000         .10000E-03   10000.    
     6 'norm      '    3.2916       1.0000         .10000E-03   10000.    
     7 'norm      '    .62773       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .87128E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    33.713       1.0000         .10000E-03   10000.    
    14 'Prefactor '    74.882       1.0000         .10000E-03   10000.    
    15 'norm      '    46.930       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.674       1.0000         .10000E-03   10000.    
    17 'norm      '    3.6093       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2417       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9003       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0919       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89664       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6913.361     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2378 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    19.336        .28216E-06** at limit **
   2  norm          .50710        1.1263        .17546E-05    .47849E-03
   3  norm          2.0851        1.1508        .53882E-07   -.81875E-04
   4  Prefactor     144.74        78.886       -.21549E-05    .55346E-05
   5  Prefactor     32.334        27.053       -.10423E-05   -.13962E-03
   6  norm          3.2909        1.7981        .52281E-07    .18602E-04
   7  norm          .62548        1.3259        .10724E-05    .17073E-04
   8  Prefactor     .10001E-03    6.1338       -.53932E-07** at limit **
   9  Prefactor     .10000E-03    15.305        .10316E-06** at limit **
  10  Prefactor     .10000E-03    13.732       -.41663E-07** at limit **
  11  Prefactor     .10000E-03    1.2816       -.18702E-06** at limit **
  12  norm          .10000E-03    12.370        .12189E-06** at limit **
  13  Prefactor     33.712        15.989        .75557E-07   -.16717E-04
  14  Prefactor     74.791        102.73       -.94675E-06   -.90528E-04
  15  norm          46.912        67.156        .42908E-07   -.29118E-04
  16  Prefactor     20.675        40.730       -.20880E-05   -.59635E-04
  17  norm          3.6113        20.833        .73835E-06   -.27391E-04
  18  norm          1.2433        5.0456        .23520E-05   -.73092E-04
  19  Prefactor     .10000E-03    12.550       -.65137E-07** at limit **
  20  Prefactor     3.9046        16.566        .60462E-06   -.17395E-04
  21  Normalizat    1.0914        .19311        .60399E-06   -.28139E-03
  22  Prefactor     .89699        .11791       -.13754E-05   -.13987E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.507104
  norm       = 2.08513
  Prefactor  = 144.743
  Prefactor  = 32.334
  norm       = 3.29088
  norm       = 0.625478
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 33.7117
  Prefactor  = 74.7911
  norm       = 46.9125
  Prefactor  = 20.675
  norm       = 3.61133
  norm       = 1.24328
  Prefactor  = 0.0001
  Prefactor  = 3.90463
  Normalizat = 1.09144
  Prefactor  = 0.896992
 **********
 **   18 **HESSE 
 **********

 FCN=   6913.361     FROM HESSE     STATUS=OK           354 CALLS     2732 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    19.873        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .50710        1.1056        .12917E-02   -1.5566    
   3  norm          2.0851        1.1474        .63513E-04   -1.5419    
   4  Prefactor     144.74        78.849        .16750E-03   -1.3296    
   5  Prefactor     32.334        27.117        .70483E-04   -1.4570    
   6  norm          3.2909        1.9631        .69916E-04   -1.5345    
   7  norm          .62548        1.2738        .13357E-02   -1.5550    
   8  Prefactor     .10001E-03    15.926        .54717E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.3000        .91784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    12.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     33.712        16.020        .69014E-04   -1.4546    
  14  Prefactor     74.791        102.40        .23200E-03   -1.3976    
  15  norm          46.912        67.159        .58531E-04   -1.4337    
  16  Prefactor     20.675        40.337        .88090E-04   -1.4798    
  17  norm          3.6113        20.273        .21268E-03   -1.5328    
  18  norm          1.2433        4.9526        .35028E-03   -1.5485    
  19  Prefactor     .10000E-03    12.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.9046        16.752        .20430E-03   -1.5313    
  21  Normalizat    1.0914        .22361        .28812E-03   -.90027    
  22  Prefactor     .89699        .13503        .20131E-03   -.96246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.11368e-10
Minuit parameter uncertainties:
  1  5.7707e-05
  2  1.10568
  3  1.14743
  4  78.9066
  5  27.1276
  6  1.96312
  7  1.27388
  8  0.000929641
  9  2.21194e-05
  10  2.94008e-06
  11  2.98011e-06
  12  7.71005e-06
  13  16.0218
  14  102.64
  15  67.2677
  16  40.3903
  17  17.1216
  18  4.95419
  19  3.27944e-06
  20  16.183
  21  0.2238
  22  0.135075
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  2.980e-06  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  8.970e-01  1.351e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.091e+00  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 7.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/939721/likelihoodResults_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.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) = 6913.3645626
delta logL = -0.00365233850243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6913.36091032
delta logL = -5.79602783546e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5106       1.0000          .0000       10.000    
     3 'Normalizat'    1.0915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89702       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+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.

 FCN=   6913.361     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      240 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4604        .91950E-03** at limit **
   2  Index         2.5044        6.2521        .50000        .40276E-04
   3  Normalizat    1.0914        .20048        .28812E-03   -.11818E-03
   4  Prefactor     .89699        .12914        .20131E-03   -.68391E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.50438
  Normalizat = 1.09145
  Prefactor  = 0.896991
 **********
 **   18 **HESSE 
 **********

 FCN=   6913.361     FROM HESSE     STATUS=OK            29 CALLS      269 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3104        .18390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5044        6.2496        .50000       -.52259    
   3  Normalizat    1.0914        .20061        .11525E-04   -.90027    
   4  Prefactor     .89699        .12923        .80522E-05   -.96246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18496e-09
Minuit parameter uncertainties:
  1  9.44559e-05
  2  4.34424
  3  0.200746
  4  0.12927
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/939721': 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) = 6913.36091014
delta logL = 1.1587235349e-07

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  9.446e-05  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.504e+00  4.344e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  8.970e-01  1.293e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.091e+00  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.701 12.494

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/939721/cmap_HighResolution_254102401_254361601_4FGL_J0750.8+1229_daily_bin57.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.01e-08', time_completed='2021-08-28 16:08:00.017230', job_id='939721', GAL2='0.90', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630192080.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.16e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='57' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:08:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 939721: <4FGL_J0750.8+1229_daily_bin57> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin57> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Aug 28 15:56:10 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:56:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 15:56:10 2021
Terminated at Sat Aug 28 16:08:00 2021
Results reported at Sat Aug 28 16:08:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin57 117.701 12.494 254102401 254361601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0750.8+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             374.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            710 sec.

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

