/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 96 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 = 7493
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1442.2+0622_daily_bin253
RA = 220.561, Dec = 6.3755
tmin = 304905601, tmax = 305164801
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='712250', job_status='RUN', time_executed='2021-09-10 05:43:06.973687', time_epoch_executed='1631277786.97' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712250

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712250/ft1_4FGL_J1442.2+0622_daily_bin253.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712250/ft2_4FGL_J1442.2+0622_daily_bin253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712250/ft1_4FGL_J1442.2+0622_daily_bin253.fits outfile=/scratch/kocevski/712250/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin253.fits ra=220.561 dec=6.3755 rad=12.0 tmin=304905601.0 tmax=305164801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.80
user 2.56
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/712250/ft2_4FGL_J1442.2+0622_daily_bin253.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712250/ft2_4FGL_J1442.2+0622_daily_bin253.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/712250/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin253.fits evtable="EVENTS" outfile="/scratch/kocevski/712250/ft1_filtered_4FGL_J1442.2+0622_daily_bin253.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.44
user 0.27
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712250/ft1_filtered_4FGL_J1442.2+0622_daily_bin253.fits" evtable="EVENTS" scfile=/scratch/kocevski/712250/ft2_4FGL_J1442.2+0622_daily_bin253.fits sctable="SC_DATA" outfile=/scratch/kocevski/712250/ltcube_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.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/712250/ft2_4FGL_J1442.2+0622_daily_bin253.fits
.....................!
real 9.53
user 9.17
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712250/ft1_filtered_4FGL_J1442.2+0622_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/712250/ft2_4FGL_J1442.2+0622_daily_bin253.fits sctable="SC_DATA" expcube=/scratch/kocevski/712250/ltcube_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.fits outfile=/scratch/kocevski/712250/expmap_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.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/712250/ltcube_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.fits
.....................!
real 150.09
user 145.73
sys 4.07

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
Added 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/712250/ft1_filtered_4FGL_J1442.2+0622_daily_bin253.fits scfile=/scratch/kocevski/712250/ft2_4FGL_J1442.2+0622_daily_bin253.fits outfile=/scratch/kocevski/712250/cmap_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.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=220.561 yref=6.3755 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.46
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712250/ft1_filtered_4FGL_J1442.2+0622_daily_bin253.fits scfile=/scratch/kocevski/712250/ft2_4FGL_J1442.2+0622_daily_bin253.fits outfile=/scratch/kocevski/712250/cmap_HighResolution_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.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=220.561 yref=6.3755 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.46
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/712250/ft1_filtered_4FGL_J1442.2+0622_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/712250/ft2_4FGL_J1442.2+0622_daily_bin253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/712250/Model_4FGL_J1442.2+0622_daily_bin253.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
Working on...
/scratch/kocevski/712250/ft1_filtered_4FGL_J1442.2+0622_daily_bin253.fits.....................!
real 42.47
user 41.30
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/712250/ft1_filtered_4FGL_J1442.2+0622_daily_bin253.fits', '/scratch/kocevski/712250/ft2_4FGL_J1442.2+0622_daily_bin253.fits', expMap='/scratch/kocevski/712250/expmap_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.fits', expCube='/scratch/kocevski/712250/ltcube_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/712250/Model_4FGL_J1442.2+0622_daily_bin253.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/712250/ft1_filtered_4FGL_J1442.2+0622_daily_bin253.fits
Spacecraft file(s): /scratch/kocevski/712250/ft2_4FGL_J1442.2+0622_daily_bin253.fits
Exposure map: /scratch/kocevski/712250/expmap_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.fits
Exposure cube: /scratch/kocevski/712250/ltcube_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/712250/Model_4FGL_J1442.2+0622_daily_bin253.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) = 6832.84260149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2727       1.0000         .10000E-03   10000.    
     2 'Prefactor '    30.949       1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.386       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .71556E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.7773       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.838       1.0000         .10000E-03   10000.    
    11 'norm      '    .65667       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4037       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8266       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1543       1.0000         .10000E-03   10000.    
    17 'norm      '    .38078       1.0000         .10000E-03   10000.    
    18 'norm      '    .96965       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.2637       1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.687       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0618       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99025       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+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=   6832.838     FROM MIGRAD    STATUS=CONVERGED    900 CALLS     3317 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2720        15.892        .13620E-02   -.39489E-04
   2  Prefactor     30.946        18.929        .72022E-04    .13228E-04
   3  Prefactor     42.384        30.680        .61575E-04   -.79392E-05
   4  norm          .10000E-03    11.176        .18142E-02** at limit **
   5  Prefactor     .10000E-03    206.99        .53563E-02** at limit **
   6  norm          .10000E-03    7.7701        .18142E-02** at limit **
   7  Prefactor     .10000E-03    3.3017        .14637E-02** at limit **
   8  Prefactor     6.7754        7.7709        .15413E-03   -.21834E-04
   9  Prefactor     .10000E-03    49.311        .18142E-02** at limit **
  10  Prefactor     14.816        29.323        .10398E-03    .12541E-03
  11  norm          .67327        73.966        .46351E-02    .13195E-03
  12  Prefactor     .10000E-03    9.8930        .18142E-02** at limit **
  13  Prefactor     .10000E-03    24.434        .18142E-02** at limit **
  14  Prefactor     1.3810        67.794        .36604E-03    .19884E-03
  15  Prefactor     3.8321        62.586        .20632E-03    .73175E-04
  16  Prefactor     3.1994        323.30        .22822E-03    .77461E-04
  17  norm          .38079        .17108        .21963E-04    .30644E-03
  18  norm          .96790        1.4055        .13227E-02   -.10915E-02
  19  norm          .10000E-03    1.4909        .98566E-03** at limit **
  20  norm          6.2646        3.5101        .11230E-03    .11783E-03
  21  Prefactor     30.690        31.603        .72328E-04    .35209E-04
  22  Normalizat    1.0621        .25076        .30167E-03    .38456E-03
  23  Prefactor     .99009        .14703        .19170E-03    .36541E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.27198
  Prefactor  = 30.9457
  Prefactor  = 42.384
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.77536
  Prefactor  = 0.0001
  Prefactor  = 14.8164
  norm       = 0.673273
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.38097
  Prefactor  = 3.83208
  Prefactor  = 3.19939
  norm       = 0.380793
  norm       = 0.9679
  norm       = 0.0001
  norm       = 6.2646
  Prefactor  = 30.6895
  Normalizat = 1.06206
  Prefactor  = 0.99009
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.838     FROM HESSE     STATUS=OK           352 CALLS     3669 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2720        15.872        .54481E-04   -1.5406    
   2  Prefactor     30.946        18.922        .14404E-04   -1.4595    
   3  Prefactor     42.384        30.670        .24630E-05   -1.4405    
   4  norm          .10000E-03    11.178        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    216.23        .21425E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.7702        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3019        .29275E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.7754        7.7696        .61650E-05   -1.5187    
   9  Prefactor     .10000E-03    49.314        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.816        27.775        .41591E-05   -1.4938    
  11  norm          .67327        66.885        .18540E-03   -1.5544    
  12  Prefactor     .10000E-03    9.8935        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    24.443        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.3810        67.514        .14642E-04   -1.5473    
  15  Prefactor     3.8321        62.150        .82529E-05   -1.5316    
  16  Prefactor     3.1994        321.01        .91288E-05   -1.5350    
  17  norm          .38079        .17107        .87852E-06   -1.5585    
  18  norm          .96790        1.4043        .52908E-04   -1.5511    
  19  norm          .10000E-03    1.4909        .19713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.2646        3.5099        .44922E-05   -1.5207    
  21  Prefactor     30.690        31.601        .28931E-05   -1.4599    
  22  Normalizat    1.0621        .25073        .60335E-04   -.90979    
  23  Prefactor     .99009        .14715        .38340E-04   -.93061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71619e-09
Minuit parameter uncertainties:
  1  12.0144
  2  18.926
  3  30.6811
  4  1.81165e-05
  5  0.00156638
  6  7.03797e-07
  7  9.99238e-06
  8  7.77075
  9  0.000302926
  10  27.7992
  11  13.4356
  12  3.78807e-05
  13  0.000222131
  14  19.3341
  15  30.9028
  16  64.4527
  17  0.171067
  18  1.40436
  19  1.11108e-08
  20  3.50997
  21  31.6185
  22  0.251005
  23  0.147206
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  6.733e-01  1.344e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.901e-01  1.472e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.062e+00  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 6.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712250/likelihoodResults_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.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) = 6832.81576522
delta logL = 0.0226713822985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6832.8152054
delta logL = 0.0232311995742

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6832.815     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      225 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .83094        176.22        .12546E-01    .13826E-02
   2  alpha         3.7000        2.5551        .49838        .37311E-04
   3  Normalizat    1.0548        .35813E-01    .68396E-01   -.13253E-04
   4  Prefactor     .99183        .21444E-01    .46165E-01   -.29323E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.830943
  alpha      = 3.69996
  Normalizat = 1.05481
  Prefactor  = 0.991833
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.815     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      258 TOTAL
                     EDM=   .81E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .83094        827.74        .33526E-03   -1.5526    
   2  alpha         3.7000        3.0745        .79685E-01    .50064    
   3  Normalizat    1.0548        .20892        .30260E-03   -.91216    
   4  Prefactor     .99183        .98594E-01    .19154E-03   -.93002    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.12742e-06
Minuit parameter uncertainties:
  1  53.2031
  2  39.7598
  3  0.209084
  4  0.098612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712250': 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) = 6832.81520516
delta logL = 0.0232314369732

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  8.309e-01  5.320e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  3.700e+00  3.976e+01  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.918e-01  9.861e-02  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.055e+00  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 220.561 6.375

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/712250/cmap_HighResolution_304905601_305164801_4FGL_J1442.2+0622_daily_bin253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-05', job_status='DONE', photon_flux_upper_limit='6.34e-08', time_completed='2021-09-10 05:52:18.091821', job_id='712250', GAL2='0.99', fit_tolerance='1e-08', EG2='1.05', EG='1.06', time_epoch_completed='1631278338.09', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.32e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='253' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:52:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 712250: <4FGL_J1442.2+0622_daily_bin253> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin253> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:41:13 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:41:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:41:14 2021
Terminated at Fri Sep 10 05:52:18 2021
Results reported at Fri Sep 10 05:52:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin253 220.561 6.3755 304905601 305164801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   546.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            665 sec.

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

