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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin801
RA = 117.701, Dec = 12.494
tmin = 446947201, tmax = 447206401
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='944551', job_status='RUN', time_executed='2021-08-28 16:13:08.969698', time_epoch_executed='1630192388.97' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='801'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/944551

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/944551/ft1_4FGL_J0750.8+1229_daily_bin801.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/944551/ft2_4FGL_J0750.8+1229_daily_bin801.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/944551/ft1_4FGL_J0750.8+1229_daily_bin801.fits outfile=/scratch/kocevski/944551/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin801.fits ra=117.701 dec=12.494 rad=12.0 tmin=446947201.0 tmax=447206401.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 4.25
user 3.14
sys 1.08

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/944551/ft2_4FGL_J0750.8+1229_daily_bin801.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/944551/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin801.fits evtable="EVENTS" outfile="/scratch/kocevski/944551/ft1_filtered_4FGL_J0750.8+1229_daily_bin801.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.36
user 0.32
sys 1.02

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/944551/ft1_filtered_4FGL_J0750.8+1229_daily_bin801.fits" evtable="EVENTS" scfile=/scratch/kocevski/944551/ft2_4FGL_J0750.8+1229_daily_bin801.fits sctable="SC_DATA" outfile=/scratch/kocevski/944551/ltcube_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.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/944551/ft2_4FGL_J0750.8+1229_daily_bin801.fits
.....................!
real 12.64
user 11.30
sys 1.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/944551/ft1_filtered_4FGL_J0750.8+1229_daily_bin801.fits evtable="EVENTS" scfile=/scratch/kocevski/944551/ft2_4FGL_J0750.8+1229_daily_bin801.fits sctable="SC_DATA" expcube=/scratch/kocevski/944551/ltcube_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.fits outfile=/scratch/kocevski/944551/expmap_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.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/944551/ltcube_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.fits
.....................!
real 193.53
user 187.36
sys 5.81

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/944551/ft1_filtered_4FGL_J0750.8+1229_daily_bin801.fits scfile=/scratch/kocevski/944551/ft2_4FGL_J0750.8+1229_daily_bin801.fits outfile=/scratch/kocevski/944551/cmap_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.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 1.43
user 0.37
sys 0.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/944551/ft1_filtered_4FGL_J0750.8+1229_daily_bin801.fits scfile=/scratch/kocevski/944551/ft2_4FGL_J0750.8+1229_daily_bin801.fits outfile=/scratch/kocevski/944551/cmap_HighResolution_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.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 1.57
user 0.36
sys 1.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/944551/ft1_filtered_4FGL_J0750.8+1229_daily_bin801.fits evtable="EVENTS" scfile=/scratch/kocevski/944551/ft2_4FGL_J0750.8+1229_daily_bin801.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/944551/Model_4FGL_J0750.8+1229_daily_bin801.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/944551/ft1_filtered_4FGL_J0750.8+1229_daily_bin801.fits.....................!
real 89.19
user 84.56
sys 2.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/944551/ft1_filtered_4FGL_J0750.8+1229_daily_bin801.fits', '/scratch/kocevski/944551/ft2_4FGL_J0750.8+1229_daily_bin801.fits', expMap='/scratch/kocevski/944551/expmap_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.fits', expCube='/scratch/kocevski/944551/ltcube_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/944551/Model_4FGL_J0750.8+1229_daily_bin801.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/944551/ft1_filtered_4FGL_J0750.8+1229_daily_bin801.fits
Spacecraft file(s): /scratch/kocevski/944551/ft2_4FGL_J0750.8+1229_daily_bin801.fits
Exposure map: /scratch/kocevski/944551/expmap_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.fits
Exposure cube: /scratch/kocevski/944551/ltcube_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/944551/Model_4FGL_J0750.8+1229_daily_bin801.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) = 6547.20308499

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.3229       1.0000         .10000E-03   10000.    
     3 'norm      '    .68072       1.0000         .10000E-03   10000.    
     4 'Prefactor '    45.548       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.6376       1.0000         .10000E-03   10000.    
     7 'norm      '    .15854E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4952       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.218       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    62.526       1.0000         .10000E-03   10000.    
    17 'norm      '    25.548       1.0000         .10000E-03   10000.    
    18 'norm      '    11.002       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90160       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=   6547.194     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2367 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.476        .16078E-06** at limit **
   2  norm          9.3252        3.0401        .47177E-07    .75244E-05
   3  norm          .68117        1.1597        .34104E-06    .13664E-04
   4  Prefactor     45.087        94.546        .80756E-06   -.40888E-05
   5  Prefactor     .10000E-03    8.5477       -.22800E-07** at limit **
   6  norm          2.6364        2.3046       -.73162E-06   -.29791E-03
   7  norm          .10000E-03    1.1621       -.19395E-06** at limit **
   8  Prefactor     1.5017        24.576        .61346E-05   -.31320E-04
   9  Prefactor     .10000E-03    35.422        .51256E-06** at limit **
  10  Prefactor     .10000E-03    12.770       -.27674E-07** at limit **
  11  Prefactor     .10000E-03    .81373        .20357E-07** at limit **
  12  norm          .10000E-03    6.6121        .53349E-08** at limit **
  13  Prefactor     10.219        9.3335       -.32276E-07    .26687E-05
  14  Prefactor     .10000E-03    52.192        .47322E-07** at limit **
  15  norm          .10000E-03    22.029        .20729E-07** at limit **
  16  Prefactor     62.539        41.442       -.13872E-06   -.95912E-04
  17  norm          25.550        25.429       -.53191E-07   -.58925E-04
  18  norm          11.002        7.3895        .38567E-07    .77930E-05
  19  Prefactor     .10000E-03    13.326       -.43902E-06** at limit **
  20  Prefactor     .10000E-03    5.6633        .33829E-07** at limit **
  21  Normalizat    1.1715        .19432        .49679E-06   -.12806E-03
  22  Prefactor     .90195        .12427       -.10338E-05   -.27319E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.32515
  norm       = 0.681169
  Prefactor  = 45.0871
  Prefactor  = 0.0001
  norm       = 2.63635
  norm       = 0.0001
  Prefactor  = 1.50168
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.2188
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 62.539
  norm       = 25.55
  norm       = 11.0023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17153
  Prefactor  = 0.901951
 **********
 **   18 **HESSE 
 **********

 FCN=   6547.194     FROM HESSE     STATUS=OK           344 CALLS     2711 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.3252        3.0441        .75093E-04   -1.5097    
   3  norm          .68117        1.0884        .10773E-02   -1.5543    
   4  Prefactor     45.087        94.381        .59408E-04   -1.4364    
   5  Prefactor     .10000E-03    8.5502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.6364        2.3221        .76227E-04   -1.5383    
   7  norm          .10000E-03    2.2595        .16716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.5017        24.854        .35041E-03   -1.5463    
   9  Prefactor     .10000E-03    35.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .81623        .71258E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    6.6191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.219        9.3407        .12535E-03   -1.5069    
  14  Prefactor     .10000E-03    52.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    22.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     62.539        41.364        .25373E-03   -1.4125    
  17  norm          25.550        25.409        .79254E-04   -1.4697    
  18  norm          11.002        7.3865        .12078E-03   -1.5044    
  19  Prefactor     .10000E-03    13.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.6826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1715        .21932        .29064E-03   -.87487    
  22  Prefactor     .90195        .13959        .20673E-03   -.96073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88682e-10
Minuit parameter uncertainties:
  1  4.23542e-06
  2  3.04412
  3  1.08841
  4  94.6964
  5  1.77048e-06
  6  2.3222
  7  4.48637e-05
  8  12.2241
  9  3.34593e-06
  10  1.07752e-05
  11  6.00107e-07
  12  1.2381e-06
  13  9.34203
  14  1.02474e-05
  15  1.00389e-06
  16  41.3826
  17  25.42
  18  7.38706
  19  8.35748e-06
  20  1.54966e-06
  21  0.219494
  22  0.139645
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  6.001e-07  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:  9.020e-01  1.396e-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.172e+00  2.195e-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: 5.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/944551/likelihoodResults_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.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) = 6547.19918672
delta logL = -0.00564009662503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6547.19354637
delta logL = 2.53460711974e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5043       1.0000          .0000       10.000    
     3 'Normalizat'    1.1715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90198       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=   6547.194     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      246 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8012        .71737E-02** at limit **
   2  Index         1.9954        8.2733        .50000        .12185E-06
   3  Normalizat    1.1715        .17082E-01    .29064E-03   -.85739E-03
   4  Prefactor     .90195        .10877E-01    .20673E-03   -.11665E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.9954
  Normalizat = 1.17153
  Prefactor  = 0.901949
 **********
 **   18 **HESSE 
 **********

 FCN=   6547.194     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    86.463        .76944E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9954        5.5899        .50000       -.64465    
   3  Normalizat    1.1715        .56559E-01    .58128E-04   -.87487    
   4  Prefactor     .90195        .36013E-01    .41347E-04   -.96073    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03233e-09
Minuit parameter uncertainties:
  1  1.19e-05
  2  636.262
  3  0.056562
  4  0.0360138
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/944551': 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): 102
logL (Free Index) = 6547.19353807
delta logL = 8.55096823216e-06

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  1.190e-05  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  1.995e+00  6.363e+02  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:  9.019e-01  3.601e-02  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.172e+00  5.656e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/944551/cmap_HighResolution_446947201_447206401_4FGL_J0750.8+1229_daily_bin801.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-03', job_status='DONE', photon_flux_upper_limit='5.91e-08', time_completed='2021-08-28 16:24:37.895500', job_id='944551', GAL2='0.90', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1630193077.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='8.55e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='801' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:24:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 944551: <4FGL_J0750.8+1229_daily_bin801> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin801> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 16:10:37 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:10:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 16:10:38 2021
Terminated at Sat Aug 28 16:24:38 2021
Results reported at Sat Aug 28 16:24:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin801 117.701 12.494 446947201 447206401 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 :                                   698.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            841 sec.

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

