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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin488
RA = 117.701, Dec = 12.494
tmin = 365817601, tmax = 366076801
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='942686', job_status='RUN', time_executed='2021-08-28 16:09:49.959122', time_epoch_executed='1630192189.96' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='488'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/942686

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/942686/ft1_4FGL_J0750.8+1229_daily_bin488.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/942686/ft2_4FGL_J0750.8+1229_daily_bin488.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/942686/ft1_4FGL_J0750.8+1229_daily_bin488.fits outfile=/scratch/kocevski/942686/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin488.fits ra=117.701 dec=12.494 rad=12.0 tmin=365817601.0 tmax=366076801.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 8.81
user 3.34
sys 5.42

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/942686/ft2_4FGL_J0750.8+1229_daily_bin488.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/942686/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin488.fits evtable="EVENTS" outfile="/scratch/kocevski/942686/ft1_filtered_4FGL_J0750.8+1229_daily_bin488.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 5.76
user 0.34
sys 5.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/942686/ft1_filtered_4FGL_J0750.8+1229_daily_bin488.fits" evtable="EVENTS" scfile=/scratch/kocevski/942686/ft2_4FGL_J0750.8+1229_daily_bin488.fits sctable="SC_DATA" outfile=/scratch/kocevski/942686/ltcube_365817601_366076801_4FGL_J0750.8+1229_daily_bin488.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/942686/ft2_4FGL_J0750.8+1229_daily_bin488.fits
.....................!
real 18.32
user 12.06
sys 6.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/942686/ft1_filtered_4FGL_J0750.8+1229_daily_bin488.fits evtable="EVENTS" scfile=/scratch/kocevski/942686/ft2_4FGL_J0750.8+1229_daily_bin488.fits sctable="SC_DATA" expcube=/scratch/kocevski/942686/ltcube_365817601_366076801_4FGL_J0750.8+1229_daily_bin488.fits outfile=/scratch/kocevski/942686/expmap_365817601_366076801_4FGL_J0750.8+1229_daily_bin488.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/942686/ltcube_365817601_366076801_4FGL_J0750.8+1229_daily_bin488.fits
.....................!
real 197.81
user 185.87
sys 11.56

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/942686/ft1_filtered_4FGL_J0750.8+1229_daily_bin488.fits scfile=/scratch/kocevski/942686/ft2_4FGL_J0750.8+1229_daily_bin488.fits outfile=/scratch/kocevski/942686/cmap_365817601_366076801_4FGL_J0750.8+1229_daily_bin488.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 5.61
user 0.38
sys 5.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/942686/ft1_filtered_4FGL_J0750.8+1229_daily_bin488.fits scfile=/scratch/kocevski/942686/ft2_4FGL_J0750.8+1229_daily_bin488.fits outfile=/scratch/kocevski/942686/cmap_HighResolution_365817601_366076801_4FGL_J0750.8+1229_daily_bin488.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 5.66
user 0.40
sys 5.24

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10151E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.0478       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.3122       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11621E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.9005       1.0000         .10000E-03   10000.    
     7 'norm      '    2.8199       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10472E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.255       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10894E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2957       1.0000         .10000E-03   10000.    
    12 'norm      '    .11100E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.853       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .41409E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    .10316E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.2978       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.2891       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.1893       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1069       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0647       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=   6596.981     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2061 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    21.565        .23026E-05** at limit **
   2  norm          .10001E-03    1.3197       -.27109E-06** at limit **
   3  norm          4.0476        1.5995       -.10617E-06    .25267E-03
   4  Prefactor     4.3348        440.82        .31626E-04    .77720E-04
   5  Prefactor     .10000E-03    28.020       -.42111E-05** at limit **
   6  norm          3.9010        1.6896       -.87875E-07    .31939E-03
   7  norm          2.8201        2.3786       -.41434E-06    .92588E-03
   8  Prefactor     .10000E-03    17.509       -.94240E-06** at limit **
   9  Prefactor     24.253        15.170       -.89331E-07   -.88469E-05
  10  Prefactor     .10000E-03    45.515        .59731E-05** at limit **
  11  Prefactor     2.2961        3.0391       -.77193E-06    .37897E-03
  12  norm          .10000E-03    13.811       -.16644E-06** at limit **
  13  Prefactor     20.860        13.417       -.92659E-08    .99065E-04
  14  Prefactor     .10000E-03    55.082        .39533E-06** at limit **
  15  norm          .10000E-03    62.967       -.74203E-05** at limit **
  16  Prefactor     .10006E-03    284.73       -.59504E-04** at limit **
  17  norm          .10000E-03    32.943       -.20548E-05** at limit **
  18  norm          8.2975        6.7578        .25558E-06    .23269E-03
  19  Prefactor     6.3347        50.431       -.66801E-06    .47788E-04
  20  Prefactor     8.1904        8.7030       -.12768E-06    .41324E-04
  21  Normalizat    1.1068        .21013        .13887E-05    .44169E-03
  22  Prefactor     1.0647        .13665        .13952E-05    .59310E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  norm       = 0.000100005
  norm       = 4.0476
  Prefactor  = 4.33478
  Prefactor  = 0.0001
  norm       = 3.90098
  norm       = 2.8201
  Prefactor  = 0.0001
  Prefactor  = 24.2534
  Prefactor  = 0.0001
  Prefactor  = 2.29613
  norm       = 0.0001
  Prefactor  = 20.8604
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100056
  norm       = 0.0001
  norm       = 8.29752
  Prefactor  = 6.33469
  Prefactor  = 8.19037
  Normalizat = 1.10683
  Prefactor  = 1.06474
 **********
 **   18 **HESSE 
 **********

 FCN=   6596.981     FROM HESSE     STATUS=OK           344 CALLS     2405 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    21.868        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10001E-03    2.3760        .16905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.0476        1.5995        .61593E-04   -1.5306    
   4  Prefactor     4.3348        441.14        .19399E-03   -1.5292    
   5  Prefactor     .10000E-03    28.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.9010        1.6803        .66851E-04   -1.5313    
   7  norm          2.8201        2.3673        .10973E-03   -1.5372    
   8  Prefactor     .10000E-03    18.004        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.253        15.177        .81336E-04   -1.4723    
  10  Prefactor     .10000E-03    45.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2961        3.0306        .15440E-03   -1.5405    
  12  norm          .10000E-03    13.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.860        13.411        .87711E-04   -1.4794    
  14  Prefactor     .10000E-03    55.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    63.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10006E-03    282.44        .91009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    33.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.2975        6.6725        .13917E-03   -1.5132    
  19  Prefactor     6.3347        49.538        .16006E-03   -1.5205    
  20  Prefactor     8.1904        8.7031        .14010E-03   -1.5136    
  21  Normalizat    1.1068        .23915        .30658E-03   -.89533    
  22  Prefactor     1.0647        .15649        .20618E-03   -.90602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72677e-09
Minuit parameter uncertainties:
  1  0.000488049
  2  0.000223346
  3  1.59948
  4  88.1331
  5  2.13071e-06
  6  1.68034
  7  2.36742
  8  0.000123492
  9  15.1799
  10  0.00030016
  11  3.03076
  12  1.71035e-05
  13  13.4129
  14  2.23391e-05
  15  8.37892e-05
  16  0.0080214
  17  0.000116053
  18  6.6731
  19  35.4694
  20  8.70443
  21  0.239388
  22  0.156558
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  2.296e+00  3.031e+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

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.065e+00  1.566e-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.107e+00  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.77
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/942686/likelihoodResults_365817601_366076801_4FGL_J0750.8+1229_daily_bin488.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) = 6596.88910693
delta logL = 0.0921408664944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6596.88687423
delta logL = 0.094373570596

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5386       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9691       1.0000          .0000       10.000    
     3 'Normalizat'    1.0927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0707       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.

 FCN=   6596.887     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      264 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5361        35.184        .85952E-02    .11774E-02
   2  Index         2.9711        3.3106        .22179        .12419E-03
   3  Normalizat    1.0930        .50063E-01    .69665E-01   -.11161E-03
   4  Prefactor     1.0706        .32919E-01    .38824E-01   -.59191E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.53614
  Index      = 2.97113
  Normalizat = 1.09301
  Prefactor  = 1.07056
 **********
 **   18 **HESSE 
 **********

 FCN=   6596.887     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5361        3.4555        .11197E-03   -1.5460    
   2  Index         2.9711        1.3407        .76390E-02   -.41783    
   3  Normalizat    1.0930        .23332        .30824E-03   -.89976    
   4  Prefactor     1.0706        .15238        .20569E-03   -.90413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83673e-10
Minuit parameter uncertainties:
  1  3.45597
  2  1.36067
  3  0.233539
  4  0.152445
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/942686': 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) = 6596.88687077
delta logL = 0.094377027287

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.536e+00  3.456e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.971e+00  1.361e+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:  1.071e+00  1.524e-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.093e+00  2.335e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.77
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/942686/cmap_HighResolution_365817601_366076801_4FGL_J0750.8+1229_daily_bin488.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.69e-03', job_status='DONE', photon_flux_upper_limit='1.24e-07', time_completed='2021-08-28 16:21:58.619652', job_id='942686', GAL2='1.07', fit_tolerance='1e-08', EG2='1.09', EG='1.11', time_epoch_completed='1630192918.62', return_code2='0', ts='0.77', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='9.44e-02', ts2='0.97', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='488' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:21:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 942686: <4FGL_J0750.8+1229_daily_bin488> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin488> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 16:05:30 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:05:32 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:05:32 2021
Terminated at Sat Aug 28 16:22:00 2021
Results reported at Sat Aug 28 16:22:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin488 117.701 12.494 365817601 366076801 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 :                                   808.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            990 sec.

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

