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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin75
RA = 117.701, Dec = 12.494
tmin = 258768001, tmax = 259027201
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='939749', job_status='RUN', time_executed='2021-08-28 15:56:35.930574', time_epoch_executed='1630191395.93' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/939749

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/939749/ft1_4FGL_J0750.8+1229_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/939749/ft2_4FGL_J0750.8+1229_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/939749/ft1_4FGL_J0750.8+1229_daily_bin75.fits outfile=/scratch/kocevski/939749/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin75.fits ra=117.701 dec=12.494 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.83
user 0.94
sys 0.86

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/939749/ft1_filtered_4FGL_J0750.8+1229_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/939749/ft2_4FGL_J0750.8+1229_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/939749/ltcube_258768001_259027201_4FGL_J0750.8+1229_daily_bin75.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/939749/ft2_4FGL_J0750.8+1229_daily_bin75.fits
.....................!
real 9.29
user 8.08
sys 1.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/939749/ft1_filtered_4FGL_J0750.8+1229_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/939749/ft2_4FGL_J0750.8+1229_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/939749/ltcube_258768001_259027201_4FGL_J0750.8+1229_daily_bin75.fits outfile=/scratch/kocevski/939749/expmap_258768001_259027201_4FGL_J0750.8+1229_daily_bin75.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/939749/ltcube_258768001_259027201_4FGL_J0750.8+1229_daily_bin75.fits
.....................!
real 191.91
user 185.55
sys 5.90

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/939749/ft1_filtered_4FGL_J0750.8+1229_daily_bin75.fits scfile=/scratch/kocevski/939749/ft2_4FGL_J0750.8+1229_daily_bin75.fits outfile=/scratch/kocevski/939749/cmap_258768001_259027201_4FGL_J0750.8+1229_daily_bin75.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.22
user 0.38
sys 0.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/939749/ft1_filtered_4FGL_J0750.8+1229_daily_bin75.fits scfile=/scratch/kocevski/939749/ft2_4FGL_J0750.8+1229_daily_bin75.fits outfile=/scratch/kocevski/939749/cmap_HighResolution_258768001_259027201_4FGL_J0750.8+1229_daily_bin75.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.20
user 0.37
sys 0.82

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    59.751       1.0000         .10000E-03   10000.    
     2 'norm      '    .10323E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.2208       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.284       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.9695       1.0000         .10000E-03   10000.    
     7 'norm      '    3.8011       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.1263       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21266E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2327       1.0000         .10000E-03   10000.    
    12 'norm      '    15.093       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2585       1.0000         .10000E-03   10000.    
    14 'Prefactor '    70.976       1.0000         .10000E-03   10000.    
    15 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    22.603       1.0000         .10000E-03   10000.    
    18 'norm      '    8.2998       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.8139       1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.999       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .74751       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0441       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=   4741.634     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2393 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          59.752        19.890       -.17487E-06    .13193E-04
   2  norm          .10000E-03    2.6200        .17544E-05** at limit **
   3  norm          2.2206        1.7173       -.15130E-06    .46299E-05
   4  Prefactor     11.423        137.84        .43150E-05   -.81075E-05
   5  Prefactor     .10000E-03    131.11       -.32918E-05** at limit **
   6  norm          1.9688        1.5688       -.71522E-07   -.62844E-04
   7  norm          3.8013        2.3395        .57952E-07    .14109E-03
   8  Prefactor     .10000E-03    8.2088       -.15001E-06** at limit **
   9  Prefactor     8.1272        25.200       -.11953E-05   -.25393E-05
  10  Prefactor     .10001E-03    221.15        .37769E-05** at limit **
  11  Prefactor     4.2325        3.5174       -.10165E-06    .29816E-04
  12  norm          15.094        25.802       -.27603E-06    .14708E-04
  13  Prefactor     5.2566        16.114       -.43276E-06    .14630E-04
  14  Prefactor     71.020        114.06       -.26396E-05   -.17074E-05
  15  norm          .10000E-03    33.597        .11322E-06** at limit **
  16  Prefactor     .10000E-03    26.795       -.12685E-06** at limit **
  17  norm          22.587        23.277       -.24446E-06    .30771E-04
  18  norm          8.2994        6.7583       -.35208E-07    .33339E-04
  19  Prefactor     2.8282        134.28       -.43158E-05   -.18804E-05
  20  Prefactor     29.008        21.171       -.28796E-06    .33538E-04
  21  Normalizat    .74735        .23875        .26866E-05    .99351E-04
  22  Prefactor     1.0442        .15175        .60230E-06   -.21978E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 59.7522
  norm       = 0.0001
  norm       = 2.22065
  Prefactor  = 11.4229
  Prefactor  = 0.000100001
  norm       = 1.96876
  norm       = 3.80129
  Prefactor  = 0.0001
  Prefactor  = 8.12719
  Prefactor  = 0.000100005
  Prefactor  = 4.23245
  norm       = 15.0943
  Prefactor  = 5.25664
  Prefactor  = 71.0202
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 22.587
  norm       = 8.2994
  Prefactor  = 2.82823
  Prefactor  = 29.0076
  Normalizat = 0.747347
  Prefactor  = 1.04419
 **********
 **   18 **HESSE 
 **********

 FCN=   4741.634     FROM HESSE     STATUS=OK           350 CALLS     2743 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          59.752        19.890        .51904E-04   -1.4160    
   2  norm          .10000E-03    2.6667        .16095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2206        1.7116        .74748E-04   -1.5410    
   4  Prefactor     11.423        136.83        .11926E-03   -1.5032    
   5  Prefactor     .10000E-03    134.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.9688        1.5610        .74418E-04   -1.5427    
   7  norm          3.8013        2.3367        .79360E-04   -1.5318    
   8  Prefactor     .10000E-03    8.2885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.1272        25.259        .14064E-03   -1.5138    
  10  Prefactor     .10001E-03    222.92        .40346E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2325        3.5122        .11088E-03   -1.5296    
  12  norm          15.094        25.626        .10309E-03   -1.4931    
  13  Prefactor     5.2566        15.982        .17528E-03   -1.5249    
  14  Prefactor     71.020        114.03        .23825E-03   -1.4020    
  15  norm          .10000E-03    33.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          22.587        23.125        .84252E-04   -1.4757    
  18  norm          8.2994        6.7557        .13916E-03   -1.5132    
  19  Prefactor     2.8282        133.30        .24248E-03   -1.5372    
  20  Prefactor     29.008        21.225        .74399E-04   -1.4630    
  21  Normalizat    .74735        .27060        .33469E-03   -1.0205    
  22  Prefactor     1.0442        .16950        .18856E-03   -.91271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76906e-10
Minuit parameter uncertainties:
  1  19.8925
  2  1.99545e-05
  3  1.71165
  4  79.2973
  5  0.000825939
  6  1.56104
  7  2.33673
  8  3.54658e-05
  9  25.2925
  10  0.00217672
  11  3.51242
  12  25.6442
  13  15.9948
  14  114.388
  15  9.49107e-06
  16  2.09635e-05
  17  23.1337
  18  6.75629
  19  38.9249
  20  21.2309
  21  0.27109
  22  0.169585
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  4.232e+00  3.512e+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.044e+00  1.696e-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:  7.473e-01  2.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.70
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 5.71e-08 +/- 4.74e-08
Energy Flux (Fixed Index): 1.63e-05 +/- 1.35e-05

TS (Fixed Index): 2.70
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 1.64e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/939749/likelihoodResults_258768001_259027201_4FGL_J0750.8+1229_daily_bin75.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) = 4741.56732983
delta logL = 0.0670857417781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4741.56451224
delta logL = 0.0699033250166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3338       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2598       1.0000          .0000       10.000    
     3 'Normalizat'    .75806       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0389       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=   4741.565     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      261 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3388        126.75        .43505E-02    .13059E-03
   2  Index         2.2607        6.0164        .20252        .37833E-04
   3  Normalizat    .75767        .10556        .75130E-01    .19676E-04
   4  Prefactor     1.0390        .61246E-01    .40608E-01   -.18532E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.33877
  Index      = 2.26068
  Normalizat = 0.757669
  Prefactor  = 1.03902
 **********
 **   18 **HESSE 
 **********

 FCN=   4741.565     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .98E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3388        5.0411        .12460E-03   -1.5246    
   2  Index         2.2607        .65707        .71239E-02   -.57981    
   3  Normalizat    .75767        .24999        .33256E-03   -1.0166    
   4  Prefactor     1.0390        .16368        .18895E-03   -.91440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.83335e-13
Minuit parameter uncertainties:
  1  5.04154
  2  0.659798
  3  0.250371
  4  0.163763
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/939749': 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) = 4741.56450826
delta logL = 0.0699073145852

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  5.339e+00  5.042e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.261e+00  6.598e-01  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.039e+00  1.638e-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:  7.577e-01  2.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.82
Ra Dec: 117.701 12.494
Photon Index (Free Index): 2.26 +/- 0.66
Photon Flux (Free Index): 5.04e-08 +/- 4.56e-08
Energy Flux (Free Index): 2.04e-05 +/- 2.20e-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/939749/cmap_HighResolution_258768001_259027201_4FGL_J0750.8+1229_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', comment='SUCCESS', photon_flux='5.71e-08', energy_flux2='2.04e-05', photon_flux_error='4.74e-08', dlogl='6.99e-02', energy_flux='1.63e-05', photon_flux2='5.04e-08', job_status='DONE', time_completed='2021-08-28 16:06:06.204843', photon_index_error2='0.66', photon_index2='2.26', ts='2.70', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.64e-07', energy_flux_error2='2.20e-05', EG='0.75', time_epoch_completed='1630191966.2', return_code='0', job_id='939749', GAL2='1.04', EG2='0.76', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='4.56e-08', ts2='2.82', photon_index='2.52' WHERE bin_id='75' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:06:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 939749: <4FGL_J0750.8+1229_daily_bin75> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin75> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Aug 28 15:56:11 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:56:12 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:12 2021
Terminated at Sat Aug 28 16:06:07 2021
Results reported at Sat Aug 28 16:06:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin75 117.701 12.494 258768001 259027201 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 :                                   579.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            596 sec.

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

