/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 214 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 = 7354
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0753.9+0923_daily_bin181
RA = 118.491, Dec = 9.3904
tmin = 286243201, tmax = 286502401
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='990659', job_status='RUN', time_executed='2021-08-28 18:44:17.649709', time_epoch_executed='1630201457.65' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='181'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/990659

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/990659/ft1_4FGL_J0753.9+0923_daily_bin181.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/990659/ft2_4FGL_J0753.9+0923_daily_bin181.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/990659/ft1_4FGL_J0753.9+0923_daily_bin181.fits outfile=/scratch/kocevski/990659/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin181.fits ra=118.491 dec=9.3904 rad=12.0 tmin=286243201.0 tmax=286502401.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 3.79
user 3.27
sys 0.50

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/990659/ft2_4FGL_J0753.9+0923_daily_bin181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/990659/ft2_4FGL_J0753.9+0923_daily_bin181.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/990659/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin181.fits evtable="EVENTS" outfile="/scratch/kocevski/990659/ft1_filtered_4FGL_J0753.9+0923_daily_bin181.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.95
user 0.33
sys 0.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/990659/ft1_filtered_4FGL_J0753.9+0923_daily_bin181.fits" evtable="EVENTS" scfile=/scratch/kocevski/990659/ft2_4FGL_J0753.9+0923_daily_bin181.fits sctable="SC_DATA" outfile=/scratch/kocevski/990659/ltcube_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.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/990659/ft2_4FGL_J0753.9+0923_daily_bin181.fits
.....................!
real 12.30
user 11.58
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/990659/ft1_filtered_4FGL_J0753.9+0923_daily_bin181.fits evtable="EVENTS" scfile=/scratch/kocevski/990659/ft2_4FGL_J0753.9+0923_daily_bin181.fits sctable="SC_DATA" expcube=/scratch/kocevski/990659/ltcube_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.fits outfile=/scratch/kocevski/990659/expmap_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.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/990659/ltcube_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.fits
.....................!
real 190.80
user 185.34
sys 5.05

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 166 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 J0753.9+0923 @ 118.491 9.3904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/990659/ft1_filtered_4FGL_J0753.9+0923_daily_bin181.fits scfile=/scratch/kocevski/990659/ft2_4FGL_J0753.9+0923_daily_bin181.fits outfile=/scratch/kocevski/990659/cmap_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.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=118.491 yref=9.3904 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.85
user 0.37
sys 0.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/990659/ft1_filtered_4FGL_J0753.9+0923_daily_bin181.fits scfile=/scratch/kocevski/990659/ft2_4FGL_J0753.9+0923_daily_bin181.fits outfile=/scratch/kocevski/990659/cmap_HighResolution_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.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=118.491 yref=9.3904 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.86
user 0.39
sys 0.46

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/990659/ft1_filtered_4FGL_J0753.9+0923_daily_bin181.fits evtable="EVENTS" scfile=/scratch/kocevski/990659/ft2_4FGL_J0753.9+0923_daily_bin181.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/990659/Model_4FGL_J0753.9+0923_daily_bin181.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/990659/ft1_filtered_4FGL_J0753.9+0923_daily_bin181.fits.....................!
real 97.08
user 95.16
sys 1.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/990659/ft1_filtered_4FGL_J0753.9+0923_daily_bin181.fits', '/scratch/kocevski/990659/ft2_4FGL_J0753.9+0923_daily_bin181.fits', expMap='/scratch/kocevski/990659/expmap_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.fits', expCube='/scratch/kocevski/990659/ltcube_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/990659/Model_4FGL_J0753.9+0923_daily_bin181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0753.9+0923'

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/990659/ft1_filtered_4FGL_J0753.9+0923_daily_bin181.fits
Spacecraft file(s): /scratch/kocevski/990659/ft2_4FGL_J0753.9+0923_daily_bin181.fits
Exposure map: /scratch/kocevski/990659/expmap_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.fits
Exposure cube: /scratch/kocevski/990659/ltcube_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/990659/Model_4FGL_J0753.9+0923_daily_bin181.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) = 6683.80520735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5295       1.0000         .10000E-03   10000.    
     2 'norm      '    .37965       1.0000         .10000E-03   10000.    
     3 'norm      '    2.1145       1.0000         .10000E-03   10000.    
     4 'Prefactor '    40.617       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10200E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.7744       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.9084       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.238       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0934       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6814       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11162E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    41.675       1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.627       1.0000         .10000E-03   10000.    
    17 'norm      '    2.4147       1.0000         .10000E-03   10000.    
    18 'norm      '    .15811E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .98081       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.9829       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .85145       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6545       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78836       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6683.771     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2757 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4456        57.234       -.24539E-05   -.44496E-04
   2  norm          .37911        1.2673        .40470E-06   -.22091E-05
   3  norm          2.1144        1.4475        .47830E-07    .66378E-04
   4  Prefactor     40.598        53.304       -.11284E-05   -.14734E-04
   5  Prefactor     .10000E-03    22.841       -.27803E-07** at limit **
   6  norm          .10000E-03    .80848       -.11216E-05** at limit **
   7  norm          5.7742        2.4969        .34760E-06   -.44150E-03
   8  Prefactor     8.9009        9.2333        .37126E-05    .58192E-03
   9  Prefactor     .10000E-03    16.458        .11158E-06** at limit **
  10  Prefactor     28.221        51.541       -.14985E-05    .40083E-04
  11  Prefactor     7.0936        4.3136        .15169E-05   -.77870E-03
  12  norm          2.6684        37.516        .18498E-05   -.26374E-04
  13  Prefactor     .10000E-03    16.537       -.71180E-06** at limit **
  14  Prefactor     .10000E-03    48.682       -.58990E-07** at limit **
  15  norm          41.522        74.475       -.95300E-06   -.89636E-04
  16  Prefactor     28.638        26.919        .39837E-06   -.45926E-04
  17  norm          2.4145        9.3100        .94745E-06   -.52169E-04
  18  norm          .10000E-03    40.125        .20961E-05** at limit **
  19  norm          .98264        3.5676        .19691E-05   -.16525E-03
  20  Prefactor     6.9882        21.002        .75655E-06   -.19615E-04
  21  Prefactor     .10000E-03    14.336        .36444E-06** at limit **
  22  norm          .85158        1.1746        .37055E-06   -.99521E-04
  23  Normalizat    1.6543        .23219       -.48450E-05    .30568E-03
  24  Prefactor     .78853        .13591        .19829E-05   -.20274E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.44565
  norm       = 0.379106
  norm       = 2.11435
  Prefactor  = 40.5975
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 5.77418
  Prefactor  = 8.90091
  Prefactor  = 0.0001
  Prefactor  = 28.2215
  Prefactor  = 7.09355
  norm       = 2.66841
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 41.5217
  Prefactor  = 28.6378
  norm       = 2.41449
  norm       = 0.0001
  norm       = 0.98264
  Prefactor  = 6.98822
  Prefactor  = 0.0001
  norm       = 0.851585
  Normalizat = 1.65432
  Prefactor  = 0.788526
 **********
 **   18 **HESSE 
 **********

 FCN=   6683.771     FROM HESSE     STATUS=OK           405 CALLS     3162 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4456        58.010        .13726E-03   -1.5127    
   2  norm          .37911        1.2311        .15964E-03   -1.5585    
   3  norm          2.1144        1.4385        .77389E-04   -1.5417    
   4  Prefactor     40.598        53.326        .62896E-04   -1.4433    
   5  Prefactor     .10000E-03    22.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.2577        .13877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.7742        2.4895        .40292E-03   -1.5227    
   8  Prefactor     8.9009        9.3892        .67145E-03   -1.5111    
   9  Prefactor     .10000E-03    16.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     28.221        51.640        .75393E-04   -1.4645    
  11  Prefactor     7.0936        4.1976        .60377E-03   -1.5175    
  12  norm          2.6684        37.074        .24884E-03   -1.5381    
  13  Prefactor     .10000E-03    16.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    48.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          41.522        74.720        .31048E-03   -1.4418    
  16  Prefactor     28.638        26.892        .74879E-04   -1.4637    
  17  norm          2.4145        9.2761        .26343E-03   -1.5397    
  18  norm          .10000E-03    40.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .98264        3.5089        .28079E-03   -1.5510    
  20  Prefactor     6.9882        20.995        .15182E-03   -1.5179    
  21  Prefactor     .10000E-03    14.784        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .85158        1.1418        .99547E-04   -1.5523    
  23  Normalizat    1.6543        .25472        .28032E-03   -.73530    
  24  Prefactor     .78853        .15194        .23438E-03   -1.0015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44011e-09
Minuit parameter uncertainties:
  1  44.3304
  2  1.23121
  3  1.43853
  4  53.3886
  5  5.0119e-05
  6  7.04949e-05
  7  2.48953
  8  9.3908
  9  1.84315e-05
  10  51.7215
  11  4.19781
  12  19.9071
  13  3.01076e-05
  14  4.85633e-05
  15  74.8894
  16  26.9032
  17  9.28163
  18  7.47469e-05
  19  3.50965
  20  21.0167
  21  1.82673e-05
  22  1.14179
  23  0.254926
  24  0.15202
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.668e+00  1.991e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  7.885e-01  1.520e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.654e+00  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 118.491 9.390
Photon Flux Upper Limit: 7.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.31e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/990659/likelihoodResults_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.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) = 6683.663129
delta logL = 0.10742887063

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6683.65712551
delta logL = 0.11343236135

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2461       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6675       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79505       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6683.657     FROM MIGRAD    STATUS=FAILED        84 CALLS      280 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2453        480.24        .24635E-03   -.70418E-03
   2  alpha         3.6677        4.0532        .28974E-01   -.71283E-04
   3  Normalizat    1.6307        .24965        .28189E-03   -.14193E-03
   4  Prefactor     .79539        .13941        .23345E-03   -.12968E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6683.657     FROM SIMPLEX   STATUS=UNCHANGED     92 CALLS      372 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2453        480.24        .23867E-03   -.70418E-03
   2  alpha         3.6677        4.0532        .32241E-02   -.71283E-04
   3  Normalizat    1.6307        .24965        .20183E-03   -.14193E-03
   4  Prefactor     .79539        .13941        .14764E-03   -.12968E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6683.657     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      403 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2449        14.582        .98539E-05   -.11976E-03
   2  alpha         3.6678        4.0154        .11590E-02   -.67586E-05
   3  Normalizat    1.6307        .24435        .56377E-04    .67352E-05
   4  Prefactor     .79539        .14499        .93380E-05   -.16557E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.24489
  alpha      = 3.6678
  Normalizat = 1.63065
  Prefactor  = 0.795392
 **********
 **   18 **HESSE 
 **********

 FCN=   6683.657     FROM HESSE     STATUS=OK            23 CALLS      426 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2449        13.683        .19708E-05   -1.5408    
   2  alpha         3.6678        3.9797        .46359E-04    .48603    
   3  Normalizat    1.6307        .24431        .11275E-04   -.74170    
   4  Prefactor     .79539        .14499        .18676E-05   -.99898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84202e-11
Minuit parameter uncertainties:
  1  11.0879
  2  2.84059
  3  0.244487
  4  0.145056
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/990659': 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) = 6683.65712192
delta logL = 0.113435948331

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.245e+00  1.109e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  3.668e+00  2.841e+00  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  7.954e-01  1.451e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.631e+00  2.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 118.491 9.390

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/990659/cmap_HighResolution_286243201_286502401_4FGL_J0753.9+0923_daily_bin181.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-05', job_status='DONE', photon_flux_upper_limit='7.15e-08', time_completed='2021-08-28 18:56:54.979080', job_id='990659', GAL2='0.80', fit_tolerance='1e-08', EG2='1.63', EG='1.65', time_epoch_completed='1630202214.98', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.13e-01', ts2='0.25', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='181' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:56:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 990659: <4FGL_J0753.9+0923_daily_bin181> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin181> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 18:40:25 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:40:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 18:40:26 2021
Terminated at Sat Aug 28 18:56:55 2021
Results reported at Sat Aug 28 18:56:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin181 118.491 9.3904 286243201 286502401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0753.9+0923 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   758.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            990 sec.

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

